Compare commits

...

3 commits

Author SHA1 Message Date
49c72907d9
refactor: move packages into modules 2024-08-22 01:54:15 -07:00
23f6326c2b
binds: change directional keys 2024-08-22 01:40:22 -07:00
675f37c5b1
feat: add spotifyd module 2024-08-22 01:38:05 -07:00
4 changed files with 34 additions and 23 deletions

View file

@ -69,7 +69,7 @@
apple-silicon, apple-silicon,
... ...
} @ inputs: let } @ inputs: let
in rec { in {
formatter = with nixpkgs.legacyPackages; { formatter = with nixpkgs.legacyPackages; {
x86_64-linux = x86_64-linux.alejandra; x86_64-linux = x86_64-linux.alejandra;
aarch64-linux = aarch64-linux.alejandra; aarch64-linux = aarch64-linux.alejandra;

View file

@ -0,0 +1,9 @@
{pkgs, ...}: {
services.spotifyd = {
enable = true;
# settings = {global = 320;};
};
environment.systemPackages = [
pkgs.spotify-player
];
}

View file

@ -4,16 +4,34 @@
system, system,
... ...
}: { }: {
home.packages = with pkgs; [
wl-clipboard
grim
slurp
swappy
pavucontrol
waypaper
swaybg
pamixer
brightnessctl
bibata-cursors
libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct
papirus-icon-theme
libsForQt5.qt5ct
];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;
package = inputs.stablepkgs.legacyPackages.${system}.hyprland; package = inputs.stablepkgs.legacyPackages.${system}.hyprland;
settings = { settings = {
exec-once = ["waypaper --restore"]; exec-once = ["waypaper --restore"];
"$mod" = "SUPER"; "$mod" = "SUPER";
"$Left" = "Y"; "$Left" = "H";
"$Right" = "O"; "$Right" = "L";
"$Up" = "I"; "$Up" = "K";
"$Down" = "U"; "$Down" = "J";
env = [ env = [
"HYPRCURSOR_THEME,Bibata-Modern-Ice" "HYPRCURSOR_THEME,Bibata-Modern-Ice"
"HYPRCURSOR_SIZE,26" "HYPRCURSOR_SIZE,26"
@ -30,7 +48,7 @@
# Window actions # Window actions
"$mod, Q, killactive" "$mod, Q, killactive"
"$mod, W, togglefloating" "$mod, W, togglefloating"
"$mod, J, togglesplit" "$mod, V, togglesplit"
"$mod, Return, fullscreen" "$mod, Return, fullscreen"
# Move around # Move around
@ -73,7 +91,7 @@
"$mod, Backspace, exec, wlogout" # show logout menu "$mod, Backspace, exec, wlogout" # show logout menu
"$mod, L, exec, hyprlock" "$mod, I, exec, hyprlock"
# System control # System control
",XF86MonBrightnessDown, exec, brightnessctl set 5%-" ",XF86MonBrightnessDown, exec, brightnessctl set 5%-"

View file

@ -22,15 +22,6 @@ with pkgs; [
usbutils # lsusb usbutils # lsusb
# desktop utils # desktop utils
wl-clipboard
grim
slurp
swappy
pavucontrol
waypaper
swaybg
pamixer
brightnessctl
bitwarden-cli bitwarden-cli
# desktop apps # desktop apps
@ -40,11 +31,4 @@ with pkgs; [
signal-desktop signal-desktop
gcc gcc
# desktop ricing
bibata-cursors
libsForQt5.qtstyleplugin-kvantum
libsForQt5.qt5ct
papirus-icon-theme
libsForQt5.qt5ct
] ]