From c161065d7dc78212b447871c1728be0b5575b146 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Wed, 25 Feb 2026 20:52:32 -0600 Subject: feat(hyprland): add pocketbook notes panel integration Add waybar custom/pocketbook module with icon and on-click toggle. Add $mod+P keybind and exec-once for pocketbook --hidden. Add waybar CSS for pocketbook icon styling. Co-Authored-By: Claude Opus 4.6 --- dotfiles/hyprland/.config/hypr/hyprland.conf | 4 ++++ dotfiles/hyprland/.config/themes/dupre/waybar.css | 4 +++- dotfiles/hyprland/.config/waybar/config | 7 +++++++ 3 files changed, 14 insertions(+), 1 deletion(-) (limited to 'dotfiles/hyprland/.config') diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index f31e110..b1107bb 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -33,6 +33,9 @@ exec-once = gammastep > ~/.local/var/log/gammastep-$(date +%Y-%m-%d-%H%M%S).log exec-once = blueman-applet exec-once = mpd +# Pocketbook panel (pre-launch hidden, toggle via waybar icon or $mod+P) +exec-once = pocketbook --hidden + # Pyprland (scratchpads, magnify, etc.) exec-once = pypr exec-once = hypr-refocus-scratchpad @@ -179,6 +182,7 @@ bind = $mod, F, exec, nautilus bind = $mod, SPACE, exec, fuzzel bind = $mod SHIFT, W, exec, $ALTBROWSER bind = CTRL ALT, W, exec, tor-browser +bind = $mod, P, exec, pocketbook bind = $mod, V, exec, virtualbox bind = $mod SHIFT, L, exec, calibre bind = $mod SHIFT, P, exec, waypaper diff --git a/dotfiles/hyprland/.config/themes/dupre/waybar.css b/dotfiles/hyprland/.config/themes/dupre/waybar.css index c2b2a9c..81c305c 100644 --- a/dotfiles/hyprland/.config/themes/dupre/waybar.css +++ b/dotfiles/hyprland/.config/themes/dupre/waybar.css @@ -71,6 +71,7 @@ window#waybar { #tray, #clock, #custom-layout, +#custom-pocketbook, #window { padding: 0.45rem; margin: 0.3rem; @@ -91,7 +92,8 @@ window#waybar { #custom-netspeed:hover, #pulseaudio:hover, #sysmonitor:hover, -#custom-layout:hover { +#custom-layout:hover, +#custom-pocketbook:hover { background-color: #474544; border-radius: 1rem; } diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index c8723d3..751e896 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -18,6 +18,7 @@ "custom/netspeed", "pulseaudio", "idle_inhibitor", + "custom/pocketbook", "tray", "custom/date", "custom/worldclock" @@ -147,5 +148,11 @@ }, "tooltip-format-activated": "Idle inhibitor: ON (screen will not lock)", "tooltip-format-deactivated": "Idle inhibitor: OFF" + }, + + "custom/pocketbook": { + "format": "󱞁 ", + "tooltip": false, + "on-click": "pocketbook" } } -- cgit v1.2.3