From a0248688eb516bd9a0e22f8e526b857957c7aef4 Mon Sep 17 00:00:00 2001 From: The_miro Date: Thu, 29 May 2025 21:47:15 +0200 Subject: [PATCH] added template for toggles --- .../hyprland/scripts/_toggle_Template.tmplsh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 desktopenvs/hyprland/scripts/_toggle_Template.tmplsh diff --git a/desktopenvs/hyprland/scripts/_toggle_Template.tmplsh b/desktopenvs/hyprland/scripts/_toggle_Template.tmplsh new file mode 100755 index 0000000..bcdc56b --- /dev/null +++ b/desktopenvs/hyprland/scripts/_toggle_Template.tmplsh @@ -0,0 +1,15 @@ +#!/bin/bash + +statecon=$( echo "example" | grep x) +#notify-send $statecon +if [ "$statecon" != '' ]; then + + echo "ex" + +else + + echo "nx" + +fi + +