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

View file

@ -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": "<span style=\"italic\">{}</span>"
},

View file

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