mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-08-04 16:07:46 +02:00
Compare commits
4 Commits
466f023fca
...
a005ba35db
Author | SHA1 | Date | |
---|---|---|---|
|
a005ba35db | ||
|
cfe8c6d703 | ||
|
c889d019aa | ||
|
a92906b244 |
9
.config/wayland/swayidle.sh
Executable file
9
.config/wayland/swayidle.sh
Executable 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"
|
@ -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 &
|
||||
|
@ -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
|
||||
|
@ -185,7 +185,7 @@ fi
|
||||
eval $(thefuck --alias)
|
||||
|
||||
# python
|
||||
#eval "$(pyenv init -)"
|
||||
eval "$(pyenv init - zsh)"
|
||||
|
||||
##########################
|
||||
# COMMANDS BEFORE PROMPT #
|
||||
|
Loading…
x
Reference in New Issue
Block a user