MOAR config
This commit is contained in:
parent
1b65bc2270
commit
d8c2da70a9
7 changed files with 61 additions and 41 deletions
|
|
@ -76,33 +76,12 @@ include /etc/sway/config-vars.d/*
|
|||
### Output configuration
|
||||
#
|
||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
||||
output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
||||
#
|
||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
||||
set $bg /usr/share/backgrounds/archlinux/wild.png
|
||||
output * bg $bg fill
|
||||
|
||||
|
||||
### Idle configuration
|
||||
#
|
||||
# Example configuration:
|
||||
#
|
||||
# exec swayidle -w \
|
||||
# timeout 300 'swaylock -f -c 000000' \
|
||||
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
||||
# before-sleep 'swaylock -f -c 000000'
|
||||
#
|
||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||
# your displays after another 300 seconds, and turn your screens back on when
|
||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
||||
|
||||
|
||||
|
||||
exec swayidle -w \
|
||||
timeout 300 "swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg" \
|
||||
timeout 600 'systemctl suspend' \
|
||||
before-sleep "swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg"
|
||||
exec swayidle -w
|
||||
|
||||
|
||||
### Input configuration
|
||||
|
|
@ -175,7 +154,7 @@ input 1241:36:HOLDCHIP_USB_Keyboard {
|
|||
bindsym $mod+Shift+c reload
|
||||
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
||||
bindsym $mod+Shift+e exec ~/.config/sway/power-menu
|
||||
#
|
||||
# Moving around:
|
||||
#
|
||||
|
|
@ -318,7 +297,7 @@ mode "resize" {
|
|||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
bindsym $mod+Alt+l exec 'swaylock -e -f -i ~/Pictures/Backgrounds/DSC02113.jpg'
|
||||
bindsym $mod+Alt+l exec swaylock
|
||||
|
||||
|
||||
include /etc/sway/config.d/*
|
||||
|
|
@ -340,13 +319,11 @@ exec mako&
|
|||
{{- if eq .chezmoi.hostname "baryte" }}
|
||||
|
||||
output "Acer Technologies VG270U P 0x05217924" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 0 0
|
||||
scale 1
|
||||
}
|
||||
|
||||
output "Acer Technologies VG270U P 0x9392CFAC" {
|
||||
background ~/Pictures/Backgrounds/DSC02111.jpg fill
|
||||
position 2560 0
|
||||
scale 1
|
||||
}
|
||||
|
|
@ -362,13 +339,11 @@ exec kanshi&
|
|||
{{- if eq .chezmoi.hostname "dubnium" }}
|
||||
|
||||
output "Acer Technologies VG270U P 0x05217924" {
|
||||
background ~/Pictures/background.jpg fill
|
||||
position 0 0
|
||||
scale 1
|
||||
}
|
||||
|
||||
output "Acer Technologies VG270U P 0x9392CFAC" {
|
||||
background ~/Pictures/background.jpg fill
|
||||
position 2560 0
|
||||
scale 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue