Add i3 configurations
- First status_bar changes - Changed locking binds
This commit is contained in:
@@ -180,4 +180,13 @@ bar {
|
||||
status_command i3status
|
||||
}
|
||||
|
||||
bindsym $mod+Shift+d exec "xlock"
|
||||
mode "lock-screen" {
|
||||
bindsym $mod+b exec "xlock -mode blank"
|
||||
bindsym $mod+d exec "xlock -mode matrix"
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+Shift+d mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+Shift+d mode "lock-screen"
|
||||
# xrandr --output DVI-I-1 --auto --right-of VGA-1
|
||||
|
||||
46
dotfiles/config/i3status/config
Normal file
46
dotfiles/config/i3status/config
Normal file
@@ -0,0 +1,46 @@
|
||||
general {
|
||||
output_format = "i3bar"
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "battery all"
|
||||
order += "disk /"
|
||||
order += "load"
|
||||
order += "memory"
|
||||
order += "tztime local"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%status %percantage %remaining"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
# format = "free" # also shows reserved
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
memory {
|
||||
format = "%used of %available"
|
||||
threshold_degraded = "1G"
|
||||
format_degraded = "MEMORY < %available"
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
Reference in New Issue
Block a user