aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-10-01 01:37:42 +0200
committerMateja <mail@matejamaric.com>2020-10-01 01:37:42 +0200
commit1e70b45c1b7d9fe6eb99fcac2115199568d0b5bd (patch)
treeedc915500312353b29c1cfb19a3a96c5d7460c0f
parent3fe6eaa9a8d12d99e0f0e449aa4bf9f0d850d3f2 (diff)
downloaddotfiles-1e70b45c1b7d9fe6eb99fcac2115199568d0b5bd.tar.gz
dotfiles-1e70b45c1b7d9fe6eb99fcac2115199568d0b5bd.zip
Circumventing Qtile's keyboard layout bug and adding mpd to autostart.sh
-rw-r--r--.config/mpd/mpd.conf4
-rwxr-xr-x.config/qtile/autostart.sh4
-rw-r--r--.config/qtile/config.py5
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(),
#  墳 婢