From 32aaecc3f69fcb6cf9063897eb62e34095267e9f Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Tue, 10 Dec 2024 17:59:13 +0100 Subject: Forgot stuff --- Makefile | 4 ++-- old/xprop-active-window-id | 6 ++++++ xprop-active-window-id | 6 ------ 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100755 old/xprop-active-window-id delete mode 100755 xprop-active-window-id diff --git a/Makefile b/Makefile index e611ccf..b2d44ae 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,7 @@ PREFIX = /usr/local -SCRIPTS = addressgrep \ +SCRIPTS = 2fa \ + addressgrep \ alg \ battery-checknow \ battery-status \ @@ -41,7 +42,6 @@ SCRIPTS = addressgrep \ virename \ xedit \ xedit-filter \ - xprop-active-window-id \ xroot-update \ xwallpaper-random-notify diff --git a/old/xprop-active-window-id b/old/xprop-active-window-id new file mode 100755 index 0000000..97cf60f --- /dev/null +++ b/old/xprop-active-window-id @@ -0,0 +1,6 @@ +#!/bin/sh + +# Get the ID of the current active window (hexadecimal) +# Requires: xprop + +xprop -root | grep _NET_ACTIVE_WINDOW | head -1 | sed 's/.* //' diff --git a/xprop-active-window-id b/xprop-active-window-id deleted file mode 100755 index 97cf60f..0000000 --- a/xprop-active-window-id +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh - -# Get the ID of the current active window (hexadecimal) -# Requires: xprop - -xprop -root | grep _NET_ACTIVE_WINDOW | head -1 | sed 's/.* //' -- cgit v1.3