updated monocle bar and added wayshell framework with some modules.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# Wayshell module definitions
|
||||
# Format: name,on_exec,off_exec,type,args...
|
||||
# Format: name|on_exec|off_exec|type|args...
|
||||
# name — unique identifier for the module
|
||||
# on_exec — command executed when the condition becomes true
|
||||
# off_exec — command executed when the condition becomes false
|
||||
@@ -12,19 +12,35 @@
|
||||
# Focused args: app_id (e.g. firefox, com.mitchellh.ghostty)
|
||||
|
||||
# Zone modules — trigger when cursor enters/exits screen edges
|
||||
zone_left,notify-send "left show",notify-send "left hide",zone,0,0,30,1080
|
||||
zone_right,notify-send "right show",notify-send "right hide",zone,1890,0,1920,1080
|
||||
zone_top,notify-send "top show",notify-send "top hide",zone,0,0,1920,30
|
||||
zone_bottom,notify-send "bottom show",notify-send "bottom hide",zone,0,1050,1920,1080
|
||||
zone_left|mmsg dispatch spawn_shell,waybar -c ~/.config/sdgos/wayshell/configs/brightness.json -s ~/.config/sdgos/wayshell/configs/brightness.css|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/wayshell/configs/brightness.json -s /home/$(whoami)/.config/sdgos/wayshell/configs/brightness.css"|zone|0,300,40,780
|
||||
zone_right|mmsg dispatch spawn_shell,waybar -c ~/.config/sdgos/wayshell/configs/volume.json -s ~/.config/sdgos/wayshell/configs/volume.css|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/wayshell/configs/volume.json -s /home/$(whoami)/.config/sdgos/wayshell/configs/volume.css"|zone|1880,300,1920,780
|
||||
#zone_top|notify-send "top show"|notify-send "top hide"|zone|0,0,1920,30
|
||||
#zone_bottom|notify-send "bottom show"|notify-send "bottom hide"|zone|0,1050,1920,1080
|
||||
|
||||
# Screenshot toolbar — triggered from top-center of any monitor (monitor-local)
|
||||
zone_topcenter|mmsg dispatch spawn_shell,waybar -c ~/.config/sdgos/wayshell/configs/screenshot.json -s ~/.config/sdgos/wayshell/configs/screenshot.css|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/wayshell/configs/screenshot.json -s /home/$(whoami)/.config/sdgos/wayshell/configs/screenshot.css"|zone|760,0,1160,40
|
||||
|
||||
# Layout modules — trigger when a layout is activated/deactivated on any tag
|
||||
# Append a monitor name after the layout to restrict to one display:
|
||||
# monocle_dp1,...,layout,M,DP-1
|
||||
#monocle,notify-send "monocle on HDMI",notify-send "monocle off HDMI",layout,M,HDMI-A-1
|
||||
#monocle_dp1,notify-send "monocle on DP-1",notify-send "monocle off DP-1",layout,M,DP-1
|
||||
#monocle_dp3,notify-send "monocle on DP-3",notify-send "monocle off DP-2",layout,M,DP-3
|
||||
#dwindle,notify-send "dwindle on",notify-send "dwindle off",layout,DW,HDMI-A-1
|
||||
# monocle_dp1|...|...|layout|M,DP-1
|
||||
|
||||
# monocle bar
|
||||
monocle|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh hdmi|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-hdmi -s /home/den/.config/sdgos/monocle/style.css"|layout|M,HDMI-A-1
|
||||
monocle_dp1|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh dp1|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-dp1 -s /home/den/.config/sdgos/monocle/style.css"|M,DP-1
|
||||
monocle_dp3|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh dp3|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-dp3 -s /home/den/.config/sdgos/monocle/style.css"|layout|M,DP-3
|
||||
|
||||
|
||||
# monocle bar on deck
|
||||
deck-hdmi|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh hdmi|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-hdmi -s /home/den/.config/sdgos/monocle/style.css"|layout|K,HDMI-A-1
|
||||
deck-dp1|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh dp1|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-dp1 -s /home/den/.config/sdgos/monocle/style.css"|K,DP-1
|
||||
deck-dp3|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh dp3|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-dp3 -s /home/den/.config/sdgos/monocle/style.css"|layout|K,DP-3
|
||||
|
||||
# monocle bar on vertical deck
|
||||
vdeck-hdmi|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh hdmi|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-hdmi -s /home/den/.config/sdgos/monocle/style.css"|layout|VK,HDMI-A-1
|
||||
vdeck-dp1|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh dp1|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-dp1 -s /home/den/.config/sdgos/monocle/style.css"|VK,DP-1
|
||||
vdeck-dp3|mmsg dispatch spawn_shell,~/.config/sdgos/monocle/monocle.sh dp3|pkill -f "waybar -c /home/$(whoami)/.config/sdgos/monocle/config-dp3 -s /home/den/.config/sdgos/monocle/style.css"|layout|VK,DP-3
|
||||
|
||||
|
||||
# Focused modules — trigger when specific app gains/loses focus
|
||||
#term_focused,notify-send "terminal focused",notify-send "terminal unfocused",focused,com.mitchellh.ghostty
|
||||
#browser_focused,notify-send "browser focused",notify-send "browser unfocused",focused,firefox
|
||||
#term_focused|notify-send "terminal focused"|notify-send "terminal unfocused"|focused|com.mitchellh.ghostty
|
||||
#browser_focused|notify-send "browser focused"|notify-send "browser unfocused"|focused|firefox
|
||||
|
||||
Reference in New Issue
Block a user