aboutsummaryrefslogtreecommitdiff
path: root/i3pystatus
diff options
context:
space:
mode:
authorneodarz <neodarz@neodarz.net>2017-07-29 16:46:09 +0200
committerneodarz <neodarz@neodarz.net>2017-07-29 16:46:09 +0200
commitbffabd904c09d82e04558500d658671b8eb360d5 (patch)
treef2b6cc8f9ebd293a03b2daf4b3afc44c5d5acd67 /i3pystatus
parent502b9d634a866831d4f0a1f19c47860b9f686dce (diff)
downloaddotfiles_ascii-t410.tar.xz
dotfiles_ascii-t410.zip
updatet410
Diffstat (limited to 'i3pystatus')
-rw-r--r--i3pystatus/.config/i3pystatus/conf.py55
1 files changed, 13 insertions, 42 deletions
diff --git a/i3pystatus/.config/i3pystatus/conf.py b/i3pystatus/.config/i3pystatus/conf.py
index 4359251..e1dfcfa 100644
--- a/i3pystatus/.config/i3pystatus/conf.py
+++ b/i3pystatus/.config/i3pystatus/conf.py
@@ -3,29 +3,19 @@ from i3pystatus import Status
status = Status(logfile='/home/neodarz/i3pystatus.log')
-status.register("text",
- text=" ░▒▓█",)
status.register("keyboard_locks",
format="{caps} {num}",
- hints = {"separator": False, "separator_block_width": 0},
caps_off="",
num_off="",)
-status.register("text",
- text=" ░▒▓█▓▒░ ",
- hints = {"separator": False, "separator_block_width": 0},)
# Displays clock like this:
# Tue 30 Jul 11:59:46 PM KW31
# ^-- calendar week
status.register("clock",
- format=" %a %-d %b  %X",
- hints = {"separator": False, "separator_block_width": 0},)
+ format=(' %a %-d %b  %X S%V', 'Europe/Paris'))
-status.register("text",
- text=" ░▒▓█▓▒░ ",
- hints = {"separator": False, "separator_block_width": 0},)
@@ -56,12 +46,8 @@ status.register("battery",
"DIS": "↓",
"CHR": "↑",
"FULL": "=",
- },
- hints = {"markup": "pango", "separator": False, "separator_block_width": 0},)
+ })
-status.register("text",
- text=" ░▒▓█▓▒░ ",
- hints = {"separator": False, "separator_block_width": 0},)
# Displays whether a DHCP client is running
#status.register("runwatch",
@@ -84,45 +70,29 @@ status.register("network",
interface="enp3s0",
format_up="<span color=\"#138491\"> {v4cidr}</span>",
format_down="<span color=\"#138491\"></span>",
- hints = {"markup": "pango", "separator": False, "separator_block_width": 0},)
+ hints = {"markup": "pango"},)
-status.register("text",
- text=" ░▒▓█▓▒░ ",
- hints = {"separator": False, "separator_block_width": 0},)
+#status.register("network",
+# interface="wlp3s0",
+# format_up=" {essid}  {quality:03.0f}%",
+# format_down="",
+# hints = {"markup": "pango"},)
-# Note: requires both netifaces and basiciw (for essid and quality)
-status.register("network",
- interface="wlp3s0",
- format_up=" {essid}  {quality:03.0f}%",
- format_down="",
- hints = {"markup": "pango", "separator": False, "separator_block_width": 0},)
-
-status.register("text",
- text=" ░▒▓█▓▒░ ",
- hints = {"separator": False, "separator_block_width": 0},)
# Shows disk usage of /
# Format:
# 42/128G [86G]
status.register("disk",
path="/",
- format=" {avail}G",
- hints = {"separator": False, "separator_block_width": 0},)
+ format=" {avail}G")
-status.register("text",
- text=" ░▒▓█▓▒░ ",
- hints = {"separator": False, "separator_block_width": 0},)
# Shows pulseaudio default sink volume
#
# Note: requires libpulseaudio from PyPI
status.register("pulseaudio",
- format="{volume}",format_muted="",
- hints = {"separator": False, "separator_block_width": 0},)
+ format="{volume}",format_muted="")
-status.register("text",
- text=" █▓▒░ ",
- hints = {"separator": False, "separator_block_width": 0},)
#status.register("backlight",
# format="{brightness}",)
@@ -133,14 +103,15 @@ status.register("text",
# Shows mpd status
# Format:
# Cloud connected▶Reroute to Remain
+status.register("taskwarrior")
+
status.register("cmus",
format="{status} {song_elapsed}/{song_length} {artist} - {title}",
status={
"stopped": "◾",
"playing": "▶",
"paused": "▷",
- },format_not_running="",
- hints = {"separator": False, "separator_block_width": 0},)
+ },format_not_running="")
status.register("now_playing",