commit 1b560003e6cbf7e106a5b73006f21e3df855b108
parent 79ba4ed9471e56536edf78b7030b1d06bc9bd8b3
Author: vin <vin@vineetk.net>
Date: Wed, 30 Apr 2025 03:15:40 -0400
demiurge, hastur: remove alacritty, i3, picom
Diffstat:
| M | home.nix | | | 264 | ------------------------------------------------------------------------------- |
1 file changed, 0 insertions(+), 264 deletions(-)
diff --git a/home.nix b/home.nix
@@ -286,63 +286,6 @@ in {
aerc.enable = true;
- alacritty = {
- enable = true;
-
- settings = {
- general.live_config_reload = true;
-
- window = {
- dimensions = {
- columns = 80;
- lines = 24;
- };
-
- decorations = "None";
-
- padding = {
- x = 10;
- y = 10;
- };
- };
-
- font.size = 14;
-
- selection.save_to_clipboard = true;
-
- hints.enabled = [
- {
- binding = {
- key = "U";
- mods = "Control|Shift";
- };
-
- command.program = "qutebrowser";
- hyperlinks = true;
- post_processing = true;
- regex = "(ipfs:|ipns:|magnet:|mailto:|gemini://|gopher://|https://|http://|news:|file:|git://|ssh:|ftp://)[^\u0000-\u001F\u007F-\u009F<>\"\\\\s{-}\\\\^⟨⟩`]+";
- }
- ];
-
- cursor = {
- style.shape = "Block";
- thickness = 0.1;
- };
-
- colors = {
- primary = colors.current.primary;
-
- cursor = {
- text = colors.current.primary.background;
- cursor = colors.current.primary.foreground;
- };
-
- normal = colors.current.normal;
- bright = colors.current.bright;
- };
- };
- };
-
foot = {
enable = true;
@@ -646,46 +589,6 @@ set-option -sa terminal-features ',*:RGB'
# unison
# vdirsyncer
- picom = {
- enable = true;
- backend = "egl";
- vSync = true;
-
- opacityRules = [
- "85:class_g = 'Alacritty'"
- "85:class_g = 'foot'"
- "85:class_g = 'footclient'"
- "85:class_g = 'i3bar'"
- "85:class_g = 'vesktop'"
- "85:class_g = 'Emacs'"
- "85:class_g = 'qutebrowser'"
- ];
-
- settings = {
- blur = {
- method = "dual_kawase";
- size = 3;
- deviation = false;
- strength = 5;
- kern = "3x3box";
-
- background-exclude = [
- "window_type = 'dock'"
- "window_type = 'desktop'"
- "_GTK_FRAME_EXTENTS@:c"
- ];
- };
-
- corner-radius = 10;
- rounded-corners-exclude = [
- "window_type = 'dock'"
- "window_type = 'desktop'"
- ];
- };
-
- shadow = true;
- };
-
poweralertd.enable = true;
redshift = {
@@ -997,173 +900,6 @@ interceptor.register(int_fn)
};
};
- xsession = {
- enable = false;
- windowManager.i3 = {
- enable = true;
- config = {
- bars = [ {
- colors = {
-# background = colors.current.primary.background;
- background = "#000000";
- statusline = colors.current.primary.foreground;
- focusedWorkspace = {
- background = colors.current.normal.black;
- border = colors.current.normal.black;
- text = colors.current.normal.green;
- };
- activeWorkspace = {
- background = colors.current.normal.black;
- border = colors.current.normal.black;
- text = colors.current.primary.foreground;
- };
- inactiveWorkspace = {
- background = colors.current.primary.background;
- border = colors.current.primary.background;
- text = colors.current.normal.white;
- };
- };
- command = "${pkgs.i3}/bin/i3bar";
- position = "top";
- statusCommand = "while date +'%Y-%m-%d %X'; do sleep 1; done";
- } ];
-
- colors = {
- focused = {
- background = colors.current.primary.background;
- border = colors.current.primary.background;
- childBorder = colors.current.primary.background;
- indicator = colors.current.normal.black;
- text = colors.current.normal.green;
- };
- focusedInactive = {
- background = colors.current.primary.background;
- border = colors.current.primary.background;
- childBorder = colors.current.primary.background;
- indicator = colors.current.normal.black;
- text = colors.current.primary.foreground;
- };
- unfocused = {
- background = colors.current.normal.black;
- border = colors.current.normal.black;
- childBorder = colors.current.normal.black;
- indicator = colors.current.primary.background;
- text = colors.current.normal.white;
- };
- };
-
- fonts = {
- names = [ "monospace" ];
- size = 11.0;
- };
-
- gaps = {
- inner = 15;
- smartGaps = true;
- };
-
- keybindings =
- let
- left = "n";
- down = "e";
- up = "o";
- right = "i";
- modifier = config.xsession.windowManager.i3.config.modifier;
- menu = config.xsession.windowManager.i3.config.menu;
- terminal = config.xsession.windowManager.i3.config.terminal;
- warpmouse = "exec eval $(xdotool getwindowfocus getwindowgeometry --shell) && xdotool mousemove --window $(xdotool getwindowfocus) $((WIDTH/2)) $((HEIGHT/2))";
- in lib.mkOptionDefault {
- "${modifier}+Return" = "exec ${terminal}";
- "${modifier}+p" = "exec ${menu}";
- "${modifier}+b" = "exec bm t";
- "${modifier}+Shift+b" = "exec kasimenu";
- "${modifier}+u" = "exec kasimenu user";
- "${modifier}+Shift+u" = "exec kasimenu email";
- "${modifier}+Shift+t" = "exec kasimenu_totp";
-
- "${modifier}+Shift+q" = "kill";
- "${modifier}+Shift+c" = "reload";
- "Mod1+Mod4+Ctrl+Shift+e" = "exit";
-
- "${modifier}+${left}" = "focus left; ${warpmouse}";
- "${modifier}+${down}" = "focus down; ${warpmouse}";
- "${modifier}+${up}" = "focus up; ${warpmouse}";
- "${modifier}+${right}" = "focus right; ${warpmouse}";
- "${modifier}+Shift+${left}" = "move left";
- "${modifier}+Shift+${down}" = "move down";
- "${modifier}+Shift+${up}" = "move up";
- "${modifier}+Shift+${right}" = "move right";
-
- # TODO do this programatically
- "${modifier}+1" = "workspace number 1";
- "${modifier}+2" = "workspace number 2";
- "${modifier}+3" = "workspace number 3";
- "${modifier}+4" = "workspace number 4";
- "${modifier}+5" = "workspace number 5";
- "${modifier}+6" = "workspace number 6";
- "${modifier}+7" = "workspace number 7";
- "${modifier}+8" = "workspace number 8";
- "${modifier}+9" = "workspace number 9";
- "${modifier}+0" = "workspace number 10";
- "${modifier}+Shift+1" = "move container to workspace number 1";
- "${modifier}+Shift+2" = "move container to workspace number 2";
- "${modifier}+Shift+3" = "move container to workspace number 3";
- "${modifier}+Shift+4" = "move container to workspace number 4";
- "${modifier}+Shift+5" = "move container to workspace number 5";
- "${modifier}+Shift+6" = "move container to workspace number 6";
- "${modifier}+Shift+7" = "move container to workspace number 7";
- "${modifier}+Shift+8" = "move container to workspace number 8";
- "${modifier}+Shift+9" = "move container to workspace number 9";
- "${modifier}+Shift+0" = "move container to workspace number 10";
-
- "${modifier}+Ctrl+Shift+b" = "splith";
- "${modifier}+Ctrl+Shift+v" = "splitv";
- "${modifier}+s" = "layout stacking";
- "${modifier}+t" = "layout tabbed";
- "${modifier}+Ctrl+Shift+t" = "layout toggle split";
- "${modifier}+Shift+f" = "fullscreen";
- "${modifier}+Shift+space" = "floating toggle";
- "${modifier}+space" = "focus mode_toggle";
- "${modifier}+a" = "focus parent";
-
- "${modifier}+r" = "mode resize";
- };
-
- menu = "${pkgs.wmenu}/bin/wmenu";
-
- modes.resize =
- let
- left = "n";
- down = "e";
- up = "o";
- right = "i";
- in lib.mkOptionDefault {
- ${left} = "resize shrink width 10px";
- ${down} = "resize grow height 10px";
- ${up} = "resize shrink width 10px";
- ${right} = "resize grow width 10px";
- Escape = "mode default";
- };
-
- modifier = "Mod4";
-
- startup = [
- { command = "picom"; always = true; notification = false; }
- { command = "xwallpaper --center pics/wp/elite_milky_way_below.png"; notification = false; }
- ];
-
- terminal = "footclient";
-
- window = {
- border = 0;
- titlebar = false;
- };
-
- workspaceAutoBackAndForth = true;
- };
- };
- };
-
wayland.windowManager.sway = {
enable = true;
package = pkgs.swayfx;