summaryrefslogtreecommitdiff
path: root/nix/programs
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2025-05-07 15:42:25 -0400
committerAndrew Opalach <andrew@akon.city> 2025-05-07 15:42:25 -0400
commitf94b0f1370d4633cba8397642e809bc39d4461f8 (patch)
treeb8dd8ed889d8c7d4f7383490ee86fb87e04deffc /nix/programs
parent4366ae6eb9a4f3db04a3ea5323eb2f18bedef630 (diff)
downloaddotfiles-f94b0f1370d4633cba8397642e809bc39d4461f8.tar.gz
dotfiles-f94b0f1370d4633cba8397642e809bc39d4461f8.tar.bz2
dotfiles-f94b0f1370d4633cba8397642e809bc39d4461f8.zip
Add some gentoo host files
Diffstat (limited to 'nix/programs')
-rw-r--r--nix/programs/kitty.nix6
-rw-r--r--nix/programs/nvim.nix2
-rw-r--r--nix/programs/sway.nix24
3 files changed, 23 insertions, 9 deletions
diff --git a/nix/programs/kitty.nix b/nix/programs/kitty.nix
index 624c0b0..0e2ad0b 100644
--- a/nix/programs/kitty.nix
+++ b/nix/programs/kitty.nix
@@ -37,9 +37,9 @@ in {
cursor_shape block
#cursor_blink_interval -1 linear ease-out
#cursor_stop_blinking_after 20.0
- cursor_trail 50
- cursor_trail_decay 0.1 0.5
- cursor_trail_start_threshold 2
+ cursor_trail 2
+ cursor_trail_decay 0.075 0.425
+ cursor_trail_start_threshold 3
foreground #${colo.foreground}
background #${colo.background}
color0 #${colo.color0}
diff --git a/nix/programs/nvim.nix b/nix/programs/nvim.nix
index d60b752..5c70f35 100644
--- a/nix/programs/nvim.nix
+++ b/nix/programs/nvim.nix
@@ -57,7 +57,7 @@ let
hi FloatShadowThrough guibg=#${colo.color6} blend=100
hi Folded guifg=#${colo.color5} guibg=#${colo.background}
hi LineNr guifg=#${colo.color6}
- hi MatchParen guibg=#${colo.color6} gui=bold
+ hi MatchParen guifg=#${colo.color6} guibg=#${colo.background} gui=bold
hi ModeMsg guifg=#${colo.color4}
hi MoreMsg guifg=#${colo.color2}
hi NonText guifg=#${colo.color6}
diff --git a/nix/programs/sway.nix b/nix/programs/sway.nix
index 33660bc..eb30595 100644
--- a/nix/programs/sway.nix
+++ b/nix/programs/sway.nix
@@ -51,6 +51,11 @@ in {
# };
# };
# };
+ qt = {
+ enable = true;
+ platformTheme = "qt5ct"; # Also selects qt6ct.
+ style = "adwaita";
+ };
home-manager.users.andrew = {
home.sessionVariables = {
XDG_CURRENT_DESKTOP = "sway";
@@ -84,6 +89,8 @@ in {
gtk = let
# *_shade_color is adjusted from black by default.
extraCss3 = ''
+ @define-color shade_color #${colo.background};
+ @define-color scrollbar_outline_color #${colo.foreground};
@define-color window_bg_color #${colo.background};
@define-color window_fg_color #${colo.foreground};
@define-color view_bg_color #${colo.background};
@@ -112,6 +119,11 @@ in {
@define-color sidebar_bg_color #${colo.background};
@define-color sidebar_fg_color #${colo.foreground};
@define-color sidebar_backdrop_color #${colo.background};
+ @define-color sidebar_border_color #${colo.color5};
+ @define-color secondary_sidebar_bg_color #${colo.background};
+ @define-color secondary_sidebar_fg_color #${colo.foreground};
+ @define-color secondary_sidebar_backdrop_color #${colo.background};
+ @define-color secondary_sidebar_border_color #${colo.color6};
@define-color warning_bg_color #${colo.color4};
@define-color warning_fg_color #${colo.foreground};
@define-color warning_color #${colo.color4};
@@ -326,11 +338,13 @@ in {
};
services.mako = {
enable = true;
- defaultTimeout = 14000;
- font = "${loc.font.name} ${toString loc.ui-font.size}";
- backgroundColor = "#${colo.background}";
- textColor = "#${colo.foreground}";
- borderColor = "#${colo.color6}";
+ settings = {
+ defaultTimeout = 14000;
+ font = "${loc.font.name} ${toString loc.ui-font.size}";
+ backgroundColor = "#${colo.background}";
+ textColor = "#${colo.foreground}";
+ borderColor = "#${colo.color6}";
+ };
};
};
}