summaryrefslogtreecommitdiff
path: root/.config/sway
diff options
context:
space:
mode:
Diffstat (limited to '.config/sway')
-rw-r--r--.config/sway/config36
1 files changed, 24 insertions, 12 deletions
diff --git a/.config/sway/config b/.config/sway/config
index 8c57f55..9916797 100644
--- a/.config/sway/config
+++ b/.config/sway/config
@@ -1,6 +1,6 @@
set $mod Mod1
set $mod2 Mod4
-set $term alacritty
+set $term foot #alacritty
set $background ~/pictures/desktops/mountains_night_sky_dark.jpg
set $screenshot grim ~/pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png
set $screenclip slurp | grim -g - ~/pictures/screenshots/scrn-$(date +"%Y-%m-%d-%H-%M-%S").png
@@ -29,7 +29,9 @@ bindsym $mod+F12 exec $screenclip
output * bg $background fill
input type:touchpad {
+ click_method clickfinger
natural_scroll enabled
+ middle_emulation disabled
}
# change focus
bindsym $mod2+j focus left
@@ -121,6 +123,7 @@ for_window [app_id="thunar"] floating enable
for_window [app_id="soffice"] floating enable
for_window [class="^lxf$"] floating enable
for_window [app_id="system-config-printer"] floating enable
+for_window [app_id="epiphany"] border none
for_window [app_id="darktable"] border none
for_window [class="Darktable"] border none
@@ -128,12 +131,12 @@ for_window [app_id="python3"] border none, floating enable
for_window [class="^URxvt"] border none
for_window [app_id="firefoxdeveloperedition"] border none
for_window [class="firefoxdeveloperedition"] border none
-for_window [app_id="Vivaldi-snapshot"] border none
-for_window [app_id="Vivaldi-stable"] border none
-for_window [class="Vivaldi"] border none
+for_window [app_id="vivaldi-snapshot"] border none
+for_window [app_id="vivaldi-stable"] border none
for_window [class="^qutebrowser"] border none
for_window [app_id="org.qutebrowser.qutebrowser"] border none
for_window [app_id="^Alacritty"] border none
+for_window [app_id="^foot"] border none
for_window [class="Slack"] border none
for_window [class="Pavucontrol"] floating enable
for_window [window_role="pop-up"] floating enable
@@ -144,6 +147,8 @@ for_window [app_id="mpv"] floating enable
for_window [class="hangouts.google.com"] floating disable
for_window [class="hangouts.google.com"] border normal
for_window [app_id="gedit"] floating enable
+for_window [app_id="org.kde.kdenlive"] border none
+
assign [class="qutebrowser"] $ws2
assign [app_id="org.qutebrowser.qutebrowser"] $ws2
@@ -208,31 +213,38 @@ input "1:1:AT_Translated_Set_2_keyboard" {
repeat_rate 25
}
exec vivaldi-stable --ozone-platform=wayland --enable-features=UseOzonePlatform &
-exec alacritty &
-exec nextcloud &
+exec foot &
+exec mako &
exec mpd &
# clipboard manager
exec wl-paste -t text --watch clipman store --max-items=200 --histpath="~/.local/share/clipman-primary.json"
-bindsym $mod+c exec alacritty --class 'smsearch' --command bash -c 'fzclip | xargs -r swaymsg -t command exec'
+#bindsym $mod+c exec alacritty --class 'smsearch' --command bash -c 'fzclip | xargs -r swaymsg -t command exec'
+bindsym $mod+c exec foot --app-id=smsearch bash -c 'fzclip | xargs -r swaymsg -t command exec'
# app launcher
-bindsym $mod+Space exec alacritty --class 'launcher' --command bash -c 'compgen -c | sort -u | fzf | xargs -r swaymsg -t command exec'
+#bindsym $mod+Space exec alacritty --class 'launcher' --command bash -c 'compgen -c | sort -u | fzf | xargs -r swaymsg -t command exec'
+bindsym $mod+Space exec foot --app-id=launcher bash -c "compgen -c | sort -u | fzf --bind 'tab:up' | xargs -r swaymsg -t command exec"
# pass chooser
-bindsym $mod+p exec alacritty --class 'launcher' --command bash -c 'pass clip --fzf | xargs -r swaymsg -t command exec'
+#bindsym $mod+p exec alacritty --class 'launcher' --command bash -c 'pass clip --fzf | xargs -r swaymsg -t command exec'
+bindsym $mod+p exec foot --app-id=launcher bash -c 'pass clip --fzf | xargs -r swaymsg -t command exec'
for_window [app_id="^launcher$"] floating enable, border none, resize set width 25 ppt height 20 ppt, move position 0 px 0 px
#snippet manager
-bindsym $mod+s exec alacritty --class 'smsearch' --command bash -c 'fzsnip | xargs -r swaymsg -t command exec'
+#bindsym $mod+s exec alacritty --class 'smsearch' --command bash -c 'fzsnip | xargs -r swaymsg -t command exec'
+bindsym $mod+s exec foot --app-id=smsearch bash -c 'fzsnip | xargs -r swaymsg -t command exec'
-bindsym $mod+b exec alacritty --class 'smsearch' --command bash -c 'url=$(cat .config/qutebrowser/bookmarks/urls | fzf | cut -d \" \" -f 1) && qutebrowser "$url" | xargs -r swaymsg -t command exec'
+#bookmarks search
+#bindsym $mod+b exec alacritty --class 'smsearch' --command bash -c 'url=$(cat .config/qutebrowser/bookmarks/urls | fzf | cut -d \" \" -f 1) && qutebrowser "$url" | xargs -r swaymsg -t command exec'
+bindsym $mod+b exec foot --app-id=smsearch bash -c 'url=$(cat .config/qutebrowser/bookmarks/urls | fzf | cut -d \" \" -f 1) && qutebrowser "$url" | xargs -r swaymsg -t command exec'
for_window [app_id="^smsearch$"] floating enable, border none, resize set width 80 ppt height 60 ppt, move position 0 px 0 px
-bindsym $mod+n exec alacritty --class 'smsearch' --command bash -c 'notes'
+#bindsym $mod+n exec alacritty --class 'smsearch' --command bash -c 'notes'
+bindsym $mod+n exec foot --app-id=smsearch bash -c 'notes'
for_window [app_id="^smsearch$"] floating enable, border none, resize set width 80 ppt height 60 ppt, move position 0 px 0 px