From 1e70b45c1b7d9fe6eb99fcac2115199568d0b5bd Mon Sep 17 00:00:00 2001 From: Mateja Date: Thu, 1 Oct 2020 01:37:42 +0200 Subject: Circumventing Qtile's keyboard layout bug and adding mpd to autostart.sh --- .config/mpd/mpd.conf | 4 ++-- .config/qtile/autostart.sh | 4 ++-- .config/qtile/config.py | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 31de141..109b423 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -11,8 +11,8 @@ log_file "syslog" # pid file not needed, but why not pid_file "~/.local/share/mpd/pid" -# don't remember state before restart -#state_file "~/.local/share/mpd/state" +# remember state before restart +state_file "~/.local/share/mpd/state" # dynamic information attached to songs. sticker_file "~/.local/share/mpd/sticker.sql" diff --git a/.config/qtile/autostart.sh b/.config/qtile/autostart.sh index c6aa19e..434d2ea 100755 --- a/.config/qtile/autostart.sh +++ b/.config/qtile/autostart.sh @@ -1,10 +1,10 @@ #!/bin/sh xset -b -# Handled by qtile -#setxkbmap -option caps:swapescape +setxkbmap -option caps:swapescape #setxkbmap -layout us,rs -variant ,alternatequotes -option grp:alt_shift_toggle,caps:swapescape numlockx & dunst & udiskie & picom & feh --bg-fill ~/stuff/pictures/alps-house.jpg +mpd & diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 5725d4a..5216098 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -140,8 +140,9 @@ screens = [ widget.KeyboardLayout( configured_keyboards=['us', 'rs alternatequotes'], display_map={'us': 'english', - 'rs alternatequotes': 'serbian'}, - option="caps:swapescape" + 'rs alternatequotes': 'serbian'} + # option is buggy... + # option='caps:swapescape' ), widget.Systray(), #  墳 婢 -- cgit v1.2.3