diff options
| author | srdusr <trevorgray@srdusr.com> | 2025-09-24 05:01:20 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2025-09-24 05:01:20 +0200 |
| commit | 553cb2204b0bf27afe13c6332f5679bbd47172a0 (patch) | |
| tree | 75c86ff018122a682e0afd7a0e2a0228a63e44bd /session | |
| parent | b20e4e004be74884cc72c57a3128e36fd5177d7a (diff) | |
| download | dotfiles-553cb2204b0bf27afe13c6332f5679bbd47172a0.tar.gz dotfiles-553cb2204b0bf27afe13c6332f5679bbd47172a0.zip | |
Update/Overhaul
Diffstat (limited to 'session')
| -rwxr-xr-x | session | 21 |
1 files changed, 0 insertions, 21 deletions
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 <session_name>" - echo "Example: switch_session.sh bspwm" - exit 1 -fi |
