Commit a262eca6 authored by Jay Ta'ala's avatar Jay Ta'ala
Browse files

Added py3status external script to view which tty am on.

parent fa112d04
......@@ -131,7 +131,7 @@ bindsym $mod+Shift+z split h, layout stacked, focus left, move right, move up, f
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
bindsym --whole-window $mod+button1 fullscreen toggle
bindsym --whole-window $mod+Shift+button1 fullscreen toggle
# several 16:9 resolutions binded for quick switching
bindsym $mod+Shift+bracketleft exec xrandr -s 1024x576
......
......@@ -27,6 +27,7 @@ order += "diskdata"
order += "battery_level"
# order += "load"
order += "timer"
order += "external_script"
order += "tztime local"
# order += "ipv6"
......@@ -56,6 +57,11 @@ diskdata {
format = " ⛁ {used_percent}% (U:{used} GB, F:{free} GB) "
}
external_script {
format = "{output}"
script_path = "cat /sys/class/tty/tty0/active"
}
whatismyip {
format = "  {isp}\|{city}\|{countryCode} ({ip}) "
icon_on = ""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment