Skip to content

This is a simple bash cli script I use with xbindkeys to easily switch between tasks using a single key combination. It automatically switches to the next task based on the order in which windows were opened.

License

Notifications You must be signed in to change notification settings

marvin1099/LinuxCmdTaskSwicher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

LinuxCmdTaskSwitcher

This is a simple script I use with xbindkeys to switch between open tasks with a single key combination. It cycles through tasks based on the order in which they were opened.

Installation

To use this script, you need to install the following packages:

xdotool xorg-xprop xorg-xwininfo

After that, you can download the script from one of these sources:

Usage

To use the script, simply run it in a terminal or add it as a keyboard shortcut (for example, with xbindkeys).

You can configure the script to show the desktop after switching between all open programs.
Additionally, it can restore minimized windows after the desktop is shown. The syntax is as follows:

./SwitchOpenWindows.sh desktop=true restore=true

You can replace true with false to customize your settings.

If you'd like to run the script with default settings, you can simply execute:

./SwitchOpenWindows.sh

Default Settings

  • desktop: false (does not show the desktop by default)
  • restore: true (restores minimized windows by default)

If desktop is set to true and all windows are minimized,
the script will restore the previously minimized windows.

Notifications

The notification feature was removed because it caused issues. Since the changes are usually obvious, keeping this feature was not necessary.

About

This is a simple bash cli script I use with xbindkeys to easily switch between tasks using a single key combination. It automatically switches to the next task based on the order in which windows were opened.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages