aboutsummaryrefslogtreecommitdiff
path: root/modules/home/i3wm/nord-blue/i3.nix
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-03-30 23:16:06 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-03-30 23:16:06 +0200
commit81748af284907dd0d14fafb9a532fe80d0cf9b7c (patch)
treea6d8b3a42798e497e37e8ac1f0aa9ac825c3a0ef /modules/home/i3wm/nord-blue/i3.nix
parent83fec3546514fc4f045908adc0581d5254a756d4 (diff)
Removed old lefotover nord-blue rice
Diffstat (limited to 'modules/home/i3wm/nord-blue/i3.nix')
-rw-r--r--modules/home/i3wm/nord-blue/i3.nix127
1 files changed, 0 insertions, 127 deletions
diff --git a/modules/home/i3wm/nord-blue/i3.nix b/modules/home/i3wm/nord-blue/i3.nix
deleted file mode 100644
index 57e8300..0000000
--- a/modules/home/i3wm/nord-blue/i3.nix
+++ /dev/null
@@ -1,127 +0,0 @@
-{ pkgs, config, lib, ... }:
-
-let
- vars = import ./variables.nix;
- lock-screen = import ./i3lock.nix {inherit pkgs; };
- app-launcher = import ./dmenu.nix {inherit pkgs vars; };
- mod = "Mod4";
-in
-{
- xsession.windowManager = {
- i3 = {
- enable = true;
- config = {
- modifier = mod;
-
- bars = [ ];
-
- window = {
- titlebar = false;
- border = 3;
- };
-
- colors = {
- focused = {
- border = vars.colors.accent;
- childBorder = vars.colors.accent;
- background = vars.colors.background;
- text = vars.colors.foreground;
- indicator = vars.colors.foreground;
- };
- focusedInactive = {
- border = vars.colors.background;
- childBorder = vars.colors.background;
- background = vars.colors.background;
- text = vars.colors.foreground;
- indicator = vars.colors.foreground;
- };
- unfocused = {
- border = vars.colors.background;
- childBorder = vars.colors.background;
- background = vars.colors.background;
- text = vars.colors.foreground;
- indicator = vars.colors.foreground;
- };
- };
-
- startup = [
- { command = "sh -c 'feh --bg-scale ~/Pictures/wallpaper.png'"; }
- ];
-
- keybindings = lib.mkOptionDefault {
- "${mod}+Return" = "exec ${pkgs.alacritty}/bin/alacritty"; # Lanuch alacritty as a terminal
- "${mod}+d" = "exec app-launcher"; # Launch dmenu (app launcher)
- "${mod}+m" = "exec app-launcher"; # Alternative keybind to launch the app launcher
- "${mod}+Shift+m" = "exec alacritty -e nnn"; # Launch nnn
- "${mod}+n" = "exec firefox"; # Launch firefox
- "${mod}+q" = "kill"; # Close an app (kill the process)
- "${mod}+Ctrl+l" = "exec lock-screen"; # Lock screen
- "${mod}+Shift+r" = "restart"; # Reload i3
- "${mod}+Ctrl+Shift+e" = "exec sh -c 'i3-msg exit'"; # Exit i3 (CAREFUL NO CONFIRM)
- "${mod}+Shift+s" = "exec flameshot gui";
-
-
- # === FOCUS === #
-
- # Vim bindings
- "${mod}+h" = "focus left";
- "${mod}+j" = "focus down";
- "${mod}+k" = "focus up";
- "${mod}+l" = "focus right";
-
- # Arrow keys
- "${mod}+Left" = "focus left";
- "${mod}+Down" = "focus down";
- "${mod}+Up" = "focus up";
- "${mod}+Right" = "focus right";
-
- # === MOVE === #
-
- # Vim bindings
- "${mod}+Shift+h" = "move left";
- "${mod}+Shift+j" = "move down";
- "${mod}+Shift+k" = "move up";
- "${mod}+Shift+l" = "move right";
-
- # Arrow keys
- "${mod}+Shift+Left" = "focus left";
- "${mod}+Shift+Down" = "focus down";
- "${mod}+Shift+Up" = "focus up";
- "${mod}+Shift+Right" = "focus right";
-
-
- # === F-KEYS === #
-
- # Volume
- "XF86AudioRaiseVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+"; # Raise volume by 5%
- "XF86AudioLowerVolume" = "exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-"; # Lower volume by 5%
- "XF86AudioMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; # Toggle volume (audio) on/off
- "XF86AudioMicMute" = "exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; # Toggle mic on/off
-
-
- # Brigtness
- "XF86MonBrightnessUp" = "exec brightnessctl set 5%+"; # Raise brightness by 5%
- "XF86MonBrightnessDown" = "exec brightnessctl set 5%-"; # Lower brightness by 5%
- # NOTE: Yes, the brightness can go to 0%, thus turning the screen off.
-
- };
- };
- # I'm trying to avoid using this option as much as I can but sometimes I can't figure out how to do stuff via HM
- # TODO: Find a way to declare smart borders in proper nixos home-manager
- extraConfig = ''
- smart_borders on
- '';
- };
- };
- home.packages = with pkgs; [
- dmenu # App launcher
- app-launcher
- i3lock # Lock screen
- lock-screen
- imagemagick # Handle wallpaper resizing for i3-lock
- polybar # Status bar
- alacritty # Terminal Emulator
- feh # Wallpaper utility
- nnn # File browser
- ];
-}