|
|
|
@ -14,7 +14,7 @@ set $down j
|
|
|
|
|
set $up k
|
|
|
|
|
set $right l
|
|
|
|
|
# Your preferred terminal emulator
|
|
|
|
|
set $term foot
|
|
|
|
|
set $term mate-terminal
|
|
|
|
|
# Locker
|
|
|
|
|
set $locker sway_manual_lock
|
|
|
|
|
# Your preferred application launcher
|
|
|
|
@ -25,6 +25,8 @@ set $menu exec wofi --show drun
|
|
|
|
|
|
|
|
|
|
# Monitors
|
|
|
|
|
set $officemonitor 'Lenovo Group Limited LEN T32p-20 VNA70PG1'
|
|
|
|
|
set $cottagemonitor 'Dell Inc. DELL P2722H FYH8FC3'
|
|
|
|
|
set $laptopdisplay 'Unknown 0x1400 0x00000000'
|
|
|
|
|
|
|
|
|
|
include /etc/sway/config-vars.d/*
|
|
|
|
|
|
|
|
|
@ -39,6 +41,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
|
|
|
|
#
|
|
|
|
|
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
|
|
|
|
output $officemonitor scale 1.5
|
|
|
|
|
output $laptopdisplay scale 2
|
|
|
|
|
|
|
|
|
|
### Idle configuration
|
|
|
|
|
#
|
|
|
|
@ -60,8 +63,6 @@ bindsym $mod+Ctrl+l exec $locker
|
|
|
|
|
exec swayidle -w \
|
|
|
|
|
before-sleep 'playerctl pause' \
|
|
|
|
|
timeout 300 '$locker' \
|
|
|
|
|
timeout 310 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### Input configuration
|
|
|
|
|
#
|
|
|
|
@ -285,4 +286,14 @@ bindsym XF86AudioPlay exec playerctl play-pause
|
|
|
|
|
bindsym XF86AudioNext exec playerctl next
|
|
|
|
|
bindsym XF86AudioPrev exec playerctl previous
|
|
|
|
|
|
|
|
|
|
# Screenshots
|
|
|
|
|
# Ctrl -> selection; Shift -> clipboard
|
|
|
|
|
# selection to clipboard
|
|
|
|
|
bindsym Print exec grimshot copy area
|
|
|
|
|
bindsym Ctrl+Print exec snipit --copy
|
|
|
|
|
|
|
|
|
|
# Making screenshare work maybe?
|
|
|
|
|
#exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=swaykeepassxc XDG_SESSION_DESKTOP=sway XDG_SESSION_TYPE=wayland
|
|
|
|
|
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway XDG_SESSION_DESKTOP=sway XDG_SESSION_TYPE=wayland
|
|
|
|
|
|
|
|
|
|
include /etc/sway/config.d/*
|
|
|
|
|