mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 01:27:17 +00:00
ItsDrike
ac23da55c5
This configuration was simply copied from my old Arch Linux system. There are some issues that still need to be solved, namely with fonts and missing bitcoin price script, but it's mostly minor.
14 lines
383 B
Bash
Executable file
14 lines
383 B
Bash
Executable file
#!/bin/env bash
|
|
|
|
# shellcheck source=include
|
|
source "./scripts/include"
|
|
|
|
if [ "$1" = "--switch" ]; then
|
|
$HOME/.local/bin/scripts/gui/hyprland/swap-workspace "$2" >/dev/null
|
|
# hyprctl dispatch workspace "$2" >/dev/null
|
|
elif [ "$1" = "--loop" ]; then
|
|
hyprland_ipc "workspace|createworkspace|destroyworkspace" | ./scripts/workspaces.py "$@"
|
|
else
|
|
./scripts/workspaces.py "$@"
|
|
fi
|