Fix Dunst Sizing & Placement and Update dwl waybar config

- Reduce dunst notification width
- Reduce dunst notification offset
- Update session script logout icon
- Remove hibernate option from session script
  since I don't use it at all and it is buggy
  even when setup properly
- Update dwl waybar configuration
This commit is contained in:
Sravan Balaji 2024-10-03 23:56:10 -04:00
parent 93db20c4ac
commit 1eeb0e8ab9
4 changed files with 7 additions and 17 deletions

View File

@ -375,9 +375,9 @@ See ~man dunst.5~ for available options.
[global] [global]
monitor = 0 monitor = 0
follow = keyboard follow = keyboard
width = 700 width = 400
height = 120 height = 120
offset = 10x35 offset = 10x10
origin = top-right origin = top-right
notification_limit = 50 notification_limit = 50
indicate_hidden = true indicate_hidden = true
@ -9816,12 +9816,11 @@ help_menu() {
rofi_menu() { rofi_menu() {
declare -a options=( declare -a options=(
" Logout - logout" " Logout - logout"
" Lock - lock" " Lock - lock"
"⏾ Sleep - sleep" "⏾ Sleep - sleep"
" Reboot - reboot" " Reboot - reboot"
" Shutdown - shutdown" " Shutdown - shutdown"
"󰒲 Hibernate - hibernate"
"󰌍 Back - back" "󰌍 Back - back"
"󰗼 Quit - quit" "󰗼 Quit - quit"
) )
@ -9865,10 +9864,6 @@ main() {
notify-send "Session Control" "Shutting Down System" & notify-send "Session Control" "Shutting Down System" &
systemctl poweroff systemctl poweroff
;; ;;
--hibernate)
notify-send "Session Control" "Hibernating System" &
systemctl hibernate
;;
--rofi) --rofi)
rofi_menu rofi_menu
;; ;;

View File

@ -1,9 +1,9 @@
[global] [global]
monitor = 0 monitor = 0
follow = keyboard follow = keyboard
width = 700 width = 400
height = 120 height = 120
offset = 10x35 offset = 10x10
origin = top-right origin = top-right
notification_limit = 50 notification_limit = 50
indicate_hidden = true indicate_hidden = true

@ -1 +1 @@
Subproject commit 528d96221a1c41fb640505a4f0d0cc3a5353142a Subproject commit 661bad187051baf7e577a9ecfb1649955a265d28

View File

@ -11,12 +11,11 @@ help_menu() {
rofi_menu() { rofi_menu() {
declare -a options=( declare -a options=(
" Logout - logout" " Logout - logout"
" Lock - lock" " Lock - lock"
"⏾ Sleep - sleep" "⏾ Sleep - sleep"
" Reboot - reboot" " Reboot - reboot"
" Shutdown - shutdown" " Shutdown - shutdown"
"󰒲 Hibernate - hibernate"
"󰌍 Back - back" "󰌍 Back - back"
"󰗼 Quit - quit" "󰗼 Quit - quit"
) )
@ -60,10 +59,6 @@ main() {
notify-send "Session Control" "Shutting Down System" & notify-send "Session Control" "Shutting Down System" &
systemctl poweroff systemctl poweroff
;; ;;
--hibernate)
notify-send "Session Control" "Hibernating System" &
systemctl hibernate
;;
--rofi) --rofi)
rofi_menu rofi_menu
;; ;;