From 170b9f616269da07e9513ebf9671369a5a184215 Mon Sep 17 00:00:00 2001 From: Marco van Dijk Date: Mon, 19 Jul 2021 18:15:56 +0200 Subject: [PATCH] Thinner borders, but with a gap in between Floating git-gui window Slightly more colour to waybar --- .config/i3/config | 16 ++++++++-------- .config/sway/config | 21 +++++++++++---------- .config/waybar/style.css | 11 +++++++---- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 07a5755..8ed1d29 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -19,9 +19,9 @@ # Borders # Also removes all title bars - for_window [class="^.*"] border pixel 5 - default_border pixel 5 - default_floating_border pixel 5 + for_window [class="^.*"] border pixel 3 + default_border pixel 3 + default_floating_border pixel 3 # Hide borders at the edge of the screen hide_edge_borders smart @@ -48,7 +48,7 @@ # unfocused #333333 #222222 #888888 #292d2e #222222 # urgent #2f343a #900000 #ffffff #900000 #900000 # placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c - client.focused #565f89 #565f89 #c0caf5 #565f89 #565f89 + client.focused #9aa5ce #364A82 #c0caf5 #9aa5ce #9aa5ce client.focused_inactive #16161d #16161d #c0caf5 #16161d #16161d client.unfocused #16161d #16161d #c0caf5 #16161d #16161d @@ -58,10 +58,10 @@ # the inner affects spacing around each view # the outer affects the spacing around each workspace # To reduce or remove outer gaps, outer gaps can be set to a negative value. - gaps inner 0 - gaps outer 0 - gaps top 0 - gaps bottom 0 + gaps inner 5 + gaps outer 2 + gaps top 2 + gaps bottom 2 # Hide gaps when there is only 1 window smart_gaps on diff --git a/.config/sway/config b/.config/sway/config index ca47180..5803191 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -27,9 +27,9 @@ # Borders # Also removes all title bars - for_window [class="^.*"] border pixel 6 - default_border pixel 6 - default_floating_border pixel 6 + for_window [class="^.*"] border pixel 3 + default_border pixel 3 + default_floating_border pixel 3 # Hide borders at the edge of the screen hide_edge_borders smart @@ -56,7 +56,7 @@ # unfocused #333333 #222222 #888888 #292d2e #222222 # urgent #2f343a #900000 #ffffff #900000 #900000 # placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c - client.focused #565f89 #565f89 #c0caf5 #565f89 #565f89 + client.focused #9aa5ce #16161d #c0caf5 #9aa5ce #9aa5ce client.focused_inactive #16161d #16161d #c0caf5 #16161d #16161d client.unfocused #16161d #16161d #c0caf5 #16161d #16161d @@ -66,10 +66,10 @@ # the inner affects spacing around each view # the outer affects the spacing around each workspace # To reduce or remove outer gaps, outer gaps can be set to a negative value. - gaps inner 0 - gaps outer 0 - gaps top 0 - gaps bottom 0 + gaps inner 5 + gaps outer 1 + gaps top 1 + gaps bottom 1 # Hide gaps when there is only 1 window smart_gaps on @@ -290,7 +290,7 @@ exec_always pkill kanshi; exec kanshi # Autotiling based on window dimensions - exec autotiling + exec autotiling & # start initial programs # TODO: We still need to something similar to i3 layouts @@ -299,12 +299,13 @@ exec discord & exec spotify & #exec ario & + #exec gmpc & exec gimp & exec bitwarden & exec thunderbird & # Finally start waybar - exec /home/marco/.config/waybar/launch.sh + exec_always /home/marco/.config/waybar/launch.sh & diff --git a/.config/waybar/style.css b/.config/waybar/style.css index a7ad719..a6b9ae4 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -23,14 +23,14 @@ window#waybar { #workspaces button { padding: 0 8px; - color: rgba(217, 216, 216, 0.4); + color: #565f89; border: 3px solid rgba(9, 85, 225, 0); border-radius: 10px; min-width: 33px; } #workspaces button.visible { - color: #364A82; + color: #a9b1d6; } #workspaces button.focused { @@ -45,8 +45,8 @@ window#waybar { #workspaces button:hover { box-shadow: inherit; - border-color: #7dcfff; - color: #7dcfff; + border-color: #bb9af7; + color: #bb9af7; } /* Repeat style here to ensure properties are overwritten as there's no !important and button:hover above resets the colour */ @@ -54,6 +54,9 @@ window#waybar { #workspaces button.focused { color: #7aa2f7; } +#workspaces button.focused:hover { + color: #bb9af7; +} #pulseaudio { /* font-size: 26px; */