|
1 | | -# LinuxCmdTaskSwicher |
2 | | - |
3 | | -This is a simple script I use with xbindkeys |
4 | | -to swich between tasks with one keykombination |
5 | | -it just swiches to the next task based on time that it was opened |
6 | | - |
7 | | -Main Repo: https://codeberg.org/marvin1099/LinuxCmdTaskSwicher |
8 | | -Backup Repo: https://github.com/marvin1099/LinuxCmdTaskSwicher |
9 | | - |
10 | | -# Install |
11 | | - |
12 | | -To use this script ou need to install: |
13 | | - ```xdotool xorg-xprop xorg-xwininfo``` |
14 | | -If you want to get notified on the desktop you also need the |
15 | | -"**notify-send**" command or you need to replace it in the script |
16 | | - |
17 | | -Then you just download the script on one of these options: |
18 | | -Main Repo: https://codeberg.org/marvin1099/LinuxCmdTaskSwicher/releases |
19 | | -Backup Repo: https://github.com/marvin1099/LinuxCmdTaskSwicher/releases |
20 | | - |
21 | | -# Usage |
22 | | - |
23 | | -To use it just run it in bash or add it in as a shortcut (For example in xbindkeys). |
24 | | -You can tell the script to show the Desktop after all programms are opened. |
25 | | -Also you can tell it to show desktop notifications (You need the "**notify-send**" comand for that). |
26 | | -The syntax is: |
27 | | - ```./SwitchOpenWindows.sh "Here-true-IfYouWantToShowDesktopOtherwise-false-" "Here-true-IfYouWantToShowNDesktopNotificationsOtherwise-false-"``` |
28 | | -You can also just use: |
29 | | - ```./SwitchOpenWindows.sh``` |
30 | | -and change the to start options in the script. |
31 | | -By default both of these options are set to false. |
| 1 | +# LinuxCmdTaskSwitcher |
| 2 | + |
| 3 | +This is a simple script I use with `xbindkeys` to switch between open tasks with a single key combination. |
| 4 | +It cycles through tasks based on the order in which they were opened. |
| 5 | + |
| 6 | +- **Main Repository**: [LinuxCmdTaskSwitcher on Codeberg](https://codeberg.org/marvin1099/LinuxCmdTaskSwicher) |
| 7 | +- **Backup Repository**: [LinuxCmdTaskSwitcher on GitHub](https://github.com/marvin1099/LinuxCmdTaskSwicher) |
| 8 | + |
| 9 | +## Installation |
| 10 | + |
| 11 | +To use this script, you need to install the following packages: |
| 12 | + |
| 13 | +```bash |
| 14 | +xdotool xorg-xprop xorg-xwininfo |
| 15 | +``` |
| 16 | + |
| 17 | +After that, you can download the script from one of these sources: |
| 18 | + |
| 19 | +- [Main Repository](https://codeberg.org/marvin1099/LinuxCmdTaskSwicher/releases) |
| 20 | +- [Backup Repository](https://github.com/marvin1099/LinuxCmdTaskSwicher/releases) |
| 21 | + |
| 22 | +## Usage |
| 23 | + |
| 24 | +To use the script, simply run it in a terminal or add it as a keyboard shortcut (for example, with `xbindkeys`). |
| 25 | + |
| 26 | +You can configure the script to show the desktop after switching between all open programs. |
| 27 | +Additionally, it can restore minimized windows after the desktop is shown. The syntax is as follows: |
| 28 | + |
| 29 | +```bash |
| 30 | +./SwitchOpenWindows.sh desktop=true restore=true |
| 31 | +``` |
| 32 | +You can replace `true` with `false` to customize your settings. |
| 33 | + |
| 34 | +If you'd like to run the script with default settings, you can simply execute: |
| 35 | + |
| 36 | +```bash |
| 37 | +./SwitchOpenWindows.sh |
| 38 | +``` |
| 39 | + |
| 40 | +### Default Settings |
| 41 | +- **desktop**: `false` (does not show the desktop by default) |
| 42 | +- **restore**: `true` (restores minimized windows by default) |
| 43 | + |
| 44 | +If `desktop` is set to `true` and all windows are minimized, |
| 45 | +the script will restore the previously minimized windows. |
| 46 | + |
| 47 | +## Notifications |
| 48 | + |
| 49 | +The notification feature was removed because it caused issues. |
| 50 | +Since the changes are usually obvious, keeping this feature was not necessary. |
0 commit comments