mirror of
https://github.com/danbulant/dots-hyprland
synced 2026-05-24 12:22:09 +00:00
Add optional autostart on tty scripts
This commit is contained in:
parent
d93b8c0ed6
commit
c93eefcaac
4 changed files with 15 additions and 4 deletions
5
.config/zshrc.d/auto-Hypr.fish
Normal file
5
.config/zshrc.d/auto-Hypr.fish
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Auto start Hyprland on tty1
|
||||
if test -z "$DISPLAY" ;and test "$XDG_VTNR" -eq 1
|
||||
mkdir -p ~/.cache
|
||||
exec Hyprland > ~/.cache/hyprland.log ^&1
|
||||
end
|
||||
5
.config/zshrc.d/auto-Hypr.sh
Normal file
5
.config/zshrc.d/auto-Hypr.sh
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Auto start Hyprland on tty1
|
||||
if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
||||
mkdir -p ~/.cache
|
||||
exec Hyprland > ~/.cache/hyprland.log 2>&1
|
||||
fi
|
||||
|
|
@ -1,7 +1,4 @@
|
|||
# Created by newuser for 5.9
|
||||
# Shortcuts
|
||||
bindkey '^H' backward-kill-word
|
||||
bindkey '^Z' undo
|
||||
# Use the generated color scheme
|
||||
|
||||
if test -f ~/.cache/ags/user/generated/terminal/sequences.txt; then
|
||||
cat ~/.cache/ags/user/generated/terminal/sequences.txt
|
||||
|
|
|
|||
4
.config/zshrc.d/shortcuts.zsh
Normal file
4
.config/zshrc.d/shortcuts.zsh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Created by newuser for 5.9
|
||||
|
||||
bindkey '^H' backward-kill-word
|
||||
bindkey '^Z' undo
|
||||
Loading…
Reference in a new issue