launch obsidian and move to its own workspace

This commit is contained in:
Tyler Starr 2023-11-10 11:20:46 -08:00
parent c9b0dc8c0b
commit 7e11796c10

View File

@ -18,10 +18,10 @@ set $mod Mod4
set $tag1 "1:game"
set $tag2 "2:dev"
set $tag3 "3:web"
set $tag4 "4:dev"
set $tag4 "4:note"
set $tag5 "5:web"
set $tag6 "6:web"
set $tag7 "7:note"
set $tag7 "7:web"
set $tag8 "8:comm"
set $e exec swaymsg mode default
@ -107,6 +107,7 @@ for_window [app_id="file"] floating enable, \
for_window [class="Steam"] move container to workspace "1:game"
for_window [class="discord"] move container to workspace $tag8
for_window [class="obsidian"] move container to workspace $tag4
for_window [title="launcher"] floating enable
#-------------------------------------------------------------------------------
@ -196,6 +197,7 @@ mode launcher {
bindsym $mod+o mode open
mode open {
bindsym b exec chromium, $e
bindsym o exec obsidian, $e
bindsym s exec steam || flatpak run com.valvesoftware.Steam, $e
bindsym d exec discord || flatpak run com.discordapp.Discord, $e
bindsym m exec mpv $(wl-paste), $e