From 445bfaa764e0852d29d820794e02257f7deac05b Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Fri, 26 May 2023 11:53:18 +0200 Subject: [PATCH 1/2] nuke picomm --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}} }, From a09ff841b9b30c3852b1144bdddd901729f64424 Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Mon, 29 May 2023 22:19:16 +0200 Subject: [PATCH 2/2] add todo add todo --- TODO.md | 3 +++ test.sh | 24 ------------------------ 2 files changed, 3 insertions(+), 24 deletions(-) create mode 100644 TODO.md delete mode 100755 test.sh 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/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