sudo -EH by default for pushing user env to the sudo session

(cherry picked from commit 6590e94b7d)
This commit is contained in:
2025-11-26 23:11:53 +01:00
parent 405b336b6e
commit f5d5c0866c
2 changed files with 9 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ monitor=HDMI-A-2, 2560x1440@74.78, 0x0, 1
# Execute your favorite apps at launch # Execute your favorite apps at launch
debug {
disable_logs=false
}
# Source a file (multi-file configs) # Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf # source = ~/.config/hypr/myColors.conf

View File

@@ -1,7 +1,13 @@
source /home/thierry/keepass.env
alias batt="upower -i /org/freedesktop/UPower/devices/battery_BAT0" alias batt="upower -i /org/freedesktop/UPower/devices/battery_BAT0"
alias iops="fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75" alias iops="fio --randrepeat=1 --ioengine=libaio --direct=1 --gtod_reduce=1 --name=fiotest --filename=testfio --bs=4k --iodepth=64 --size=8G --readwrite=randrw --rwmixread=75"
alias btr="bluetoothctl connect 40:ED:98:1A:40:D0" alias btr="bluetoothctl connect 40:ED:98:1A:40:D0"
alias btro="bluetoothctl disconnect 40:ED:98:1A:40:D0" alias btro="bluetoothctl disconnect 40:ED:98:1A:40:D0"
alias ls="eza --icons=always --colour=always -l" alias ls="eza --icons=always --colour=always -l"
alias scan='ssh localhost "DISPLAY=:1 simple-scan -d"' alias scan='ssh localhost "DISPLAY=:1 simple-scan -d"'
alias kpwd='echo $KEEPWD|keepassxc --pw-stdin --keyfile /home/thierry/Nextcloud/keepass_key_2025.keyx /home/thierry/Nextcloud/keepass_vault.kdbx'
alias paclean='sudo pacman -R $(pacman -Qtdq)'
alias vim=nvim
alias sudo="sudo -EH"