diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index f4ced40..6dbb2e4 100755 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -15,7 +15,7 @@ monitor=DP-1,2560x1440@60,1920x0, 1 # Source a file (multi-file configs) -# source = ~/.config/hypr/myColors.conf +#source = ~/.config/hypr/myColors.conf # Some default env vars. env = XCURSOR_SIZE,48 @@ -26,6 +26,9 @@ env = XDG_SESSION_DESKTOP=Hyprland env = XDG_SESSION_HOME=~ #auto start +exec-once=~/bin/startup.sh +exec-once=~/bin/suspend.sh + exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=hyprland-autoname-workspaces exec-once=hyprctl setcursor Bibata-Modern-Classic 48 @@ -33,10 +36,7 @@ exec-once=waybar exec-once=wpaperd exec-once=/usr/lib/polkit-kde-authentication-agent-1 exec-once=[workspace 1] firefox - -#apps -exec-once=~/bin/startup.sh -exec-once=~/bin/suspend.sh +exec-once=[workspace 10 silent] kpwd workspace = 1,name:web, default:true workspace = 2,name:files diff --git a/bin/alias b/bin/alias index 39f87e3..aa4c21e 100644 --- a/bin/alias +++ b/bin/alias @@ -1,6 +1,8 @@ +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 ls="eza --icons=always --colour=always" +alias kpwd='echo $KEEPWD|keepassxc --pw-stdin --keyfile /home/thierry/Nextcloud/keepass_key_2025.keyx /home/thierry/Nextcloud/keepass_vault.kdbx' diff --git a/bin/startup.sh b/bin/startup.sh index 461dfce..881c612 100755 --- a/bin/startup.sh +++ b/bin/startup.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +source /home/thierry/keepass.env +source /home/thierry/bin/alias + sleep 1 killall -e xdg-desktop-portal-hyprland killall -e xdg-desktop-portal-wlr