Update nvim, add remove polybar from i3wm

This commit is contained in:
Smirnov Olexandr 2021-02-12 19:50:43 +02:00
parent 3ebe332854
commit 9b2871dd65
5 changed files with 67 additions and 36 deletions

View file

@ -20,15 +20,15 @@ set $terminal alacritty
set $browser firefox
set $filemanager alacritty --title=ranger -e ranger
set $codeeditor alacritty --title=nvim -e nvim
set $guicode vscodium
set $guicode code
############ Autostart ############
exec_always --no-startup-id exec setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"
exec_always --no-startup-id exec picom --experimental-backends -b
exec_always --no-startup-id exec $HOME/.config/i3/bar.sh
#exec_always --no-startup-id exec $HOME/.config/i3/bar.sh
exec --no-startup-id exec nitrogen --restore
exec --no-startup-id exec lxsession
exec --no-startup-id exec $HOME/.script/autolock
#exec --no-startup-id exec $HOME/.script/autolock
#exec --no-startup-id exec org.telegram.desktop
#exec --no-startup-id exec discord
#exec --no-startup-id exec conky
@ -163,6 +163,22 @@ bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
############### Bar ###############
bar {
status_command i3status-rs ~/.config/i3/i3status-rs.toml
font pango:JetBrains Mono 10
position top
colors {
background #262A2B
statusline #FFFFFF
separator #58676C
focused_workspace #008DCD #008DCD #FFFFFF
active_workspace #262A2B #262A2B #FFFFFF
inactive_workspace #262A2B #262A2B #DFDFDF
urgent_workspace #FF6C6B #FF6C6B #FFFFFF
binding_mode #2F343A #900000 #FFFFFF
}
}
############## Colors #############
# Class Border Backgr Text Indicator Child_border
client.focused #008DCD #008DCD #FFFFFF #008DCD #008DCD

View file

@ -0,0 +1,39 @@
theme = "native"
icons = "awesome5"
### CPU load
[[block]]
block = "cpu"
interval = 5
### Blacklight
[[block]]
block = "backlight"
device = "intel_backlight"
### Volume
[[block]]
block = "sound"
step_width = 2
### WiFi signal
#[[block]]
#block = "custom"
#command = "cat /proc/net/wireless | grep \"wlp3s0\" | awk '{print $4}' | grep -o '[0-9]*'"
#interval = 10
### Keyboard layout
[[block]]
block = "custom"
interval = 0
command = """
case "$(xkblayout)" in
Eng) echo "us" ;;
Ukr) echo "ua" ;;
esac"""
### Date && time
[[block]]
block = "time"
interval = 60
format = "%H:%M"