feat/nix #3

Merged
Jaaj-San merged 59 commits from feat/nix into main 2024-09-20 22:35:47 +02:00
8 changed files with 10 additions and 8 deletions
Showing only changes of commit 995aae5ff8 - Show all commits

View file

@ -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')

View file

@ -1,4 +1,4 @@
#!/bin/dash
#!/usr/bin/env dash
print_state() {
case "$1" in

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env dash
info (){
title=$(playerctl metadata xesam:title 2> /dev/null)

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
volume (){
vol=$(pamixer --get-volume-human)

View file

@ -1,4 +1,5 @@
#!/bin/dash
#!/usr/bin/env dash
function clamp {
min=$1
max=$2

View file

@ -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)'

View file

@ -1,4 +1,4 @@
#!/bin/dash
#!/usr/bin/env dash
profile="$(powerprofilesctl get)"

View file

@ -1,4 +1,5 @@
#!/bin/dash
#!/usr/bin/env dash
refresh_rate=$(hyprctl -j monitors | jq '.[0].refreshRate | round')
if [ "$1" = "toggle" ]; then