Add color picker and tweak waybar

This commit is contained in:
2025-02-23 17:50:35 +00:00
parent 2fd9b7adab
commit 967192000d
3 changed files with 22 additions and 22 deletions

View File

@@ -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

View File

@@ -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": "<span style=\"italic\">{}</span>"
},
"sway/scratchpad": {
"format": "{icon} {count}",
"show-empty": false,
"format-icons": ["", ""],
"tooltip": true,
"tooltip-format": "{app}: {title}"
},
// "sway/mode": {
// "format": "<span style=\"italic\">{}</span>"
// },
// "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 ",