summaryrefslogtreecommitdiff
path: root/home/config/i3/default.nix
diff options
context:
space:
mode:
authorQuentin Aristote <quentin@aristote.fr>2023-02-21 22:34:46 +0100
committerQuentin Aristote <quentin@aristote.fr>2023-02-28 17:48:23 +0100
commitb0214d50e9a728d77d98d791e92dfe3747f27e23 (patch)
tree95810c2d5c7af41d0e3e85570e60c2fb6658291c /home/config/i3/default.nix
parente761ac4b2c69f8ac267e53fa437c6978b207d743 (diff)
factor out common home-manager configuration
Diffstat (limited to 'home/config/i3/default.nix')
-rw-r--r--home/config/i3/default.nix40
1 files changed, 0 insertions, 40 deletions
diff --git a/home/config/i3/default.nix b/home/config/i3/default.nix
deleted file mode 100644
index 8b613a1..0000000
--- a/home/config/i3/default.nix
+++ /dev/null
@@ -1,40 +0,0 @@
-{ config, pkgs, lib, ... }:
-
-{
- imports = [ ./bar ./keybindings.nix ./startup.nix ];
-
- xsession.windowManager.i3 = {
- enable = true;
- package = pkgs.i3-gaps;
-
- config = rec {
- assigns = {
- "8: media" = [{ class = "^Steam$"; }];
- "9: social" = [
- { class = "^Mail$"; }
- { class = "^thunderbird$"; }
- { class = "^Signal$"; }
- ];
- };
-
- window.border = 0;
- gaps = {
- inner = 15;
- outer = 5;
- };
- };
- };
-
- home.file.".config/i3/i3status.sh" = {
- text = ''
- #!${pkgs.bash}/bin/sh
- ${pkgs.i3status}/bin/i3status | while :
- do
- read line
- echo "☼ $(${pkgs.brightnessctl}/bin/brightnessctl -m | cut -d',' -f4) |\
- $line" || exit 1
- done
- '';
- executable = true;
- };
-}