Skip to content

flasherxgapple/linux-scripts

Repository files navigation

Linux Scripts

A collection of useful shell scripts for Linux.

Scripts

aircrack.sh

A shell script to deauth attack a wifi network.

Dependencies:

  • aircrack-ng

Usage:

./aircrack.sh

AirplaneMode.sh

Toggle airplane mode.

Dependencies:

  • rfkill
  • notify-send

Usage:

./AirplaneMode.sh

brightnessctl.sh

Get screen brightness.

Dependencies:

  • brightnessctl

Usage:

./brightnessctl.sh

cava.sh

Run cava audio visualizer.

Dependencies:

  • cava

Usage:

./cava.sh

media.sh

Show currently playing media.

Dependencies:

  • playerctl

Usage:

./media.sh

organize.sh

Organize files in a directory.

Usage:

./organize.sh

Screenshot-wayland.sh

Screenshot script for Wayland.

Dependencies:

  • notify-send
  • hyprctl
  • jq
  • grim
  • wl-copy
  • slurp
  • swappy

Usage:

./Screenshot-wayland.sh [options]

Options:

  • --rn: shot now
  • --5sec: shot after 5 seconds
  • --10sec: shot after 10 seconds
  • --win: shot window
  • --select: shot selected area
  • --focus: shot focused window
  • --swappy: shot with swappy

TouchPad-Hypr.sh

Toggle touchpad for Hyprland.

Dependencies:

  • hyprctl

Usage:

./TouchPad-Hypr.sh

Volume.sh

Control volume.

Dependencies:

  • pamixer
  • notify-send

Usage:

./Volume.sh [options]

Options:

  • --get: get volume
  • --inc: increase volume
  • --dec: decrease volume
  • --mute: toggle mute
  • --mic-toggle: toggle mic
  • --inc-mic: increase mic volume
  • --dec-mic: decrease mic volume

window-x11.sh

List windows on current X11 display.

Dependencies:

  • xprop
  • wmctrl

Usage:

./window-x11.sh

Repository

https://github.com/flasherxgaple/linux-scripts

About

My open source linux scripts collection

Topics

Resources

Stars

Watchers

Forks

Languages