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 & hyprpaper &
swayidle -w \ swayidle -w \
timeout 270 'swaylock -f' \ timeout 300 'swaylock -f' \
timeout 300 'hyprctl dispatch dpms off' \ timeout 330 'hyprctl dispatch dpms off' \
before-sleep 'swaylock -f; sleep 1' \ resume 'hyprctl dispatch dpms on' \
after-resume 'hyprctl dispatch dpms on' & before-sleep 'swaylock -f; sleep 1' &
''; '';
in { wayland.windowManager.hyprland = { in { wayland.windowManager.hyprland = {
enable = true; enable = true;

View File

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