diff --git a/modules/home/gui/desktop/river/config/map.nix b/modules/home/gui/desktop/river/config/map.nix deleted file mode 100755 index f3a6a8f..0000000 --- a/modules/home/gui/desktop/river/config/map.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ - "Super Space" = "rm -r /home/$USER/.cache/tofi* ; tofi-drun"; - "Super C" = "zed"; - "Super A" = "obsidian"; - "Super D" = "ghostty -e zellij a dotfiles"; - "Super E" = "ghostty -e nu -e y"; - "Super T" = "ghostty"; - "Super G" = "firefox https://cronometer.com/#diary"; - "Super B" = "firefox"; - "Super V" = "vesktop"; - "Super W" = "bitwarden"; - "Super H" = "feishin"; - "Super Y" = "scrcpy"; - "Super R" = "ghostty -e nu -e btm"; - "Super N" = "signal-desktop"; - "Super M" = "element-desktop"; - "Super Home" = "sudo protonvpn c --cc CA"; - "Super End" = "exit"; - "Super S" = "steam"; - "Super period" = "emote"; -} diff --git a/modules/home/gui/desktop/river/config/spawn.nix b/modules/home/gui/desktop/river/config/spawn.nix deleted file mode 100755 index 60d1e3d..0000000 --- a/modules/home/gui/desktop/river/config/spawn.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ flake, ... }: -let - inherit (flake.config.aesthetics.themes) - cursor - ; -in -[ - "swaylock" - "hypridle" - "wl-clipboard" - "wpaperd" - "gammastep" - "dunst" - "playerctrld" - "waybar" - "nm-applet" - "blueman-applet" - "easyeffects -r" - "emote" - "flameshot" - "pactl set-default-sink bluez_output.00_16_94_35_0D_5F.1" - "pactl set-default-source alsa_input.usb-Focusrite_Scarlett_2i2_USB_Y818KFJ0C671CE-00.HiFi__Mic1__source" - "bluetoothctl power on" - "gsettings set org.gnome.desktop.interface color-scheme 'prefer-dark'" - "gsettings set org.gnome.desktop.interface cursor-theme 'catppuccin-mocha-dark-cursors'" - "gsettings set org.gnome.desktop.interface cursor-size ${builtins.toString cursor.size}" - "nmcli connection delete pvpn-killswitch-ipv6" -] diff --git a/modules/home/gui/desktop/river/default.nix b/modules/home/gui/desktop/river/default.nix deleted file mode 100755 index 3dfaadd..0000000 --- a/modules/home/gui/desktop/river/default.nix +++ /dev/null @@ -1,76 +0,0 @@ -{ - flake, - config, - pkgs, - ... -}: -let - configPath = ./config; - settingsPath = { - spawn = import (configPath + /spawn.nix) { inherit config flake; }; - map = import (configPath + /map.nix); - }; -in -{ - home.packages = builtins.attrValues { - inherit (pkgs) - rivercarro - ; - }; - - services.kanshi = { - enable = false; - systemdTarget = "river-session.target"; - }; - - wayland.windowManager.river = { - enable = false; - xwayland.enable = true; - settings = { - border-width = 4; - declare-mode = [ - "locked" - "normal" - "passthrough" - ]; - input = { - pointer-foo-bar = { - accel-profile = "flat"; - events = true; - pointer-accel = -0.3; - tap = false; - }; - }; - rule-add = { - "-app-id" = { - "'bar'" = "csd"; - "'float*'" = { - "-title" = { - "'foo'" = "float"; - }; - }; - }; - }; - set-cursor-warp = "on-output-change"; - set-repeat = "50 300"; - map-pointer = { - normal = { - "Alt BTN_LEFT" = "move-view"; - "Super BTN_LEFT" = "resize-view"; - "Super F" = "toggle-float"; - }; - }; - default-layout = "rivercarro"; - attach-mode = "bottom"; - map.normal = settingsPath.map; - spawn = settingsPath.spawn; - }; - systemd = { - enable = true; - extraCommands = [ - "systemctl --user stop river-session.target" - "systemctl --user start river-session.target" - ]; - }; - }; -}