From c7c13930cf125a2f3c78106d9e93cb7285aa12cc Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Thu, 16 Dec 2021 23:27:38 -0600 Subject: [PATCH] monitor-workspace.conf: Launch monitor on startup --- .config/sway/available/extras/monitor-workspace.conf | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.config/sway/available/extras/monitor-workspace.conf b/.config/sway/available/extras/monitor-workspace.conf index 5f60409..3fbf22f 100644 --- a/.config/sway/available/extras/monitor-workspace.conf +++ b/.config/sway/available/extras/monitor-workspace.conf @@ -19,5 +19,12 @@ for_window [app_id="bpytop"] { fullscreen enable } + # Launch bpytop with custom app_id -bindsym $mod+Alt+$ws-monitor-key exec "alacritty --class bpytop -e bpytop" +set $monitor-launch "alacritty --class bpytop -e bpytop" + +# Launch monitor on key combo +bindsym $mod+Alt+$ws-monitor-key exec $monitor-launch + +# Launch monitor on startup +exec $monitor-launch