mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-22 12:49:32 -08:00
switched to jaq from jq
This commit is contained in:
parent
bc4efd65f8
commit
8f83d046bf
4 changed files with 5 additions and 4 deletions
|
@ -8,7 +8,7 @@ in
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
alsa-utils
|
alsa-utils
|
||||||
gcal
|
gcal
|
||||||
jq
|
jaq
|
||||||
playerctl
|
playerctl
|
||||||
pw-volume
|
pw-volume
|
||||||
socat
|
socat
|
||||||
|
|
|
@ -152,7 +152,7 @@
|
||||||
{music != "" ? "🎵${music}" : ""}))
|
{music != "" ? "🎵${music}" : ""}))
|
||||||
|
|
||||||
(defpoll volume :interval "1s"
|
(defpoll volume :interval "1s"
|
||||||
{"pw-volume status | jq '.percentage // -1'" ?: 500})
|
{"pw-volume status | jaq '.percentage // -1'" ?: 500})
|
||||||
|
|
||||||
(include "windows.yuck")
|
(include "windows.yuck")
|
||||||
(include "./modules/center-clock.yuck")
|
(include "./modules/center-clock.yuck")
|
||||||
|
|
|
@ -23,8 +23,8 @@ in
|
||||||
# binde, will repeat when held
|
# binde, will repeat when held
|
||||||
#https://wiki.hyprland.org/Configuring/Binds/#bind-flags
|
#https://wiki.hyprland.org/Configuring/Binds/#bind-flags
|
||||||
binde = [
|
binde = [
|
||||||
",XF86AudioRaiseVolume, exec, pw-volume change +1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jq '.percentage // 10')"
|
",XF86AudioRaiseVolume, exec, pw-volume change +1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jaq '.percentage // 10')"
|
||||||
",XF86AudioLowerVolume, exec, pw-volume change -1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jq '.percentage // 10')"
|
",XF86AudioLowerVolume, exec, pw-volume change -1%; ${pkgs.eww}/bin/eww update volume=$(pw-volume status | jaq '.percentage // 10')"
|
||||||
];
|
];
|
||||||
|
|
||||||
# listen even when locked
|
# listen even when locked
|
||||||
|
|
|
@ -42,6 +42,7 @@ in
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
cat = "bat";
|
cat = "bat";
|
||||||
ls = "eza";
|
ls = "eza";
|
||||||
|
jq = "jaq";
|
||||||
gust = "/home/nixolas/Documents/Gust/target/debug/gust";
|
gust = "/home/nixolas/Documents/Gust/target/debug/gust";
|
||||||
rm = "rmtrash";
|
rm = "rmtrash";
|
||||||
open-config = "cd ~/Documents/nicks-nix-config; nvim";
|
open-config = "cd ~/Documents/nicks-nix-config; nvim";
|
||||||
|
|
Loading…
Reference in a new issue