From 6e76cd094d6a272c7b204e482c96aa8eb9b5c67f Mon Sep 17 00:00:00 2001 From: Gil Portenseigne Date: Wed, 25 Sep 2024 23:38:39 +0200 Subject: [PATCH] ajoute thunderbird. --- .config/sxhkd/sxhkdrc | 6 +++++- .local/bin/run-or-raise | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100755 .local/bin/run-or-raise diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 847a9e6..428994d 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -1,8 +1,12 @@ ctrl + alt + l passmenu2 +super + m + run-or-raise thunderbird +super + w +run-or-raise firefox super + Return - st + run-or-raise st ## wm independent hotkeys ## # diff --git a/.local/bin/run-or-raise b/.local/bin/run-or-raise new file mode 100755 index 0000000..99a2887 --- /dev/null +++ b/.local/bin/run-or-raise @@ -0,0 +1,2 @@ +#!/bin/bash +wmctrl -x -a "$1" || $1