From 7791c200d9b385f722863cbaf2341dafffdb272f Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Fri, 18 Nov 2016 22:28:31 -0500 Subject: Update bspwm & sxhkd dots --- sxhkd/.local/bin/em | 13 ------------- sxhkd/.local/bin/toggle-mouse | 11 ----------- 2 files changed, 24 deletions(-) delete mode 100755 sxhkd/.local/bin/em delete mode 100755 sxhkd/.local/bin/toggle-mouse (limited to 'sxhkd/.local/bin') diff --git a/sxhkd/.local/bin/em b/sxhkd/.local/bin/em deleted file mode 100755 index 6d087f3..0000000 --- a/sxhkd/.local/bin/em +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh - -if [ -z "$DISPLAY" ]; then - IS_GRAPHICAL=true -else - IS_GRAPHICAL=$(emacs --batch -Q --eval='(if (fboundp '"'"'tool-bar-mode) (message "true") (message "false"))' 2>&1) -fi - -if $IS_GRAPHICAL; then - emacsclient -a "" -nc "$@" -else - emacsclient -a "" -t "$@" -fi diff --git a/sxhkd/.local/bin/toggle-mouse b/sxhkd/.local/bin/toggle-mouse deleted file mode 100755 index 906fdbb..0000000 --- a/sxhkd/.local/bin/toggle-mouse +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -touchpad_off="$(synclient -l | grep TouchpadOff | cut -d'=' -f 2 | xargs)" - -if [ "$touchpad_off" = "0" ]; then - synclient TouchpadOff=1 - unclutter -idle 1 & -else - synclient TouchpadOff=0 - killall unclutter -fi -- cgit v1.2.3-60-g2f50