feat!: switch to NixOS
This commit is contained in:
parent
b91f59cf91
commit
e8ec42676b
41 changed files with 81 additions and 365 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# @requires: brightnessctl
|
||||
|
||||
|
@ -46,5 +46,5 @@ if [[ $1 == "icon" ]]; then
|
|||
fi
|
||||
|
||||
if [[ $1 == "set" ]]; then
|
||||
light -S $2
|
||||
fi
|
||||
brightnessctl set $2%
|
||||
fi
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Store the output of the command in an array, keeping only lines with '*'
|
||||
readarray -t array <<< "$(eww windows | grep '^\*')"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
WINDOW="$1"
|
||||
(
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# thanks to kizu
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
symbol() {
|
||||
[ $(cat /sys/class/net/w*/operstate) = down ] && echo 睊 && exit
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
state () {
|
||||
if [[ $(hyprctl layers | grep swaync-control-center) == "" ]]; then
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
WINDOW="$1"
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# @requires: pactl
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue