From 967192000d82a444c49ae00ba1f2ba375e18d85e Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Sun, 23 Feb 2025 17:50:35 +0000 Subject: [PATCH] Add color picker and tweak waybar --- home/.config/hypr/hyprland.conf | 3 ++- home/.config/waybar/config | 40 ++++++++++++++++----------------- install.sh | 1 - 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/home/.config/hypr/hyprland.conf b/home/.config/hypr/hyprland.conf index ffb9ca64..3f3ba39e 100644 --- a/home/.config/hypr/hyprland.conf +++ b/home/.config/hypr/hyprland.conf @@ -17,6 +17,7 @@ $terminal = foot $fileManager = nautilus $menu = wofi --show drun $lockscreen = hyprlock +$colorpicker = hyprpicker ################# @@ -31,7 +32,6 @@ $lockscreen = hyprlock exec-once = dunst exec-once = hyprpaper exec-once = hyprpolkitagent -exec-once = hyprsunset exec-once = nm-applet exec-once = udiskie exec-once = waybar @@ -207,6 +207,7 @@ bind = $mainMod, V, togglefloating, bind = $mainMod, R, exec, $menu bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, J, togglesplit, # dwindle +bind = $mainMod, K, exec, $colorpicker # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l diff --git a/home/.config/waybar/config b/home/.config/waybar/config index 6a30e127..cc5879df 100644 --- a/home/.config/waybar/config +++ b/home/.config/waybar/config @@ -9,22 +9,22 @@ "margin-left": 5, "margin-bottom": 0, // Choose the order of the modules - "modules-left": ["clock", "backlight", "battery", "sway/scratchpad", "mpd", "tray"], - "modules-center": ["sway/workspaces"], + "modules-left": ["clock", "backlight", "battery", "mpd", "tray"], + "modules-center": ["hyprland/workspaces"], "modules-right": ["wireplumber", "network", "cpu", "memory", "temperature"], // Modules configuration - "custom/power": { - "format": "󰣇", - "on-click": "", - }, - "sway/workspaces": { - "disable-scroll": true, - "all-outputs": true, + "custom/power": { + "format": "󰣇", + "on-click": "", + }, + "hyprland/workspaces": { "format": "{icon}", "format-icons": { "focused": "", "default": "" - } + }, + "on-scroll-up": "hyprctl dispatch workspace e+1", + "on-scroll-down": "hyprctl dispatch workspace e-1" }, "keyboard-state": { "numlock": true, @@ -35,16 +35,16 @@ "unlocked": "" } }, - "sway/mode": { - "format": "{}" - }, - "sway/scratchpad": { - "format": "{icon} {count}", - "show-empty": false, - "format-icons": ["", ""], - "tooltip": true, - "tooltip-format": "{app}: {title}" - }, + // "sway/mode": { + // "format": "{}" + // }, + // "sway/scratchpad": { + // "format": "{icon} {count}", + // "show-empty": false, + // "format-icons": ["", ""], + // "tooltip": true, + // "tooltip-format": "{app}: {title}" + // }, "mpd": { "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", "format-disconnected": "Disconnected ", diff --git a/install.sh b/install.sh index aa0c714e..23bb542f 100755 --- a/install.sh +++ b/install.sh @@ -107,7 +107,6 @@ if $hyprland; then hyprpaper # Wallpaper manager hyprpicker # Color picker hyprpolkitagent # Auth pop-up for sudo access - hyprsunset # Blue light filter network-manager-applet # Network manager applet pipewire # Audio server udiskie # Automount USB drives