From 180b109aae64c16d5e4e31d47cd7af92c7683ef7 Mon Sep 17 00:00:00 2001 From: atlantispc_sheppy Date: Wed, 4 Jul 2018 08:19:20 +0200 Subject: [PATCH] [git fast commit] 04. Jul 2018 - 08:19:20 --- herbstluftwm/autostart | 2 +- herbstluftwm/hl_panel_content.py | 4 ++-- ssh/config | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/herbstluftwm/autostart b/herbstluftwm/autostart index 28bf285..7981c4d 100755 --- a/herbstluftwm/autostart +++ b/herbstluftwm/autostart @@ -24,7 +24,7 @@ Mod=Mod4 # Use the super key as the main modifier ### All Machines #### ### Atlantis PC-specific setup ### if [[ "$HOST" == "atlantispc" ]]; then - /usr/bin/xrandr --output DVI-D-1 --left-of HDMI-1 + /usr/bin/xrandr --output DVI-D-1 --right-of HDMI-1 #hc detect_monitors hc set swap_monitors_to_get_tag 0 # hc set_monitors 3840x1080+0+0 diff --git a/herbstluftwm/hl_panel_content.py b/herbstluftwm/hl_panel_content.py index 0addee7..59041b3 100755 --- a/herbstluftwm/hl_panel_content.py +++ b/herbstluftwm/hl_panel_content.py @@ -88,9 +88,9 @@ def bwp(): def countdown(): - delta = datetime(year=2018,month=7,day=23,hour=8) - datetime.now() + delta = datetime(year=2018,month=7,day=23,hour=12) - datetime.now() if delta.days > 1: - tmp = "{} von 150 Tagen bis Abgabe verbleibend".format(delta.days) + tmp = "{} days {} hours remaining".format(delta.days,int(delta.seconds/60/60)) else: tmp = "{}h bis BC Abgabe".format(delta.hours) tmp = hl_utils.color_panel(tmp,hl_utils.get_color(delta.days,0,180)) diff --git a/ssh/config b/ssh/config index 4b4a4c5..d43d3da 100644 --- a/ssh/config +++ b/ssh/config @@ -8,3 +8,6 @@ Host *.fauiwg.de Host *.cs.fau.de User ik15ydit IdentityFile ~/.ssh/cipkey +Host atlantishq.de + User root + IdentityFile ~/.ssh/atlantis