Compare commits

...

2 Commits

Author SHA1 Message Date
a452c8a6e0 Increase screen timeout to 3min 2023-02-10 22:05:12 +01:00
e3ad32053f Automatically start nextcloud client 2023-02-10 22:04:48 +01:00
2 changed files with 6 additions and 3 deletions

6
config
View File

@ -23,7 +23,7 @@ set $term alacritty
# on the original workspace that the command was run on.
#set $menu dmenu_path | dmenu | xargs swaymsg exec --
set $menu j4-dmenu-desktop --dmenu='bemenu -i --tf "#04819E" --nb "#000000" --hb "#000000" --nf "#A65200" --hf "#FF7F00" --fn "pango:DejaVu Sans Mono 12"' --term='alacritty'
### Output configuration
#
set $bg_picture /home/main/.config/sway/background.jpg
@ -33,8 +33,8 @@ set $screenlock swaylock -f -i $bg_picture -c 000000
### Idle configuration
exec_always swayidle -w \
timeout 70 '$screenlock' \
timeout 60 'swaymsg "output * dpms off"' \
timeout 300 '$screenlock' \
timeout 280 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \
before-sleep '$screenlock'
#

View File

@ -1,3 +1,6 @@
# Import and start relevant systemd services at Sway startup
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
# Start nextcloud client
exec_always "nextcloud --background"