diff --git a/rofi/config.rasi b/rofi/config.rasi index 5b9d610..87f81b1 100644 --- a/rofi/config.rasi +++ b/rofi/config.rasi @@ -1,6 +1,6 @@ configuration { - font: "Iosevka SS14 12"; + font: "Iosevka SS14 Nerd Font 12"; show-icons: true; } diff --git a/rofi/powermenu.sh b/rofi/powermenu.sh index 6dbea6b..e4c9923 100755 --- a/rofi/powermenu.sh +++ b/rofi/powermenu.sh @@ -1,13 +1,12 @@ #!/bin/sh -options="Lock\nLogout\nShutdown\nReboot\nCancel" +options=" Lock\n Logout\n Reboot\n⏻ Shutdown" chosen=$(echo -e "$options" | rofi -dmenu \ -p ":>" -show power -lines 5) case "$chosen" in *Lock) i3lock -c 000000 ;; - *Logout) i3-msg exit ;; - *Shutdown) systemctl poweroff ;; + *Logout) loginctl terminate-user "$USER" ;; *Reboot) systemctl reboot ;; - *Cancel) exit 0 ;; + *Shutdown) systemctl poweroff ;; esac diff --git a/rofi/themes/ayu-retro.rasi b/rofi/themes/ayu-retro.rasi index 6164e3e..3517aa8 100644 --- a/rofi/themes/ayu-retro.rasi +++ b/rofi/themes/ayu-retro.rasi @@ -5,6 +5,7 @@ */ * { + font: "Iosevka SS14 Nerd Font 12"; text-color: #e6e1cf; background-color: rgba(0,0,0,0);