Add hyprpaper to sway, improve styling for waybar on sway

This commit is contained in:
Evie Litherland-Smith 2023-04-12 21:48:50 +01:00
parent cf52bfcd25
commit 5e2f3c5fa5
4 changed files with 6 additions and 4 deletions

View file

@ -218,5 +218,6 @@ bindsym $mod+r mode "resize"
include /etc/sway/config.d/*
exec dunst
exec hyprpaper -c ~/.dotfiles/nixos/home-manager/env/config/hypr/hyprpaper.conf
exec waybar -c ~/.dotfiles/nixos/home-manager/env/config/waybar/config-sway
exec eww daemon

View file

@ -7,7 +7,7 @@
// Choose the order of the modules
"modules-left": ["wlr/workspaces", "hyprland/submap"],
"modules-center": ["hyprland/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "hyprland/language", "battery", "battery#bat2", "clock", "tray"],
// Modules configuration
"wlr/workspaces": {
"disable-scroll": true,

View file

@ -7,9 +7,9 @@
// Choose the order of the modules
"modules-left": ["sway/workspaces", "sway/mode"],
"modules-center": ["sway/window"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "keyboard-state", "hyprland/language", "battery", "battery#bat2", "clock", "tray"],
"modules-right": ["idle_inhibitor", "pulseaudio", "network", "cpu", "memory", "temperature", "backlight", "battery", "battery#bat2", "clock", "tray"],
// Modules configuration
"wlr/workspaces": {
"sway/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{icon}",

View file

@ -92,7 +92,8 @@ button:hover {
color: @surface2;
}
#workspaces button.active {
#workspaces button.active,
#workspaces button.focused {
color: @text;
box-shadow: inset 0 -2px;
}