From 62081a7710b5feffecca74f353fdd8d87e721355 Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Wed, 4 Dec 2019 20:28:54 +0100 Subject: [PATCH] [sway] Fixup a few matchers and the lid closes / open event --- home/.config/sway/config | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/home/.config/sway/config b/home/.config/sway/config index 983998f..c903840 100644 --- a/home/.config/sway/config +++ b/home/.config/sway/config @@ -104,6 +104,8 @@ input "2:10:TPPS/2_IBM_TrackPoint" { input "1390:269:ELECOM_TrackBall_Mouse_HUGE_TrackBall" { natural_scroll enabled + scroll_button 279 + scroll_method on_button_down } input "65261:4871:ErgoDox_EZ_ErgoDox_EZ_Keyboard" { @@ -118,8 +120,8 @@ input "1:1:AT_Translated_Set_2_keyboard" { input * xkb_layout "de" -bindswitch lid:on output $display_laptop disable -bindswitch lid:off output $display_laptop enable +bindswitch --locked lid:on output $display_laptop disable +bindswitch --locked lid:off output $display_laptop enable bindsym $mod+shift+b border toggle @@ -277,7 +279,8 @@ exec alacritty --title terminal_scratchpad bindsym $mod+n exec makoctl dismiss bindsym $mod+Shift+n exec makoctl dismiss -a -for_window [title="worklogger"] floating enable +for_window [title="^worklogger.*$"] floating enable, border pixel 4, move position center +for_window [title="nm-tray"] floating enable for_window [app_id="org.gnome.Nautilus"] floating enable for_window [title="Firefox - Sharing Indicator"] floating enable @@ -285,6 +288,7 @@ assign [instance="^.*\.yakshed\.org$"] "3: Comms" assign [instance="^.*\.slack\.com$"] "3: Comms" assign [instance="web.whatsapp.com"] "3: Comms" assign [instance="inoreader.com"] "3: Comms" +assign [title="^.*qutebrowser-comms$"] "3: Comms" assign [title="Wire"] "3: Comms" assign [title="Signal"] "3: Comms" @@ -321,7 +325,7 @@ mode "run" { bindsym r exec i3-rofi; mode "default"; bindsym p exec rofi-pass; mode "default"; - bindsym w exec firefox-wayland; mode "default"; + bindsym w exec qutebrowser; mode "default"; bindsym e exec em; mode "default" bindsym f exec nautilus; mode "default" @@ -357,7 +361,7 @@ client.background $base07 bar { position top - status_command i3status + status_command i3status-rs ~/.config/i3status-rs.toml font pango:FuraMono Nerd Font, FontAwesome 12 colors { background $base00