diff --git a/TODO.md b/TODO.md new file mode 100644 index 0000000..a153c2a --- /dev/null +++ b/TODO.md @@ -0,0 +1,3 @@ +# TODO +- [ ] Integrate networkmanager-dmenu (this depends on how I will implement either polkit or sudoers changes) +- [ ] Bind to disable touchpad diff --git a/config.h b/config.h index 2e101f1..4239c72 100644 --- a/config.h +++ b/config.h @@ -1,6 +1,6 @@ /* See LICENSE file for copyright and license details. */ #define BROWSER "firefox" -#define TERMINAL "kitty" +#define TERMINAL "kitty" /* WARN: The scratchpad commands on lines 105 - 111 set kitty config options */ #define PLAYERCTL "firefox" /* this is currently only passed to playerctl as the client to control */ /* appearance */ static const unsigned int borderpx = 2; @@ -115,7 +115,7 @@ static const char *sphelp[] = { "n", TERMINAL,"-o", "background_opacity=0.8", "- static const Key keys[] = { /* modifier key function argument */ { MODKEY, XK_F1, togglescratch, {.v = sphelp} }, - { MODKEY, XK_F2, spawn, SHCMD("pidof picom && killall picom || setsid -f picom") }, + { MODKEY, XK_F2, spawn, SHCMD("pidof xcompmgr && killall xcompmgr || setsid -f xcompmgr") }, { MODKEY, XK_F3, togglescratch, {.v = spmix} }, // { MODKEY, XK_F4, spawn, {.v = (const char *[]){NULL}} }, // { MODKEY, XK_F5, spawn, {.v = (const char *[]){NULL}} }, diff --git a/test.sh b/test.sh deleted file mode 100755 index 4ebe924..0000000 --- a/test.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash -#set -o xtrace -set -o errexit -o nounset -o pipefail -o errtrace -IFS=$'\n\t' - -disp_num=1 - -disp=:$disp_num -Xephyr -screen 2560x1440 $disp -ac -br -sw-cursor & -pid=$! -while [ ! -e /tmp/.X11-unix/X${disp_num} ] ; do - sleep 0.1 -done - -export DISPLAY=$disp - -xrdb "${XDG_CONFIG_HOME:-$HOME/.config}/x11/xresources" & xrdbpid=$! -setbg & -remaps & -[ -n "$xrdbpid" ] && wait "$xrdbpid" -./dwm - -kill $pid -exit 0