diff options
| -rw-r--r-- | home/rices/cassette-futurism/default.nix | 14 | ||||
| -rw-r--r-- | home/rices/cassette-futurism/nvim.nix | 58 | ||||
| -rw-r--r-- | home/rices/cassette-futurism/picom.nix | 137 | ||||
| -rw-r--r-- | home/rices/cassette-futurism/system.nix | 94 | ||||
| -rw-r--r-- | home/rices/cassette-futurism/variables.nix | 59 | ||||
| -rw-r--r-- | home/rices/cassette-futurism/xfce.nix | 394 |
6 files changed, 0 insertions, 756 deletions
diff --git a/home/rices/cassette-futurism/default.nix b/home/rices/cassette-futurism/default.nix deleted file mode 100644 index dd83226..0000000 --- a/home/rices/cassette-futurism/default.nix +++ /dev/null @@ -1,14 +0,0 @@ -{pkgs, ...}: { - imports = [ - ./xfce.nix - ./picom.nix - ./nvim.nix - ]; - - # Cassette futurism specific packages - home.packages = with pkgs; [ - # Optional: cool-retro-term for authentic CRT terminal experience - # Uncomment if desired: - # cool-retro-term - ]; -} diff --git a/home/rices/cassette-futurism/nvim.nix b/home/rices/cassette-futurism/nvim.nix deleted file mode 100644 index 8e20790..0000000 --- a/home/rices/cassette-futurism/nvim.nix +++ /dev/null @@ -1,58 +0,0 @@ -{pkgs, ...}: let - vars = import ./variables.nix; -in { - programs.neovim = { - enable = true; - defaultEditor = true; - viAlias = true; - vimAlias = true; - - extraLuaConfig = '' - -- Cassette Futurism Neovim theme - vim.cmd([[ - highlight Normal guibg=${vars.colors.background} guifg=${vars.colors.foreground} - highlight NormalFloat guibg=${vars.colors.backgroundAlt} guifg=${vars.colors.foreground} - highlight Comment guifg=${vars.colors.gray4} gui=italic - highlight Constant guifg=${vars.colors.orange} - highlight String guifg=${vars.colors.success} - highlight Character guifg=${vars.colors.success} - highlight Number guifg=${vars.colors.orange} - highlight Boolean guifg=${vars.colors.hotPink} - highlight Float guifg=${vars.colors.orange} - highlight Identifier guifg=${vars.colors.cyan} - highlight Function guifg=${vars.colors.purple} - highlight Statement guifg=${vars.colors.magenta} - highlight Keyword guifg=${vars.colors.magenta} - highlight Operator guifg=${vars.colors.cyan} - highlight PreProc guifg=${vars.colors.hotPink} - highlight Type guifg=${vars.colors.yellow} - highlight Special guifg=${vars.colors.cyan} - highlight Underlined guifg=${vars.colors.purple} gui=underline - highlight Error guibg=${vars.colors.error} guifg=${vars.colors.background} - highlight Todo guibg=${vars.colors.yellow} guifg=${vars.colors.background} - highlight LineNr guifg=${vars.colors.gray4} - highlight CursorLineNr guifg=${vars.colors.hotPink} - highlight Visual guibg=${vars.colors.gray2} - highlight Search guibg=${vars.colors.purple} guifg=${vars.colors.background} - highlight IncSearch guibg=${vars.colors.hotPink} guifg=${vars.colors.background} - highlight StatusLine guibg=${vars.colors.backgroundAlt} guifg=${vars.colors.cyan} - highlight StatusLineNC guibg=${vars.colors.backgroundAlt} guifg=${vars.colors.gray4} - highlight VertSplit guibg=${vars.colors.background} guifg=${vars.colors.gray3} - highlight Pmenu guibg=${vars.colors.backgroundAlt} guifg=${vars.colors.foreground} - highlight PmenuSel guibg=${vars.colors.hotPink} guifg=${vars.colors.background} - highlight PmenuSbar guibg=${vars.colors.gray2} - highlight PmenuThumb guibg=${vars.colors.gray4} - ]]) - - -- Basic settings - vim.opt.number = true - vim.opt.relativenumber = true - vim.opt.expandtab = true - vim.opt.shiftwidth = 2 - vim.opt.tabstop = 2 - vim.opt.smartindent = true - vim.opt.termguicolors = true - vim.opt.cursorline = true - ''; - }; -} diff --git a/home/rices/cassette-futurism/picom.nix b/home/rices/cassette-futurism/picom.nix deleted file mode 100644 index 26518e0..0000000 --- a/home/rices/cassette-futurism/picom.nix +++ /dev/null @@ -1,137 +0,0 @@ -{ - config, - pkgs, - ... -}: let - vars = import ./variables.nix; -in { - # Picom compositor configuration - # CRT-inspired effects: green glow shadows, transparency, blur, rounded corners - - services.picom = { - enable = true; - - backend = "glx"; - vSync = true; - - # Opacity settings - opacity = 0.95; - activeOpacity = 0.95; - inactiveOpacity = 0.90; - - opacityRules = [ - "90:class_g = 'Xfce4-terminal'" - "90:class_g = 'xfce4-terminal'" - "95:class_g = 'Thunar'" - "95:class_g = 'Mousepad'" - "90:class_g = 'Rofi'" - "100:class_g = 'Firefox'" - "100:class_g = 'Chromium'" - ]; - - # Fading - fade = true; - fadeDelta = 5; - fadeSteps = [ 0.028 0.03 ]; - - # Shadows - CRT green glow effect - shadow = true; - shadowOpacity = 0.6; - shadowOffsets = [ (-15) (-15) ]; - shadowRadius = 20; - - # CRT green glow color (hex format: #RRGGBB) - shadowColor = "#00FF00"; - - shadowExclude = [ - "name = 'Notification'" - "class_g = 'Conky'" - "class_g ?= 'Notify-osd'" - "class_g = 'Cairo-clock'" - "_GTK_FRAME_EXTENTS@:c" - ]; - - # Blur settings - blur = { - enable = true; - method = "dual_kawase"; - strength = 6; - }; - - blurExclude = [ - "window_type = 'dock'" - "window_type = 'desktop'" - "_GTK_FRAME_EXTENTS@:c" - ]; - - # Rounded corners - 12px radius - cornerRadius = 12; - - roundedCornersExclude = [ - "window_type = 'dock'" - "window_type = 'desktop'" - ]; - - # Window animations (picom-pijulius style) - # Note: Standard picom may not support all animation options - # If animations cause issues, these can be removed - settings = { - # Animation settings (if using picom-pijulius) - animations = true; - animation-stiffness = 200; - animation-window-mass = 0.5; - animation-dampening = 20; - animation-clamping = false; - - # Animation for window open - slide down (CRT scan-line effect) - animation-for-open-window = "slide-down"; - - # Animation for window close - slide up - animation-for-unmap-window = "slide-up"; - - # Animation for transient windows - zoom - animation-for-transient-window = "zoom"; - - # Focus/unfocus animations - animation-for-prev-tag = "minimize"; - animation-for-next-tag = "slide-down"; - - # Additional GLX backend settings - glx-no-stencil = true; - glx-no-rebind-pixmap = true; - use-damage = true; - - # Detect settings - detect-rounded-corners = true; - detect-client-opacity = true; - detect-transient = true; - detect-client-leader = true; - - # Window type settings - wintypes = { - tooltip = { - fade = true; - shadow = false; - opacity = 0.90; - focus = true; - full-shadow = false; - }; - dock = { - shadow = false; - clip-shadow-above = true; - }; - dnd = { - shadow = false; - }; - popup_menu = { - opacity = 0.90; - shadow = true; - }; - dropdown_menu = { - opacity = 0.90; - shadow = true; - }; - }; - }; - }; -} diff --git a/home/rices/cassette-futurism/system.nix b/home/rices/cassette-futurism/system.nix deleted file mode 100644 index 1a4cc59..0000000 --- a/home/rices/cassette-futurism/system.nix +++ /dev/null @@ -1,94 +0,0 @@ -{pkgs, ...}: let - vars = import ./variables.nix; -in { - # Desktop environment - XFCE - services.xserver.desktopManager.xfce.enable = true; - - # Note: Using ly display manager from system/services.nix (not LightDM) - - services.xserver = { - enable = true; - xkb = { - layout = "cz"; - options = "eurosign:e,caps:escape"; - }; - }; - - # XFCE-specific packages - environment.systemPackages = with pkgs; [ - # Core XFCE components - xfce.xfce4-panel - xfce.xfce4-settings - xfce.xfce4-power-manager - xfce.xfce4-notifyd - xfce.thunar - xfce.thunar-volman - xfce.tumbler - - # XFCE applications (KDE replacements) - xfce.xfce4-terminal # replaces konsole - xfce.mousepad # replaces kate - xfce.ristretto # replaces gwenview - xfce.xfce4-screenshooter # replaces spectacle - - # Compositor for effects - picom - ]; - - # Stylix configuration - cassette futurism - # Only enable for TTY and system-level theming, XFCE is manually configured - stylix = { - enable = true; - autoEnable = false; # Disable auto-theming, we'll enable specific targets - - base16Scheme = vars.base16; - - # Use local cassette futurism wallpaper (NGE themed) - image = ../../../assets/wallpapers/NGE_CF.jpg; - - fonts = { - monospace = { - package = pkgs.nerd-fonts.jetbrains-mono; - name = "JetBrainsMono Nerd Font"; - }; - sansSerif = { - package = pkgs.noto-fonts; - name = "Noto Sans"; - }; - serif = { - package = pkgs.nerd-fonts.jetbrains-mono; - name = "JetBrainsMono Nerd Font"; - }; - emoji = { - package = pkgs.noto-fonts-color-emoji; - name = "Noto Color Emoji"; - }; - sizes = { - terminal = 11; - applications = 11; - desktop = 11; - }; - }; - - cursor = { - package = pkgs.bibata-cursors; - name = "Bibata-Modern-Classic"; - size = 24; - }; - - opacity = { - terminal = 0.90; - applications = 0.95; - desktop = 1.0; - popups = 0.90; - }; - - polarity = "dark"; - - # Enable only specific targets (TTY, not XFCE/GTK) - targets = { - console.enable = true; # TTY theming - nixos-icons.enable = false; - }; - }; -} diff --git a/home/rices/cassette-futurism/variables.nix b/home/rices/cassette-futurism/variables.nix deleted file mode 100644 index e8c2ddf..0000000 --- a/home/rices/cassette-futurism/variables.nix +++ /dev/null @@ -1,59 +0,0 @@ -{ - # Cassette Futurism Color Palette - # Inspired by 1970s-80s tech aesthetic: CRT displays, cassette tapes, VCRs - # Dark background with hot retro accent colors - - colors = { - # Base colors - CRT display aesthetic - background = "#0F0F0F"; # Near-black CRT screen - backgroundAlt = "#1A1A1A"; # Slightly lighter for contrast - foreground = "#00FF00"; # Classic CRT green phosphor - foregroundAlt = "#FFAA00"; # CRT amber phosphor (alternative) - - # Accent colors - Hot retro palette - hotPink = "#FF006E"; # Cassette label pink - cyan = "#00FFFF"; # Bright cyan (retro terminal) - purple = "#9D4EDD"; # Deep retro purple - magenta = "#FF00FF"; # Hot magenta - orange = "#FF8500"; # Cassette tape orange - yellow = "#FFD60A"; # Warning yellow - - # Functional colors - success = "#00FF00"; # CRT green - warning = "#FFAA00"; # Amber - error = "#FF006E"; # Hot pink - info = "#00FFFF"; # Cyan - - # UI grays - gray0 = "#0F0F0F"; - gray1 = "#1A1A1A"; - gray2 = "#2A2A2A"; - gray3 = "#3A3A3A"; - gray4 = "#4A4A4A"; - gray5 = "#5A5A5A"; - }; - - # Base16 mapping for Stylix - base16 = { - base00 = "0F0F0F"; # background - base01 = "1A1A1A"; # lighter background - base02 = "2A2A2A"; # selection background - base03 = "3A3A3A"; # comments - base04 = "00FF00"; # CRT green - base05 = "00FFFF"; # cyan foreground - base06 = "FF006E"; # hot pink - base07 = "FFFFFF"; # bright white - base08 = "FF006E"; # hot pink (variables) - base09 = "FF8500"; # orange (constants) - base0A = "FFD60A"; # yellow (classes) - base0B = "00FF00"; # green (strings) - base0C = "00FFFF"; # cyan (support) - base0D = "9D4EDD"; # purple (functions) - base0E = "FF00FF"; # magenta (keywords) - base0F = "FFAA00"; # amber (deprecated) - }; - - # Wallpaper path (user should replace with cassette-themed image) - wallpaper = "../../../assets/wallpapers/NGE_CF.jpg"; - wallpaperFallback = "https://raw.githubusercontent.com/NixOS/nixos-artwork/master/wallpapers/nix-wallpaper-mosaic-blue.png"; -} diff --git a/home/rices/cassette-futurism/xfce.nix b/home/rices/cassette-futurism/xfce.nix deleted file mode 100644 index 8eca98a..0000000 --- a/home/rices/cassette-futurism/xfce.nix +++ /dev/null @@ -1,394 +0,0 @@ -{ - config, - pkgs, - lib, - ... -}: let - vars = import ./variables.nix; - c = vars.colors; -in { - # XFCE configuration with manual cassette futurism theming - # Stylix is disabled for XFCE - all colors set manually - - # GTK theme - manually configured with cassette futurism colors - gtk = { - enable = true; - - theme = { - name = "Adwaita-dark"; - package = pkgs.gnome-themes-extra; - }; - - iconTheme = { - name = "Adwaita"; - package = pkgs.adwaita-icon-theme; - }; - - font = { - name = "Noto Sans"; - size = 11; - }; - - gtk2.extraConfig = '' - gtk-application-prefer-dark-theme = 1 - ''; - - gtk3.extraConfig = { - gtk-application-prefer-dark-theme = 1; - }; - - # Custom CSS for cassette futurism aesthetic - gtk3.extraCss = '' - /* Cassette Futurism GTK3 Theme */ - - /* Hide menubars globally */ - .menubar { - opacity: 0; - min-height: 0; - padding: 0; - margin: 0; - } - - /* Base colors */ - * { - outline-color: ${c.cyan}; - outline-width: 1px; - } - - /* Window backgrounds */ - window { - background-color: ${c.background}; - color: ${c.foreground}; - } - - /* Selections */ - selection { - background-color: ${c.gray2}; - color: ${c.cyan}; - } - - /* Buttons */ - button { - background-color: ${c.gray2}; - color: ${c.foreground}; - border: 1px solid ${c.gray4}; - } - - button:hover { - background-color: ${c.gray3}; - border-color: ${c.cyan}; - } - - button:active { - background-color: ${c.gray4}; - color: ${c.cyan}; - } - - /* Entry fields */ - entry { - background-color: ${c.backgroundAlt}; - color: ${c.foreground}; - border: 1px solid ${c.gray3}; - caret-color: ${c.cyan}; - } - - entry:focus { - border-color: ${c.cyan}; - } - - /* Scrollbars */ - scrollbar { - background-color: ${c.background}; - } - - scrollbar slider { - background-color: ${c.gray3}; - border: 1px solid ${c.gray4}; - } - - scrollbar slider:hover { - background-color: ${c.gray4}; - border-color: ${c.cyan}; - } - - /* Tooltips */ - tooltip { - background-color: ${c.gray2}; - color: ${c.cyan}; - border: 1px solid ${c.cyan}; - } - - /* Sidebar */ - .sidebar { - background-color: ${c.backgroundAlt}; - } - ''; - - gtk4.extraCss = '' - /* Cassette Futurism GTK4 Theme */ - - /* Hide menubars */ - .menubar { - opacity: 0; - min-height: 0; - padding: 0; - margin: 0; - } - - /* Base window styling */ - window { - background-color: ${c.background}; - color: ${c.foreground}; - } - ''; - }; - - # XFCE Terminal color scheme - CRT cassette futurism - programs.xfce4-terminal = { - enable = true; - settings = { - "Configuration" = { - FontName = "JetBrainsMono Nerd Font 11"; - MiscAlwaysShowTabs = false; - MiscBell = false; - MiscBellUrgent = false; - MiscBordersDefault = true; - MiscCursorBlinks = true; - MiscCursorShape = "TERMINAL_CURSOR_SHAPE_BLOCK"; - MiscDefaultGeometry = "100x30"; - MiscInheritGeometry = false; - MiscMenubarDefault = false; - MiscMouseAutohide = false; - MiscMouseWheelZoom = true; - MiscToolbarDefault = false; - MiscConfirmClose = true; - MiscCycleTabs = true; - MiscTabCloseButtons = true; - MiscTabCloseMiddleClick = true; - MiscTabPosition = "GTK_POS_TOP"; - MiscHighlightUrls = true; - MiscMiddleClickOpensUri = false; - MiscCopyOnSelect = false; - MiscShowRelaunchDialog = true; - MiscRewrapOnResize = true; - MiscUseShiftArrowsToScroll = false; - MiscSlimTabs = false; - MiscNewTabAdjacent = false; - ScrollingLines = 999999; - - # Cassette futurism colors (Base16) - ColorForeground = c.foreground; - ColorBackground = c.background; - ColorCursor = c.cyan; - ColorSelection = c.gray2; - ColorSelectionUseDefault = false; - - # 16-color palette for terminal - ColorPalette = lib.concatStringsSep ";" [ - c.background # 0: black - c.error # 1: red (hot pink) - c.success # 2: green (CRT green) - c.warning # 3: yellow (amber) - c.purple # 4: blue (purple) - c.magenta # 5: magenta - c.cyan # 6: cyan - c.foregroundAlt # 7: white (amber) - c.gray3 # 8: bright black - c.hotPink # 9: bright red - c.foreground # 10: bright green - c.yellow # 11: bright yellow - c.purple # 12: bright blue - c.magenta # 13: bright magenta - c.cyan # 14: bright cyan - "#FFFFFF" # 15: bright white - ]; - }; - }; - }; - - # XFCE configuration via xfconf - xfconf.settings = { - # Panel configuration - xfce4-panel = { - panels = [ - { - position = "p=8;x=0;y=0"; # Top panel - size = 32; - length = 100; - autohide = false; - background-style = 0; - background-rgba = [0.06 0.06 0.06 0.95]; # Near-black with slight transparency - } - ]; - - # Panel plugins appearance - plugins = { - # Make sure clock uses system font - "plugin-1" = { - digital-format = "%H:%M"; - }; - }; - }; - - # Window Manager (xfwm4) - cassette futurism theme - xfwm4 = { - general = { - # Disable built-in compositor (picom handles effects) - use_compositing = false; - - # Window snapping - snap_to_border = true; - snap_to_windows = true; - snap_width = 10; - - # Fonts - title_font = "JetBrainsMono Nerd Font Bold 11"; - - # Window decorations theme - theme = "Default"; - - # Button layout - button_layout = "O|HMC"; - - # Title alignment - title_alignment = "left"; - - # Opacity settings - inactive_opacity = 90; - move_opacity = 85; - resize_opacity = 85; - popup_opacity = 95; - - # Focus settings - click_to_focus = true; - focus_new = true; - raise_on_click = true; - raise_on_focus = false; - }; - }; - - # Desktop settings - wallpaper and icons - xfce4-desktop = { - backdrop = { - screen0 = { - monitor0 = { - workspace0 = { - color-style = 0; # Solid color - image-style = 3; # Scaled - last-image = vars.wallpaper; - - # Backup color (CRT black) - color1 = [0.06 0.06 0.06 1.0]; # #0F0F0F - rgba1 = [0.06 0.06 0.06 1.0]; - }; - }; - }; - }; - - desktop-icons = { - # Hide all desktop icons - file-icons = { - show-filesystem = false; - show-home = false; - show-trash = false; - show-removable = false; - }; - - # Icon appearance - icon-size = 48; - use-custom-font-size = true; - font-size = 11; - }; - }; - - # Thunar file manager - cassette futurism styling - thunar = { - # Hide menubar - last-menubar-visible = false; - - # Show hidden files by default - last-show-hidden = true; - - # Icon view as default - last-view = "ThunarIconView"; - last-icon-view-zoom-level = "THUNAR_ZOOM_LEVEL_NORMAL"; - - # Misc settings - misc-single-click = false; - misc-folders-first = true; - misc-directory-specific-settings = true; - - # Side pane - last-side-pane = "ThunarShortcutsPane"; - - # Statusbar - last-statusbar-visible = true; - }; - - # GTK/X settings - xsettings = { - # Dark theme - "Net/ThemeName" = "Adwaita-dark"; - "Net/IconThemeName" = "Adwaita"; - "Gtk/ApplicationPreferDarkTheme" = 1; - - # Toolbar settings - "Gtk/ToolbarStyle" = 3; # Icons only - "Gtk/ToolbarIconSize" = 3; # Large icons - "Gtk/ButtonImages" = true; - "Gtk/MenuImages" = true; - - # Font rendering - "Xft/Antialias" = 1; - "Xft/Hinting" = 1; - "Xft/HintStyle" = "hintslight"; - "Xft/RGBA" = "rgb"; - "Xft/DPI" = 96; - - # Cursor - "Gtk/CursorThemeName" = "Bibata-Modern-Classic"; - "Gtk/CursorThemeSize" = 24; - }; - - # Keyboard settings - keyboards = { - "Default" = { - Numlock = true; - }; - }; - - # Mouse/touchpad settings - pointers = { - "Default" = { - Acceleration = 2.0; - Threshold = 4; - }; - }; - }; - - # Home configuration - home.packages = with pkgs; [ - # XFCE goodies - xfce.xfce4-panel - xfce.xfce4-settings - xfce.xfce4-power-manager - xfce.xfce4-notifyd - xfce.thunar - xfce.thunar-volman - xfce.tumbler - xfce.mousepad - xfce.ristretto - xfce.xfce4-screenshooter - - # Themes - gnome-themes-extra - adwaita-icon-theme - bibata-cursors - ]; - - # Session variables - home.sessionVariables = { - # Force GTK to use our theme - GTK_THEME = "Adwaita-dark"; - }; -} |
