aboutsummaryrefslogtreecommitdiff
path: root/i3
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--i3/.config/i3/config4
-rw-r--r--i3pystatus/.config/i3pystatus/conf.py55
2 files changed, 15 insertions, 44 deletions
diff --git a/i3/.config/i3/config b/i3/.config/i3/config
index 73b7c39..36622e6 100644
--- a/i3/.config/i3/config
+++ b/i3/.config/i3/config
@@ -96,7 +96,7 @@ bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
bindsym --release Num_Lock exec pkill -SIGRTMIN+11 i3blocks
# App
-bindsym --release $WinKey+o exec scrot ~/screenshots/%b\ %d-%H:%M:%S.png
+bindsym --release $WinKey+o exec scrot -s ~/screenshots/%Y-%m-%d-%H:%M:%S.png
bindsym $WinKey+Shift+F1 exec qterminal -e ranger
bindsym $WinKey+Shift+F2 exec qterminal -e cmus
bindsym $WinKey+Shift+F3 exec qterminal -e mutt
@@ -105,7 +105,7 @@ bindsym $WinKey+Shift+F5 exec firefox
bindsym $WinKey+Shift+F6 exec qterminal -e atom
bindsym $WinKey+Shift+F7 exec terminator -e ncmpcpp
bindsym $WinKey+Shift+v move morkspace to output right
-bindsym $WinKey+control+l exec i3lock -g
+bindsym $WinKey+control+l exec i3lock-fancy
#bindsym $WinKey+Shift+$AltKey+0 exec ~/.config/i3/switch-workspace.py 6
# start a terminal
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",