mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-19 17:28:49 +02:00
hyprland: Replace dim settings with hyprdim
Now I no longer have to worry about manually toggling dim on and off.
This commit is contained in:
parent
d475b5257c
commit
28ba1ff805
@ -39,6 +39,7 @@ in
|
|||||||
exec-once = fcitx5
|
exec-once = fcitx5
|
||||||
exec-once = hyprctl dispatch workspace 5000000
|
exec-once = hyprctl dispatch workspace 5000000
|
||||||
exec-once = ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1
|
exec-once = ${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1
|
||||||
|
exec-once = hyprdim
|
||||||
|
|
||||||
input {
|
input {
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
@ -74,8 +75,6 @@ in
|
|||||||
shadow_render_power = 3
|
shadow_render_power = 3
|
||||||
col.shadow = rgba(1a1a1aee)
|
col.shadow = rgba(1a1a1aee)
|
||||||
fullscreen_opacity = 0.9999999
|
fullscreen_opacity = 0.9999999
|
||||||
dim_inactive = yes
|
|
||||||
dim_strength = 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
animations {
|
animations {
|
||||||
@ -134,8 +133,6 @@ in
|
|||||||
bind = $SUPER, T, exec, tessen
|
bind = $SUPER, T, exec, tessen
|
||||||
bind = $SUPER, V, togglefloating
|
bind = $SUPER, V, togglefloating
|
||||||
bind = $SUPER, B, centerwindow
|
bind = $SUPER, B, centerwindow
|
||||||
bind = $SUPER, I, exec, hyprctl keyword decoration:dim_strength 0.4
|
|
||||||
bind = $SUPER_SHIFT, I, exec, hyprctl keyword decoration:dim_strength 0
|
|
||||||
bind = $SUPER, U, exec, ~/.config/hypr/gaps.sh
|
bind = $SUPER, U, exec, ~/.config/hypr/gaps.sh
|
||||||
bind = $SUPER, X, pin
|
bind = $SUPER, X, pin
|
||||||
bind = $SUPER, F, fullscreen
|
bind = $SUPER, F, fullscreen
|
||||||
|
@ -90,6 +90,7 @@
|
|||||||
obs-studio
|
obs-studio
|
||||||
nvd
|
nvd
|
||||||
broot
|
broot
|
||||||
|
hyprdim
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user