42 lines
910 B
Bash
Executable File
42 lines
910 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Originally created by - https://github.com/gh0stzk
|
|
|
|
lines="window.dimensions.lines"
|
|
columns="window.dimensions.columns"
|
|
|
|
case "$1" in
|
|
--menu)
|
|
rofi -show drun -theme $HOME/.config/rofi/launcher.rasi
|
|
;;
|
|
--terminal)
|
|
alacritty
|
|
;;
|
|
--floating)
|
|
alacritty --class floaterm,alacritty -o lines=22 columns=90
|
|
;;
|
|
--update)
|
|
alacritty --hold --class floaterm,alacritty -o lines=22 columns=90 -e updates --update-system
|
|
;;
|
|
--checkupdates)
|
|
alacritty --hold --class updating,alacritty -o lines=22 columns=47 -e updates --print-updates
|
|
;;
|
|
--ranger)
|
|
alacritty --class alacritty -e ranger
|
|
;;
|
|
--nvim)
|
|
alacritty -e nvim
|
|
;;
|
|
--music)
|
|
alacritty --class floaterm,alacritty -o lines=18 columns=67 -e ncmpcpp
|
|
;;
|
|
--fetch)
|
|
alacritty --hold --class floaterm,alacritty -o lines=21 columns=90 -e neofetch
|
|
;;
|
|
--browser)
|
|
brave
|
|
;;
|
|
*)
|
|
echo "Not a Valid Option"
|
|
;;
|
|
esac
|