|
|
|
@@ -913,9 +913,9 @@ label-maxlen = ${sizes.maxlen}
|
|
|
|
|
; %pid%
|
|
|
|
|
;
|
|
|
|
|
; "click-(left|middle|right)" will be executed using "/bin/sh -c [command]"
|
|
|
|
|
click-left = playerctl --player=playerctld play-pause &
|
|
|
|
|
click-left = "/home/sravan/.scripts/playerctl.sh --play-pause"
|
|
|
|
|
; click-middle = echo middle %counter%
|
|
|
|
|
click-right = playerctld shift &
|
|
|
|
|
click-right = "/home/sravan/.scripts/playerctl.sh --change"
|
|
|
|
|
; double-click-left = echo double left %counter%
|
|
|
|
|
; double-click-middle = echo double middle %counter%
|
|
|
|
|
; double-click-right = echo double right %counter%
|
|
|
|
@@ -925,8 +925,8 @@ click-right = playerctld shift &
|
|
|
|
|
; %pid%
|
|
|
|
|
;
|
|
|
|
|
; "scroll-(up|down)" will be executed using "/bin/sh -c [command]"
|
|
|
|
|
scroll-up = "playerctl --player=playerctld next"
|
|
|
|
|
scroll-down = "playerctl --player=playerctld previous"
|
|
|
|
|
scroll-up = "/home/sravan/.scripts/playerctl.sh --next"
|
|
|
|
|
scroll-down = "/home/sravan/.scripts/playerctl.sh --prev"
|
|
|
|
|
|
|
|
|
|
[module/dunst-notification-status]
|
|
|
|
|
type = custom/script
|
|
|
|
@@ -969,9 +969,9 @@ label-foreground = ${colors.dunst-notification-status}
|
|
|
|
|
; %pid%
|
|
|
|
|
;
|
|
|
|
|
; "click-(left|middle|right)" will be executed using "/bin/sh -c [command]"
|
|
|
|
|
click-left = "dunstctl set-paused toggle &"
|
|
|
|
|
click-left = "/home/sravan/.scripts/dunst.sh --dnd"
|
|
|
|
|
; click-middle = echo middle %counter%
|
|
|
|
|
click-right = "dunstctl history-pop &"
|
|
|
|
|
click-right = "/home/sravan/.scripts/dunst.sh --history"
|
|
|
|
|
; double-click-left = echo double left %counter%
|
|
|
|
|
; double-click-middle = echo double middle %counter%
|
|
|
|
|
; double-click-right = echo double right %counter%
|
|
|
|
@@ -985,79 +985,24 @@ click-right = "dunstctl history-pop &"
|
|
|
|
|
; scroll-down =
|
|
|
|
|
|
|
|
|
|
[module/powermenu]
|
|
|
|
|
type = custom/menu
|
|
|
|
|
type = custom/text
|
|
|
|
|
content = " "
|
|
|
|
|
|
|
|
|
|
expand-right = true
|
|
|
|
|
; "content" has the same properties as "format-NAME"
|
|
|
|
|
; content-background = #000
|
|
|
|
|
content-foreground = ${colors.powermenu}
|
|
|
|
|
content-padding = ${bar/mybar.module-margin}
|
|
|
|
|
|
|
|
|
|
format-spacing = ${bar/mybar.module-margin}
|
|
|
|
|
; "click-(left|middle|right)" will be executed using "/bin/sh -c $COMMAND"
|
|
|
|
|
; click-left = notify-send left
|
|
|
|
|
; click-middle = notify-send middle
|
|
|
|
|
; click-right = notify-send right
|
|
|
|
|
click-left = "rofi -show combi"
|
|
|
|
|
click-right = "/home/sravan/.scripts/control-center.sh --rofi"
|
|
|
|
|
|
|
|
|
|
label-open = " "
|
|
|
|
|
label-open-foreground = ${colors.powermenu}
|
|
|
|
|
label-close = " close"
|
|
|
|
|
label-close-foreground = ${colors.powermenu-close}
|
|
|
|
|
label-separator = ${bar/mybar.separator}
|
|
|
|
|
label-separator-foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
|
|
menu-0-0 = " logout"
|
|
|
|
|
menu-0-0-exec = menu-open-1
|
|
|
|
|
menu-0-0-foreground = ${colors.powermenu-logout}
|
|
|
|
|
menu-0-1 = " lock"
|
|
|
|
|
menu-0-1-exec = menu-open-2
|
|
|
|
|
menu-0-1-foreground = ${colors.powermenu-lock}
|
|
|
|
|
menu-0-2 = "⏾ sleep"
|
|
|
|
|
menu-0-2-exec = menu-open-3
|
|
|
|
|
menu-0-2-foreground = ${colors.powermenu-sleep}
|
|
|
|
|
menu-0-3 = "ﰇ reboot"
|
|
|
|
|
menu-0-3-exec = menu-open-4
|
|
|
|
|
menu-0-3-foreground = ${colors.powermenu-reboot}
|
|
|
|
|
menu-0-4 = " power off"
|
|
|
|
|
menu-0-4-exec = menu-open-5
|
|
|
|
|
menu-0-4-foreground = ${colors.powermenu-power-off}
|
|
|
|
|
menu-0-5 = "鈴 hibernate"
|
|
|
|
|
menu-0-5-exec = menu-open-6
|
|
|
|
|
menu-0-5-foreground = ${colors.powermenu-hibernate}
|
|
|
|
|
|
|
|
|
|
menu-1-0 = " logout"
|
|
|
|
|
menu-1-0-exec = "pkill xmonad"
|
|
|
|
|
menu-1-0-foreground = ${colors.powermenu-logout}
|
|
|
|
|
menu-1-1 = "ﰸ cancel"
|
|
|
|
|
menu-1-1-exec = menu-open-0
|
|
|
|
|
menu-1-1-foreground = ${colors.powermenu-cancel}
|
|
|
|
|
|
|
|
|
|
menu-2-0 = " lock"
|
|
|
|
|
menu-2-0-exec = "light-locker-command --lock"
|
|
|
|
|
menu-2-0-foreground = ${colors.powermenu-lock}
|
|
|
|
|
menu-2-1 = "ﰸ cancel"
|
|
|
|
|
menu-2-1-exec = menu-open-0
|
|
|
|
|
menu-2-1-foreground = ${colors.powermenu-cancel}
|
|
|
|
|
|
|
|
|
|
menu-3-0 = "⏾ sleep"
|
|
|
|
|
menu-3-0-exec = "systemctl suspend"
|
|
|
|
|
menu-3-0-foreground = ${colors.powermenu-sleep}
|
|
|
|
|
menu-3-1 = "ﰸ cancel"
|
|
|
|
|
menu-3-1-exec = menu-open-0
|
|
|
|
|
menu-3-1-foreground = ${colors.powermenu-cancel}
|
|
|
|
|
|
|
|
|
|
menu-4-0 = "ﰇ reboot"
|
|
|
|
|
menu-4-0-exec = "reboot"
|
|
|
|
|
menu-4-0-foreground = ${colors.powermenu-reboot}
|
|
|
|
|
menu-4-1 = "ﰸ cancel"
|
|
|
|
|
menu-4-1-exec = menu-open-0
|
|
|
|
|
menu-4-1-foreground = ${colors.powermenu-cancel}
|
|
|
|
|
|
|
|
|
|
menu-5-0 = " power off"
|
|
|
|
|
menu-5-0-exec = "poweroff"
|
|
|
|
|
menu-5-0-foreground = ${colors.powermenu-power-off}
|
|
|
|
|
menu-5-1 = "ﰸ cancel"
|
|
|
|
|
menu-5-1-exec = menu-open-0
|
|
|
|
|
menu-5-1-foreground = ${colors.powermenu-cancel}
|
|
|
|
|
|
|
|
|
|
menu-6-0 = "鈴 hibernate"
|
|
|
|
|
menu-6-0-exec = "systemctl hibernate"
|
|
|
|
|
menu-6-0-foreground = ${colors.powermenu-hibernate}
|
|
|
|
|
menu-6-1 = "ﰸ cancel"
|
|
|
|
|
menu-6-1-exec = menu-open-0
|
|
|
|
|
menu-6-1-foreground = ${colors.powermenu-cancel}
|
|
|
|
|
; "scroll-(up|down)" will be executed using "/bin/sh -c $COMMAND"
|
|
|
|
|
; scroll-up = notify-send scroll up
|
|
|
|
|
; scroll-down = notify-send scroll down
|
|
|
|
|
|
|
|
|
|
[module/user-kernel]
|
|
|
|
|
type = custom/ipc
|
|
|
|
|