diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-07 00:15:00 -0600 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-07 00:15:00 -0600 |
commit | 705b49a0d66cfaaa3b41bbba651e6c614cdfbced (patch) | |
tree | 6bff935791d4f08295d1a15e091524379d42a1cb /x11 | |
parent | eb0ec035d14325a6b7bbb4fa3fe294a7beee2b9f (diff) | |
download | scripts-705b49a0d66cfaaa3b41bbba651e6c614cdfbced.tar.xz scripts-705b49a0d66cfaaa3b41bbba651e6c614cdfbced.zip |
start of compress script, core dump script, lsdu, and setup script
Diffstat (limited to 'x11')
-rwxr-xr-x | x11/settitle | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/x11/settitle b/x11/settitle index df613ca..7cdd7d1 100755 --- a/x11/settitle +++ b/x11/settitle @@ -1,3 +1,4 @@ -#!/usr/bin/env bash -xdotool getactivewindow set_window --class "$1" -[ -z "$2" ] && echo -en "\e]0;$2\a" +#!/bin/sh +xdotool set_window --class "$2" $(xdotool search --pid $1) # command chaining doesnt work for some reason +#xdotool getactivewindow set_window --class "$1" +#[ -z "$2" ] && echo -n "\e]0;$2\a" |