From d7162d410f53513266ddd5255dd9927f8f6e0bc0 Mon Sep 17 00:00:00 2001 From: Johannes Rothe Date: Tue, 25 Apr 2023 14:27:47 +0200 Subject: [PATCH] Add logseq to sway floating window --- hosts.ini => hosts.yaml | 0 roles/dotfiles/files/sway_config | 9 +++++++++ 2 files changed, 9 insertions(+) rename hosts.ini => hosts.yaml (100%) diff --git a/hosts.ini b/hosts.yaml similarity index 100% rename from hosts.ini rename to hosts.yaml diff --git a/roles/dotfiles/files/sway_config b/roles/dotfiles/files/sway_config index 560b411..1c5e747 100644 --- a/roles/dotfiles/files/sway_config +++ b/roles/dotfiles/files/sway_config @@ -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: