dotfiles/config/sway/status.sh
Oliver Davies 807e8f177c 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
2023-05-25 23:37:35 +01:00

6 lines
151 B
Bash
Executable file

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