fix(eww -> scripts): Fixed shebangs
This commit is contained in:
parent
0d94597777
commit
995aae5ff8
8 changed files with 10 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env dash
|
||||
|
||||
info (){
|
||||
power=$(bluetoothctl show | grep Powered | awk '{print $2}' | sed 's/yes/on/g; s/no/off/g')
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/dash
|
||||
#!/usr/bin/env dash
|
||||
|
||||
print_state() {
|
||||
case "$1" in
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env dash
|
||||
|
||||
info (){
|
||||
title=$(playerctl metadata xesam:title 2> /dev/null)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
|
||||
volume (){
|
||||
vol=$(pamixer --get-volume-human)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/dash
|
||||
#!/usr/bin/env dash
|
||||
|
||||
function clamp {
|
||||
min=$1
|
||||
max=$2
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/dash
|
||||
#!/usr/bin/env dash
|
||||
|
||||
spaces (){
|
||||
hyprctl workspaces -j | jq -c 'map({id: .id, windows: .windows, monitor: .monitorID}) | sort_by(.id)'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/dash
|
||||
#!/usr/bin/env dash
|
||||
|
||||
profile="$(powerprofilesctl get)"
|
||||
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/dash
|
||||
#!/usr/bin/env dash
|
||||
|
||||
refresh_rate=$(hyprctl -j monitors | jq '.[0].refreshRate | round')
|
||||
|
||||
if [ "$1" = "toggle" ]; then
|
||||
|
|
Loading…
Reference in a new issue