Add color picker and tweak waybar

This commit is contained in:
2025-02-23 17:50:35 +00:00
parent 91d33820ff
commit ee9f5ec87b
3 changed files with 22 additions and 22 deletions

View File

@@ -17,6 +17,7 @@ $terminal = foot
$fileManager = nautilus $fileManager = nautilus
$menu = wofi --show drun $menu = wofi --show drun
$lockscreen = hyprlock $lockscreen = hyprlock
$colorpicker = hyprpicker
################# #################
@@ -31,7 +32,6 @@ $lockscreen = hyprlock
exec-once = dunst exec-once = dunst
exec-once = hyprpaper exec-once = hyprpaper
exec-once = hyprpolkitagent exec-once = hyprpolkitagent
exec-once = hyprsunset
exec-once = nm-applet exec-once = nm-applet
exec-once = udiskie exec-once = udiskie
exec-once = waybar exec-once = waybar
@@ -207,6 +207,7 @@ bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, J, togglesplit, # dwindle
bind = $mainMod, K, exec, $colorpicker
# Move focus with mainMod + arrow keys # Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l bind = $mainMod, left, movefocus, l

View File

@@ -9,22 +9,22 @@
"margin-left": 5, "margin-left": 5,
"margin-bottom": 0, "margin-bottom": 0,
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["clock", "backlight", "battery", "sway/scratchpad", "mpd", "tray"], "modules-left": ["clock", "backlight", "battery", "mpd", "tray"],
"modules-center": ["sway/workspaces"], "modules-center": ["hyprland/workspaces"],
"modules-right": ["wireplumber", "network", "cpu", "memory", "temperature"], "modules-right": ["wireplumber", "network", "cpu", "memory", "temperature"],
// Modules configuration // Modules configuration
"custom/power": { "custom/power": {
"format": "󰣇", "format": "󰣇",
"on-click": "", "on-click": "",
}, },
"sway/workspaces": { "hyprland/workspaces": {
"disable-scroll": true,
"all-outputs": true,
"format": "{icon}", "format": "{icon}",
"format-icons": { "format-icons": {
"focused": "", "focused": "",
"default": "" "default": ""
} },
"on-scroll-up": "hyprctl dispatch workspace e+1",
"on-scroll-down": "hyprctl dispatch workspace e-1"
}, },
"keyboard-state": { "keyboard-state": {
"numlock": true, "numlock": true,
@@ -35,16 +35,16 @@
"unlocked": "" "unlocked": ""
} }
}, },
"sway/mode": { // "sway/mode": {
"format": "<span style=\"italic\">{}</span>" // "format": "<span style=\"italic\">{}</span>"
}, // },
"sway/scratchpad": { // "sway/scratchpad": {
"format": "{icon} {count}", // "format": "{icon} {count}",
"show-empty": false, // "show-empty": false,
"format-icons": ["", ""], // "format-icons": ["", ""],
"tooltip": true, // "tooltip": true,
"tooltip-format": "{app}: {title}" // "tooltip-format": "{app}: {title}"
}, // },
"mpd": { "mpd": {
"format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ", "format": "{stateIcon} {consumeIcon}{randomIcon}{repeatIcon}{singleIcon}{artist} - {album} - {title} ({elapsedTime:%M:%S}/{totalTime:%M:%S}) ⸨{songPosition}|{queueLength}⸩ {volume}% ",
"format-disconnected": "Disconnected ", "format-disconnected": "Disconnected ",

View File

@@ -107,7 +107,6 @@ if $hyprland; then
hyprpaper # Wallpaper manager hyprpaper # Wallpaper manager
hyprpicker # Color picker hyprpicker # Color picker
hyprpolkitagent # Auth pop-up for sudo access hyprpolkitagent # Auth pop-up for sudo access
hyprsunset # Blue light filter
network-manager-applet # Network manager applet network-manager-applet # Network manager applet
pipewire # Audio server pipewire # Audio server
udiskie # Automount USB drives udiskie # Automount USB drives