Compare commits
3 Commits
f2666b2bab
...
627a799932
Author | SHA1 | Date | |
---|---|---|---|
627a799932 | |||
9ab3861384 | |||
fb4eb52dc3 |
@ -6,8 +6,3 @@
|
||||
[[ -z $DISPLAY && $(tty) = /dev/tty1 ]] && exec Hyprland
|
||||
|
||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||
|
||||
# Start uwsm, which starts hyprland
|
||||
if uwsm check may-start; then
|
||||
exec uwsm start hyprland.desktop
|
||||
fi
|
||||
|
5
.bashrc
5
.bashrc
@ -99,6 +99,11 @@ export HISTCONTROL=erasedups:ignoredups:ignorespace
|
||||
shopt -s histappend
|
||||
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
|
||||
#######################################################
|
||||
|
@ -17,10 +17,10 @@ listener {
|
||||
on-resume = brightnessctl -rd rgb:kbd_backlight # turn on keyboard backlight.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 300 # 5min
|
||||
on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
}
|
||||
#listener {
|
||||
# timeout = 300 # 5min
|
||||
# on-timeout = loginctl lock-session # lock screen when timeout has passed
|
||||
#}
|
||||
|
||||
listener {
|
||||
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.
|
||||
}
|
||||
|
||||
listener {
|
||||
timeout = 1800 # 30min
|
||||
on-timeout = systemctl suspend # suspend pc
|
||||
}
|
||||
#listener {
|
||||
# timeout = 1800 # 30min
|
||||
# on-timeout = systemctl suspend # suspend pc
|
||||
#}
|
||||
|
@ -68,8 +68,8 @@ echo '[Service]\nExecStart=\nExecStart=-/sbin/agetty --noreset --noclear --autol
|
||||
#ectool chargecontrol normal 80 80
|
||||
cp ~/dotfiles/etc/tlp.conf /etc/
|
||||
pacman -S tlp tlp-rdw
|
||||
systemctl enable tlp.service
|
||||
systemctl enable NetworkManager-dispatcher.service
|
||||
systemctl enable --now tlp.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.socket # Also needed for auto-disable BT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user