mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Minimaze nvim config, update git config, clean configs
This commit is contained in:
parent
9b2871dd65
commit
1f5249ea78
25 changed files with 183 additions and 663 deletions
|
|
@ -14,7 +14,7 @@ terminal = "alacritty"
|
|||
browser = "firefox"
|
||||
filemanager = f"{terminal} --title=ranger -e ranger"
|
||||
editor = f"{terminal} --title=NVim -e nvim"
|
||||
guicodeeitor = "code"
|
||||
guicodeeitor = "code --disable-gpu"
|
||||
|
||||
# Set qtile colors
|
||||
color = [
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ from os import popen
|
|||
KBCMD = """
|
||||
case "$(xkblayout)" in
|
||||
"Eng") echo "us" ;;
|
||||
"Rus") echo "ru" ;;
|
||||
"Ukr") echo "ua" ;;
|
||||
esac
|
||||
"""
|
||||
|
|
@ -23,6 +22,8 @@ class KBLayout(base.InLoopPollText):
|
|||
base.InLoopPollText.__init__(self, **config)
|
||||
|
||||
def poll(self):
|
||||
kb = popen(KBCMD).read().rstrip('\n') \
|
||||
.encode('utf-8').decode('utf-8')
|
||||
kb = popen(KBCMD).read() \
|
||||
.rstrip('\n') \
|
||||
.encode('utf-8') \
|
||||
.decode('utf-8')
|
||||
return kb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue