Compare commits

...

3 Commits

Author SHA1 Message Date
627a799932 no screen lock after idle timeout 2025-05-18 22:08:03 +02:00
9ab3861384 remove uwsm boot 2025-05-18 22:07:46 +02:00
fb4eb52dc3 latex 2025-05-18 22:07:35 +02:00
4 changed files with 15 additions and 15 deletions

View File

@ -6,8 +6,3 @@
[[ -z $DISPLAY && $(tty) = /dev/tty1 ]] && exec Hyprland [[ -z $DISPLAY && $(tty) = /dev/tty1 ]] && exec Hyprland
[[ -f ~/.bashrc ]] && . ~/.bashrc [[ -f ~/.bashrc ]] && . ~/.bashrc
# Start uwsm, which starts hyprland
if uwsm check may-start; then
exec uwsm start hyprland.desktop
fi

View File

@ -99,6 +99,11 @@ export HISTCONTROL=erasedups:ignoredups:ignorespace
shopt -s histappend shopt -s histappend
PROMPT_COMMAND='history -a' PROMPT_COMMAND='history -a'
# TeX Live 2025 paths
export PATH="/usr/local/texlive/2025/bin/x86_64-linux:$PATH"
export MANPATH="/usr/local/texlive/2025/texmf-dist/doc/man:$MANPATH"
export INFOPATH="/usr/local/texlive/2025/texmf-dist/doc/info:$INFOPATH"
####################################################### #######################################################
# Launch on boot # Launch on boot
####################################################### #######################################################

View File

@ -17,10 +17,10 @@ listener {
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight. on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
} }
listener { #listener {
timeout = 300 # 5min # timeout = 300 # 5min
on-timeout = loginctl lock-session # lock screen when timeout has passed # on-timeout = loginctl lock-session # lock screen when timeout has passed
} #}
listener { listener {
timeout = 330 # 5.5min timeout = 330 # 5.5min
@ -28,7 +28,7 @@ listener {
on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired. on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected after timeout has fired.
} }
listener { #listener {
timeout = 1800 # 30min # timeout = 1800 # 30min
on-timeout = systemctl suspend # suspend pc # on-timeout = systemctl suspend # suspend pc
} #}

View File

@ -68,8 +68,8 @@ echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autol
#ectool chargecontrol normal 80 80 #ectool chargecontrol normal 80 80
cp ~/dotfiles/etc/tlp.conf /etc/ cp ~/dotfiles/etc/tlp.conf /etc/
pacman -S tlp tlp-rdw pacman -S tlp tlp-rdw
systemctl enable tlp.service systemctl enable --now tlp.service
systemctl enable NetworkManager-dispatcher.service systemctl enable --now NetworkManager-dispatcher.service
systemctl mask systemd-rfkill.service # Needed for auto-disable of BT on boot by TLP systemctl mask systemd-rfkill.service # Needed for auto-disable of BT on boot by TLP
systemctl mask systemd-rfkill.socket # Also needed for auto-disable BT systemctl mask systemd-rfkill.socket # Also needed for auto-disable BT