diff options
author | tdro <tdro@users.noreply.github.com> | 2020-01-10 06:10:44 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-01-10 06:10:44 -0500 |
commit | dcc41b2a7abea515ca36c4794256b7316b0ddeae (patch) | |
tree | 0115cfd273adf4fa4016ea530abf158caad10d00 /.config/awesome | |
parent | 6800a643d8e7cf880bcfe3588a2414ea857c5dd7 (diff) | |
download | dotfiles-dcc41b2a7abea515ca36c4794256b7316b0ddeae.tar.gz dotfiles-dcc41b2a7abea515ca36c4794256b7316b0ddeae.tar.bz2 dotfiles-dcc41b2a7abea515ca36c4794256b7316b0ddeae.zip |
.config/awesome/scripts: Use environment on shebang
Diffstat (limited to '.config/awesome')
-rwxr-xr-x | .config/awesome/scripts/amixer | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/app-launcher | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/app-launcher-priv | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/atexit | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/clipboard-toggle | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/file-search | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/internet-search | 4 | ||||
-rwxr-xr-x | .config/awesome/scripts/lockscreen | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/powerdialog | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/snipping-tool | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/switch-monitor | 3 | ||||
-rwxr-xr-x | .config/awesome/scripts/volume-down | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/volume-mute | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/volume-up | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/window-overview | 2 | ||||
-rwxr-xr-x | .config/awesome/scripts/window-switcher | 2 |
16 files changed, 17 insertions, 18 deletions
diff --git a/.config/awesome/scripts/amixer b/.config/awesome/scripts/amixer index 58f66ee..9148f22 100755 --- a/.config/awesome/scripts/amixer +++ b/.config/awesome/scripts/amixer @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash [[ "$1" == "up" ]] && amixer set Master 1%+ [[ "$1" == "down" ]] && amixer set Master 1%- diff --git a/.config/awesome/scripts/app-launcher b/.config/awesome/scripts/app-launcher index 59f0cef..d3cbad6 100755 --- a/.config/awesome/scripts/app-launcher +++ b/.config/awesome/scripts/app-launcher @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh PATH="$PATH:$HOME/.local/bin"; rofi -fullscreen -show run -display-run "$" -font "ubuntu 12" -padding 300; diff --git a/.config/awesome/scripts/app-launcher-priv b/.config/awesome/scripts/app-launcher-priv index 6c8b0e9..9bc0264 100755 --- a/.config/awesome/scripts/app-launcher-priv +++ b/.config/awesome/scripts/app-launcher-priv @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh PATH="$PATH:$HOME/.local/bin"; rofi -fullscreen -show run -display-run "#" -run-command 'gksudo {cmd}' -font "ubuntu 12" -padding 300; diff --git a/.config/awesome/scripts/atexit b/.config/awesome/scripts/atexit index 1a24852..0617957 100755 --- a/.config/awesome/scripts/atexit +++ b/.config/awesome/scripts/atexit @@ -1 +1 @@ -#!/bin/sh +#!/usr/bin/env sh diff --git a/.config/awesome/scripts/clipboard-toggle b/.config/awesome/scripts/clipboard-toggle index 1260d3a..b49aa86 100755 --- a/.config/awesome/scripts/clipboard-toggle +++ b/.config/awesome/scripts/clipboard-toggle @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash ps cax | grep copyq > /dev/null if [ $? -eq 0 ]; then diff --git a/.config/awesome/scripts/file-search b/.config/awesome/scripts/file-search index 3939f7f..13dec55 100755 --- a/.config/awesome/scripts/file-search +++ b/.config/awesome/scripts/file-search @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh xdg-open "$(locate -ie \ \ diff --git a/.config/awesome/scripts/internet-search b/.config/awesome/scripts/internet-search index d96b750..ef2d429 100755 --- a/.config/awesome/scripts/internet-search +++ b/.config/awesome/scripts/internet-search @@ -1,5 +1,5 @@ -#!/bin/bash +#!/usr/bin/env sh -export BROWSER=/usr/bin/chromium; +export BROWSER=/usr/bin/firefox; echo | rofi -dmenu -show run -font "ubuntu 16" -padding 10 -lines 0 -p " " | xargs -r surfraw d diff --git a/.config/awesome/scripts/lockscreen b/.config/awesome/scripts/lockscreen index 918bedb..8753876 100755 --- a/.config/awesome/scripts/lockscreen +++ b/.config/awesome/scripts/lockscreen @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env sh i3lock-fancy -t '' -- scrot; diff --git a/.config/awesome/scripts/powerdialog b/.config/awesome/scripts/powerdialog index afa5005..6b7de5a 100755 --- a/.config/awesome/scripts/powerdialog +++ b/.config/awesome/scripts/powerdialog @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh ACTION=`zenity --width=90 --height=181 --list --radiolist --text="Select Action" --title="Logout" --column "Choice" --column "Action" TRUE Shutdown FALSE Reboot FALSE Suspend FALSE Lock` diff --git a/.config/awesome/scripts/snipping-tool b/.config/awesome/scripts/snipping-tool index 02e8a71..bfe422e 100755 --- a/.config/awesome/scripts/snipping-tool +++ b/.config/awesome/scripts/snipping-tool @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh escrotum -s $HOME/Pictures/screenshots/$wx$h_%d-%m-%Y_%H_%M_%S.png; notify-send 'Screenshot . . .'; diff --git a/.config/awesome/scripts/switch-monitor b/.config/awesome/scripts/switch-monitor index a77037b..50e5530 100755 --- a/.config/awesome/scripts/switch-monitor +++ b/.config/awesome/scripts/switch-monitor @@ -1,5 +1,4 @@ -#!/bin/bash -# This script toggles the extended monitor outputs if something is connected +#!/usr/bin/env bash # your notebook monitor DEFAULT_OUTPUT='LVDS1' diff --git a/.config/awesome/scripts/volume-down b/.config/awesome/scripts/volume-down index 8d0f3ac..a3674ea 100755 --- a/.config/awesome/scripts/volume-down +++ b/.config/awesome/scripts/volume-down @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env sh ~/.config/awesome/scripts/amixer down diff --git a/.config/awesome/scripts/volume-mute b/.config/awesome/scripts/volume-mute index 1fd0ed7..c9d42cd 100755 --- a/.config/awesome/scripts/volume-mute +++ b/.config/awesome/scripts/volume-mute @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env sh ~/.config/awesome/scripts/amixer mute diff --git a/.config/awesome/scripts/volume-up b/.config/awesome/scripts/volume-up index a7efcf4..275efd4 100755 --- a/.config/awesome/scripts/volume-up +++ b/.config/awesome/scripts/volume-up @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env sh ~/.config/awesome/scripts/amixer up diff --git a/.config/awesome/scripts/window-overview b/.config/awesome/scripts/window-overview index a75b92b..6fff526 100755 --- a/.config/awesome/scripts/window-overview +++ b/.config/awesome/scripts/window-overview @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env sh # Prevent multiple instances pidof -s -o '%PPID' -x $( basename $0 ) > /dev/null 2>&1 && killall skippy-xd && exit diff --git a/.config/awesome/scripts/window-switcher b/.config/awesome/scripts/window-switcher index 37a4a32..7cad2f1 100755 --- a/.config/awesome/scripts/window-switcher +++ b/.config/awesome/scripts/window-switcher @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env sh # Copyright 2013 Tom Vincent <http://tlvince.com/contact/> |