From fa71a58f021c49a9e07b64e5041b975bdc0d5913 Mon Sep 17 00:00:00 2001 From: Konstantin Koslowski Date: Mon, 18 Mar 2024 12:13:03 +0100 Subject: [PATCH] update config, bslxkos01 --- bin/sway_lock | 1 + config | 4 ++-- hosts.d/{bslxkos01.conf => bslxkos01.rsint.net.conf} | 4 +++- 3 files changed, 6 insertions(+), 3 deletions(-) rename hosts.d/{bslxkos01.conf => bslxkos01.rsint.net.conf} (87%) diff --git a/bin/sway_lock b/bin/sway_lock index 280eaf5..5ac047b 100755 --- a/bin/sway_lock +++ b/bin/sway_lock @@ -58,6 +58,7 @@ function _screenshot() { _log LOCK INFO args: $* _check_app $LOCK_APP _check_app $SCROT_APP +_check_app $MEDIA_APP case "$1" in i*) diff --git a/config b/config index ee1ac19..987dd47 100644 --- a/config +++ b/config @@ -85,6 +85,7 @@ bindsym --release button3 kill # Start your launcher bindsym $mod+r exec $menu bindsym $mod+Shift+r exec $search_cmd +bindsym $mod+Backspace exec $exit_cmd # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod. @@ -93,8 +94,6 @@ bindsym $mod+Shift+r exec $search_cmd # mouse button for dragging. floating_modifier $mod normal -# Show exit menu -bindsym $mod+Shift+e exec $exit_cmd # Moving around: # @@ -340,6 +339,7 @@ bindsym $mod+o exec $notify_cmd "mode: move-workspace"; mode "move-workspace" # Window Rules: # for_window [title="nmtui"] floating enable +for_window [app_id="nm-tray"] floating enable for_window [app_id="nm-connection-editor"] floating enable for_window [app_id="evolution-alarm-notify"] floating enable for_window [title="float*"] floating enable diff --git a/hosts.d/bslxkos01.conf b/hosts.d/bslxkos01.rsint.net.conf similarity index 87% rename from hosts.d/bslxkos01.conf rename to hosts.d/bslxkos01.rsint.net.conf index 3256a07..3f215bf 100644 --- a/hosts.d/bslxkos01.conf +++ b/hosts.d/bslxkos01.rsint.net.conf @@ -1,4 +1,4 @@ -### 7DPQTN2 specific settings +### bslxkos01.rsint.net specific settings # vim: ft=i3 set $intern "Chimei Innolux Corporation 0x1416 0x00000000" set $extern-34 "Dell Inc. DELL U3421WE 6YR9753" @@ -36,3 +36,5 @@ input "1:1:AT_Translated_Set_2_keyboard" { xkb_layout "eu" xkb_options "xk5:vim,xk5:fn" } + +for_window [class="Google-chrome" instance="crx_cifhbcnohmdccbgoicgdjpfamggdegmo" window_type="normal"] mark c