Change some sway/waybar settings

This commit is contained in:
Ivan Bushchik 2023-01-12 20:20:08 +03:00
parent 58a4ad2a4b
commit c84e0850cd
No known key found for this signature in database
GPG key ID: 3E4E9C7D66E44BF7
3 changed files with 5 additions and 14 deletions

View file

@ -18,6 +18,7 @@ input type:keyboard {
input type:touchpad { input type:touchpad {
tap enabled tap enabled
dwt disabled
natural_scroll enabled natural_scroll enabled
} }
@ -151,7 +152,7 @@ bindgesture pinch:4:inward exec $menu # launchpad like
# Floating # Floating
for_window [app_id="pavucontrol"] floating enable, resize 600 300, move absolute position 25ppt 25ppt 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 # Autostart
exec alacritty --class bottom -e btm exec alacritty --class bottom -e btm

View file

@ -2,7 +2,7 @@
"position": "top", "position": "top",
"modules-left": ["sway/workspaces", "sway/mode"], "modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": [], "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": { "sway/mode": {
"format": "<span style=\"italic\">{}</span>" "format": "<span style=\"italic\">{}</span>"
}, },

View file

@ -10,25 +10,18 @@
window#waybar { window#waybar {
color: transparent; color: transparent;
background: none; background: @base;
padding-top: 0; padding-top: 0;
padding-bottom: 0; padding-bottom: 0;
margin-top: 8px; margin-top: 8px;
border-radius: 32px;
} }
#workspaces { #workspaces {
background: @base;
transition: none; transition: none;
border-radius: 32px; color: @text;
color: @subtext0;
margin: 8px 8px 0;
} }
#workspaces button { #workspaces button {
border-radius: 32px;
} }
button:hover { button:hover {
@ -52,10 +45,8 @@ button:hover {
transition: none; transition: none;
background: @base; background: @base;
color: @text; color: @text;
margin: 8px 8px 0;
padding-left: 4px; padding-left: 4px;
padding-right: 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 { #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; padding: 0 4px;
min-width: 16px; min-width: 16px;
} }