aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclarkzjw <[email protected]>2023-01-25 23:37:30 -0800
committerclarkzjw <[email protected]>2023-01-25 23:37:30 -0800
commit988ac8f9cced74176695ab7ea04b0f6105c5d492 (patch)
tree4493a28a9322c5b4036b7dae528852c184042adc
parentcb01f51ad6792cfbdd98372213ef06e06d1e2a20 (diff)
downloaddotfiles-988ac8f9cced74176695ab7ea04b0f6105c5d492.tar.gz
i3: update powermenu
-rw-r--r--dot_config/i3/config1
-rw-r--r--dot_config/i3/scripts/executable_powermenu14
-rw-r--r--dot_config/rofi/powermenu.rasi2
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
116menu=( 116menu=(
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
126menu_nrows=${#menu[@]} 126menu_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;*/
Powered by cgit v1.2.3 (git 2.41.0)