init

#!/bin/sh # Modifier Options mod="Mod1" primary=modsecondary="primary+Shift" tertiary="You can't use 'macro parameter character #' in math mode((1 << 10 )) TopTag=11 # Launch on startup riverctl spawn 'foot ncmpcpp' riverctl spawn foot riverctl spawn firefox #riverctl spawn dbus-daemon --session --address=unix:path=You can't use 'macro parameter character #' in math modeprimary Return spawn foot riverctl map normal primaryQcloseriverctlmapnormalprimary N spawn fuzzel riverctl map normal Mod4 E exit riverctl map normal primaryTabReturnzoomriverctlmapnormalprimary M toggle-focused-tags MusicTagriverctlmapnormalprimary Tab zoom # TODO: Bind to scroll wheel #riverctl map normal You can't use 'macro parameter character #' in math modemod E focus-view previous # Secondary Bindings riverctl map normal secondaryMsetviewtagsMusicTag # move/resize riverctl map-pointer normal modBTNLEFTmoveviewriverctlmappointernormalmod BTN_RIGHT resize-view # toggle float/fullscreen riverctl map normal modSpacetogglefloatriverctlmapnormalmod F toggle-fullscreen # multi-output TODO: Bind to jkl; riverctl map normal modPeriodfocusoutputnextriverctlmapnormalmod Comma focus-output previous riverctl map normal mod+ShiftPeriodsendtooutputnextriverctlmapnormalmod+Shift Comma send-to-output previous # screenshots riverctl map normal modCspawngrimg"(slurp)" - | wl-copy' riverctl map normal $secondary C spawn '/etc/nixos/common/scripts/wlrootsScreen....

2 min · Wyatt Osterling

kanshi.nix

{pkgs, config, ...}: { services.kanshi = { enable = true; systemdTarget = ""; profiles = { normal = { outputs = [ #{ # criteria = "DP-2"; # status = "disable"; #} { criteria = "HDMI-A-1"; position = "900,1440"; } ]; }; }; }; }

1 min · Wyatt Osterling

main.nix

{pkgs, ...}:{ home.packages = with pkgs; [ fuzzel ]; imports = [ ./waybar.nix ./sway.nix ./mako.nix ./kanshi.nix ]; }

1 min · Wyatt Osterling

mako.nix

{pkgs, config, ...}: { programs.mako = { enable = true; }; }

1 min · Wyatt Osterling

sway.nix

{pkgs, ...}: let menu = "wofi -f -S run -i"; modifier = "Mod4"; in { home.packages = with pkgs; [ wofi ]; home.sessionVariables = { MOZ_ENABLE_WAYLAND = "1"; MOZ_USE_XINPUT2 = "1"; XDG_SESSION_TYPE = "wayland"; XDG_CURRENT_DESKTOP = "sway"; }; wayland.windowManager.sway = { enable = true; wrapperFeatures.gtk = true; config = { window = { border = 4; commands = [ { command = '' move to workspace "discord" ''; criteria = { title = "....

2 min · Wyatt Osterling

waybar.nix

{config, pkgs, ...}: { programs.waybar = { enable = true; settings = [{ modules = {}; modules-left = ["river/tags"]; }]; }; }

1 min · Wyatt Osterling