From c84e0850cd65d5219ca23844b36644e78623b0ea Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Thu, 12 Jan 2023 20:20:08 +0300 Subject: [PATCH] Change some sway/waybar settings --- configs/sway/config | 3 ++- configs/waybar/config | 2 +- configs/waybar/style.css | 14 ++------------ 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/configs/sway/config b/configs/sway/config index ac0bc92..6b19244 100644 --- a/configs/sway/config +++ b/configs/sway/config @@ -18,6 +18,7 @@ input type:keyboard { input type:touchpad { tap enabled + dwt disabled natural_scroll enabled } @@ -151,7 +152,7 @@ bindgesture pinch:4:inward exec $menu # launchpad like # Floating for_window [app_id="pavucontrol"] floating enable, resize 600 300, move absolute position 25ppt 25ppt -for_window [app_id="iwgtk"] floating enable, resize 300 150, move absolute position 25ppt 25ppt +for_window [app_id="nm-connection-editor"] floating enable, resize 300 150, move absolute position 25ppt 25ppt # Autostart exec alacritty --class bottom -e btm diff --git a/configs/waybar/config b/configs/waybar/config index c9f060d..637df41 100644 --- a/configs/waybar/config +++ b/configs/waybar/config @@ -2,7 +2,7 @@ "position": "top", "modules-left": ["sway/workspaces", "sway/mode"], "modules-center": [], - "modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "custom/uptime", "network", "pulseaudio", "battery", "sway/language", "clock"], + "modules-right": ["tray", "idle_inhibitor", "cpu", "memory", "custom/uptime", "pulseaudio", "battery", "sway/language", "clock"], "sway/mode": { "format": "{}" }, diff --git a/configs/waybar/style.css b/configs/waybar/style.css index 309c0f8..bbad34c 100644 --- a/configs/waybar/style.css +++ b/configs/waybar/style.css @@ -10,25 +10,18 @@ window#waybar { color: transparent; - background: none; + background: @base; padding-top: 0; padding-bottom: 0; margin-top: 8px; - border-radius: 32px; } - - #workspaces { - background: @base; transition: none; - border-radius: 32px; - color: @subtext0; - margin: 8px 8px 0; + color: @text; } #workspaces button { - border-radius: 32px; } button:hover { @@ -52,10 +45,8 @@ button:hover { transition: none; background: @base; color: @text; - margin: 8px 8px 0; padding-left: 4px; padding-right: 4px; - border-radius: 32px; } #language, #clock, #battery, #cpu, #memory, #disk, #temperature, #backlight, #network, #pulseaudio, #custom-media, #tray, #mode, #idle_inhibitor, #mpd, #custom-loadavg, #custom-uptime { @@ -82,4 +73,3 @@ label:focus { padding: 0 4px; min-width: 16px; } -