Badrmoh / swprimon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Switch primary monitor

Description

Switch primary screen between any number of monitors with interactive option

Requirements

  • bash
  • xrandr
  • notify-send

Setup

cp swprimon.sh ~/.local/bin/swprimon

Note: make sure ~/.local/bin/ exists and in PATH

Usage

  • Interactive: SWPRIMON_INT=1 swprimon

    > SWPRIMON_INT=1 swprimon
    select new primary monitor:
    - *XWAYLAND2
    - XWAYLAND0
    - XWAYLAND1
    Enter Monitor name:
    
  • Non-Interactive: Set keboard shorcut from Settings -> Devices -> Keyboard -> +

About


Languages

Language:Shell 100.0%