From e146e947c52ac4adbe426b3f893faff1e46ed5f8 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 19 Apr 2016 15:24:25 +0100 Subject: Use GNU stow for dotfiles management --- bin/rename_workspace | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100755 bin/rename_workspace (limited to 'bin/rename_workspace') diff --git a/bin/rename_workspace b/bin/rename_workspace deleted file mode 100755 index 7636fd2..0000000 --- a/bin/rename_workspace +++ /dev/null @@ -1,12 +0,0 @@ -#!/usr/bin/env bash - -workspace=$(i3-msg -t get_outputs | grep -Po '"current_workspace":"[^\"]*"' | sed 's/"current_workspace":"\([^"]\+\)"/\1/g') -number=$(echo "${workspace//[!0-9]}") - -new_name=$(zenity --entry --title="Rename workspace" --entry-text "$workspace") -if [[ "$new_name" != *:* ]]; then - new_name="$number:$new_name" -fi - -echo $new_name -exec i3-msg rename workspace to "$new_name" -- cgit v1.2.3