[sway] Fixup a few matchers and the lid closes / open event

This commit is contained in:
Sebastian Schulze 2019-12-04 20:28:54 +01:00
parent 937498bedb
commit 62081a7710
Signed by: bascht
GPG Key ID: 5BCB1D3B4D38A35A
1 changed files with 9 additions and 5 deletions

View File

@ -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