1
1
mirror of https://github.com/nboughton/dotfiles synced 2024-11-26 13:33:54 +01:00

more bar tweaks

This commit is contained in:
Nick Boughton 2020-12-04 15:52:49 +00:00
parent 88cf8ca7f5
commit 6c5db605bb
5 changed files with 45 additions and 57 deletions

2
.gitignore vendored

@ -49,3 +49,5 @@ libreoffice/
evince/
Thunar/
transmission/
pipewire-media-session/
systemd/

@ -217,7 +217,7 @@ preview_images: true
#
# Window opacity as a floating point number from `0.0` to `1.0`.
# The value `0.0` is completely transparent and `1.0` is opaque.
background_opacity: 0.75
background_opacity: 0.85
# Mouse bindings
#

@ -23,8 +23,10 @@ set $menu wofi -c ~/.config/wofi/config -s ~/.config/wofi/style.css -I
#output * bg /home/nick/Pictures/VEU9Nr4.png fill
#output * bg /home/nick/Pictures/Starry\ Sky\ wallpapers\ Snowy\ Mountain\ Starry\ Sky\ stock\ photos.jpg fill
#output * bg /home/nick/Pictures/Rainy-Day-Wallpaper.jpg fill
output * bg /home/nick/Pictures/803094.jpg fill
#output * bg /home/nick/Pictures/803094.jpg fill
#output * bg /home/nick/Pictures/EmtJwQGXEAI99ZS.jpg fill
output * bg /home/nick/Pictures/SBKjnxm.jpeg fill
#output * bg /home/nick/Pictures/ark_bryggan_big.jpg fill
#output * bg /home/nick/Pictures/Nord_minimalism_colorful-1928527.png fill
#output * bg /home/nick/Pictures/59bsn5hgnojy.jpg fill
@ -59,7 +61,7 @@ exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec mako
exec nm-applet --indicator
exec gammastep-indicator
exec insync start
#exec insync start
### Window config
for_window [app_id=aptus-upgrade] floating enable
@ -241,9 +243,8 @@ bar {
#
# gaps
#
gaps inner 15
gaps top -10
gaps bottom -10
gaps inner 10
gaps outer -5
smart_gaps off
#

@ -3,41 +3,32 @@
"layer": "bottom",
"position": "top",
"margin-top": 5,
"margin-right": 10,
"margin-left": 10,
"margin-right": 5,
"margin-left": 5,
"modules-left": [
"sway/workspaces",
"custom/separator",
"idle_inhibitor",
"sway/mode"
"sway/mode",
],
"modules-center": [
"clock",
"custom/separator",
"custom/pacman",
"custom/separator",
"custom/weather"
],
"modules-right": [
"cpu",
"custom/separator",
"memory",
"custom/swap",
"custom/separator",
"disk#1",
"disk#2",
"custom/separator",
//"custom/swap",
//"disk#1",
//"disk#2",
"tray",
"pulseaudio",
"custom/separator",
"backlight",
"custom/separator",
"battery",
"custom/separator",
"tray"
//"backlight",
"battery"
],
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": false,
"all-outputs": true,
"format": "{name} {icon}",
"format-icons": {
"1": "",
@ -60,7 +51,7 @@
},
"clock": {
"format": "{:%a %d %b %H:%M}",
"tooltip": false
"tooltip": true
},
"pulseaudio": {
"format": "{icon} {volume}% {format_source}",
@ -155,15 +146,15 @@
{
"layer": "bottom",
"position": "bottom",
"height": 15,
"margin-right": 10,
"margin-left": 10,
"margin-right": 5,
"margin-left": 5,
"margin-bottom": 5,
"modules-left": ["wlr/taskbar"],
"modules-center": [],
"modules-right": ["custom/spotify"],
"wlr/taskbar": {
"all-outputs": false,
"active-first": true,
"format": "{icon} {title:.15}...",
"icon-theme": "DarK-svg",
"icon-size": 12,

@ -3,13 +3,16 @@
font-family: Roboto;
}
/*
window.eDP-1 * {
font-size: 12px;
}
*/
window#waybar {
color: #d8dee9;
background: none;
background: rgba(46,52,64, 0.75);
border-radius: 7px;
}
#custom-pacman,
@ -40,10 +43,9 @@ window#waybar {
#custom-separator,
#taskbar,
#tray {
/*background: #4c566a;*/
padding: 0px 7px 0px 7px;
text-shadow: 1px 1px 1px #2e3440;
border-radius: 5px;
border-radius: 0px;
}
#custom-separator {
@ -57,61 +59,53 @@ window#waybar {
#mode {
margin-left: 5px;
background: #bf616a;
border-radius: 5px;
}
#disk.1,
#memory {
padding-right: 3px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
#disk.2,
#custom-swap {
padding-left: 3px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
#clock {
margin-right: 0px;
padding-right: 5px;
}
#custom-pacman {
margin-left: 0px;
margin-right: 0px;
}
#custom-weather,
#idle_inhibitor {
margin-left: 0px;
}
#tray,
#battery,
#custom-spotify {
margin-right: 5px;
background: rgba(94,129,172, 0.75);
border-top-right-radius: 7px;
border-bottom-right-radius: 7px;
}
#pulseaudio {
background: rgba(94,129,172, 0.75);
}
#workspaces {
margin-left: 5px;
padding: 0px;
}
#workspaces button {
padding: 0px 5px 0px 5px;
border-radius: 5px;
border-radius: 0px;
}
#workspaces button.focused {
background: #5e81ac;
}
#workspaces button#sway-workspace-1 {
border-top-left-radius: 7px;
border-bottom-left-radius: 7px;
}
#taskbar {
padding: 0px;
margin-left: 5px;
}
#taskbar button {
border-radius: 5px;
border-radius: 0px;
padding-right: 3px;
text-shadow: 1px 1px 1px #2e3440;
}
#taskbar button.active {
background: #5e81ac;
background: rgba(94,129,172, 0.75);
border-top-left-radius: 7px;
border-bottom-left-radius: 7px;
}