From 2e8708a6167a5fd2d2b1d496df0bfb03b3fec429 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Fri, 16 Dec 2022 19:33:50 +0100 Subject: [PATCH] Remove py3status configuration --- _machines/ares.yml | 1 - _machines/mars.yml | 1 - _machines/neptune.yml | 2 - i3/i3status.conf.j2 | 123 ------------------------------------------ 4 files changed, 127 deletions(-) delete mode 100644 i3/i3status.conf.j2 diff --git a/_machines/ares.yml b/_machines/ares.yml index 40c2a18..a2c5856 100644 --- a/_machines/ares.yml +++ b/_machines/ares.yml @@ -37,7 +37,6 @@ users: enable_passwordstore: true environment: MACHINE_HAS_NEXTCLOUD: "true" - has_yubikey: true repositories: - personal_projects diff --git a/_machines/mars.yml b/_machines/mars.yml index 4783f14..3304f2d 100644 --- a/_machines/mars.yml +++ b/_machines/mars.yml @@ -27,7 +27,6 @@ users: MACHINE_HAS_RESTIC_BACKUP: "true" MACHINE_HAS_ELEMENT: "false" MACHINE_HAS_KEEPASSX: "true" - has_yubikey: false repositories: [] - name: hannes-private group: hannes-private diff --git a/_machines/neptune.yml b/_machines/neptune.yml index fea89f9..b9b94e7 100644 --- a/_machines/neptune.yml +++ b/_machines/neptune.yml @@ -27,7 +27,6 @@ users: MACHINE_HAS_RESTIC_BACKUP: "true" MACHINE_HAS_ELEMENT: "false" MACHINE_HAS_KEEPASSX: "true" - has_yubikey: false repositories: [] overrides: terraform_version: 1.1.3 @@ -61,7 +60,6 @@ users: MACHINE_HAS_RESTIC_BACKUP: "false" MACHINE_HAS_ELEMENT: "true" MACHINE_HAS_KEEPASSX: "false" - has_yubikey: true repositories: - personal_projects diff --git a/i3/i3status.conf.j2 b/i3/i3status.conf.j2 deleted file mode 100644 index e9b5497..0000000 --- a/i3/i3status.conf.j2 +++ /dev/null @@ -1,123 +0,0 @@ -# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! - -general { - interval = 1 - # color = '#FFFFFF' - # color_good = '#00FF00' - # color_bad = '#FF0000' - # color_degraded = '#FFFF00' - color = '#FFFFFF' - color_good = '#FFFFFF' - color_bad = '#F92672' - color_degraded = '#F4Bf75' -} - - -order += spotify -{% if user.has_yubikey %} -order += "yubikey" -{% endif %} -order += "volume_status output" -order += "volume_status input" -order += "wifi" -order += "external_script presentation_mode" -order += "systemd redshift" -order += "systemd spotify" -order += online_status -order += "battery_level all" -order += "clock" - -battery_level all { - battery_id = "all" - format = " {icon} {percent}% " - measurement_mode = "sys" - charging_character = "" - blocks = "" - notification = true - hide_when_full = false - hide_seconds = true - notify_low_level = true - threshold_full = 95 -} - -systemd redshift { - unit = "redshift.service" - user = true - format = "  " - on_click 1 = "exec $HOME/.i3/scripts/toggle-app redshift" - color_bad = '#F4Bf75' - color_degraded = '#F4Bf75' -} - -systemd spotify { - unit = "spotify.service" - user = true - format = "  " - color_bad = '#F4Bf75' - color_degraded = '#F4Bf75' -} - -yubikey { - format = '[  YubiKey[\?if=is_gpg ][\?if=is_u2f ] ]' -} - -clock { - format = ["{DE}", "{NZ}", "{Cuba}", "{MX}", "{CZ}", "{NL}", "{VN}"] - format_time = "  {name} \[KW %V\] %a %d.%m.%Y %H:%M:%S " -} - -wifi { - bitrate_bad = 0 - bitrate_degraded = 0 - format = "  {signal_percent} {ssid} |  down " - down_color = "good" -} - -spotify { - format = "  {title} - {artist} " - format_down = "  off " - format_stopped = "  stopped " - cache_timeout = 1 - color_offline = '#FFFFFF' - on_click 1 = "exec $HOME/.i3/scripts/spotify-control toggle" - on_click 3 = "exec $HOME/.i3/scripts/spotify-control next" -} - -external_script presentation_mode { - format = " Present: {output} " - script_path = "$HOME/.i3/scripts/presentation-mode status" - strip_output = True - on_click 1 = "exec $HOME/.i3/scripts/presentation-mode toggle" - -} - -online_status { - icon_on = "" - icon_off = "" - format = " {icon} " -} - -volume_status output { - cache_timeout = 10 - format = "  {percentage}% " - format_muted = "  mute " - thresholds = [] - command = "pactl" - color_muted = '#FFFFFF' -} - -volume_status input { - cache_timeout = 10 - format = "  active " - format_muted = "  mute " - thresholds = [(0, 'good'), (1, 'bad')] - command = "pactl" - color_muted = '#FFFFFF' - is_input = True -}