From 42d31cff9c708fbb8cc000af3f2b1b2d15bbe633 Mon Sep 17 00:00:00 2001 From: lucy Date: Mon, 16 Feb 2026 19:17:03 +0100 Subject: [PATCH] add hyprshade and laptop display settings --- fuzzel/fuzzel.ini | 3 +-- hypr/hyprland.conf | 16 +++++++------ hypr/hyprshade.toml | 8 +++++++ kitty/current-theme.conf | 50 ++++++++++++++++++++++++++++++++++++++++ kitty/kitty.conf | 10 +++++--- kitty/kitty.conf.bak | 10 +++++--- nvim | 2 +- quickshell | 2 +- 8 files changed, 84 insertions(+), 17 deletions(-) create mode 100644 hypr/hyprshade.toml create mode 100644 kitty/current-theme.conf diff --git a/fuzzel/fuzzel.ini b/fuzzel/fuzzel.ini index d1821d3..495dd96 100644 --- a/fuzzel/fuzzel.ini +++ b/fuzzel/fuzzel.ini @@ -1,7 +1,6 @@ include = ~/.config/fuzzel/colors.ini [main] - -font=Google Sans:size=10 +font = MonaSpiceAr Nerd Font:size=8 match-mode=fuzzy [border] radius=25 diff --git a/hypr/hyprland.conf b/hypr/hyprland.conf index fc7cada..35f0b2f 100644 --- a/hypr/hyprland.conf +++ b/hypr/hyprland.conf @@ -26,11 +26,11 @@ monitor=,preferred,auto,1 monitor = DP-2, 2560x1440@165,auto-left,1 monitor = HDMI-A-2, highres,auto-right,1 +monitor = eDP-1, 1920x1200, auto, 1, bitdepth, 10, cm, auto, sdrsaturation, 1 ################### ### MY PROGRAMS ### ################### -source = ~/.config/hypr/colors.conf # See https://wiki.hyprland.org/Configuring/Keywords/ # Set programs that you use @@ -41,6 +41,7 @@ $menu = fuzzel ################# ### AUTOSTART ### +source = ~/.config/hypr/colors.conf ################# # Autostart necessary processes (like notifications daemons, status bars, etc.) @@ -50,7 +51,8 @@ exec-once = qs #exec-once = kitty --single-instance --start-as hidden exec-once = hyprctl setcursor Adwaita 24 exec-once = /usr/libexec/polkit-gnome-authentication-agent-1 -exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP +exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP HYPRLAND_INSTANCE_SIGNATURE +exec-once = hyprshade auto ############################# @@ -91,7 +93,7 @@ general { gaps_in = 5 gaps_out = 10 - border_size = 0 + border_size = 2 # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors @@ -115,8 +117,8 @@ decoration { shadow { enabled = true - range = 4 - render_power = 3 + range = 5 + render_power = 0 color = rgba(1a1a1aee) } @@ -150,7 +152,7 @@ animations { animation = fadeIn, 1, 6, easeOutQuint animation = fadeOut, 1, 5, easeOutQuint animation = fade, 1, 6, quick - animation = layers, 1, 5, easeOutQuint, slide + animation = layers, 1, 5, easeOutQuint animation = fadeLayersIn, 1, 6, easeOutQuint animation = fadeLayersOut, 1, 5, easeOutQuint animation = workspaces, 1, 6, easeOutQuint, slide @@ -278,7 +280,7 @@ bind = $mainMod SHIFT, minus, movetoworkspace, special:magic # Scroll through existing workspaces with mainMod + scroll bind = $mainMod, mouse_down, workspace, e+1 bind = $mainMod, mouse_up, workspace, e-1 - +bind = $mainMod, B, exec, notify-send "Battery" "battery is at $(cat /sys/class/power_supply/BAT0/capacity)%" # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow diff --git a/hypr/hyprshade.toml b/hypr/hyprshade.toml new file mode 100644 index 0000000..950e260 --- /dev/null +++ b/hypr/hyprshade.toml @@ -0,0 +1,8 @@ +[[shades]] +name = "vibrance" +default = true # will be activated when no other shader is scheduled + +[[shades]] +name = "blue-light-filter" +start_time = 23:00:00 +end_time = 06:00:00 # optional if more than one shader has start_time diff --git a/kitty/current-theme.conf b/kitty/current-theme.conf new file mode 100644 index 0000000..d8a8e2a --- /dev/null +++ b/kitty/current-theme.conf @@ -0,0 +1,50 @@ +# vim:ft=kitty + +## name: Tokyo Night +## license: MIT +## author: Folke Lemaitre +## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf + + +background #1a1b26 +foreground #c0caf5 +selection_background #283457 +selection_foreground #c0caf5 +url_color #73daca +cursor #c0caf5 +cursor_text_color #1a1b26 + +# Tabs +active_tab_background #7aa2f7 +active_tab_foreground #16161e +inactive_tab_background #292e42 +inactive_tab_foreground #545c7e +#tab_bar_background #15161e + +# Windows +active_border_color #7aa2f7 +inactive_border_color #292e42 + +# normal +color0 #15161e +color1 #f7768e +color2 #9ece6a +color3 #e0af68 +color4 #7aa2f7 +color5 #bb9af7 +color6 #7dcfff +color7 #a9b1d6 + +# bright +color8 #414868 +color9 #ff899d +color10 #9fe044 +color11 #faba4a +color12 #8db0ff +color13 #c7a9ff +color14 #a4daff +color15 #c0caf5 + +# extended colors +color16 #ff9e64 +color17 #db4b4b diff --git a/kitty/kitty.conf b/kitty/kitty.conf index 1381b7c..3832a0e 100644 --- a/kitty/kitty.conf +++ b/kitty/kitty.conf @@ -1,10 +1,9 @@ include colors.conf -window_padding_width 10 -ynamic_background_opacity no +window_padding_width 10 15 font_size 10 # BEGIN_KITTY_FONTS -font_family family="MonaspiceXe Nerd Font Mono" +font_family family="Cascadia Code NF" bold_font auto italic_font auto bold_italic_font auto @@ -15,3 +14,8 @@ map ctrl+shift+n launch --cwd=current map ctrl+shift+w close_window map ctrl+shift+l resize_window narrower map ctrl+shift+h resize_window wider + + +# BEGIN_KITTY_THEME +# Tokyo Night +# END_KITTY_THEME diff --git a/kitty/kitty.conf.bak b/kitty/kitty.conf.bak index 36f61bf..7f3fad2 100644 --- a/kitty/kitty.conf.bak +++ b/kitty/kitty.conf.bak @@ -1,10 +1,9 @@ include colors.conf -window_padding_width 10 -ynamic_background_opacity no +window_padding_width 10 15 font_size 10 # BEGIN_KITTY_FONTS -font_family family="Adwaita Mono" +font_family family="MonaspiceNe Nerd Font Mono" bold_font auto italic_font auto bold_italic_font auto @@ -15,3 +14,8 @@ map ctrl+shift+n launch --cwd=current map ctrl+shift+w close_window map ctrl+shift+l resize_window narrower map ctrl+shift+h resize_window wider + + +# BEGIN_KITTY_THEME +# Tokyo Night +# END_KITTY_THEME diff --git a/nvim b/nvim index 0e676b7..552de80 160000 --- a/nvim +++ b/nvim @@ -1 +1 @@ -Subproject commit 0e676b749f35df4eb2f430d30c6650ac5f9fc50d +Subproject commit 552de8063fe9f4bb517a77ca26854d76000a671a diff --git a/quickshell b/quickshell index 173df32..d08ce4d 160000 --- a/quickshell +++ b/quickshell @@ -1 +1 @@ -Subproject commit 173df32f9a9ea4cc9151802b922741416f29620d +Subproject commit d08ce4d933bcc376c6b775d37aa06e450c776ec6