Update i3status and switch back

This commit is contained in:
Colin Powell
2020-01-27 14:07:01 -05:00
parent b0159f22d1
commit e9aaf0ca1a
4 changed files with 93 additions and 37 deletions

View File

@ -52,7 +52,7 @@ window:
scrolling:
# Maximum number of lines in the scrollback buffer.
# Specifying '0' will disable scrolling.
history: 10000
history: 100000
# Number of lines the viewport will move for every line scrolled when
# scrollback is enabled (history > 0).
@ -91,7 +91,7 @@ font:
#style: Italic
# Point size
size: 7.0
size: 6.0
# Offset is the extra space around each character. `offset.y` can be thought of
# as modifying the line spacing, and `offset.x` as modifying the letter spacing.
@ -110,10 +110,10 @@ font:
#
# Thin strokes are suitable for retina displays, but for non-retina screens
# it is recommended to set `use_thin_strokes` to `false`
use_thin_strokes: true
use_thin_strokes: false
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
draw_bold_text_with_bright_colors: false
# Colors (Tomorrow Night Bright)
colors:

View File

@ -1,5 +1,5 @@
setxkbmap -model pc105 -layout us,ru -option grp:ctrls_toggle
setxkbmap -option caps:escape -option compose:ralt &
Xcursor*theme: dmz
Xcursor*theme: DMZ
Xcursor*size: 24

View File

@ -46,12 +46,16 @@ gaps outer $outer
# START POLYBAR
exec_always --no-startup-id ~/.config/polybar/launch.sh
#bar {
# position bottom
# position top
# status_command i3status
#}
#exec_always --no-startup-id ~/.config/polybar/launch.sh
bar {
position bottom
position top
status_command i3status -c ~/.config/i3status/i3status.conf
colors {
statusline #deedee
separator #777777
}
}
# CUSTOM BINDINGS
#bindsym $mod+shift+m exec --no-startup-id surf https://15five-dev.atlassian.net/secure/Dashboard.jspa
@ -247,18 +251,18 @@ bindsym $mod+Ctrl+F11 exec anypaste -x -s -p streamable $(last $casts)
bindsym $mod+Shift+F11 exec ffplay -loop 0 $(last $casts)
# MEDIA CONTROLS
bindsym $mod+slash exec amixer sset Master toggle
bindsym $mod+comma exec amixer sset Master 5%-
bindsym $mod+period exec amixer sset Master 5%+
bindsym $mod+ctrl+comma exec mixer vol 0
bindsym $mod+Ctrl+period exec mixer vol 100
bindsym $mod+comma exec mixer vol -10
bindsym $mod+period exec mixer vol +10
bindsym $mod+Shift+slash exec amixer set Capture toggle
bindsym $mod+Shift+comma exec amixer set Capture 5%-
bindsym $mod+Shift+period exec amixer set Capture 5%+
bindsym $mod+Shift+slash exec mixer mic 0
bindsym $mod+Shift+comma exec mixer mic -5
bindsym $mod+Shift+period exec mixer mic +5
bindsym XF86AudioRaiseVolume exec amixer sset Master 5%+
bindsym XF86AudioLowerVolume exec amixer sset Master 5%-
bindsym XF86AudioMute exec amixer sset Master toggle
bindsym XF86AudioMicMute exec amixer sset Capture toggle
##bindsym XF86AudioRaiseVolume exec mixer vol +5
##bindsym XF86AudioLowerVolume exec mixer vol -5
##bindsym XF86AudioMicMute exec mixer mic toggle
# Sreen brightness controls
bindsym XF86MonBrightnessUp exec ~/.config/i3/bright.sh -u # increase screen brightness
@ -269,7 +273,6 @@ bindsym XF86Search exec ~/.config/i3/bright.sh 1 # decrease screen brightness
bindsym $mod+space exec rofi -show combi -display-window "W"
# BACKGROUND
exec_always hsetroot -add "#c79081" -add "#dfa579" -gradient 0
exec feh --bg-scale ~/var/inbox/astrobin/`ls -Ar ~/var/inbox/astrobin | tail -n 1`
##### APP BINDS ###################################
@ -293,14 +296,6 @@ bindsym $mod+Ctrl+q exec $solobrowser https://15five.quip.com/
bindsym $mod+e exec emacsclient -c
bindsym $mod+Shift+e exec emacs -ib 16
#bindsym $mod+y exec
#bindsym $mod+Ctrl+y exec
#bindsym $mod+Shift+y exec
#bindsym $mod+u exec dolphin-emu
#bindsym $mod+Ctrl+u exec
#bindsym $mod+Shift+u exec
bindsym $mod+o exec rofi-now
bindsym $mod+Ctrl+o exec rofi-vol
bindsym $mod+Shift+o exec rofi-bat
@ -311,14 +306,10 @@ bindsym $mod+Shift+o exec rofi-bat
exec --no-startup-id unclutter -grab
# RELOAD
#exec_always --no-startup-id compton
exec_always --no-startup-id compton
exec_always --no-startup-id dunst
exec_always xrdb --merge ~/.Xresoureces
#exec_always xrandr --auto --output eDP-1 --below HDMI-1 --auto
# Setup Russian layout siwtching with Alt+Shift
#exec --no-startup-id xrdb ~/.Xresources
exec_always xrdb --merge ~/.Xresoureces
## Volume control
# Path to volume control, without trailing slash
set $volumepath ~/.config/i3/i3-volume
#set $volumepath ~/.config/i3/i3-volume

View File

@ -0,0 +1,65 @@
general {
output_format = "i3bar"
colors = true
interval = 5
color_good = '#88b000'
color_degraded = '#ccdc90'
color_bad = '#e89393'
}
order += "volume master"
order += "battery 0"
order += "disk /"
order += "cpu_temperature 0"
order += "load"
order += "wireless wlan0"
order += "ethernet em0"
order += "tztime local"
volume master {
format = "%volume  "
format_muted = " "
device = "default"
mixer = "Master"
mixer_idx = 0
}
ethernet em0 {
# if you use %speed, i3status requires root privileges
format_up = "%ip"
format_down = "ETH down"
}
wireless wlan0 {
format_up = " %essid %ip"
format_down = ""
}
cpu_temperature 0 {
format = " %degrees°"
}
tztime local {
format = "%V  %A %e %B  %H:%M:%S"
}
load {
format = " %1min"
}
disk "/" {
format = " %avail"
}
battery 0 {
format = "%status %percentage %remaining %emptytime"
last_full_capacity = true
integer_battery_capacity = true
low_threshold = 10
threshold_type = percentage
hide_seconds = true
format_down = " No bat"
status_unk = " "
status_chr = " "
status_bat = " "
status_full = " "
}