diff options
| author | Alexander Kassouni <alex@kassouni.net> | 2026-10-09 22:35:08 -0700 |
|---|---|---|
| committer | Alexander Kassouni <alex@kassouni.net> | 2026-10-09 22:35:08 -0700 |
| commit | 012e00112cfbeee75473c62c8e2b7b266d0a1eab (patch) | |
| tree | beb99d3a6ed776ce2773defb847a077b0a8aec76 /users | |
| parent | d395e7d786ca87b6b05db608a09a57c2d6b573e4 (diff) | |
drop x11 config
Diffstat (limited to 'users')
| -rw-r--r-- | users/kassouni/desktop/xmonad/default.nix | 7 | ||||
| -rw-r--r-- | users/kassouni/desktop/xmonad/rofi.nix | 79 | ||||
| -rw-r--r-- | users/kassouni/desktop/xmonad/xbindkeys.nix | 32 | ||||
| -rw-r--r-- | users/kassouni/desktop/xmonad/xmonad.nix | 9 | ||||
| -rw-r--r-- | users/kassouni/fonts.nix | 2 | ||||
| -rw-r--r-- | users/kassouni/home.nix | 1 | ||||
| -rw-r--r-- | users/kassouni/palette/rebuild.nix | 1 |
7 files changed, 2 insertions, 129 deletions
diff --git a/users/kassouni/desktop/xmonad/default.nix b/users/kassouni/desktop/xmonad/default.nix deleted file mode 100644 index d62dbe4..0000000 --- a/users/kassouni/desktop/xmonad/default.nix +++ /dev/null @@ -1,7 +0,0 @@ -{...}: { - imports = [ - ./xmonad.nix - ./rofi.nix - ./xbindkeys.nix - ]; -} diff --git a/users/kassouni/desktop/xmonad/rofi.nix b/users/kassouni/desktop/xmonad/rofi.nix deleted file mode 100644 index 740047b..0000000 --- a/users/kassouni/desktop/xmonad/rofi.nix +++ /dev/null @@ -1,79 +0,0 @@ -{ config, ... }: - -let - inherit (config.lib.formats.rasi) mkLiteral; - colors = config.colorScheme; -in -{ - programs.rofi = { - enable = true; - font = "${config.theme.font.family} ${builtins.toString config.theme.font.size}"; - - theme = { - "*" = { - background-color = mkLiteral "transparent"; - text-color = mkLiteral colors.editor.fg; - }; - - window = { - background-color = mkLiteral colors.ui.popup.bg; - border = mkLiteral "2px"; - border-color = mkLiteral colors.ui.line; - border-radius = mkLiteral "8px"; - padding = mkLiteral "16px"; - width = mkLiteral "40%"; - }; - - inputbar = { - children = map mkLiteral [ "prompt" "entry" ]; - background-color = mkLiteral colors.ui.panel.bg; - border-radius = mkLiteral "4px"; - padding = mkLiteral "8px"; - spacing = mkLiteral "8px"; - }; - - prompt = { - text-color = mkLiteral colors.common.accent.tint; - }; - - entry = { - placeholder = "Search"; - placeholder-color = mkLiteral colors.ui.fg; - }; - - listview = { - lines = 8; - scrollbar = false; - spacing = mkLiteral "2px"; - margin = mkLiteral "12px 0px 0px 0px"; - }; - - element = { - padding = mkLiteral "8px"; - border-radius = mkLiteral "4px"; - spacing = mkLiteral "8px"; - }; - - "element normal urgent" = { - text-color = mkLiteral colors.common.error; - }; - - "element normal active" = { - text-color = mkLiteral colors.common.accent.tint; - }; - - "element selected normal" = { - background-color = mkLiteral colors.common.accent.tint; - text-color = mkLiteral colors.surface.base; - }; - - element-icon = { - size = mkLiteral "1em"; - }; - - element-text = { - text-color = mkLiteral "inherit"; - }; - }; - }; -} diff --git a/users/kassouni/desktop/xmonad/xbindkeys.nix b/users/kassouni/desktop/xmonad/xbindkeys.nix deleted file mode 100644 index 41ef7ed..0000000 --- a/users/kassouni/desktop/xmonad/xbindkeys.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ pkgs, ... }: -let - wpctl = "${pkgs.wireplumber}/bin/wpctl"; - - xbindkeysrc = pkgs.writeText "xbindkeysrc" '' - "${wpctl} set-volume -l 1.0 @DEFAULT_AUDIO_SINK@ 5%+" - XF86AudioRaiseVolume - - "${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%-" - XF86AudioLowerVolume - - "${wpctl} set-mute @DEFAULT_AUDIO_SINK@ toggle" - XF86AudioMute - ''; -in -{ - systemd.user.services.xbindkeys = { - Unit = { - Description = "xbindkeys"; - PartOf = [ "graphical-session.target" ]; - After = [ "graphical-session.target" ]; - }; - - Service = { - # -n keeps it in the foreground so systemd can supervise it - ExecStart = "${pkgs.xbindkeys}/bin/xbindkeys -n -f ${xbindkeysrc}"; - Restart = "on-failure"; - }; - - Install.WantedBy = [ "graphical-session.target" ]; - }; -} diff --git a/users/kassouni/desktop/xmonad/xmonad.nix b/users/kassouni/desktop/xmonad/xmonad.nix deleted file mode 100644 index d49dcc1..0000000 --- a/users/kassouni/desktop/xmonad/xmonad.nix +++ /dev/null @@ -1,9 +0,0 @@ -{pkgs, config, ...}: { - xmonad-config = { - launcher = "rofi -show drun -show-icons"; - terminal = "ghostty"; - wallpaper = config.theme.desktop.wallpaper; - xmobar.font = config.theme.font; - }; -} - diff --git a/users/kassouni/fonts.nix b/users/kassouni/fonts.nix index 2cf25f6..f3dc396 100644 --- a/users/kassouni/fonts.nix +++ b/users/kassouni/fonts.nix @@ -7,6 +7,8 @@ home.packages = with pkgs; [ dejavu_fonts noto-fonts + noto-fonts-cjk-sans + noto-fonts-cjk-serif openmoji-color ]; } diff --git a/users/kassouni/home.nix b/users/kassouni/home.nix index a5d7c85..b39fdaf 100644 --- a/users/kassouni/home.nix +++ b/users/kassouni/home.nix @@ -14,7 +14,6 @@ ./slippi.nix ./ssh.nix ./desktop/sway - ./desktop/xmonad ./rip.nix ./ayu/ayu-dark.nix ./git.nix diff --git a/users/kassouni/palette/rebuild.nix b/users/kassouni/palette/rebuild.nix index edffa6b..9a48268 100644 --- a/users/kassouni/palette/rebuild.nix +++ b/users/kassouni/palette/rebuild.nix @@ -12,7 +12,6 @@ exec ${pkgs.ghostty}/bin/ghostty -e bash -lc ' set -eu cd /home/kassouni/Developer/nixos-config - nix flake update xmonad-config sudo nixos-rebuild switch --flake . echo echo "Rebuild finished. Press enter to close." |