diff options
author | clarkzjw <[email protected]> | 2023-01-25 23:37:30 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-01-25 23:37:30 -0800 |
commit | 988ac8f9cced74176695ab7ea04b0f6105c5d492 (patch) | |
tree | 4493a28a9322c5b4036b7dae528852c184042adc /dot_config | |
parent | cb01f51ad6792cfbdd98372213ef06e06d1e2a20 (diff) | |
download | dotfiles-988ac8f9cced74176695ab7ea04b0f6105c5d492.tar.gz |
i3: update powermenu
Diffstat (limited to 'dot_config')
-rw-r--r-- | dot_config/i3/config | 1 | ||||
-rw-r--r-- | dot_config/i3/scripts/executable_powermenu | 14 | ||||
-rw-r--r-- | dot_config/rofi/powermenu.rasi | 2 |
3 files changed, 9 insertions, 8 deletions
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 { | |||
536 | urgent_workspace $urgentred $urgentred $white $purple | 536 | urgent_workspace $urgentred $urgentred $white $purple |
537 | } | 537 | } |
538 | } | 538 | } |
539 | |||
539 | # you can add different bars for multidisplay setups on each display: | 540 | # you can add different bars for multidisplay setups on each display: |
540 | # set output HDMI-0 to the display you want the bar, --transparency can be set. | 541 | # set output HDMI-0 to the display you want the bar, --transparency can be set. |
541 | # Transparency needs rgba color codes to be used where the last two letters are the transparency factor see here: | 542 | # 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 | |||
114 | # Menu with keys/commands | 114 | # Menu with keys/commands |
115 | 115 | ||
116 | menu=( | 116 | menu=( |
117 | [ Shutdown]="systemctl poweroff" | 117 | [Shutdown]="systemctl poweroff" |
118 | [ Reboot]="systemctl reboot" | 118 | [Reboot]="systemctl reboot" |
119 | [ Suspend]="systemctl suspend" | 119 | [Suspend]="systemctl suspend" |
120 | [ Hibernate]="systemctl hibernate" | 120 | [Hibernate]="systemctl hibernate" |
121 | [ Lock]="~/.config/i3/scripts/blur-lock" | 121 | [Lock]="~/.config/i3/scripts/blur-lock" |
122 | [ Logout]="i3-msg exit" | 122 | [Logout]="i3-msg exit" |
123 | [ Cancel]="" | 123 | [Cancel]="" |
124 | ) | 124 | ) |
125 | 125 | ||
126 | menu_nrows=${#menu[@]} | 126 | 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 { | |||
18 | border: 0; | 18 | border: 0; |
19 | padding: 10; | 19 | padding: 10; |
20 | transparency: "real"; | 20 | transparency: "real"; |
21 | width: 200px; | 21 | width: 150px; |
22 | location: center; | 22 | location: center; |
23 | /*y-offset: 18;*/ | 23 | /*y-offset: 18;*/ |
24 | /*x-offset: 850;*/ | 24 | /*x-offset: 850;*/ |