Add logseq to sway floating window

This commit is contained in:
Johannes Rothe 2023-04-25 14:27:47 +02:00
parent 14cdc77d5d
commit d7162d410f
2 changed files with 9 additions and 0 deletions

View File

@ -23,6 +23,7 @@ set $wallpaper ~/pictures/wallpaper/voxel-city-by-huntingfluff.jpg
# screenshot
bindsym --release Print exec grimshot copy area
bindsym --release Shift+Print exec grimshot --notify save active
# lock
bindsym Mod1+l exec swaylock -f -i $wallpaper -s fill
# titlebars
@ -53,6 +54,14 @@ exec swayidle -w \
timeout 3600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
before-sleep 'swaylock -f -c 000000'
exec ~/bin/logseq
for_window [title="Logseq"] move scratchpad, resize set 1280 800
bindsym $mod+m scratchpad show
#exec chromium --name="todoist" --app="https://todoist.com/app/filter/2267226798" --new-window
#for_window [app_id="todoist"] move scratchpad, resize set 1280 800
#bindsym $mod+t [app_id="todoist"] scratchpad show
### Input configuration
#
# Example configuration: