aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/sway
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-02-08 17:19:45 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-02-08 17:19:45 +0300
commit0bfc2120458ffd8267e362c15978c5cb545b3fdd (patch)
tree3006cc339b990377aa1bcb3fcedecc2f8b2b3844 /dotfiles/.config/sway
parent5617b764bf63346711337ea9eaaa3c5335bcf6dd (diff)
downloadswayrice-0bfc2120458ffd8267e362c15978c5cb545b3fdd.tar.gz
swayrice-0bfc2120458ffd8267e362c15978c5cb545b3fdd.zip
Sway: display configurations
Move diplay (output) configuration completely to host-specific config file.
Diffstat (limited to 'dotfiles/.config/sway')
-rw-r--r--dotfiles/.config/sway/config3
-rw-r--r--dotfiles/.config/sway/thinkslav18
2 files changed, 17 insertions, 4 deletions
diff --git a/dotfiles/.config/sway/config b/dotfiles/.config/sway/config
index 675afc7..348c281 100644
--- a/dotfiles/.config/sway/config
+++ b/dotfiles/.config/sway/config
@@ -124,9 +124,6 @@ input 1118:2083:Microsoft_Microsoft___Classic_IntelliMouse__ {
pointer_accel 0
}
-# Default wallpaper
-output "*" background ~/.config/wall1.png fill
-
# Keymaps
input * {
xkb_layout "us,es,ru"
diff --git a/dotfiles/.config/sway/thinkslav b/dotfiles/.config/sway/thinkslav
index de15c86..a7960ef 100644
--- a/dotfiles/.config/sway/thinkslav
+++ b/dotfiles/.config/sway/thinkslav
@@ -2,5 +2,21 @@
# Configuration specific to my laptop computer
+# Default wallpaper
+output "*" background ~/.config/wall1.png tile
+
# Outputs
-output "eDP-1" scale 1.6 pos 0 0 scale_filter linear
+output "eDP-1" scale 1.6 pos 1920 540 scale_filter linear
+output "DP-5" pos 0 0
+
+# Workspaces
+workspace $ws1 output eDP-1
+workspace $ws2 output eDP-1
+workspace $ws3 output eDP-1
+workspace $ws4 output eDP-1
+workspace $ws5 output eDP-1
+workspace $ws6 output eDP-1
+workspace $ws7 output DP-5 DP-6
+workspace $ws8 output DP-5 DP-6
+workspace $ws9 output DP-5 DP-6
+workspace $ws10 output DP-5 DP-6