fi
-if [ $HOSTNAME = "magnesium" ]; then
- export XKB_DEFAULT_LAYOUT=us
- export XKB_DEFAULT_VARIANT=colemak
- export XKB_DEFAULT_OPTIONS=ctrl:nocaps
-fi
-
-if [ $HOSTNAME = "platinum" ]; then
- export XKB_DEFAULT_LAYOUT=gb
- export XKB_DEFAULT_VARIANT=colemak
- export XKB_DEFAULT_OPTIONS=ctrl:nocaps
-fi
-
# make less more friendly for non-text input files, see lesspipe(1)
if [ -x /usr/bin/lesspipe ]; then
export LESSOPEN="|lesspipe %s"
#!/bin/sh
-sudo -u spotify /usr/bin/spotify
+xpra start ssh/cerium --start-child spotify
id bar_left
status_command conky-i3bar
position top
- output "HDMI-A-2"
+ output "HDMI-A-3"
font pango:Liberation Mono 10
colors {
background $black_super
bar {
id bar_right
position top
- output "HDMI-A-3"
+ output "HDMI-A-2"
font pango:Liberation Mono 10
colors {
background $black_super
}
-workspace 1 output HDMI-A-2
-workspace 2 output HDMI-A-3
+workspace 1 output HDMI-A-3
+workspace 2 output HDMI-A-2
output HDMI-A-2 {
- position 0 0
+ position 0 1080
background ~/Pictures/background_1080_1.png fit
}
output HDMI-A-3 {
- position 1920 0
+ position 0 0
background ~/Pictures/background_1080_2.png fit
}
font pango:Liberation Mono 8
-exec xhost +si:localuser:spotify
-exec no_glock +si:localuser:spotify
+input 1241:36:HOLDCHIP_USB_Keyboard {
+ xkb_layout us
+ xkb_variant colemak
+ xkb_options ctrl:nocaps
+}
position 3200 0
background ~/Pictures/background_1440.png fill
}
+
+input * {
+ xkb_layout gb
+ xkb_variant colemak
+ xkb_options ctrl:nocaps
+}
{"full_text": "CPU ${cpu cpu0}%", "color": "\#ffffff"},
${if_match "${nodename_short}"=="magnesium"}
{
- "full_text": "d:${downspeed eno1} u:${upspeed eno1} ${addr eno1}",
+ "full_text": "d:${downspeed eno1} u:${upspeed eno1} ${addr br0}",
"color":
- ${if_match "${addr eno1}"=="No Address"}
+ ${if_match "${addr br0}"=="No Address"}
"\#ff0000"
${else}
"\#00ff00"