From 553cb2204b0bf27afe13c6332f5679bbd47172a0 Mon Sep 17 00:00:00 2001 From: srdusr Date: Wed, 24 Sep 2025 05:01:20 +0200 Subject: Update/Overhaul --- session | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100755 session (limited to 'session') diff --git a/session b/session deleted file mode 100755 index c798403..0000000 --- a/session +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -# Check if the desired session is provided as an argument -if [ "$1" ]; then - case "$1" in - bspwm | sway | Hyprland) - echo "$1" >~/.session - echo "Session choice set to: $1" - ;; - *) - echo "Unsupported session: $1" - ;; - esac - - # Kill the current X session or logout the user - pkill -KILL -u "$USER" -else - echo "Usage: switch_session.sh " - echo "Example: switch_session.sh bspwm" - exit 1 -fi -- cgit v1.2.3