Skip to content

Commit

Permalink
i really don't know. help i want to sleep.
Browse files Browse the repository at this point in the history
  • Loading branch information
noriah committed Feb 20, 2025
1 parent 6dfa248 commit 51ab2bc
Show file tree
Hide file tree
Showing 45 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion bin/montoggle
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ fi
local _input_target="${_input_name}_${_current}"
local _mon_target=${(P)_input_target}

$HOME/opt/den/bin/monswap $_mon $_mon_target
$HOME/den/bin/monswap $_mon $_mon_target

echo -n $_mon_target > $_mon_file
2 changes: 1 addition & 1 deletion etc/alacritty/default/visualizer.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ family = "Fira Code"
history = 0

[terminal.shell]
program = "/home/vix/opt/den/bin/catnip-alacritty.sh"
program = "/home/vix/den/bin/catnip-alacritty.sh"

[window]
decorations = "none"
Expand Down
2 changes: 1 addition & 1 deletion etc/alacritty/default/visualizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ colors:
transparent_background_colors: true

shell:
program: /home/vix/opt/den/bin/alacritty-catnip.sh
program: /home/vix/den/bin/alacritty-catnip.sh
2 changes: 1 addition & 1 deletion etc/neofetch/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ image_backend="ascii"
# In ascii mode, distro ascii art will be used and in an image mode, your
# wallpaper will be used.
# image_source="auto"
image_source="$HOME/opt/den/etc/neofetch/noriah.txt"
image_source="$HOME/den/etc/neofetch/noriah.txt"


# Ascii Options
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion etc/nix/apps/git.nix → etc/nix/home/apps/git.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ in

includes = [
{
condition = "gitdir:~/opt/den/.git";
condition = "gitdir:${config.den.dir.self}/.git";
path = "~/workspace/public/.gitconfig";
}
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 2 additions & 4 deletions etc/nix/den.nix → etc/nix/home/den.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@ let
# domain = osCOnfig.networking.domain;
# fqdn = osCOnfig.networking.fqdn;

denDir = "${homeDir}/opt/den";
hostName = if builtins.hasAttr "${realHostName}" cfg.hosts then realHostName else "unknown";

cfg = config.den;

hostName = if builtins.hasAttr "${realHostName}" cfg.hosts then realHostName else "unknown";
in
{
imports = [
Expand Down Expand Up @@ -47,7 +45,7 @@ in
dir = {
self = mkOption {
type = types.path;
default = "${cfg.dir.opt}/den";
default = "${cfg.dir.home}/den";
};

home = mkOption {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 8 additions & 4 deletions etc/nixos/openrgb.nix → etc/nix/nixos/openrgb.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{ config, pkgs, ... }:

let
denOpenrgb = pkgs.callPackage /home/vix/opt/den/etc/nix/packages/openrgb.nix { };
denOpenrgb = pkgs.callPackage ../packages/openrgb.nix { };
no-rgb = pkgs.writeScriptBin "no-rgb" ''
#!/bin/sh
NUM_DEVICES=$(${denOpenrgb}/bin/openrgb --client 127.0.0.1:6742 --list-devices | grep -E '^[0-9]+: ' | wc -l)
Expand All @@ -20,21 +20,25 @@ let
# rev = "d1cdea47c797ecf669ae1a5420e33c80a79558ba";
# hash = "sha256-SlkstIMQL1YO1EjeEiBrbikpj9muusVxQJlE1TD/mjQ=";
# };

# postInstall = ''
# substituteInPlace $out/lib/udev/rules.d/60-openrgb.rules \
# --replace "/usr/bin/env chmod" "${pkgs.coreutils}/bin/chmod"
# '';
# };
#});
in {

in
{
#nixpkgs.overlays = [ openrgb_overlay ];

environment.systemPackages = [ pkgs.i2c-tools ];

hardware.i2c.enable = true;

boot.kernelModules = [ "i2c-dev" "i2c-piix4" ];
boot.kernelModules = [
"i2c-dev"
"i2c-piix4"
];

systemd.services.no-rgb = {
description = "no-rgb";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions etc/polybar/modules/displays.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ hook-0 = echo "󰾌"
; hdmi icon
hook-1 = echo "󰡁"
initial = 1
format = "%{A1:/home/vix/opt/den/bin/montoggle left:}left %{T3}<output>%{A} "
format = "%{A1:/home/vix/den/bin/montoggle left:}left %{T3}<output>%{A} "

[module/center-monitor-control]
type = custom/ipc
Expand All @@ -14,4 +14,4 @@ hook-0 = echo "󰾌"
; hdmi icon
hook-1 = echo "󰡁"
initial = 1
format = "%{A1:/home/vix/opt/den/bin/montoggle center:}center %{T3}<output>%{A}"
format = "%{A1:/home/vix/den/bin/montoggle center:}center %{T3}<output>%{A}"

0 comments on commit 51ab2bc

Please sign in to comment.