From f5d5c0866c380fae75f56a88eda552b75890504b Mon Sep 17 00:00:00 2001 From: Thierry Schork Date: Wed, 26 Nov 2025 23:11:53 +0100 Subject: [PATCH] sudo -EH by default for pushing user env to the sudo session (cherry picked from commit 6590e94b7dc7446b3cd506acdac12d73906b4166) --- .config/hypr/hyprland.conf | 3 +++ bin/alias | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 285bc4c..31dd4a2 100755 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -13,6 +13,9 @@ monitor=HDMI-A-2, 2560x1440@74.78, 0x0, 1 # Execute your favorite apps at launch +debug { + disable_logs=false +} # Source a file (multi-file configs) # source = ~/.config/hypr/myColors.conf diff --git a/bin/alias b/bin/alias index 9daed50..386469b 100644 --- a/bin/alias +++ b/bin/alias @@ -1,7 +1,13 @@ +source /home/thierry/keepass.env + 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 btr="bluetoothctl connect 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 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"