mirror of
https://github.com/ivabus/dotfiles
synced 2024-11-10 02:05:16 +03:00
Change some sway/waybar settings
This commit is contained in:
parent
58a4ad2a4b
commit
c84e0850cd
|
@ -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
|
||||||
|
|
|
@ -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>"
|
||||||
},
|
},
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue