Update alacritty, i3, qtile, ranger & add vi-mode in zsh

This commit is contained in:
Smirnov Olexandr 2021-01-18 22:04:54 +02:00
parent 73ebbfbe50
commit ed62788b9e
15 changed files with 132 additions and 95 deletions

View file

@ -1,6 +1,6 @@
#!/bin/sh
xautolock -time 5 -locker "betterlockscreen --off 300 -t \"Computer is lockerd\" -l" &
setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
nitrogen --restore &
picom --experimental-backends -b &
lxsession &
picom -b &

View file

@ -10,7 +10,7 @@ alt = "mod1"
terminal = "alacritty"
browser = "firefox"
filemanager = "thunar"
filemanager = f"{terminal} -e ranger"
editor = "alacritty -e nvim"
color = [
@ -54,6 +54,10 @@ keys = [
lazy.window.kill(),
desc="Kill focused window"
),
Key([mod, "shift"], "Tab",
lazy.window.toggle_floating(),
desc="Toggle floating mode"
),
Key([mod], "h",
lazy.layout.left(),
desc="Change focus window(left)"
@ -204,10 +208,10 @@ for i, (name, kwargs) in enumerate(group_names, 1):
# Window layout(s)
layout_theme = {
"border_width": 1,
"border_width": 2,
"margin": 2,
"border_focus": color[2],
"border_normal": color[1],
"border_normal": color[3],
"font": "Jatbrains Mono"
}
layouts = [
@ -230,7 +234,7 @@ layouts = [
widget_defaults = dict(
font="Jatbrains Mono",
fontsize=12,
padding=5,
padding=4,
foreground=color[0],
background=color[3],
)