add hyprshade and laptop display settings

This commit is contained in:
lucy 2026-02-16 19:17:03 +01:00
parent 0282a0437a
commit 42d31cff9c
8 changed files with 84 additions and 17 deletions

View File

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

View File

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

8
hypr/hyprshade.toml Normal file
View File

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

50
kitty/current-theme.conf Normal file
View File

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

View File

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

View File

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

2
nvim

@ -1 +1 @@
Subproject commit 0e676b749f35df4eb2f430d30c6650ac5f9fc50d
Subproject commit 552de8063fe9f4bb517a77ca26854d76000a671a

@ -1 +1 @@
Subproject commit 173df32f9a9ea4cc9151802b922741416f29620d
Subproject commit d08ce4d933bcc376c6b775d37aa06e450c776ec6