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
ddf877d5
Commit
ddf877d5
authored
Jul 29, 2018
by
Jay Ta'ala
Browse files
Added example config for i3status-rust. Added config loader to i3/config.
parent
82a9bf49
Changes
2
Hide whitespace changes
Inline
Side-by-side
i3/config
View file @
ddf877d5
...
@@ -360,32 +360,49 @@ set_from_resource $term_color15 color15
...
@@ -360,32 +360,49 @@ set_from_resource $term_color15 color15
set $acolour #eb564d
set $acolour #eb564d
# Start i3bar to display a workspace bar (plus the system information i3status if available)
# Start i3bar to display a workspace bar (plus the system information i3status if available)
bar {
#bar {
i3bar_command i3bar
# i3bar_command i3bar
status_command py3status -c ~/.i3status.conf
# status_command py3status -c ~/.i3status.conf
position bottom
# position bottom
#
## please set your primary output first. Example: 'xrandr --output eDP1 --primary'
### please set your primary output first. Example: 'xrandr --output eDP1 --primary'
# tray_output primary
## tray_output primary
# tray_output eDP1
## tray_output eDP1
#
bindsym button4 nop
# bindsym button4 nop
bindsym button5 nop
# bindsym button5 nop
# font xft:URWGothic-Book 11
## font xft:URWGothic-Book 11
strip_workspace_numbers yes
# strip_workspace_numbers yes
#
# colors {
# background #4a4a4a
# statusline #F9FAF9
# separator #454947
#
## border backgr. text
# focused_workspace #F9FAF9 $acolour #F9FAF9
# active_workspace #595B5B #353836 #FDF6E3
# inactive_workspace #595B5B #283339 #EEE8D5
# binding_mode $acolour #2C2C2C #F9FAF9
# urgent_workspace $acolour #FDF6E3 #E5201D
# }
#}
colors {
bar {
font pango:DejaVu Sans Mono, FontAwesome 12
position bottom
status_command /usr/bin/i3status-rs ~/.i3status-rust.toml
colors {
background #4a4a4a
background #4a4a4a
statusline #F9FAF9
statusline #F9FAF9
separator #454947
separator #454947
# border backgr. text
# border backgr. text
focused_workspace #F9FAF9 $acolour #F9FAF9
focused_workspace #F9FAF9 $acolour #F9FAF9
active_workspace #595B5B #353836 #FDF6E3
active_workspace #595B5B #353836 #FDF6E3
inactive_workspace #595B5B #283339 #EEE8D5
inactive_workspace #595B5B #283339 #EEE8D5
binding_mode $acolour #2C2C2C #F9FAF9
binding_mode $acolour #2C2C2C #F9FAF9
urgent_workspace $acolour #FDF6E3 #E5201D
urgent_workspace $acolour #FDF6E3 #E5201D
}
}
}
}
# hide/unhide i3status bar
# hide/unhide i3status bar
...
...
i3status/.i3status-rust.toml
0 → 100644
View file @
ddf877d5
theme
=
"solarized-dark"
icons
=
"awesome"
[[block]]
block
=
"disk_space"
path
=
"/"
alias
=
"/"
inf
o_type
=
"available"
unit
=
"GB"
interval
=
20
warning
=
20.0
alert
=
10.0
[[block]]
block
=
"memory"
display_type
=
"memory"
format_mem
=
"{Mup}%"
format_swap
=
"{SUp}%"
[[block]]
block
=
"cpu"
interval
=
1
[[block]]
block
=
"load"
interval
=
1
format
=
"{1m}"
[[block]]
block
=
"sound"
[[block]]
block
=
"time"
interval
=
60
format
=
"%a %d/%m %R"
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