Progress on some things, can't remember what though

This commit is contained in:
Jan Bulthuis committed 2024-07-31 13:39:09 +02:00
1 parent 7e368b4f40
commit b921c2ac47
10 files changed
+74 -35

No files matched your search

@@ -5,7 +5,7 @@ precision mediump float;
uniform float time;
uniform vec2 resolution;
#define iTime time * 0.01 + 10.0
#define iTime time * 0.05 + 50.0
#define iResolution resolution
#define fragCoord gl_FragCoord
#define fragColor gl_FragColor
@@ -105,4 +105,4 @@ void main()
vec2 uv = fragCoord.xy/iResolution.x;
float shade = pattern(uv);
fragColor = vec4(colormap(shade).rgb, shade);
}
}
@@ -20,6 +20,7 @@ in
home.packages = with pkgs; [
pulsemixer
playerctl
wpa_supplicant_gui # TODO: Move
];
programs.waybar = {
@@ -34,6 +35,7 @@ in
"mpris"
];
modules-right = [
"network"
"pulseaudio"
"battery"
"clock"
@@ -55,6 +57,13 @@ in
];
disable-click = false;
};
network = {
tooltip = false;
on-click = "wpa_gui";
format-wifi = "直 {essid}"; # Spacing achieved using "Thin Space"
format-ethernet = "TODO";
format-disconnected = "睊";
};
pulseaudio = {
tooltip = false;
format = "{icon}   {volume}%"; # Spacing achieved using "Thin Space"
@@ -22,27 +22,33 @@ in
# TODO: Move elsewhere and make keybindings more configurable
modules.rofi.enable = true;
# TODO: Move elsewhere
home.packages = with pkgs; [
brightnessctl
# owm
];
# Change desktop to execute river
modules.desktop.initScript = ''
river
'';
# Update background after rebuild
home.activation = {
river = lib.hm.dag.entryBetween [ "reloadSystemd" ] [ "installPackages" ] ''
# Close waybar
PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill waybar
# home.activation = {
# river = lib.hm.dag.entryBetween [ "reloadSystemd" ] [ "installPackages" ] ''
# # Close waybar
# PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill waybar
# Kill rivertile
PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill rivertile
# # Kill rivertile
# PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill rivertile
# Kill glpaper
PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill glpaper
# # Kill glpaper
# PATH="${pkgs.procps}/bin:$PATH" $DRY_RUN_CMD pkill glpaper
# Restart river
PATH="${pkgs.river}/bin:${pkgs.systemd}/bin:$PATH" $DRY_RUN_CMD ~/.config/river/init
'';
};
# # Restart river
# PATH="${pkgs.river}/bin:${pkgs.systemd}/bin:${pkgs.waybar}/bin:$PATH" $DRY_RUN_CMD ~/.config/river/init
# '';
# };
# River setup
wayland.windowManager.river = {
@@ -230,6 +236,7 @@ in
"-app-id" = {
"'bar'" = "csd";
"'*'" = "ssd";
"'wpa_gui'" = "float";
};
};
};
+12 -2
View File
@@ -17,18 +17,28 @@ in
config = mkIf cfg.enable {
# Development packages
home.packages = with pkgs; [
# rustup
rustc
cargo
gcc
# lldb
gdb
rust-analyzer
rustfmt
];
# VSCode configuration
programs.vscode = {
extensions = with pkgs.vscode-extensions; [ rust-lang.rust-analyzer ];
extensions = with pkgs.vscode-extensions; [
rust-lang.rust-analyzer
# ms-vscode.cpp-tools
vadimcn.vscode-lldb
];
userSettings = {
"[rust]" = { };
"[rust]" = {
"editor.inlayHints.enabled" = "off";
};
};
};
+5 -1
View File
@@ -14,5 +14,9 @@ in
enable = mkEnableOption "obsidian";
};
config = mkIf cfg.enable { home.packages = with pkgs; [ obsidian ]; };
config = mkIf cfg.enable {
modules.unfree.allowedPackages = [ "obsidian" ];
home.packages = with pkgs; [ obsidian ];
};
}
-1
View File
@@ -22,7 +22,6 @@ in
enable = true;
settings = {
base_url = "https://keys.bulthuis.dev";
identity_url = "https://keys.bulthuis.dev";
email = "jan@bulthuis.dev";
pinentry = pkgs.pinentry;
};
+4 -1
View File
@@ -32,7 +32,10 @@ in
enable = true;
mutableExtensionsDir = false;
extensions = with pkgs.vscode-extensions; [ eamodio.gitlens ];
extensions = with pkgs.vscode-extensions; [
eamodio.gitlens
ms-vscode.hexeditor
];
userSettings = {
# Font setup