Compare commits

...

4 Commits

Author SHA1 Message Date
cd390d5580 Adapt config to usb-c dock 2023-02-10 22:07:42 +01:00
6e7b4db8d5 Merge branch 'master' into jackpot 2023-02-10 22:07:12 +01:00
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
3 changed files with 12 additions and 5 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

@ -2,7 +2,9 @@
#
output eDP-1 pos 0 0
output HDMI-A-1 pos 1920 0
output DP-2 pos 1920 0
output DP-3 pos 1920 0
output DP-6 pos 3840 0
input 2:14:ETPS/2_Elantech_Touchpad {
tap enabled
@ -30,6 +32,8 @@ input * xkb_numlock enable
bindsym XF86MonBrightnessDown exec brightnessctl set 5%- #TODO fix that
bindsym XF86MonBrightnessUp exec brightnessctl set +5% #TODO fix that
bindsym Ctrl+F12 output eDP-1 toggle
### Sreenshots
#
# Take a screenshot with all output and save it into screenshots
@ -40,4 +44,4 @@ input * xkb_numlock enable
# Take a Screenshot with the region select
bindsym Print+Alt exec '$screenshot_select'

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"