diff options
Diffstat (limited to 'dotfiles/hyprland/.config')
18 files changed, 183 insertions, 19 deletions
diff --git a/dotfiles/hyprland/.config/foot/foot.ini b/dotfiles/hyprland/.config/foot/foot.ini index 8837f92..8fe19b3 100644 --- a/dotfiles/hyprland/.config/foot/foot.ini +++ b/dotfiles/hyprland/.config/foot/foot.ini @@ -3,7 +3,7 @@ [main] term=xterm-256color -font=Berkeley Mono:size=14 +font=BerkeleyMono Nerd Font:size=13 pad=8x8 [scrollback] diff --git a/dotfiles/hyprland/.config/fuzzel/fuzzel.ini b/dotfiles/hyprland/.config/fuzzel/fuzzel.ini index ce46448..0efda0d 100644 --- a/dotfiles/hyprland/.config/fuzzel/fuzzel.ini +++ b/dotfiles/hyprland/.config/fuzzel/fuzzel.ini @@ -2,7 +2,8 @@ # Colors from waybar: bg=#222222, cpu=#bbbbbb, clock=#eeeeee, accent=#daa520 [main] -font=BerkeleyMono Nerd Font:size=14 +# size is in points (fontconfig syntax) +font=BerkeleyMono Nerd Font:size=13 prompt=Search: icon-theme=hicolor icons-enabled=yes diff --git a/dotfiles/hyprland/.config/hypr/hyprland.conf b/dotfiles/hyprland/.config/hypr/hyprland.conf index 1701cc0..390d905 100644 --- a/dotfiles/hyprland/.config/hypr/hyprland.conf +++ b/dotfiles/hyprland/.config/hypr/hyprland.conf @@ -12,10 +12,10 @@ monitor=,preferred,auto,auto # ============================================================================ exec-once = hyprpm reload exec-once = waybar -exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/dark-lion.jpg +exec-once = swww-daemon && sleep 1 && swww img ~/pictures/wallpaper/trondheim-norway.jpg exec-once = dunst exec-once = hypridle -exec-once = gammastep +exec-once = gammastep-indicator exec-once = blueman-applet exec-once = /usr/bin/gnome-keyring-daemon --start --components=pkcs11,secrets,ssh exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP @@ -28,6 +28,7 @@ exec-once = insync start # Environment Variables # ============================================================================ env = XCURSOR_SIZE,24 +env = XCURSOR_THEME,capitaine-cursors-light env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_DESKTOP,Hyprland @@ -134,7 +135,7 @@ bind = $mod, P, exec, fuzzel bind = $mod, SPACE, exec, fuzzel bind = $mod SHIFT, W, exec, $ALTBROWSER bind = CTRL ALT, W, exec, tor-browser -bind = CTRL ALT, F, exec, thunar +bind = CTRL ALT, F, exec, nautilus bind = $mod, V, exec, virtualbox bind = $mod SHIFT, L, exec, calibre bind = $mod SHIFT, R, exec, shortwave @@ -303,10 +304,11 @@ bind = $mod, ESCAPE, exec, hyprlock # Touchpad toggle bind = $mod, F9, exec, toggle-touchpad -# Exit/session (from DWM) -bind = $mod SHIFT, Q, exec, printf "Exit\nCancel" | fuzzel --dmenu --prompt "Exit Hyprland? " | grep -q "Exit" && hyprctl dispatch exit +# Exit/session +bind = $mod SHIFT, Q, exec, pgrep -x wlogout || wlogout -b 3 -T 600 -B 600 -L 1200 -R 1200 -c 20 -r 20 bind = $mod SHIFT, BACKSPACE, exit bind = $mod SHIFT, ESCAPE, exec, hyprctl reload +bind = CTRL ALT $mod, K, exec, hyprctl kill # Mouse bindings (from DWM buttons) bindm = $mod, mouse:272, movewindow diff --git a/dotfiles/hyprland/.config/themes/dupre/Xresources b/dotfiles/hyprland/.config/themes/dupre/Xresources index d149a72..be8f7f4 100644 --- a/dotfiles/hyprland/.config/themes/dupre/Xresources +++ b/dotfiles/hyprland/.config/themes/dupre/Xresources @@ -62,7 +62,8 @@ Emacs*toolBar: 0 !! ============================================================================ !! ST (suckless terminal) settings -st.font: BerkeleyMono Nerd Font:size=12 +!! size is in points (fontconfig syntax) +st.font: BerkeleyMono Nerd Font:size=13 st.background: theme_bg st.foreground: theme_fg st.color0: theme_black @@ -83,7 +84,7 @@ st.color14: theme_br_cyan st.color15: theme_br_white !! XTerm settings -XTerm*faceName: BerkeleyMono Nerd Font:size=12 +XTerm*faceName: BerkeleyMono Nerd Font:size=13 XTerm*selectToClipboard: true XTerm*background: theme_bg XTerm*foreground: theme_fg diff --git a/dotfiles/hyprland/.config/themes/dupre/dunstrc b/dotfiles/hyprland/.config/themes/dupre/dunstrc index 104df28..12ffac0 100644 --- a/dotfiles/hyprland/.config/themes/dupre/dunstrc +++ b/dotfiles/hyprland/.config/themes/dupre/dunstrc @@ -26,8 +26,8 @@ foreground = "#f0fef0" frame_color = "#d7af5f" highlight = "#d7af5f, #ccc768" -# Text -font = BerkeleyMono Nerd Font 11 +# Text (size in points, Pango syntax) +font = BerkeleyMono Nerd Font 13 markup = full format = "<small>%a</small>\n<b>%s</b>\n%b" alignment = left diff --git a/dotfiles/hyprland/.config/themes/dupre/foot.ini b/dotfiles/hyprland/.config/themes/dupre/foot.ini index 8837f92..8fe19b3 100644 --- a/dotfiles/hyprland/.config/themes/dupre/foot.ini +++ b/dotfiles/hyprland/.config/themes/dupre/foot.ini @@ -3,7 +3,7 @@ [main] term=xterm-256color -font=Berkeley Mono:size=14 +font=BerkeleyMono Nerd Font:size=13 pad=8x8 [scrollback] diff --git a/dotfiles/hyprland/.config/themes/dupre/fuzzel.ini b/dotfiles/hyprland/.config/themes/dupre/fuzzel.ini index 64711b8..f00ac8a 100644 --- a/dotfiles/hyprland/.config/themes/dupre/fuzzel.ini +++ b/dotfiles/hyprland/.config/themes/dupre/fuzzel.ini @@ -2,7 +2,8 @@ # Warm, earthy colors from dupre-theme.el [main] -font=BerkeleyMono Nerd Font:size=14 +# size is in points (fontconfig syntax) +font=BerkeleyMono Nerd Font:size=13 prompt=Search: icon-theme=hicolor icons-enabled=yes diff --git a/dotfiles/hyprland/.config/themes/dupre/waybar.css b/dotfiles/hyprland/.config/themes/dupre/waybar.css index 4bd0052..e83f851 100644 --- a/dotfiles/hyprland/.config/themes/dupre/waybar.css +++ b/dotfiles/hyprland/.config/themes/dupre/waybar.css @@ -4,6 +4,7 @@ * { border: none; border-radius: 0; + /* CSS uses pixels, not points (13pt ≈ 17px at 96 DPI) */ font-size: 14px; min-height: 0; font-family: "BerkeleyMono Nerd Font", "Berkeley Mono", monospace; diff --git a/dotfiles/hyprland/.config/themes/hudson/Xresources b/dotfiles/hyprland/.config/themes/hudson/Xresources index 00be166..96e4803 100644 --- a/dotfiles/hyprland/.config/themes/hudson/Xresources +++ b/dotfiles/hyprland/.config/themes/hudson/Xresources @@ -62,7 +62,8 @@ Emacs*toolBar: 0 !! ============================================================================ !! ST (suckless terminal) settings -st.font: BerkeleyMono Nerd Font:size=12 +!! size is in points (fontconfig syntax) +st.font: BerkeleyMono Nerd Font:size=13 st.background: theme_bg st.foreground: theme_fg st.color0: theme_black @@ -83,7 +84,7 @@ st.color14: theme_br_cyan st.color15: theme_br_white !! XTerm settings -XTerm*faceName: BerkeleyMono Nerd Font:size=12 +XTerm*faceName: BerkeleyMono Nerd Font:size=13 XTerm*selectToClipboard: true XTerm*background: theme_bg XTerm*foreground: theme_fg diff --git a/dotfiles/hyprland/.config/themes/hudson/dunstrc b/dotfiles/hyprland/.config/themes/hudson/dunstrc index 0c84133..2cbf0e6 100644 --- a/dotfiles/hyprland/.config/themes/hudson/dunstrc +++ b/dotfiles/hyprland/.config/themes/hudson/dunstrc @@ -26,8 +26,8 @@ foreground = "#eeeeee" frame_color = "#daa520" highlight = "#daa520, #f0c674" -# Text -font = BerkeleyMono Nerd Font 11 +# Text (size in points, Pango syntax) +font = BerkeleyMono Nerd Font 13 markup = full format = "<small>%a</small>\n<b>%s</b>\n%b" alignment = left diff --git a/dotfiles/hyprland/.config/themes/hudson/foot.ini b/dotfiles/hyprland/.config/themes/hudson/foot.ini index 39dcc5e..4e9681c 100644 --- a/dotfiles/hyprland/.config/themes/hudson/foot.ini +++ b/dotfiles/hyprland/.config/themes/hudson/foot.ini @@ -3,7 +3,7 @@ [main] term=xterm-256color -font=Berkeley Mono:size=14 +font=BerkeleyMono Nerd Font:size=13 pad=8x8 [scrollback] diff --git a/dotfiles/hyprland/.config/themes/hudson/fuzzel.ini b/dotfiles/hyprland/.config/themes/hudson/fuzzel.ini index 975004c..39dabc0 100644 --- a/dotfiles/hyprland/.config/themes/hudson/fuzzel.ini +++ b/dotfiles/hyprland/.config/themes/hudson/fuzzel.ini @@ -2,7 +2,8 @@ # Tomorrow Night + Goldenrod accent [main] -font=BerkeleyMono Nerd Font:size=14 +# size is in points (fontconfig syntax) +font=BerkeleyMono Nerd Font:size=13 prompt=Search: icon-theme=hicolor icons-enabled=yes diff --git a/dotfiles/hyprland/.config/themes/hudson/waybar.css b/dotfiles/hyprland/.config/themes/hudson/waybar.css index f9d2e4f..9056529 100644 --- a/dotfiles/hyprland/.config/themes/hudson/waybar.css +++ b/dotfiles/hyprland/.config/themes/hudson/waybar.css @@ -4,6 +4,7 @@ * { border: none; border-radius: 0; + /* CSS uses pixels, not points (13pt ≈ 17px at 96 DPI) */ font-size: 14px; min-height: 0; font-family: "BerkeleyMono Nerd Font", "Berkeley Mono", monospace; diff --git a/dotfiles/hyprland/.config/waybar/config b/dotfiles/hyprland/.config/waybar/config index c7cc0a7..5b9879e 100644 --- a/dotfiles/hyprland/.config/waybar/config +++ b/dotfiles/hyprland/.config/waybar/config @@ -17,6 +17,7 @@ "group/sysmonitor", "custom/netspeed", "wireplumber", + "idle_inhibitor", "tray", "clock" ], @@ -122,5 +123,15 @@ "on-click-right": "toggle-scratchpad audio", "on-scroll-up": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+", "on-scroll-down": "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" + }, + + "idle_inhibitor": { + "format": "<span size='large'>{icon}</span>", + "format-icons": { + "activated": "", + "deactivated": "" + }, + "tooltip-format-activated": "Idle inhibitor: ON (screen will not lock)", + "tooltip-format-deactivated": "Idle inhibitor: OFF" } } diff --git a/dotfiles/hyprland/.config/waybar/style.css b/dotfiles/hyprland/.config/waybar/style.css index 4bd0052..03b11b6 100644 --- a/dotfiles/hyprland/.config/waybar/style.css +++ b/dotfiles/hyprland/.config/waybar/style.css @@ -4,6 +4,7 @@ * { border: none; border-radius: 0; + /* CSS uses pixels, not points (13pt ≈ 17px at 96 DPI) */ font-size: 14px; min-height: 0; font-family: "BerkeleyMono Nerd Font", "Berkeley Mono", monospace; @@ -52,6 +53,7 @@ window#waybar { #custom-netspeed, #battery, #wireplumber, +#idle_inhibitor, #tray, #clock, #custom-layout, @@ -63,6 +65,10 @@ window#waybar { border-radius: 1rem; } +#idle_inhibitor { + margin-right: 0.8rem; +} + #sysmonitor { margin: 0.3rem; background-color: transparent; diff --git a/dotfiles/hyprland/.config/wlogout/layout b/dotfiles/hyprland/.config/wlogout/layout new file mode 100644 index 0000000..878e75d --- /dev/null +++ b/dotfiles/hyprland/.config/wlogout/layout @@ -0,0 +1,36 @@ +{ + "label" : "lock", + "action" : "hyprlock", + "text" : "", + "keybind" : "l" +} +{ + "label" : "logout", + "action" : "hyprctl dispatch exit", + "text" : "", + "keybind" : "e" +} +{ + "label" : "suspend", + "action" : "systemctl suspend", + "text" : "", + "keybind" : "u" +} +{ + "label" : "hibernate", + "action" : "systemctl hibernate", + "text" : "", + "keybind" : "h" +} +{ + "label" : "reboot", + "action" : "systemctl reboot", + "text" : "", + "keybind" : "r" +} +{ + "label" : "shutdown", + "action" : "systemctl poweroff", + "text" : "", + "keybind" : "s" +} diff --git a/dotfiles/hyprland/.config/wlogout/style.css b/dotfiles/hyprland/.config/wlogout/style.css new file mode 100644 index 0000000..658e3c9 --- /dev/null +++ b/dotfiles/hyprland/.config/wlogout/style.css @@ -0,0 +1,37 @@ +/* wlogout style - Dupre theme */ +/* Dupre palette: + bg: #151311, black: #252321, br_black: #474544, muted: #58574e + steel: #969385, white: #d0cbc0, fg: #f0fef0, gold: #d7af5f + red: #d47c59, green: #a4ac64, blue: #67809c, magenta: #b294bb +*/ + +* { + background-image: none; + box-shadow: none; + font-family: "BerkeleyMono Nerd Font", monospace; +} + +window { + background-color: rgba(21, 19, 17, 0.6); +} + +button { + border-radius: 10px; + border-color: #151311; + color: #969385; + background-color: #151311; + border-style: solid; + border-width: 2px; + font-size: 96px; +} + +button:hover, button:focus { + background-color: #151311; + border-color: #d7af5f; + color: #d7af5f; + outline-style: none; +} + +button:active { + background-color: #474544; +} diff --git a/dotfiles/hyprland/.config/wofi/power-menu.css b/dotfiles/hyprland/.config/wofi/power-menu.css new file mode 100644 index 0000000..a9dd9ba --- /dev/null +++ b/dotfiles/hyprland/.config/wofi/power-menu.css @@ -0,0 +1,65 @@ +/* Wofi power menu - Dupre theme */ +/* Dupre palette: + bg: #151311, black: #252321, br_black: #474544, muted: #58574e + steel: #969385, white: #d0cbc0, fg: #f0fef0, gold: #d7af5f +*/ + +* { + font-family: "BerkeleyMono Nerd Font", monospace; +} + +window { + margin: 0px; + border: 2px solid #67809c; + border-radius: 0px; + background-color: rgba(21, 19, 17, 0.9); +} + +#input { + margin: 0px; + padding: 0px; + border: none; + background-color: transparent; + color: transparent; + min-height: 0px; +} + +#inner-box { + margin: 15px; +} + +#outer-box { + margin: 0px; + padding: 0px; +} + +#scroll { + margin: 0px; +} + +#text { + padding: 15px; + color: #969385; + font-size: 32px; +} + +#entry box { + justify-content: center; + align-items: center; +} + +#entry { + border-radius: 0px; + background-color: #151311; + border: 2px solid #474544; + margin: 5px; +} + +#entry:selected { + background-color: #252321; + border-color: #67809c; +} + +#entry:selected #text { + color: #67809c; +} |
