From b17ce75d30a2ddc9671d5464e2e6fb2ec8000884 Mon Sep 17 00:00:00 2001 From: piotr Date: Tue, 11 Jan 2022 14:13:09 +0100 Subject: [PATCH 1/5] replace `alacritty` with `foot` --- sway-home/.config/nwg-panel/preset-0 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway-home/.config/nwg-panel/preset-0 b/sway-home/.config/nwg-panel/preset-0 index 64a120a8..fa053d2e 100644 --- a/sway-home/.config/nwg-panel/preset-0 +++ b/sway-home/.config/nwg-panel/preset-0 @@ -216,7 +216,7 @@ "script": "gopsuinfo -i a", "interval": 2, "tooltip-text": "CPU average load", - "on-left-click": "alacritty -e htop", + "on-left-click": "foot -e htop", "on-middle-click": "", "on-right-click": "", "on-scroll-up": "", From eff036d1e95e46d7fb603ba559ca664fa915a3dc Mon Sep 17 00:00:00 2001 From: piotr Date: Wed, 12 Jan 2022 11:52:20 +0100 Subject: [PATCH 2/5] remove reference to nonexistent script --- sway-home/.config/nwg-panel/preset-0 | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/sway-home/.config/nwg-panel/preset-0 b/sway-home/.config/nwg-panel/preset-0 index fa053d2e..42ac8d67 100644 --- a/sway-home/.config/nwg-panel/preset-0 +++ b/sway-home/.config/nwg-panel/preset-0 @@ -97,7 +97,6 @@ "leave-closes": true, "css-name": "controls-window", "net-interface": "wlo1", - "Exit": "Exittt", "system-shutdown-symbolic": "system-shutdown", "output-switcher": true, "window-width": 320, @@ -119,7 +118,7 @@ "interval": 1, "on-right-click": "", "tooltip-text": "", - "on-left-click": "/home/piotr/PycharmProjects/swayinfo/calendar.py", + "on-left-click": "", "on-middle-click": "", "on-scroll-up": "", "on-scroll-down": "", @@ -174,8 +173,7 @@ "executor-cpubar", "executor-temp", "executor-memory", - "executor-drives", - "executor-uptime" + "executor-drives" ], "sway-taskbar": { "workspace-buttons": false, @@ -264,19 +262,6 @@ "icon-size": 16, "icon-placement": "left" }, - "executor-uptime": { - "script": "gopsuinfo -i u", - "interval": 60, - "tooltip-text": "", - "on-left-click": "", - "on-middle-click": "", - "on-right-click": "", - "on-scroll-up": "", - "on-scroll-down": "", - "css-name": "", - "icon-size": 16, - "icon-placement": "left" - }, "playerctl": {}, "sway-workspaces": {} } From 4f126ce329fca1936732f78924fdc2e67ec67000 Mon Sep 17 00:00:00 2001 From: piotr Date: Wed, 12 Jan 2022 11:53:31 +0100 Subject: [PATCH 3/5] set reasonable repeat rate --- sway-home/.config/sway/config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sway-home/.config/sway/config b/sway-home/.config/sway/config index 5128d39c..bf7b97a6 100644 --- a/sway-home/.config/sway/config +++ b/sway-home/.config/sway/config @@ -101,7 +101,7 @@ input "type:mouse" { input "type:keyboard" { xkb_layout $lang repeat_delay 300 - repeat_rate 70 + repeat_rate 40 } # numlock on/off From e72e22c222376688b5adc81a5f65b29d9dd61561 Mon Sep 17 00:00:00 2001 From: piotr Date: Thu, 13 Jan 2022 00:01:16 +0100 Subject: [PATCH 4/5] fix initial settings --- sway-home/.config/nwg-shell/preset-0 | 2 +- sway-home/.config/sway/variables | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sway-home/.config/nwg-shell/preset-0 b/sway-home/.config/nwg-shell/preset-0 index 9c15742f..09d9bee2 100644 --- a/sway-home/.config/nwg-shell/preset-0 +++ b/sway-home/.config/nwg-shell/preset-0 @@ -5,7 +5,7 @@ "launcher-file-search-columns": 2, "launcher-search-files": true, "launcher-categories": true, - "launcher-resident": false, + "launcher-resident": true, "launcher-overlay": false, "launcher-css": "preset-0.css", "launcher-on": true, diff --git a/sway-home/.config/sway/variables b/sway-home/.config/sway/variables index 5176ed63..6221f404 100644 --- a/sway-home/.config/sway/variables +++ b/sway-home/.config/sway/variables @@ -1,4 +1,4 @@ set $lang us set $term foot set $exit nwg-bar -s preset-0.css -set $drawer nwg-drawer +set $launcher nwg-drawer From cf1fd1a26164b971c55b0f8734a4efcd5f52e94d Mon Sep 17 00:00:00 2001 From: piotr Date: Thu, 13 Jan 2022 01:20:36 +0100 Subject: [PATCH 5/5] minor fixes --- sway-home/.config/sway/config | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sway-home/.config/sway/config b/sway-home/.config/sway/config index bf7b97a6..0f9da52b 100644 --- a/sway-home/.config/sway/config +++ b/sway-home/.config/sway/config @@ -3,7 +3,7 @@ # Read `man 5 sway` for reference. # border & title -for_window [class="^.*"] border pixel 1, title_format " %class >> %title " +for_window [title="^.*"] border pixel 1, title_format " %class >> %title " default_border pixel 1 # gaps @@ -105,7 +105,7 @@ input "type:keyboard" { } # numlock on/off -# input * xkb_numlock disabled +# input * xkb_numlock enabled ############# Bindings ################## @@ -323,11 +323,10 @@ bindsym $Mod+Control+Shift+minus gaps outer all minus 5 ############ application settings ############ # focus, floating, & sticky -for_window [app_id="(?i)(?:blueman-manager|azote|gnome-disks|nwg-shell-config|nwg-panel-config)"] floating enable +for_window [app_id="(?i)(?:blueman-manager|azote|gnome-disks|nwg-shell-config)"] floating enable for_window [app_id="(?i)(?:pavucontrol|nm-connection-editor|gsimplecal|galculator)"] floating enable for_window [class="(?i)(?:lxappearance)"] floating enable for_window [app_id="(?i)(?:firefox|chromium)"] border none for_window [title="(?i)(?:copying|deleting|moving)"] floating enable - popup_during_fullscreen smart