1
0
forked from extern/nix-config
Commit Graph

22 Commits

Author SHA1 Message Date
Donovan Glover
b0e3fbc1e8
sway: Use single kitty instance
Note that maintaining both sway and bspwm is inconvenient, so I may
eventually cut one of them for ease of living.
2022-07-28 03:25:21 -04:00
Donovan Glover
eeeaa82bc5
meta: Add swayidle
This lets us automatically start swaylock on lid close, useful when on
the go, although not a replacement for turning off a computer fully.
2022-03-24 09:00:49 -04:00
Donovan Glover
9ae4f4442e
sway: Style GTK applications under Wayland
This fixes an issue where our settings.ini wasn't being applied on
Wayland.
2022-03-23 21:09:01 -04:00
Donovan Glover
daec189305
sway: Use dunst as the notification daemon
Since dunst now supports both xorg and wayland, we can use it in sway
as well.
2022-03-22 10:16:09 -04:00
Donovan Glover
f2596ba263
sway: Hide the cursor when inactive
Now sway behaves similarly to unclutter on bspwm/xorg, and we don't have
to worry about moving the cursor out of the way since it automatically
disappears.
2022-03-21 11:39:26 -04:00
Donovan Glover
91bb102ecf
sway: Start fcitx on startup
Now we can immediately take advantage of fcitx in sway.
2022-03-11 09:57:55 -05:00
Donovan Glover
2fa523e12a
sway: Add alt tab support
This is similar to bspwm, except new workspaces aren't automatically
created and empty workspaces are skipped.

Although creating a script to handle this should be possible, sway
doesn't offer any real benefits to me since bspwm does everything that
sway can do with the addition of input method, image preview, and other
features being better supported on xorg.

To reiterate, I like the idea behind sway, however I am more fluent with
bspwm and xorg and prefer how windows are managed in bspwm. For software
that only works on wayland, sway is a lightweight alternative to
committing to a full-featured desktop environment like GNOME.
2022-03-08 09:27:30 -05:00
Donovan Glover
9421aabf8d
sway: Use same reload/exit keybinds as bspwm
This makes things a little easier to remember.
2022-03-08 09:16:11 -05:00
Donovan Glover
9b6bc04931
sway: Add keybind to toggle waybar
Now we can toggle waybar in sway similar to how we can toggle polybar in
bspwm.
2021-11-14 12:11:50 -05:00
Donovan Glover
d996dcfef2
sway: Exit resize mode the same way it was entered
Now resize mode behaves a little more sane.
2021-06-21 18:28:50 -04:00
Donovan Glover
5a64cc1f1a
sway: Simplify process of killing windows
$mod+q is much easier to press than $mod+shift+q.
2021-06-21 18:27:00 -04:00
Donovan Glover
a4513caab3
sway: Use kitty instead of alacritty
Although alacritty is cool, kitty is also cool and has image support,
ideal for rice screenshots.

This commit also adds $alt for the rofi command in the previous commit.
2021-06-21 18:25:48 -04:00
Donovan Glover
a563bb0850
Use rofi in sway
Note that although there was an issue with window focus, rofi works fine
for the most part and gets the job done.
2021-06-21 18:23:13 -04:00
Donovan Glover
32fad752a9
sway: Remove the default border
Now our windows take up the entire screen.
2021-06-21 18:21:10 -04:00
Donovan Glover
95c53368ca
sway: Set caps lock equal to escape
This change is very important for us vim users.
2021-06-21 18:20:24 -04:00
Donovan Glover
3e60bce07a
sway: Add touchpad config
Scrolling just got a bit more natural.
2021-06-21 18:19:22 -04:00
Donovan Glover
1dac50a70a
sway: Use waybar
Working with sway just became a bit nicer.
2021-06-21 18:15:51 -04:00
Donovan Glover
83a5078368
sway: Change background to one from archlinux-wallpaper
After the contest for archlinux-wallpaper, there are a lot of high
quality backgrounds that one can choose from. Instead of worrying
about choosing an appropriate background for a desktop environment,
one can simply use archlinux-wallpaper instead.
2021-05-14 19:16:42 -04:00
Donovan Glover
23811e56e6
sway: Add fn keys support
Note that F9-F11 currently don't report anything in xev, although we can
program the rest of the keys here.
2021-05-14 19:13:47 -04:00
Donovan Glover
bb98444147
sway: Remove warning message when exiting
Now we can exit sway without having to use the mouse.
2021-05-14 17:13:08 -04:00
Donovan Glover
21525cd2a8
sway: Remove arrow key stuff
It's much easier to simply use hjkl, so I'm removing the arrow key
shortcuts to avoid any conflicts.
2021-05-14 17:02:33 -04:00
Donovan Glover
bc3a6de7f5
Add sway
Note that I'm adding sway with the default config first so I can keep a
record of my changes with git.
2021-05-14 16:48:51 -04:00