1

Update hyprland config (kitty transparency)

This commit is contained in:
2023-04-17 22:55:52 +02:00
parent fc6c14dd44
commit 28e4a2b662
2 changed files with 12 additions and 4 deletions

View File

@ -70,8 +70,12 @@ general {
gaps_in = 5
gaps_out = 20
border_size = 2
# TODO: The default colors are hideous
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
col.inactive_border = rgba(595959aa)
# col.group_border =
# col.group_border_active =
layout = dwindle
}
@ -79,13 +83,15 @@ general {
decoration {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 10
rounding = 5
multisample_edges = on
blur = yes
blur_size = 3
blur_size = 5
blur_passes = 1
blur_new_optimizations = on
blur_xray = on
drop_shadow = yes
drop_shadow = off
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
@ -138,7 +144,7 @@ windowrulev2 = workspace 2, class:^(obsidian)$
windowrulev2 = workspace 3, class:^(firefox)$
windowrulev2 = workspace 0, class:^(discord)$
windowrulev2 = workspace 0, class:^(Spotify)$
windowrulev2 = opacity 0.85, class:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER

View File

@ -101,6 +101,8 @@ in {
home.file.".config/hypr/polkit.conf".text = ''exec-once = ${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-agent-1 &'';
home.activation = {
# TODO: Can I simplify mkLink to include the hm.dag.entryAfter and the name?
# Like mkLink linkHyprlandConfig "source" "target"
linkHyprlandConfig = hm.dag.entryAfter ["writeBoundary"] (mkLink "~/NixFlake/config/hyprland/hyprland.conf" "~/.config/hypr/hyprland.conf");
linkHyprpaperConfig = hm.dag.entryAfter ["writeBoundary"] (mkLink "~/NixFlake/config/hyprland/hyprpaper.conf" "~/.config/hypr/hyprpaper.conf");
# TODO: Allow choosing a wallpaper through an option