From 988ac8f9cced74176695ab7ea04b0f6105c5d492 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Wed, 25 Jan 2023 23:37:30 -0800 Subject: i3: update powermenu --- dot_config/i3/config | 1 + dot_config/i3/scripts/executable_powermenu | 14 +++++++------- dot_config/rofi/powermenu.rasi | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) (limited to 'dot_config') diff --git a/dot_config/i3/config b/dot_config/i3/config index 4175611..f1d3a04 100644 --- a/dot_config/i3/config +++ b/dot_config/i3/config @@ -536,6 +536,7 @@ bar { urgent_workspace $urgentred $urgentred $white $purple } } + # you can add different bars for multidisplay setups on each display: # set output HDMI-0 to the display you want the bar, --transparency can be set. # Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here: diff --git a/dot_config/i3/scripts/executable_powermenu b/dot_config/i3/scripts/executable_powermenu index 989ab2c..1ea1caf 100644 --- a/dot_config/i3/scripts/executable_powermenu +++ b/dot_config/i3/scripts/executable_powermenu @@ -114,13 +114,13 @@ typeset -A menu # Menu with keys/commands menu=( - [ Shutdown]="systemctl poweroff" - [ Reboot]="systemctl reboot" - [ Suspend]="systemctl suspend" - [ Hibernate]="systemctl hibernate" - [ Lock]="~/.config/i3/scripts/blur-lock" - [ Logout]="i3-msg exit" - [ Cancel]="" + [Shutdown]="systemctl poweroff" + [Reboot]="systemctl reboot" + [Suspend]="systemctl suspend" + [Hibernate]="systemctl hibernate" + [Lock]="~/.config/i3/scripts/blur-lock" + [Logout]="i3-msg exit" + [Cancel]="" ) menu_nrows=${#menu[@]} diff --git a/dot_config/rofi/powermenu.rasi b/dot_config/rofi/powermenu.rasi index c394caa..379f9a2 100644 --- a/dot_config/rofi/powermenu.rasi +++ b/dot_config/rofi/powermenu.rasi @@ -18,7 +18,7 @@ window { border: 0; padding: 10; transparency: "real"; - width: 200px; + width: 150px; location: center; /*y-offset: 18;*/ /*x-offset: 850;*/ -- cgit v1.2.3