Random fixes

This commit is contained in:
Cameron Reed 2024-01-29 22:14:01 -07:00
parent 23274cb6d1
commit d97bda1dee
3 changed files with 7 additions and 7 deletions

View File

@ -8,10 +8,10 @@
hyprpaper &
swayidle -w \
timeout 270 'swaylock -f' \
timeout 300 'hyprctl dispatch dpms off' \
before-sleep 'swaylock -f; sleep 1' \
after-resume 'hyprctl dispatch dpms on' &
timeout 300 'swaylock -f' \
timeout 330 'hyprctl dispatch dpms off' \
resume 'hyprctl dispatch dpms on' \
before-sleep 'swaylock -f; sleep 1' &
'';
in { wayland.windowManager.hyprland = {
enable = true;

View File

@ -25,7 +25,7 @@
preview = true;
drawbox = true;
icons = true;
cursorpreviewfmt = "\033[7;90m";
cursorpreviewfmt = "\\033[7;90m";
};
};

View File

@ -103,7 +103,7 @@ fi
if command -v lf &> /dev/null; then
lfcd() {
cd "$(command lf -print-last-lf "$@")"
cd "$(command lf -print-last-dir "$@")"
}
bindkey -s '^o' 'lfcd\n'
@ -122,7 +122,7 @@ fi
nv = "nvim";
nvd = "nvim .";
nvc = "nvim -c \"edit \$MYVIMRC\"";
nvc = "nvim -c \"edit \\$MYVIMRC\"";
nvp = "nvim ${config.home.homeDirectory}/projects";
c = "clear";