Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
a262eca6
Commit
a262eca6
authored
Oct 17, 2018
by
Jay Ta'ala
Browse files
Added py3status external script to view which tty am on.
parent
fa112d04
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
a262eca6
...
@@ -131,7 +131,7 @@ bindsym $mod+Shift+z split h, layout stacked, focus left, move right, move up, f
...
@@ -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
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
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
# several 16:9 resolutions binded for quick switching
bindsym $mod+Shift+bracketleft exec xrandr -s 1024x576
bindsym $mod+Shift+bracketleft exec xrandr -s 1024x576
...
...
i3status/.i3status.conf.py3status
View file @
a262eca6
...
@@ -27,6 +27,7 @@ order += "diskdata"
...
@@ -27,6 +27,7 @@ order += "diskdata"
order += "battery_level"
order += "battery_level"
# order += "load"
# order += "load"
order += "timer"
order += "timer"
order += "external_script"
order += "tztime local"
order += "tztime local"
# order += "ipv6"
# order += "ipv6"
...
@@ -56,6 +57,11 @@ diskdata {
...
@@ -56,6 +57,11 @@ diskdata {
format = " ⛁ {used_percent}% (U:{used} GB, F:{free} GB) "
format = " ⛁ {used_percent}% (U:{used} GB, F:{free} GB) "
}
}
external_script {
format = "{output}"
script_path = "cat /sys/class/tty/tty0/active"
}
whatismyip {
whatismyip {
format = " {isp}\|{city}\|{countryCode} ({ip}) "
format = " {isp}\|{city}\|{countryCode} ({ip}) "
icon_on = ""
icon_on = ""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment