Improve install scripts, add more shortcuts, improve hypridle

This commit is contained in:
Janis Hutz 2025-03-12 16:08:58 +01:00
parent b54a382841
commit a9d92efa18
7 changed files with 25 additions and 20 deletions

View File

@ -38,6 +38,7 @@ cp -r ~/.config/kitty ./general/configs/
cp -r ~/.config/terminator ./general/configs/ cp -r ~/.config/terminator ./general/configs/
cp -r ~/.config/Thunar ./general/configs/ cp -r ~/.config/Thunar ./general/configs/
cp -r ~/.config/yazi ./general/configs/ cp -r ~/.config/yazi ./general/configs/
cp -r ~/.config/mpv ./general/configs/
rm -rf ./pc/configs/hypr/hyprland/ rm -rf ./pc/configs/hypr/hyprland/
cp -r ~/.config/hypr/hyprland/* ./general/hyprland/ cp -r ~/.config/hypr/hyprland/* ./general/hyprland/

View File

@ -15,7 +15,10 @@ alias cfh='nvim ~/.config/hypr/'
alias cfn='nvim ~/.config/nvim/' alias cfn='nvim ~/.config/nvim/'
alias cff='nvim ~/.config/fish/config.fish' alias cff='nvim ~/.config/fish/config.fish'
alias cfw='nvim ~/.config/waybar/' alias cfw='nvim ~/.config/waybar/'
alias cf='nvim ~/.config/'
alias g='lazygit' alias g='lazygit'
alias open-webui='sudo systemctl start docker && sudo docker start -i open-webui'
alias ai='ollama serve'
function y function y
set tmp (mktemp -t "yazi-cwd.XXXXXX") set tmp (mktemp -t "yazi-cwd.XXXXXX")

View File

@ -23,7 +23,12 @@ listener {
listener { listener {
timeout = 200 timeout = 200
on-timeout = notify-send "100s to screen off" && sleep 5 && hyprlock on-timeout = notify-send "100s to screen off"
}
listener {
timeout = 210
on-timeout = hyprlock
} }
listener { listener {
@ -36,4 +41,4 @@ listener {
timeout = 600 timeout = 600
on-timeout = systemctl suspend on-timeout = systemctl suspend
on-resume = hyprctl dispatch dpms on on-resume = hyprctl dispatch dpms on
} }

View File

@ -23,7 +23,12 @@ listener {
listener { listener {
timeout = 200 timeout = 200
on-timeout = notify-send "100s to screen off" && sleep 5 && hyprlock on-timeout = notify-send "100s to screen off"
}
listener {
timeout = 210
on-timeout = hyprlock
} }
listener { listener {
@ -36,4 +41,4 @@ listener {
timeout = 600 timeout = 600
on-timeout = systemctl suspend on-timeout = systemctl suspend
on-resume = hyprctl dispatch dpms on on-resume = hyprctl dispatch dpms on
} }

View File

@ -744,6 +744,7 @@ l-smash
ladspa ladspa
lame lame
lapack lapack
lazygit
lcms2 lcms2
ldb ldb
ldns ldns

View File

@ -7,12 +7,7 @@ cp -r ./general/configs/VSCodium/* ~/.config/VSCodium/
# copy other config files # copy other config files
cp -r ./pc/configs/hypr ~/.config/ cp -r ./pc/configs/hypr ~/.config/
cp -r ./pc/configs/waybar ~/.config/ cp -r ./pc/configs/waybar ~/.config/
cp -r ./general/configs/fish ~/.config/ cp -r ./general/configs/* ~/.config/
cp -r ./general/configs/dunst ~/.config/
cp -r ./general/configs/rofi ~/.config/ # Copy hyprland general config
cp -r ./general/configs/wlogout ~/.config/
cp -r ./general/configs/yazi ~/.config/
cp -r ./general/configs/Thunar ~/.config/
cp -r ./general/configs/terminator ~/.config/
cp -r ./general/configs/kitty ~/.config/
cp -r ./general/hyprland ~/.config/hypr/ cp -r ./general/hyprland ~/.config/hypr/

View File

@ -7,14 +7,9 @@ cp -r ./general/configs/VSCodium/* ~/.config/VSCodium/
# copy other config files # copy other config files
cp -r ./laptop/configs/hypr ~/.config/ cp -r ./laptop/configs/hypr ~/.config/
cp -r ./laptop/configs/waybar ~/.config/ cp -r ./laptop/configs/waybar ~/.config/
cp -r ./general/configs/fish ~/.config/ cp -r ./general/configs/* ~/.config/
cp -r ./general/configs/dunst ~/.config/
cp -r ./general/configs/rofi ~/.config/ # Copy hyprland general config
cp -r ./general/configs/wlogout ~/.config/
cp -r ./general/configs/yazi ~/.config/
cp -r ./general/configs/Thunar ~/.config/
cp -r ./general/configs/terminator ~/.config/
cp -r ./general/configs/kitty ~/.config/
cp -r ./general/hyprland ~/.config/hypr/ cp -r ./general/hyprland ~/.config/hypr/
echo '=> Installed all laptop config files successfully' echo '=> Installed all laptop config files successfully'