feat: sway configuration

- Change the mod key to Alt.
- Change the keyboard input language to UK.
- Replace dmenu with wofi.
- Disable the laptop screen when used in clam mode (lid closed with an
  external monitor).
- Override the GTK theme to ensure that a dark theme is used in all apps
  (e.g. Firefox).

See:

- https://github.com/swaywm/sway/wiki#clamshell-mode
- https://wiki.archlinux.org/title/Sway#Keymap
This commit is contained in:
Oliver Davies 2023-05-23 11:59:07 +01:00
parent 581dc96157
commit 807e8f177c
4 changed files with 56 additions and 9 deletions

View file

@ -1,4 +1,4 @@
date_formatted=$(date "+%m/%d/%Y - %l:%M %p - ")
date_formatted=$(date "+%d/%m/%Y - %l:%M %p - ")
battery_status=$(cat /sys/class/power_supply/BAT0/capacity)