more styling
This commit is contained in:
parent
7798e8360c
commit
3c21b077ba
10 changed files with 51 additions and 21 deletions
|
|
@ -60,9 +60,9 @@ input {
|
|||
general {
|
||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||
|
||||
gaps_in = 5
|
||||
gaps_out = 20
|
||||
border_size = 2
|
||||
gaps_in = 20
|
||||
gaps_out = 40
|
||||
border_size = 3
|
||||
col.active_border = $color4 $color13 45deg
|
||||
col.inactive_border = $color0
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ CONFIG_FILES="$HOME/.config/waybar/ $HOME/.cache/wal/"
|
|||
trap "killall waybar" EXIT
|
||||
|
||||
while true; do
|
||||
sleep 0.4
|
||||
sleep 1.6
|
||||
waybar &
|
||||
inotifywait -e create,modify -r $CONFIG_FILES
|
||||
killall waybar
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@
|
|||
// Choose the order of the modules
|
||||
"modules-left": [
|
||||
"hyprland/workspaces",
|
||||
"tray"
|
||||
"tray",
|
||||
"hyprland/window"
|
||||
],
|
||||
"modules-center": [
|
||||
"custom/spotify"
|
||||
|
|
@ -26,11 +27,23 @@
|
|||
],
|
||||
"idle_inhibitor": {
|
||||
"format": "{icon}",
|
||||
"tooltip-format-activated": "On",
|
||||
"tooltip-format-deactivated": "Off",
|
||||
"format-icons": {
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
"activated": "",
|
||||
"deactivated": ""
|
||||
}
|
||||
},
|
||||
"hyprland/window": {
|
||||
"format": "{}",
|
||||
"rewrite": {
|
||||
"(.*) — Mozilla Firefox": " $1",
|
||||
"(.*) - fish": "> [$1]",
|
||||
"nv": " neovim"
|
||||
},
|
||||
"separate-outputs": true,
|
||||
"max-length": "40"
|
||||
},
|
||||
"tray": {
|
||||
"icon-size": 18,
|
||||
"spacing": 10
|
||||
|
|
|
|||
|
|
@ -4,7 +4,5 @@ wal -i ~/Wallpapers/ -n
|
|||
# Using feh to tile the wallpaper now.
|
||||
# We grab the wallpaper location from wal's cache so
|
||||
# that this works even when a directory is passed.
|
||||
swww img "$(< "${HOME}/.cache/wal/wal")" --transition-type wipe --transition-angle 45
|
||||
|
||||
notify-send "Changing Wallpaper"
|
||||
swww img "$(< "${HOME}/.cache/wal/wal")" --transition-type wipe --transition-angle 45 --transition-fps 90
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
* {
|
||||
/* `otf-font-awesome` is required to be installed for icons */
|
||||
font-family: FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
font-family: "JetBrains Mono", "Iosevka Nerd Font", FontAwesome, Roboto, Helvetica, Arial, sans-serif;
|
||||
text-shadow: none;
|
||||
transition: color 0.5s ease-in-out;
|
||||
transition: background-color 0.5s ease-in-out;
|
||||
color: @color15;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -31,6 +32,7 @@
|
|||
@import url('./styles/modules/swww.css');
|
||||
@import url('./styles/modules/temperature.css');
|
||||
@import url('./styles/modules/tray.css');
|
||||
@import url('./styles/modules/window.css');
|
||||
@import url('./styles/modules/wireplumber.css');
|
||||
@import url('./styles/modules/workspaces.css');
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
#clock {
|
||||
color: #eee;
|
||||
background-color: @color4;
|
||||
background: @color5;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,9 @@
|
|||
#idle_inhibitor {
|
||||
color: #5e81ac;
|
||||
padding: 0 16px 0 12px;
|
||||
background-color: @color5;
|
||||
}
|
||||
|
||||
#idle_inhibitor.activated {
|
||||
background-color: #d8dee9;
|
||||
background-color: @color6;
|
||||
}
|
||||
|
||||
|
|
|
|||
21
waybar/styles/modules/window.css
Normal file
21
waybar/styles/modules/window.css
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#window {
|
||||
color: @color6;
|
||||
border-radius: 20px;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
window#waybar.kitty {
|
||||
background-color: #111111;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
window#waybar.chromium {
|
||||
background-color: #eeeeee;
|
||||
color: #000000;
|
||||
}
|
||||
|
||||
/* make window module transparent when no windows present */
|
||||
window#waybar.empty #window {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
|
@ -1,6 +1,5 @@
|
|||
#wireplumber {
|
||||
color: #eee;
|
||||
background-color: @color6;
|
||||
background: @color4;
|
||||
}
|
||||
|
||||
#wireplumber.muted {
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
box-shadow: none;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
color: @color8;
|
||||
}
|
||||
|
||||
#workspaces button:first-child {
|
||||
|
|
@ -23,13 +22,11 @@
|
|||
}
|
||||
|
||||
#workspaces button.active {
|
||||
background-color: @color4;
|
||||
color: @color8;
|
||||
background: @color4;
|
||||
}
|
||||
|
||||
#workspaces button:hover {
|
||||
background: @color4;
|
||||
color: @color8;
|
||||
}
|
||||
|
||||
#workspaces button.focused {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue