refactored dmenu to put the command into its own script and call it as a variable added opam to ocaml config refactored home-manager package list layout added nordic theme for nvim refactored weird touchpad config added fcitx5 for input method switching and added a keybind to sway
18 lines
258 B
Bash
18 lines
258 B
Bash
case `printf "Cancel\nSuspend\nPower Off\nReboot\nLog Out" | $DMENU_COMMAND` in
|
|
"Cancel")
|
|
:
|
|
;;
|
|
"Suspend")
|
|
systemctl suspend
|
|
;;
|
|
"Power Off")
|
|
systemctl poweroff
|
|
;;
|
|
"Reboot")
|
|
systemctl reboot
|
|
;;
|
|
"Log Out")
|
|
loginctl kill-session
|
|
;;
|
|
esac
|