diff options
Diffstat (limited to 'dotfiles/hyprland/.config')
| -rw-r--r-- | dotfiles/hyprland/.config/hypr/hyprland.conf | 1 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/config | 8 | ||||
| -rw-r--r-- | dotfiles/hyprland/.config/waybar/style.css | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index 2873c4d..2e41b30 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -26,6 +26,7 @@ exec-once = dunst > ~/.local/var/log/dunst-$(date +%Y-%m-%d-%H%M%S).log 2>&1 exec-once = awww-daemon && sleep 1 && awww img ~/pictures/wallpaper/trondheim-norway.jpg # Background services +exec-once = touchpad-auto exec-once = hypridle > ~/.local/var/log/hypridle-$(date +%Y-%m-%d-%H%M%S).log 2>&1 exec-once = /usr/lib/geoclue-2.0/demos/agent exec-once = gammastep > ~/.local/var/log/gammastep-$(date +%Y-%m-%d-%H%M%S).log 2>&1 diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index 55ca359..2ae43fe 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -17,6 +17,7 @@ "group/sysmonitor", "custom/netspeed", "pulseaudio", + "custom/touchpad", "idle_inhibitor", "custom/pocketbook", "tray", @@ -141,6 +142,13 @@ "on-scroll-down": "pactl set-sink-volume @DEFAULT_SINK@ -5%" }, + "custom/touchpad": { + "exec": "waybar-touchpad", + "return-type": "json", + "signal": 9, + "on-click": "toggle-touchpad" + }, + "idle_inhibitor": { "format": "<span size='large'>{icon}</span>", "format-icons": { diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css index 3f7814b..3a849c5 100644 --- a/dotfiles/hyprland/.config/waybar/style.css +++ b/dotfiles/hyprland/.config/waybar/style.css @@ -76,6 +76,7 @@ window#waybar { #custom-date, #custom-worldclock, #custom-layout, +#custom-touchpad, #window { padding: 0.45rem; margin: 0.3rem; @@ -96,6 +97,7 @@ window#waybar { #custom-netspeed:hover, #pulseaudio:hover, #sysmonitor:hover, +#custom-touchpad:hover, #custom-layout:hover { background-color: #474544; border-radius: 1rem; @@ -106,6 +108,10 @@ window#waybar { color: #d47c59; } +#custom-touchpad.disabled { + color: #d47c59; +} + #temperature.warning { color: #d7af5f; } |
