work on reducing statefulness of the configuration
This commit is contained in:
@@ -294,10 +294,6 @@ in
|
||||
"super, l, movefocus, r"
|
||||
"super, k, movefocus, u"
|
||||
"super, j, movefocus, d"
|
||||
"super, y, exec, /home/pagedmov/splitman-ipc.sh start"
|
||||
"super, u, exec, /home/pagedmov/splitman-ipc.sh split"
|
||||
"super, i, exec, /home/pagedmov/splitman-ipc.sh stop"
|
||||
"super, o, exec, /home/pagedmov/splitman-ipc.sh pause"
|
||||
"super shift, h, movewindow, l"
|
||||
"super shift, l, movewindow, r"
|
||||
"super shift, k, movewindow, u"
|
||||
|
||||
@@ -403,7 +403,7 @@ pkgs.writeText "theme-builder.py" ''
|
||||
print("Sent reload signal to Kitty.")
|
||||
|
||||
nvim_colors = STATE_DIR / "nvim-colors.lua"
|
||||
for sock in Path("/run/user/1000").glob("nvim.*.0"):
|
||||
for sock in Path(os.environ.get("XDG_RUNTIME_DIR", "/run/user/1000")).glob("nvim.*.0"):
|
||||
try:
|
||||
nvim = attach('socket', path=str(sock))
|
||||
nvim.command(f"luafile {nvim_colors}")
|
||||
|
||||
@@ -614,7 +614,7 @@
|
||||
all: unset;
|
||||
}
|
||||
|
||||
@import url("file:///home/pagedmov/.local/state/sysflake/swaync-colors.css");
|
||||
@import url("file://${config.home.homeDirectory}/.local/state/sysflake/swaync-colors.css");
|
||||
'';
|
||||
xdg.configFile."swaync/config.json".text = ''
|
||||
{
|
||||
|
||||
@@ -5,20 +5,6 @@ let
|
||||
in
|
||||
{
|
||||
systemd.user = {
|
||||
timers = {
|
||||
maintenanceCheck = {
|
||||
Unit = {
|
||||
Description = "Timer for package maintenance check";
|
||||
};
|
||||
Timer = {
|
||||
OnCalendar = "hourly";
|
||||
Persistent = true;
|
||||
};
|
||||
Install = {
|
||||
WantedBy = [ "timers.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
services = {
|
||||
swww-daemon = {
|
||||
Unit.Description = "Daemon for swww (sway wayland wallpaper manager)";
|
||||
|
||||
@@ -143,7 +143,7 @@ in
|
||||
};
|
||||
|
||||
"image#nixicon" = {
|
||||
path = "/home/pagedmov/.sysflake/assets/images/nix-snowflake-colours.svg";
|
||||
path = "${self}/assets/images/nix-snowflake-colours.svg";
|
||||
size = 28;
|
||||
};
|
||||
|
||||
@@ -271,7 +271,7 @@ in
|
||||
margin: 6px 10px 6px 4px;
|
||||
}
|
||||
|
||||
@import url("file:///home/pagedmov/.local/state/sysflake/waybar-colors.css");
|
||||
@import url("file://${config.home.homeDirectory}/.local/state/sysflake/waybar-colors.css");
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
};
|
||||
safe = {
|
||||
directory = [
|
||||
"/home/pagedmov/mnt/net"
|
||||
"${config.home.homeDirectory}/mnt/net"
|
||||
];
|
||||
};
|
||||
core.pager = "delta";
|
||||
|
||||
Reference in New Issue
Block a user