mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 12:55:33 +08:00
init
This commit is contained in:
commit
96895ec3aa
100 changed files with 6349 additions and 0 deletions
48
home/programs/desktop/niri/override-config.nix
Normal file
48
home/programs/desktop/niri/override-config.nix
Normal file
|
|
@ -0,0 +1,48 @@
|
|||
{ config, ... }:
|
||||
let
|
||||
# tabIndicatorConfig = # kdl
|
||||
# ''
|
||||
# tab-indicator {
|
||||
# hide-when-single-tab
|
||||
# gap 5
|
||||
# width 6
|
||||
# length total-proportion=0.5
|
||||
# position "right"
|
||||
# gaps-between-tabs 2
|
||||
# }
|
||||
# '';
|
||||
# shadowConfig =
|
||||
# # kdl
|
||||
# ''
|
||||
# shadow {
|
||||
# on
|
||||
# spread 0
|
||||
# softness 10
|
||||
# color "#000000dd"
|
||||
# }
|
||||
# '';
|
||||
# tabBinds = # kdl
|
||||
# ''
|
||||
# Mod+T { toggle-column-tabbed-display; }
|
||||
# '';
|
||||
extraConfig =
|
||||
# kdl
|
||||
'''';
|
||||
finalNiriConfig =
|
||||
# builtins.replaceStrings
|
||||
# [ "layout {" ]
|
||||
# [
|
||||
# ("layout {\n" + shadowConfig + "\n" + tabIndicatorConfig)
|
||||
# ]
|
||||
# (config.programs.niri.finalConfig + "\n" + extraConfig)
|
||||
# |>
|
||||
# builtins.replaceStrings
|
||||
# [ "binds {" ]
|
||||
# [
|
||||
# ("binds {\n" + tabBinds)
|
||||
# ];
|
||||
config.programs.niri.finalConfig + "\n" + extraConfig;
|
||||
in
|
||||
{
|
||||
home.file.".config/niri/config-override.kdl".text = finalNiriConfig;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue