summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rwxr-xr-xx11/capsmap1
-rwxr-xr-xx11/settitle3
2 files changed, 3 insertions, 1 deletions
diff --git a/x11/capsmap b/x11/capsmap
index ad107da..36c5eb1 100755
--- a/x11/capsmap
+++ b/x11/capsmap
@@ -1,5 +1,4 @@
#!/bin/sh
-
# Remap caps to super when held
setxkbmap -option caps:super
# Remap caps to escape when pressed
diff --git a/x11/settitle b/x11/settitle
new file mode 100755
index 0000000..df613ca
--- /dev/null
+++ b/x11/settitle
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+xdotool getactivewindow set_window --class "$1"
+[ -z "$2" ] && echo -en "\e]0;$2\a"