From c8d6974e32074717bc7a06cb23688ff8f2bb7934 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Mon, 19 Aug 2019 09:47:36 +0100 Subject: [PATCH] Correct barium displays --- states/sway/files/barium | 13 +++++++++---- states/sway/files/lock | 2 +- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/states/sway/files/barium b/states/sway/files/barium index 71ac738..18085df 100644 --- a/states/sway/files/barium +++ b/states/sway/files/barium @@ -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 diff --git a/states/sway/files/lock b/states/sway/files/lock index f78f685..1c065a7 100644 --- a/states/sway/files/lock +++ b/states/sway/files/lock @@ -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 %} -- 2.44.0