]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Correct barium displays
authorMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 19 Aug 2019 08:47:36 +0000 (09:47 +0100)
committerMaximilian Friedersdorff <max@friedersdorff.com>
Mon, 19 Aug 2019 08:47:36 +0000 (09:47 +0100)
states/sway/files/barium
states/sway/files/lock

index 71ac738f3acdb1651942910cfb8c95c89a260714..18085df9320aa6624823662fdd5cc0f048ca4fc8 100644 (file)
@@ -4,7 +4,7 @@ bar {
   id bar_left
   status_command ~/.local/bin/conky-i3bar
   position top
-  output "eDP-1"
+  output "HDMI-A-1"
   font pango:Liberation Mono 12
   colors {
     background $black_super
@@ -19,7 +19,7 @@ bar {
 bar {
   id bar_right
   position top
-  output "HDMI-A-1"
+  output "DP-1"
   font pango:Liberation Mono 12
   colors {
     background $black_super
@@ -32,16 +32,21 @@ bar {
 }
 
 
-output eDP-1 {
+output HDMI-A-1 {
   position 0 0
   background ~/Pictures/background_1080_1.png fit
 }
 
-output HDMI-A-1 {
+output DP-1 {
   position 1920 0
   background ~/Pictures/background_1080_1.png fit
 }
 
+output eDP-1 disable
+
+workspace 1 output HDMI-A-1
+workspace 2 output HDMI-A-1
+
 
 font pango:Liberation Mono 10
 
index f78f68545e1a2e21cadf40ce89643716561abc87..1c065a72d06510cf7aafff3e5bec19ecea5586cc 100644 (file)
@@ -10,7 +10,7 @@ SLEEP_CMD=":"
 LOCK_CMD+=" -i HDMI-A-2:~/Pictures/lockscreen_1080_1.png"
 LOCK_CMD+=" -i HDMI-A-3:~/Pictures/lockscreen_1080_2.png"
 {% elif grains['host'] == 'barium' %}
-LOCK_CMD+=" -i eDP-1:~/Pictures/lockscreen_1080_1.png"
+LOCK_CMD+=" -i DP-1:~/Pictures/lockscreen_1080_1.png"
 LOCK_CMD+=" -i HDMI-A-1:~/Pictures/lockscreen_1080_1.png"
 SLEEP_CMD="systemctl suspend"
 {% endif %}