Add i3status-rust
This commit is contained in:
parent
bda6da3dae
commit
a6845c050e
4 changed files with 72 additions and 8 deletions
|
@ -77,13 +77,13 @@ bindsym $mod+Shift+0 move container to workspace 10
|
|||
|
||||
# Resize
|
||||
mode "resize" {
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
bindsym Left resize shrink width 10 px or 10 ppt
|
||||
bindsym Down resize grow height 10 px or 10 ppt
|
||||
bindsym Up resize shrink height 10 px or 10 ppt
|
||||
bindsym Right resize grow width 10 px or 10 ppt
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
|
@ -91,5 +91,22 @@ bindsym $mod+r mode "resize"
|
|||
exec dex -as ~/.config/autostart
|
||||
|
||||
bar {
|
||||
status_command i3blocks
|
||||
font pango:DejaVu Sans Mono, Icons 8
|
||||
status_command i3blocks
|
||||
position top
|
||||
}
|
||||
|
||||
bar {
|
||||
font pango:DejaVu Sans Mono, Icons 8
|
||||
status_command i3status-rs ~/.config/i3/status.toml
|
||||
tray_output none
|
||||
colors {
|
||||
separator #666666
|
||||
statusline #dddddd
|
||||
focused_workspace #0088CC #0088CC #ffffff
|
||||
active_workspace #333333 #333333 #ffffff
|
||||
inactive_workspace #333333 #333333 #888888
|
||||
urgent_workspace #2f343a #900000 #ffffff
|
||||
}
|
||||
}
|
||||
|
||||
|
|
40
modules/i3/files/i3status.toml
Normal file
40
modules/i3/files/i3status.toml
Normal file
|
@ -0,0 +1,40 @@
|
|||
theme = "plain"
|
||||
icons = "awesome"
|
||||
|
||||
[[block]]
|
||||
block = "xrandr"
|
||||
interval = 2
|
||||
icons = true
|
||||
|
||||
[[block]]
|
||||
block = "temperature"
|
||||
interval = 10
|
||||
|
||||
[[block]]
|
||||
block = "music"
|
||||
player = "spotify"
|
||||
marquee = true
|
||||
buttons = ["play", "next"]
|
||||
|
||||
[[block]]
|
||||
block = "memory"
|
||||
format_mem = "{Mup}%"
|
||||
clickable = false
|
||||
|
||||
[[block]]
|
||||
block = "cpu"
|
||||
interval = 1
|
||||
|
||||
[[block]]
|
||||
block = "sound"
|
||||
interval = 1
|
||||
step_width = 2
|
||||
|
||||
[[block]]
|
||||
block = "battery"
|
||||
interval = 3
|
||||
|
||||
[[block]]
|
||||
block = "time"
|
||||
interval = 1
|
||||
format = "%Y-%d-%m %T"
|
|
@ -14,4 +14,11 @@ class i3 {
|
|||
mode => "0644",
|
||||
source => 'puppet:///modules/i3/i3blocks.conf'
|
||||
}
|
||||
|
||||
file { "i3status config":
|
||||
path => '/home/jake/.config/i3/status.toml',
|
||||
ensure => file,
|
||||
mode => "0644",
|
||||
source => 'puppet:///modules/i3/i3status.toml'
|
||||
}
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ class yaourt::packages () {
|
|||
'htop',
|
||||
'i3blocks-gaps-git',
|
||||
'i3lock',
|
||||
'i3status',
|
||||
'i3status-rust',
|
||||
'i3lock-wrapper',
|
||||
'i3-gaps',
|
||||
'ibus',
|
||||
|
|
Loading…
Reference in a new issue