My Qtile window manager configuration
git clone https://github.com/m-col/qtile-config
Files | Refs | Readme

Commit ba5c2cde7f199d54f288cf44bf91d06d4a395dcd
Parent: cf7eba341a6f5b015530b8aba91ac044045b89d4
Author: mcol <mcol@posteo.net>
Date: 2021-06-17 00:38:43 +0100
Committer: mcol <mcol@posteo.net>
Committed: 2021-06-17 00:38:43 +0100

misc updates

wayland.py Modified

@@ -38,7 +38,7 @@
 
 # Configure libinput devices
 wayland_libinput_config = {
-    "type:pointer": InputConfig(drag=True, tap=True)
+    "type:pointer": InputConfig(drag=True, tap=True, pointer_accel=0.4)
 }
 
 

startup.sh Modified

@@ -16,17 +16,19 @@
 
 
 # Things after this are only run on a TTY
-[[ -n "$QTILE_XEPHYR" ]] && exit  
+[[ -n "$QTILE_XEPHYR" ]] || exit  
 
 
-run_if_new() { pgrep $1 &> /dev/null || $@ &; }
+run_if_new() { pgrep $1 || $@; }
 
-run_if_new mako
-run_if_new keepassxc
+{
+    run_if_new mako &
+    run_if_new keepassxc &
 
-pgrep wlsunset && pkill -SIGKILL wlsunset
-wlsunset -t 3100 -T 5700 -l 55.7 -L -3.1 &> /dev/null
+    pgrep wlsunset && pkill -SIGKILL wlsunset
+    wlsunset -t 3100 -T 5700 -l 55.7 -L -3.1 &
+    kanshi &
+} &> /dev/null
 
-sleep 5
+sleep 3
 check_systemd
-kanshi &> /dev/null &

groups.py Modified

@@ -106,7 +106,7 @@
 
 
 @hook.subscribe.screen_change
-def _():
+def _(_):
     # Set groups to screens
     if len(qtile.screens) > 1:
         if qtile.screens[0].group.name not in '123':

config.py Modified

@@ -465,7 +465,7 @@
     Screen(
         bottom=bar.Bar(
             [
-                groupboxes[1], cpugraph,  # Left
+                groupboxes[1], cpugraph, prompt,  # Left
                 widget.Spacer(),
                 mpd2,  # Centre
                 widget.Spacer(),