Compare commits

..

No commits in common. "f1b86275da6546d0125499b65ccb9941a55840ca" and "1b5659ac6c4cf8917a628c4aa5f442c82d6613a8" have entirely different histories.

6 changed files with 9 additions and 50 deletions

View File

@ -20,8 +20,8 @@
webis.enable = true; webis.enable = true;
impermanence.enable = true; impermanence.enable = true;
}; };
programs.hyprland.enable = true; programs.hyprland.enable = false;
# programs.river.enable = true; programs.river.enable = true;
programs.exercism.enable = true; programs.exercism.enable = true;
}; };

View File

@ -249,7 +249,7 @@ in
parallel parallel
ripgrep ripgrep
vim vim
(viu.override { withSixel = true; }) viu
wget wget
]; ];

View File

@ -54,6 +54,7 @@ in
".local/share/nvim" ".local/share/nvim"
".local/share/zoxide" ".local/share/zoxide"
".local/state/nvim" ".local/state/nvim"
".local/state/tofi-history"
".mozilla" ".mozilla"
"Documents" "Documents"
"Downloads" "Downloads"
@ -68,7 +69,6 @@ in
".local/share/fish/fish_history" ".local/share/fish/fish_history"
".local/share/nix/trusted-settings.json" ".local/share/nix/trusted-settings.json"
".parallel/will-cite" ".parallel/will-cite"
".local/state/tofi-history"
]; ];
}; };
users.root = { users.root = {

View File

@ -16,6 +16,7 @@ in
systemd.user.services.foot.Service.Environment = lib.mkForce "PATH=/run/current-system/sw/bin/"; systemd.user.services.foot.Service.Environment = lib.mkForce "PATH=/run/current-system/sw/bin/";
programs.foot = { programs.foot = {
enable = true; enable = true;
server.enable = true;
settings = { settings = {
main = { main = {
term = "xterm-256color"; term = "xterm-256color";

View File

@ -99,30 +99,7 @@ in
# bump in layout stack # bump in layout stack
"Super Z" = "zoom"; "Super Z" = "zoom";
};
} //
# tags
(
let
numbers = range 1 9;
toTag = num: "$((1 << (${toString num} - 1)))";
mkMappings = num:
let
numStr = toString num;
tag = toTag num;
in
[
# Super+Control+[1-9] to toggle focus of tag [0-8]
{ name = "Super ${numStr}"; value = "toggle-focused-tags ${tag}"; }
# Super+Shift+Control+[1-9] to toggle tag [0-8] of focused view
{ name = "Super+Shift ${numStr}"; value = "toggle-view-tags ${tag}"; }
];
mappings = flatten (map mkMappings numbers);
in
listToAttrs mappings
);
}; };
map-pointer = { map-pointer = {
normal = { normal = {
@ -131,19 +108,12 @@ in
"Super BTN_MIDDLE" = "toggle-float"; "Super BTN_MIDDLE" = "toggle-float";
}; };
}; };
attach-mode = "bottom";
default-layout = "rivercarro";
focus-follows-cursor = "normal";
hide-cursor = {
timeout = "1500";
when-typing = "enabled";
};
set-cursor-warp = "on-focus-change";
}; };
extraConfig = /* bash */ '' extraConfig = /* bash */ ''
riverctl default-layout rivercarro
rivercarro_pid="$(pidof rivercarro)" rivercarro_pid="$(pidof rivercarro)"
if [[ -z $rivercarro_pid ]]; then if [[ -z $rivercarro_pid ]]; then
rivercarro -inner-gaps 4 -outer-gaps 4 & rivercarro -inner-gaps 4 -outer-gaps 4
fi fi
''; '';
}; };
@ -169,11 +139,6 @@ in
modules-right = [ "network" "memory" "cpu" "battery" "clock" ]; modules-right = [ "network" "memory" "cpu" "battery" "clock" ];
}; };
}; };
style = ''
#tags button.focused {
color: #ffffff
}
'';
}; };
# lock screen after timeout # lock screen after timeout

View File

@ -8,14 +8,7 @@ let
script = pkgs.writeShellApplication { script = pkgs.writeShellApplication {
name = "wallpaper"; name = "wallpaper";
runtimeInputs = with pkgs; [ runtimeInputs = with pkgs; [ findutils coreutils feh swaybg fzf viu ];
findutils
coreutils
feh
swaybg
fzf
(viu.override { withSixel = true; })
];
text = builtins.readFile ./wallpaper.sh; text = builtins.readFile ./wallpaper.sh;
}; };
in in