mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 16:51:34 +02:00
Update nvim, add remove polybar from i3wm
This commit is contained in:
parent
3ebe332854
commit
9b2871dd65
5 changed files with 67 additions and 36 deletions
|
|
@ -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
|
||||
|
|
|
|||
39
config/i3/i3status-rs.toml
Normal file
39
config/i3/i3status-rs.toml
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue