aboutsummaryrefslogtreecommitdiff
path: root/.config/qtile
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-09-01 16:20:40 +0200
committerMateja <mail@matejamaric.com>2020-09-01 16:20:40 +0200
commit77f4ff43b8c98f1480cdcb0103980ff030cec156 (patch)
treeab79ed2b8682649a9ae757f00b417b42880b3089 /.config/qtile
parentd91f16a96662b559893b049840e8599847877c33 (diff)
downloaddotfiles-77f4ff43b8c98f1480cdcb0103980ff030cec156.tar.gz
dotfiles-77f4ff43b8c98f1480cdcb0103980ff030cec156.zip
Nord theme for Termite. Qtile autostart. bash_profile don't force startx.
Diffstat (limited to '.config/qtile')
-rwxr-xr-x.config/qtile/autostart.sh8
-rw-r--r--.config/qtile/config.py16
2 files changed, 22 insertions, 2 deletions
diff --git a/.config/qtile/autostart.sh b/.config/qtile/autostart.sh
new file mode 100755
index 0000000..c05510b
--- /dev/null
+++ b/.config/qtile/autostart.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+xset -b
+setxkbmap -option caps:swapescape
+#setxkbmap -layout us,rs -variant ,alternatequotes -option grp:alt_shift_toggle,caps:swapescape
+dunst &
+udiskie &
+#picom &
+feh --bg-fill ~/stuff/pictures/alps-house.jpg
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 8315d83..34b104d 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -24,18 +24,30 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+import os
+import subprocess
+
from typing import List # noqa: F401
-from libqtile import bar, layout, widget
+from libqtile import bar, layout, widget, hook
from libqtile.config import Click, Drag, Group, Key, Screen
from libqtile.lazy import lazy
from libqtile.utils import guess_terminal
mod = "mod4"
-#terminal = guess_terminal()
terminal = "termite"
+@hook.subscribe.startup_once
+def autostart():
+ home = os.path.expanduser('~/.config/qtile/autostart.sh')
+ subprocess.call([home])
+
keys = [
+ #MY KEYS
+ Key([mod], "t", lazy.window.toggle_floating(),
+ desc="Toggle floating"),
+ ########
+
# Switch between windows in current stack pane
Key([mod], "k", lazy.layout.down(),
desc="Move focus down in stack pane"),