1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-08-04 16:07:46 +02:00

Compare commits

...

4 Commits

Author SHA1 Message Date
tiyn
a005ba35db wayland: fixed swayidle settings 2025-07-06 06:47:45 +02:00
tiyn
cfe8c6d703 xdg: added gnome-keyring 2025-07-06 06:32:03 +02:00
tiyn
c889d019aa zsh: enable pyenv 2025-07-06 06:31:29 +02:00
tiyn
a92906b244 wayland: unclutter not needed due to patched dwl & changed some autostart programs 2025-07-06 06:30:51 +02:00
4 changed files with 16 additions and 4 deletions

9
.config/wayland/swayidle.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
exec swayidle -w \
timeout 600 "notify-send -u critical 'Power' 'Laptop will suspend in 20 minutes!'"\
timeout 1200 "notify-send -u critical 'Power' 'Laptop will suspend in 10 minutes!'"\
timeout 1500 "notify-send -u critical 'Power' 'Laptop will suspend in 5 minutes!'"\
timeout 1740 "notify-send -u critical 'Power' 'System will suspend in 1 minute!'"\
timeout 1790 "notify-send -u critical 'Power' 'System will suspend in 10 seconds!'"\
timeout 1795 "notify-send -u critical 'Power' 'System will suspend in 5 seconds!'"\
timeout 1800 "systemctl suspend-then-hibernate"

View File

@ -1,9 +1,11 @@
#!/bin/sh
exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP &
nmcli radio wifi on &
~/.config/wayland/swayidle.sh &
$STATUSBAR & # use environment variable
# unclutter & # hide cursor
xss-lock -- swaylock & # enable locking the screen upon sleep
swaybg -i ~/.local/share/bg &
dunst &
@ -18,10 +20,10 @@ keepassxc &
zen-browser &
discord &
signal-desktop &
telegram-desktop &
Telegram &
threema-beta &
thunderbird &
mattermost-desktop &
# mattermost-desktop &
# monitor toggle &
# touchpad off &

View File

@ -2,3 +2,4 @@
default=gtk
org.freedesktop.impl.portal.Screenshot=wlr
org.freedesktop.impl.portal.ScreenCast=wlr
org.freedesktop.impl.portal.Secret=gnome-keyring

View File

@ -185,7 +185,7 @@ fi
eval $(thefuck --alias)
# python
#eval "$(pyenv init -)"
eval "$(pyenv init - zsh)"
##########################
# COMMANDS BEFORE PROMPT #