1
0
Fork 0

output configuration and fixed some issue with swayidle

This commit is contained in:
Massaki Archambault 2019-09-17 19:04:24 -04:00
parent f19fe22176
commit 4856cbb0eb
3 changed files with 28 additions and 3 deletions

View File

@ -72,11 +72,36 @@ for_window [class="^Steam$" title="^Screenshot Uploader$"] floating enable
for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable for_window [class="^Steam$" title="^Steam Guard - Computer Authorization Required$"] floating enable
for_window [title="^Steam Keyboard$"] floating enable for_window [title="^Steam Keyboard$"] floating enable
## Application assignement
assign [class="[Ss]lack"] 1
assign [class="[Dd]iscord"] 1
### Output configuration ### Output configuration
output "*" { output "*" {
background ~/.local/share/wallpaper fill background ~/.local/share/wallpaper fill
} }
set $output1 "Goldstar Company Ltd LG QHD 0x00001F95"
workspace $ws3 output $output1
workspace $ws4 output $output1
workspace $ws5 output $output1
workspace $ws6 output $output1
workspace $ws7 output $output1
workspace $ws8 output $output1
workspace $ws9 output $output1
workspace $ws10 output $output1
output $output1 {
position 1080 220
}
set $output2 "Ancor Communications Inc ASUS VH238 BALMIB547836"
workspace $ws1 output $output2
workspace $ws2 output $output2
output $output2 {
position 0 0
transform 90
}
### Input configuration ### Input configuration
# mod key # mod key
set $mod Mod4 set $mod Mod4

View File

@ -6,9 +6,9 @@ PartOf=graphical-session.target
[Service] [Service]
Type=simple Type=simple
ExecStart=/usr/bin/swayidle -w \ ExecStart=/usr/bin/swayidle -w \
timeout 1200 'swaymsg "output * dpms off"' \ timeout 1200 'lock' \
timeout 1210 'swaymsg "output * dpms off"' \
resume 'swaymsg "output * dpms on"' \ resume 'swaymsg "output * dpms on"' \
timeout 1210 'lock' \
before-sleep 'lock' before-sleep 'lock'
[Install] [Install]

@ -1 +1 @@
Subproject commit 476f6ca69922c9e67c408ae92dff0eb0ccb8ee51 Subproject commit 42bb2bf48bef881be504278cf5156371b542cf81