feat!: switch to NixOS

This commit is contained in:
matt1432 2023-06-14 03:16:26 -04:00
parent b91f59cf91
commit e8ec42676b
41 changed files with 81 additions and 365 deletions

View file

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

View file

@ -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 '^\*')"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
WINDOW="$1"
(

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# thanks to kizu

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
symbol() {
[ $(cat /sys/class/net/w*/operstate) = down ] && echo&& exit

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
state () {
if [[ $(hyprctl layers | grep swaync-control-center) == "" ]]; then

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
WINDOW="$1"

View file

@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# @requires: pactl