diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..c22c238 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,154 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Overview +This repository contains Omarchy NixOS, a declarative system configuration that transforms NixOS into a beautiful, modern development environment based on Hyprland. Unlike the original Arch-based Omarchy, this version uses Nix's declarative configuration management for reproducible systems. + +## Key Commands + +### System Management +```bash +# Rebuild system configuration +sudo nixos-rebuild switch --flake /etc/nixos#omarchy +omarchy-rebuild # Convenience wrapper + +# Update system and flake inputs +omarchy update + +# Clean and optimize Nix store +omarchy clean + +# Search for packages +omarchy search +``` + +### Development Workflows +```bash +# Test configuration changes +nixos-rebuild build --flake .#omarchy # Build without switching + +# Enter development shell +nix develop # Uses flake.nix devShell +nix develop .#python # Language-specific shell + +# Format Nix code +nixpkgs-fmt *.nix +alejandra *.nix # Alternative formatter + +# Check Nix code +statix check . # Static analysis +deadnix . # Dead code elimination +``` + +### Theme Development +```bash +# Available themes in modules/themes/ +ls modules/themes/ + +# Test theme switch +omarchy theme tokyo-night + +# Create new theme +cp modules/themes/tokyo-night.nix modules/themes/my-theme.nix +# Edit color values and application configs +``` + +## Architecture + +### Flake Structure +- **flake.nix** - Main flake definition with inputs and outputs +- **configuration.nix** - Main NixOS configuration entry point +- **home.nix** - Home-manager configuration for user environment + +### Module System +The configuration is split into focused modules: +- **modules/core.nix** - Base system settings and Omarchy options +- **modules/packages.nix** - Package collections with feature flags +- **modules/development.nix** - Development tools and environments +- **modules/desktop/hyprland.nix** - Hyprland compositor configuration +- **modules/services.nix** - System services and daemons +- **modules/users.nix** - User account management +- **modules/themes/** - Theme-specific configurations + +### Configuration Management +1. **Declarative** - Everything defined in Nix expressions +2. **Modular** - Features can be enabled/disabled via options +3. **Reproducible** - Same configuration produces identical systems +4. **Version Controlled** - All changes tracked in git + +### Theme System +- Each theme is a complete Nix module in `modules/themes/` +- Themes configure: terminals, editors, GTK, Qt, desktop components +- Theme switching updates configuration.nix and rebuilds system +- Colors defined as variables for consistency + +### Package Management +- **System packages** in `modules/packages.nix` with feature categories +- **User packages** in home.nix via home-manager +- **Development environments** via flake devShells +- **Custom packages** in packages/ directory + +## Development Guidelines + +### Adding Packages +1. **System packages**: Add to `modules/packages.nix` in appropriate category +2. **User packages**: Add to `home.nix` home.packages +3. **Development only**: Add to devShell in flake.nix +4. Always rebuild/test: `nixos-rebuild build --flake .#omarchy` + +### Creating Modules +1. Follow NixOS module structure with options and config sections +2. Use `lib.mkEnableOption` and `lib.mkOption` for configuration +3. Implement feature flags for optional functionality +4. Document options and provide sensible defaults + +### Theme Development +1. Copy existing theme as template +2. Define color palette as environment variables +3. Configure all supported applications consistently +4. Test theme switching functionality + +### Custom Packages +1. Create derivations in packages/ directory +2. Use `pkgs.writeShellScriptBin` for simple scripts +3. Add to flake outputs for external use +4. Follow Nix packaging guidelines + +### Flake Management +- Pin inputs for stability: `nix flake update --commit-lock-file` +- Use follows for input deduplication +- Provide multiple devShells for different workflows +- Export packages and apps for external consumption + +### Testing Changes +- Build configuration: `nixos-rebuild build --flake .#omarchy` +- Test in VM: `nixos-rebuild build-vm --flake .#omarchy` +- Check evaluation: `nix flake check` +- Format code: `nixpkgs-fmt .` + +### Home Manager Integration +- User-specific configuration in home.nix +- Theme integration via home-manager modules +- Dotfile management through Nix expressions +- Service management via systemd user units + +## Common Tasks + +### Adding New Service +1. Define in `modules/services.nix` +2. Use systemd service configuration +3. Add necessary packages +4. Configure firewalls/permissions as needed + +### Hardware Support +1. Add hardware-specific modules in `modules/hardware/` +2. Use conditional configuration based on hardware detection +3. Include necessary firmware and drivers +4. Test on target hardware + +### Debugging Issues +- Check system logs: `journalctl -xe` +- Nix build logs: `nix log /nix/store/...` +- Configuration evaluation: `nix show-config` +- Module option documentation: `man configuration.nix` \ No newline at end of file diff --git a/README.md b/README.md index b76136b..17818b6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,325 @@ -# Omarchy +# Omarchy NixOS -Turn a fresh Arch installation into a fully-configured, beautiful, and modern web development system based on Hyprland by running a single command. That's the one-line pitch for Omarchy (like it was for Omakub). No need to write bespoke configs for every essential tool just to get started or to be up on all the latest command-line tools. Omarchy is an opinionated take on what Linux can be at its best. +Transform your NixOS installation into a fully-configured, beautiful, and modern development system based on Hyprland by running a single command. Omarchy brings the elegance of declarative configuration to desktop Linux, creating a reproducible and version-controlled development environment. -Read more at [omarchy.org](https://omarchy.org). +## โœจ Features -## License +- **๐ŸŽจ Beautiful Themes**: Ships with carefully crafted themes (Tokyo Night, Catppuccin, and more) - all declaratively configured +- **๐Ÿš€ Modern Stack**: Hyprland compositor, Waybar, Alacritty, Neovim with LazyVim, all configured through Nix +- **๐Ÿ“ฆ Declarative Everything**: Entire system configuration as code - reproducible across machines +- **๐Ÿ› ๏ธ Development Ready**: Pre-configured environments for Rust, Go, Python, Node.js, C/C++, and more via Nix shells +- **๐Ÿ”„ Atomic Updates**: Rollback capability, no broken states, system-wide updates with one command +- **๐ŸŽฏ Modular Design**: Feature flags for Docker, gaming, multimedia - enable only what you need +- **โšก Flake-based**: Modern Nix flakes for dependency management and reproducible builds +- **๐Ÿ  Home Manager**: User environment managed declaratively alongside system configuration -Omarchy is released under the [MIT License](https://opensource.org/licenses/MIT). +## ๐Ÿ“‹ Requirements +- NixOS 24.05 or newer (fresh installation recommended) +- 8GB RAM minimum (16GB+ recommended for development) +- 40GB disk space (for Nix store and development tools) +- UEFI system (for systemd-boot configuration) + +## ๐Ÿš€ Installation + +### Quick Install (Bootstrap on fresh NixOS) + +```bash +curl -fsSL https://raw.githubusercontent.com/yourusername/omarchy-nixos/main/boot.sh | bash +``` + +### Manual Installation + +1. Clone this repository: +```bash +git clone https://github.com/yourusername/omarchy-nixos +cd omarchy-nixos +``` + +2. Run the interactive installer: +```bash +./install.sh +``` + +3. The installer will: + - Backup your existing NixOS configuration + - Set up your username and home directory + - Let you choose a theme (Tokyo Night, Catppuccin, etc.) + - Configure optional features (Docker, gaming, multimedia) + - Build and switch to the new configuration + +### Advanced: Direct Flake Installation + +```bash +# On existing NixOS system +sudo nixos-rebuild switch --flake github:yourusername/omarchy-nixos#omarchy + +# Or locally after cloning +sudo nixos-rebuild switch --flake .#omarchy +``` + +## ๐ŸŽฎ Usage + +### System Management + +```bash +omarchy help # Show all available commands +omarchy update # Update system and flake inputs +omarchy clean # Clean and optimize Nix store +omarchy info # Show system information +omarchy-rebuild # Rebuild system configuration +``` + +### Theme Management + +```bash +omarchy theme # List available themes +omarchy theme tokyo-night # Switch to Tokyo Night theme +omarchy-theme-list # List all available themes +omarchy-theme-set catppuccin # Set Catppuccin theme +``` + +### Development Environments + +```bash +# Enter development shells +nix develop # Default development shell +nix develop .#rust # Rust development environment +nix develop .#python # Python development environment +nix develop .#node # Node.js development environment + +# Create new projects with dev environments +dev-project myapp rust # Create Rust project with flake +dev-project webapp node # Create Node.js project with flake + +# Start development databases (Docker containers) +dev-postgres # PostgreSQL container +dev-redis # Redis container +dev-mysql # MySQL container +dev-mongodb # MongoDB container +``` + +### Package Management + +```bash +omarchy search firefox # Search for packages +nix search nixpkgs python # Alternative package search + +# Install packages by editing configuration +# Add to modules/packages.nix, then: +omarchy-rebuild # Apply changes +``` + +## โŒจ๏ธ Key Bindings + +| Key Combination | Action | +|-----------------|--------| +| `Super + Return` | Open terminal | +| `Super + B` | Open browser | +| `Super + E` | Open file manager | +| `Super + D` | Application launcher | +| `Super + Q` | Close window | +| `Super + F` | Fullscreen | +| `Super + Space` | Toggle floating | +| `Super + 1-9` | Switch workspace | +| `Super + Shift + 1-9` | Move window to workspace | +| `Print` | Screenshot region | +| `Shift + Print` | Screenshot full screen | + +## ๐Ÿ“ Project Structure + +``` +omarchy-nixos/ +โ”œโ”€โ”€ configuration.nix # Main NixOS configuration entry point +โ”œโ”€โ”€ flake.nix # Flake definition with inputs/outputs +โ”œโ”€โ”€ home.nix # Home-manager user configuration +โ”œโ”€โ”€ hardware-configuration.nix # Hardware-specific configuration (generated) +โ”œโ”€โ”€ install.sh # Interactive installer script +โ”œโ”€โ”€ boot.sh # Bootstrap script for fresh systems +โ”œโ”€โ”€ modules/ # Modular NixOS configuration +โ”‚ โ”œโ”€โ”€ core.nix # Core Omarchy options and settings +โ”‚ โ”œโ”€โ”€ packages.nix # Categorized package collections +โ”‚ โ”œโ”€โ”€ development.nix # Development tools and environments +โ”‚ โ”œโ”€โ”€ services.nix # System services and daemons +โ”‚ โ”œโ”€โ”€ users.nix # User account management +โ”‚ โ”œโ”€โ”€ desktop/ +โ”‚ โ”‚ โ””โ”€โ”€ hyprland.nix # Hyprland compositor configuration +โ”‚ โ”œโ”€โ”€ themes/ # Declarative theme system +โ”‚ โ”‚ โ”œโ”€โ”€ tokyo-night.nix # Tokyo Night theme +โ”‚ โ”‚ โ”œโ”€โ”€ catppuccin.nix # Catppuccin theme +โ”‚ โ”‚ โ””โ”€โ”€ ... # Additional themes +โ”‚ โ””โ”€โ”€ hardware/ +โ”‚ โ””โ”€โ”€ default.nix # Hardware support and drivers +โ””โ”€โ”€ packages/ + โ””โ”€โ”€ scripts.nix # Omarchy utility scripts as Nix packages +``` + +## ๐Ÿ—๏ธ Architecture + +### Flake-based Configuration +- **Pinned Dependencies**: All inputs locked for reproducibility +- **Multiple Outputs**: NixOS config, development shells, packages, and apps +- **Home Manager Integration**: User environment managed alongside system + +### Modular Design +- **Feature Flags**: Enable/disable Docker, gaming, development tools, etc. +- **Theme System**: Complete application theming through Nix modules +- **Hardware Support**: Automatic detection and configuration +- **Development Environments**: Language-specific shells with all dependencies + +### Declarative Everything +- **No Imperative Commands**: Everything defined in configuration files +- **Version Controlled**: All changes tracked in git +- **Rollback Support**: Previous generations available for recovery +- **Atomic Updates**: System changes applied atomically + +## ๐ŸŽจ Themes + +Omarchy includes beautiful themes that configure your entire desktop environment: + +- **Tokyo Night** (default) - A clean, dark theme inspired by Tokyo's night lights +- **Catppuccin** - Soothing pastel theme with excellent contrast +- More themes coming soon: **Gruvbox**, **Nord**, **Everforest**, **Rose Pine**, **Kanagawa** + +Each theme declaratively configures: +- Terminal colors (Alacritty, Kitty) +- Editor themes (Neovim, VS Code) +- Desktop environment (Hyprland, Waybar, Mako) +- Applications (Firefox, BTtop, Lazygit) +- GTK/Qt theming + +## ๐Ÿ”ง Customization + +### Adding System Packages + +Edit `modules/packages.nix` and add packages to the appropriate category: + +```nix +# In modules/packages.nix +environment.systemPackages = with pkgs; [ + # Add your packages here + firefox + vscode + discord +] ++ optionals cfg.packages.categories.development [ + # Development-specific packages + rustc + go + python3 +]; +``` + +Then rebuild: +```bash +omarchy-rebuild +``` + +### Adding User Packages + +Edit `home.nix` for user-specific packages: + +```nix +# In home.nix +home.packages = with pkgs; [ + # User-specific packages + spotify + obs-studio + gimp +]; +``` + +### Creating Custom Themes + +1. Copy an existing theme as a template: +```bash +cp modules/themes/tokyo-night.nix modules/themes/my-theme.nix +``` + +2. Edit the color palette and application configurations +3. Update `configuration.nix` to use your theme: +```nix +currentTheme = "my-theme"; +``` + +4. Rebuild to apply: +```bash +omarchy-rebuild +``` + +### Creating Development Environments + +Add custom development shells to `flake.nix`: + +```nix +devShells.${system}.myproject = pkgs.mkShell { + packages = with pkgs; [ + nodejs_20 + typescript + postgresql + ]; + + shellHook = '' + echo "Welcome to My Project development environment!" + ''; +}; +``` + +Use with: `nix develop .#myproject` + +### Testing Changes + +```bash +# Test configuration without switching +nixos-rebuild build --flake .#omarchy + +# Test in virtual machine +nixos-rebuild build-vm --flake .#omarchy +./result/bin/run-omarchy-vm + +# Check flake evaluation +nix flake check + +# Format Nix code +nixpkgs-fmt *.nix **/*.nix +``` + +## ๐Ÿค Contributing + +Contributions are welcome! Please feel free to submit a Pull Request. + +1. Fork the repository +2. Create your feature branch (`git checkout -b feature/AmazingFeature`) +3. Commit your changes (`git commit -m 'Add some AmazingFeature'`) +4. Push to the branch (`git push origin feature/AmazingFeature`) +5. Open a Pull Request + +## ๐Ÿ“ License + +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details. + +## ๐Ÿ™ Acknowledgments + +- Inspired by [Omakub](https://omakub.org/) by DHH - the original opinionated desktop setup +- Built on [NixOS](https://nixos.org/) - the declarative Linux distribution +- Using [Hyprland](https://hyprland.org/) compositor - dynamic tiling Wayland compositor +- [Home Manager](https://github.com/nix-community/home-manager) - declarative user environment +- Theme configurations adapted from community themes and color schemes +- [Nix Flakes](https://nixos.wiki/wiki/Flakes) - for reproducible and composable configurations + +## ๐Ÿ”— Links + +- [NixOS Manual](https://nixos.org/manual/nixos/stable/) - Official NixOS documentation +- [Home Manager Manual](https://nix-community.github.io/home-manager/) - User environment management +- [Hyprland Wiki](https://wiki.hyprland.org/) - Hyprland configuration reference +- [Nix Package Search](https://search.nixos.org/) - Search available packages +- [GitHub Issues](https://github.com/yourusername/omarchy-nixos/issues) - Report bugs or request features + +## ๐Ÿ“š Learning Resources + +- [Nix Pills](https://nixos.org/guides/nix-pills/) - Deep dive into Nix +- [NixOS & Flakes Book](https://nixos-and-flakes.thiscute.world/) - Modern NixOS guide +- [Zero to Nix](https://zero-to-nix.com/) - Gentle introduction to Nix + +--- + +Built with โค๏ธ using the power of **NixOS** and **declarative configuration** \ No newline at end of file diff --git a/applications/hidden/avahi-discover.desktop b/applications/hidden/avahi-discover.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/avahi-discover.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/bssh.desktop b/applications/hidden/bssh.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/bssh.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/btop.desktop b/applications/hidden/btop.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/btop.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/bvnc.desktop b/applications/hidden/bvnc.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/bvnc.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/cmake-gui.desktop b/applications/hidden/cmake-gui.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/cmake-gui.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/cups.desktop b/applications/hidden/cups.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/cups.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/dropbox.desktop b/applications/hidden/dropbox.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/dropbox.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/electron34.desktop b/applications/hidden/electron34.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/electron34.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/fcitx5-configtool.desktop b/applications/hidden/fcitx5-configtool.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/fcitx5-configtool.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kbd-layout-viewer5.desktop b/applications/hidden/kbd-layout-viewer5.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/kbd-layout-viewer5.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kcm_fcitx5.desktop b/applications/hidden/kcm_fcitx5.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/kcm_fcitx5.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kcm_kaccounts.desktop b/applications/hidden/kcm_kaccounts.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/kcm_kaccounts.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/kvantummanager.desktop b/applications/hidden/kvantummanager.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/kvantummanager.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.Fcitx5.desktop b/applications/hidden/org.fcitx.Fcitx5.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/org.fcitx.Fcitx5.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-config-qt.desktop b/applications/hidden/org.fcitx.fcitx5-config-qt.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/org.fcitx.fcitx5-config-qt.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-migrator.desktop b/applications/hidden/org.fcitx.fcitx5-migrator.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/org.fcitx.fcitx5-migrator.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-qt5-gui-wrapper.desktop b/applications/hidden/org.fcitx.fcitx5-qt5-gui-wrapper.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/org.fcitx.fcitx5-qt5-gui-wrapper.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/org.fcitx.fcitx5-qt6-gui-wrapper.desktop b/applications/hidden/org.fcitx.fcitx5-qt6-gui-wrapper.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/org.fcitx.fcitx5-qt6-gui-wrapper.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/qv4l2.desktop b/applications/hidden/qv4l2.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/qv4l2.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/qvidcap.desktop b/applications/hidden/qvidcap.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/qvidcap.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/uuctl.desktop b/applications/hidden/uuctl.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/uuctl.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/xgps.desktop b/applications/hidden/xgps.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/xgps.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/hidden/xgpsspeed.desktop b/applications/hidden/xgpsspeed.desktop deleted file mode 100644 index e1e3e17..0000000 --- a/applications/hidden/xgpsspeed.desktop +++ /dev/null @@ -1,2 +0,0 @@ -[Desktop Entry] -Hidden=true diff --git a/applications/icons/Basecamp.png b/applications/icons/Basecamp.png deleted file mode 100644 index 3edec48..0000000 Binary files a/applications/icons/Basecamp.png and /dev/null differ diff --git a/applications/icons/ChatGPT.png b/applications/icons/ChatGPT.png deleted file mode 100644 index cc68d78..0000000 Binary files a/applications/icons/ChatGPT.png and /dev/null differ diff --git a/applications/icons/Discord.png b/applications/icons/Discord.png deleted file mode 100644 index a82dbc6..0000000 Binary files a/applications/icons/Discord.png and /dev/null differ diff --git a/applications/icons/Disk Usage.png b/applications/icons/Disk Usage.png deleted file mode 100644 index 6cc55ba..0000000 Binary files a/applications/icons/Disk Usage.png and /dev/null differ diff --git a/applications/icons/Docker.png b/applications/icons/Docker.png deleted file mode 100644 index aeadd22..0000000 Binary files a/applications/icons/Docker.png and /dev/null differ diff --git a/applications/icons/Figma.png b/applications/icons/Figma.png deleted file mode 100644 index 62ffa90..0000000 Binary files a/applications/icons/Figma.png and /dev/null differ diff --git a/applications/icons/GitHub.png b/applications/icons/GitHub.png deleted file mode 100644 index f3248e4..0000000 Binary files a/applications/icons/GitHub.png and /dev/null differ diff --git a/applications/icons/Google Contacts.png b/applications/icons/Google Contacts.png deleted file mode 100644 index 6d99dc8..0000000 Binary files a/applications/icons/Google Contacts.png and /dev/null differ diff --git a/applications/icons/Google Messages.png b/applications/icons/Google Messages.png deleted file mode 100644 index bc911a5..0000000 Binary files a/applications/icons/Google Messages.png and /dev/null differ diff --git a/applications/icons/Google Photos.png b/applications/icons/Google Photos.png deleted file mode 100644 index 8b8c642..0000000 Binary files a/applications/icons/Google Photos.png and /dev/null differ diff --git a/applications/icons/HEY.png b/applications/icons/HEY.png deleted file mode 100644 index 3ac92d9..0000000 Binary files a/applications/icons/HEY.png and /dev/null differ diff --git a/applications/icons/WhatsApp.png b/applications/icons/WhatsApp.png deleted file mode 100644 index 10ecdfb..0000000 Binary files a/applications/icons/WhatsApp.png and /dev/null differ diff --git a/applications/icons/X.png b/applications/icons/X.png deleted file mode 100644 index 99131de..0000000 Binary files a/applications/icons/X.png and /dev/null differ diff --git a/applications/icons/YouTube.png b/applications/icons/YouTube.png deleted file mode 100644 index 46ed4ca..0000000 Binary files a/applications/icons/YouTube.png and /dev/null differ diff --git a/applications/icons/Zoom.png b/applications/icons/Zoom.png deleted file mode 100644 index 622db52..0000000 Binary files a/applications/icons/Zoom.png and /dev/null differ diff --git a/applications/icons/imv.png b/applications/icons/imv.png deleted file mode 100644 index f9cac35..0000000 Binary files a/applications/icons/imv.png and /dev/null differ diff --git a/applications/imv.desktop b/applications/imv.desktop deleted file mode 100644 index 293afc8..0000000 --- a/applications/imv.desktop +++ /dev/null @@ -1,8 +0,0 @@ -[Desktop Entry] -Name=Image Viewer -Exec=imv %F -Icon=imv -Type=Application -MimeType=image/png;image/jpeg;image/jpg;image/gif;image/bmp;image/webp;image/tiff;image/x-xcf;image/x-portable-pixmap;image/x-xbitmap; -Terminal=false -Categories=Graphics;Viewer; diff --git a/applications/mpv.desktop b/applications/mpv.desktop deleted file mode 100644 index 776e2c9..0000000 --- a/applications/mpv.desktop +++ /dev/null @@ -1,51 +0,0 @@ -[Desktop Entry] -Type=Application -Name=Media Player -Name[ar]=ู…ุดุบู„ ูˆุณุงุฆุท mpv -Name[ca]=Reproductor multimรจdia mpv -Name[cs]=mpv pล™ehrรกvaฤ -Name[da]=mpv-medieafspiller -Name[fr]=Lecteur multimรฉdia mpv -Name[it]=Lettore multimediale mpv -Name[ja]=mpv ใƒกใƒ‡ใ‚ฃใ‚ขใƒ—ใƒฌใ‚คใƒคใƒผ -Name[pl]=Odtwarzacz mpv -Name[ru]=ะŸั€ะพะธะณั€ั‹ะฒะฐั‚ะตะปัŒ mpv -Name[tr]=mpv Ortam Oynatฤฑcฤฑ -Name[zh_CN]=mpv ๅช’ไฝ“ๆ’ญๆ”พๅ™จ -Name[zh_TW]=mpv ๅช’้ซ”ๆ’ญๆ”พๅ™จ -GenericName=Multimedia player -GenericName[ar]=ู…ูุดูŽุบู‘ูู„ ูˆุณุงุฆุท ู…ุชุนุฏุฏุฉ -GenericName[cs]=Multimediรกlnรญ pล™ehrรกvaฤ -GenericName[da]=Multimedieafspiller -GenericName[fr]=Lecteur multimรฉdia -GenericName[it]=Lettore multimediale -GenericName[ja]=ใƒžใƒซใƒใƒกใƒ‡ใ‚ฃใ‚ขใƒ—ใƒฌใ‚คใƒคใƒผ -GenericName[ru]=ะœัƒะปัŒั‚ะธะผะตะดะธะนะฝั‹ะน ะฟั€ะพะธะณั€ั‹ะฒะฐั‚ะตะปัŒ -GenericName[tr]=ร‡oklu ortam oynatฤฑcฤฑ -GenericName[zh_CN]=ๅคšๅช’ไฝ“ๆ’ญๆ”พๅ™จ -GenericName[zh_TW]=ๅคšๅช’้ซ”ๆ’ญๆ”พๅ™จ -Comment=Play movies and songs -Comment[ar]=ุดูŽุบู‘ูู„ ุงู„ุฃูู„ุงู… ูˆุงู„ุฃุบุงู†ูŠ -Comment[ca]=Reproduรฏu vรญdeos i canรงons -Comment[cs]=Pล™ehrรกvรก filmy a hudbu -Comment[da]=Afspil film og sange -Comment[de]=Filme und Musik abspielen -Comment[es]=Reproduzca vรญdeos y canciones -Comment[fr]=Lire des vidรฉos et des musiques -Comment[ja]=ๆ˜ ็”ปใ‚„้Ÿณๆฅฝใ‚’ๅ†็”Ÿใ™ใ‚‹ -Comment[it]=Riproduci video e canzoni -Comment[pl]=Odtwarzaj filmy i muzykฤ™ -Comment[ru]=ะ’ะพัะฟั€ะพะธะทะฒะตะดะตะฝะธะต ั„ะธะปัŒะผะพะฒ ะธ ะผัƒะทั‹ะบะธ -Comment[tr]=Filmleri ve ลŸarkฤฑlarฤฑ oynatฤฑn -Comment[zh_CN]=ๆ’ญๆ”พ็”ตๅฝฑๅ’ŒๆญŒๆ›ฒ -Comment[zh_TW]=ๆ’ญๆ”พ้›ปๅฝฑๅ’ŒๆญŒๆ›ฒ -Icon=mpv -TryExec=mpv -Exec=mpv --player-operation-mode=pseudo-gui -- %U -Terminal=false -Categories=AudioVideo;Audio;Video;Player;TV; -MimeType=application/ogg;application/x-ogg;application/mxf;application/sdp;application/smil;application/x-smil;application/streamingmedia;application/x-streamingmedia;application/vnd.rn-realmedia;application/vnd.rn-realmedia-vbr;audio/aac;audio/x-aac;audio/vnd.dolby.heaac.1;audio/vnd.dolby.heaac.2;audio/aiff;audio/x-aiff;audio/m4a;audio/x-m4a;application/x-extension-m4a;audio/mp1;audio/x-mp1;audio/mp2;audio/x-mp2;audio/mp3;audio/x-mp3;audio/mpeg;audio/mpeg2;audio/mpeg3;audio/mpegurl;audio/x-mpegurl;audio/mpg;audio/x-mpg;audio/rn-mpeg;audio/musepack;audio/x-musepack;audio/ogg;audio/scpls;audio/x-scpls;audio/vnd.rn-realaudio;audio/wav;audio/x-pn-wav;audio/x-pn-windows-pcm;audio/x-realaudio;audio/x-pn-realaudio;audio/x-ms-wma;audio/x-pls;audio/x-wav;video/mpeg;video/x-mpeg2;video/x-mpeg3;video/mp4v-es;video/x-m4v;video/mp4;application/x-extension-mp4;video/divx;video/vnd.divx;video/msvideo;video/x-msvideo;video/ogg;video/quicktime;video/vnd.rn-realvideo;video/x-ms-afs;video/x-ms-asf;audio/x-ms-asf;application/vnd.ms-asf;video/x-ms-wmv;video/x-ms-wmx;video/x-ms-wvxvideo;video/x-avi;video/avi;video/x-flic;video/fli;video/x-flc;video/flv;video/x-flv;video/x-theora;video/x-theora+ogg;video/x-matroska;video/mkv;audio/x-matroska;application/x-matroska;video/webm;audio/webm;audio/vorbis;audio/x-vorbis;audio/x-vorbis+ogg;video/x-ogm;video/x-ogm+ogg;application/x-ogm;application/x-ogm-audio;application/x-ogm-video;application/x-shorten;audio/x-shorten;audio/x-ape;audio/x-wavpack;audio/x-tta;audio/AMR;audio/ac3;audio/eac3;audio/amr-wb;video/mp2t;audio/flac;audio/mp4;application/x-mpegurl;video/vnd.mpegurl;application/vnd.apple.mpegurl;audio/x-pn-au;video/3gp;video/3gpp;video/3gpp2;audio/3gpp;audio/3gpp2;video/dv;audio/dv;audio/opus;audio/vnd.dts;audio/vnd.dts.hd;audio/x-adpcm;application/x-cue;audio/m3u;audio/vnd.wave;video/vnd.avi; -X-KDE-Protocols=appending,file,ftp,hls,http,https,mms,mpv,rtmp,rtmps,rtmpt,rtmpts,rtp,rtsp,rtsps,sftp,srt,srtp,webdav,webdavs -StartupWMClass=mpv -Keywords=mpv;media;player;video;audio;tv; -Keywords[ar]=mpv;ุฅู… ุจูŠ ููŠ;ุงู… ุจูŠ ููŠ;ูˆุณุงุฆุท;ู…ุดุบู„;ููŠุฏูŠูˆ;ู…ุฑุฆูŠุฉ;ุตูˆุชูŠ;ุชู„ูุงุฒ; diff --git a/applications/nvim.desktop b/applications/nvim.desktop deleted file mode 100644 index ed11859..0000000 --- a/applications/nvim.desktop +++ /dev/null @@ -1,12 +0,0 @@ -[Desktop Entry] -Name=Neovim -GenericName=Text Editor -Comment=Edit text files -Exec=$TERMINAL --class=nvim --title=nvim -e nvim -- %F -Terminal=false -Type=Application -Keywords=Text;editor; -Icon=nvim -Categories=Utility;TextEditor; -StartupNotify=false -MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; diff --git a/applications/typora.desktop b/applications/typora.desktop deleted file mode 100644 index c1af035..0000000 --- a/applications/typora.desktop +++ /dev/null @@ -1,10 +0,0 @@ -[Desktop Entry] -Name=Typora -GenericName=Markdown Editor -Exec=typora --enable-wayland-ime %U -Icon=typora -Type=Application -StartupNotify=true -Categories=Office;WordProcessor; -MimeType=text/markdown;text/x-markdown; - diff --git a/bin/omarchy-battery-monitor b/bin/omarchy-battery-monitor deleted file mode 100755 index fd16afb..0000000 --- a/bin/omarchy-battery-monitor +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# Designed to be run by systemd timer every 30 seconds and alerts if battery is low - -BATTERY_THRESHOLD=10 -NOTIFICATION_FLAG="/run/user/$UID/omarchy_battery_notified" - -get_battery_percentage() { - upower -i "$(upower -e | grep 'BAT')" \ - | awk -F: '/percentage/ { - gsub(/[%[:space:]]/, "", $2); - val=$2; - printf("%d\n", (val+0.5)) - exit - }' -} - -get_battery_state() { - upower -i $(upower -e | grep 'BAT') | grep -E "state" | awk '{print $2}' -} - -send_notification() { - notify-send -u critical "๓ฑ‹ Time to recharge!" "Battery is down to ${1}%" -i battery-caution -t 30000 -} - -BATTERY_LEVEL=$(get_battery_percentage) -BATTERY_STATE=$(get_battery_state) - -if [[ "$BATTERY_STATE" == "discharging" && "$BATTERY_LEVEL" -le "$BATTERY_THRESHOLD" ]]; then - if [[ ! -f "$NOTIFICATION_FLAG" ]]; then - send_notification "$BATTERY_LEVEL" - touch "$NOTIFICATION_FLAG" - fi -else - rm -f "$NOTIFICATION_FLAG" -fi diff --git a/bin/omarchy-cmd-apple-display-brightness b/bin/omarchy-cmd-apple-display-brightness deleted file mode 100755 index e611e8b..0000000 --- a/bin/omarchy-cmd-apple-display-brightness +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if [[ $# -eq 0 ]]; then - echo "Adjust Apple Display Brightness by passing +5000 or -5000 (or any range from 0-60000)" -else - sudo asdcontrol $(sudo asdcontrol --detect /dev/usb/hiddev* | grep ^/dev/usb/hiddev | cut -d: -f1) -- "$1" -fi diff --git a/bin/omarchy-cmd-audio-switch b/bin/omarchy-cmd-audio-switch deleted file mode 100755 index 63ce7a1..0000000 --- a/bin/omarchy-cmd-audio-switch +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash - -focused_monitor="$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')" - -sinks=$(pactl -f json list sinks | jq '[.[] | select((.ports | length == 0) or ([.ports[]? | .availability != "not available"] | any))]') -sinks_count=$(echo "$sinks" | jq '. | length') - -if [ "$sinks_count" -eq 0 ]; then - swayosd-client \ - --monitor "$focused_monitor" \ - --custom-message "No audio devices found" - exit 1 -fi - -current_sink_name=$(pactl get-default-sink) -current_sink_index=$(echo "$sinks" | jq -r --arg name "$current_sink_name" 'map(.name) | index($name)') - -if [ "$current_sink_index" != "null" ]; then - next_sink_index=$(((current_sink_index + 1) % sinks_count)) -else - next_sink_index=0 -fi - -next_sink=$(echo "$sinks" | jq -r ".[$next_sink_index]") -next_sink_name=$(echo "$next_sink" | jq -r '.name') -next_sink_description=$(echo "$next_sink" | jq -r '.description') -next_sink_volume=$(echo "$next_sink" | jq -r \ - '.volume | to_entries[0].value.value_percent | sub("%"; "")') -next_sink_is_muted=$(echo "$next_sink" | jq -r '.mute') - -if [ "$next_sink_is_muted" = "true" ] || [ "$next_sink_volume" -eq 0 ]; then - icon_state="muted" -elif [ "$next_sink_volume" -le 33 ]; then - icon_state="low" -elif [ "$next_sink_volume" -le 66 ]; then - icon_state="medium" -else - icon_state="high" -fi - -next_sink_volume_icon="sink-volume-${icon_state}-symbolic" - -if [ "$next_sink_name" != "$current_sink_name" ]; then - pactl set-default-sink "$next_sink_name" -fi - -swayosd-client \ - --monitor "$focused_monitor" \ - --custom-message "$next_sink_description" \ - --custom-icon "$next_sink_volume_icon" diff --git a/bin/omarchy-cmd-close-all-windows b/bin/omarchy-cmd-close-all-windows deleted file mode 100755 index e53fec6..0000000 --- a/bin/omarchy-cmd-close-all-windows +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -# Close all open windows -hyprctl clients -j | \ - jq -r ".[].address" | \ - xargs -I{} hyprctl dispatch closewindow address:{} - -# Move to first workspace -hyprctl dispatch workspace 1 diff --git a/bin/omarchy-cmd-first-run b/bin/omarchy-cmd-first-run deleted file mode 100755 index f9b9d57..0000000 --- a/bin/omarchy-cmd-first-run +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -set -e - -FIRST_RUN_MODE=~/.local/state/omarchy/first-run.mode - -if [[ -f "$FIRST_RUN_MODE" ]]; then - rm -f "$FIRST_RUN_MODE" - - bash "$OMARCHY_PATH/install/first-run/battery-monitor.sh" - bash "$OMARCHY_PATH/install/first-run/firewall.sh" - bash "$OMARCHY_PATH/install/first-run/gnome-theme.sh" - sudo rm -f /etc/sudoers.d/first-run - - bash "$OMARCHY_PATH/install/first-run/wifi.sh" - bash "$OMARCHY_PATH/install/first-run/welcome.sh" -fi diff --git a/bin/omarchy-cmd-missing b/bin/omarchy-cmd-missing deleted file mode 100755 index 4658d37..0000000 --- a/bin/omarchy-cmd-missing +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -for cmd in "$@"; do - if ! command -v "$cmd" &>/dev/null; then - exit 0 - fi -done - -exit 1 diff --git a/bin/omarchy-cmd-present b/bin/omarchy-cmd-present deleted file mode 100755 index fecdc94..0000000 --- a/bin/omarchy-cmd-present +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -for cmd in "$@"; do - command -v "$cmd" &>/dev/null || exit 1 -done - -exit 0 diff --git a/bin/omarchy-cmd-screenrecord b/bin/omarchy-cmd-screenrecord deleted file mode 100755 index 29fda33..0000000 --- a/bin/omarchy-cmd-screenrecord +++ /dev/null @@ -1,54 +0,0 @@ -#!/bin/bash - -[[ -f ~/.config/user-dirs.dirs ]] && source ~/.config/user-dirs.dirs -OUTPUT_DIR="${OMARCHY_SCREENRECORD_DIR:-${XDG_VIDEOS_DIR:-$HOME/Videos}}" - -if [[ ! -d "$OUTPUT_DIR" ]]; then - notify-send "Screen recording directory does not exist: $OUTPUT_DIR" -u critical -t 3000 - exit 1 -fi - -# Selects region or output -SCOPE="$1" - -# Selects audio inclusion or not -AUDIO=$([[ $2 == "audio" ]] && echo "--audio") - -start_screenrecording() { - filename="$OUTPUT_DIR/screenrecording-$(date +'%Y-%m-%d_%H-%M-%S').mp4" - - if lspci | grep -qi 'nvidia'; then - wf-recorder $AUDIO -f "$filename" -c libx264 -p crf=23 -p preset=medium -p movflags=+faststart "$@" & - else - wl-screenrec $AUDIO -f "$filename" --ffmpeg-encoder-options="-c:v libx264 -crf 23 -preset medium -movflags +faststart" "$@" & - fi - - toggle_screenrecording_indicator -} - -stop_screenrecording() { - pkill -x wl-screenrec - pkill -x wf-recorder - - notify-send "Screen recording saved to $OUTPUT_DIR" -t 2000 - - sleep 0.2 # ensures the process is actually dead before we check - toggle_screenrecording_indicator -} - -toggle_screenrecording_indicator() { - pkill -RTMIN+8 waybar -} - -screenrecording_active() { - pgrep -x wl-screenrec >/dev/null || pgrep -x wf-recorder >/dev/null -} - -if screenrecording_active; then - stop_screenrecording -elif [[ "$SCOPE" == "output" ]]; then - start_screenrecording -else - region=$(slurp) || exit 1 - start_screenrecording -g "$region" -fi diff --git a/bin/omarchy-cmd-screensaver b/bin/omarchy-cmd-screensaver deleted file mode 100755 index e336c8b..0000000 --- a/bin/omarchy-cmd-screensaver +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/bash - -screensaver_in_focus() { - hyprctl activewindow -j | jq -e '.class == "Screensaver"' >/dev/null 2>&1 -} - -exit_screensaver() { - hyprctl keyword cursor:invisible false - pkill -x tte 2>/dev/null - pkill -f "alacritty --class Screensaver" 2>/dev/null - exit 0 -} - -trap exit_screensaver SIGINT SIGTERM SIGHUP SIGQUIT - -hyprctl keyword cursor:invisible true - -while true; do - effect=$(tte 2>&1 | grep -oP '{\K[^}]+' | tr ',' ' ' | tr ' ' '\n' | sed -n '/^beams$/,$p' | sort -u | shuf -n1) - tte -i ~/.config/omarchy/branding/screensaver.txt \ - --frame-rate 240 --canvas-width 0 --canvas-height $(($(tput lines) - 2)) --anchor-canvas c --anchor-text c \ - "$effect" & - - while pgrep -x tte >/dev/null; do - if read -n 1 -t 3 || ! screensaver_in_focus; then - exit_screensaver - fi - done -done diff --git a/bin/omarchy-cmd-screenshot b/bin/omarchy-cmd-screenshot deleted file mode 100755 index 330dde3..0000000 --- a/bin/omarchy-cmd-screenshot +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash - -[[ -f ~/.config/user-dirs.dirs ]] && source ~/.config/user-dirs.dirs -OUTPUT_DIR="${OMARCHY_SCREENSHOT_DIR:-${XDG_PICTURES_DIR:-$HOME/Pictures}}" - -if [[ ! -d "$OUTPUT_DIR" ]]; then - notify-send "Screenshot directory does not exist: $OUTPUT_DIR" -u critical -t 3000 - exit 1 -fi - -pkill slurp || hyprshot -m ${1:-region} --raw | - satty --filename - \ - --output-filename "$OUTPUT_DIR/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png" \ - --early-exit \ - --actions-on-enter save-to-clipboard \ - --save-after-copy \ - --copy-command 'wl-copy' diff --git a/bin/omarchy-cmd-share b/bin/omarchy-cmd-share deleted file mode 100755 index 78113a1..0000000 --- a/bin/omarchy-cmd-share +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -if (($# == 0)); then - echo "Usage: omarchy-cmd-share [clipboard|file|folder]" - exit 1 -fi - -MODE="$1" -shift - -if [[ $MODE == "clipboard" ]]; then - TEMP_FILE=$(mktemp --suffix=.txt) - wl-paste >"$TEMP_FILE" - FILES="$TEMP_FILE" -else - if (($# > 0)); then - FILES="$*" - else - if [[ $MODE == "folder" ]]; then - # Pick a single folder from home directory - FILES=$(find "$HOME" -type d 2>/dev/null | fzf) - else - # Pick one or more files from home directory - FILES=$(find "$HOME" -type f 2>/dev/null | fzf --multi) - fi - [ -z "$FILES" ] && exit 0 - fi -fi - -# Run LocalSend in its own systemd service (detached from terminal) -# Convert newline-separated files to space-separated arguments -if [[ $MODE != "clipboard" ]] && echo "$FILES" | grep -q $'\n'; then - # Multiple files selected - convert newlines to array - readarray -t FILE_ARRAY <<<"$FILES" - systemd-run --user --quiet --collect localsend --headless send "${FILE_ARRAY[@]}" -else - # Single file or clipboard mode - systemd-run --user --quiet --collect localsend --headless send "$FILES" -fi - -# Note: Temporary file will remain until system cleanup for clipboard mode -# This ensures the file content is available for the LocalSend GUI - -exit 0 diff --git a/bin/omarchy-cmd-terminal-cwd b/bin/omarchy-cmd-terminal-cwd deleted file mode 100755 index 2d3cd0c..0000000 --- a/bin/omarchy-cmd-terminal-cwd +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash - -# Go from current active terminal to its child shell process and run cwd there -terminal_pid=$(hyprctl activewindow | awk '/pid:/ {print $2}') -shell_pid=$(pgrep -P "$terminal_pid" | head -n1) - -if [[ -n $shell_pid ]]; then - readlink -f "/proc/$shell_pid/cwd" 2>/dev/null || echo "$HOME" -else - echo "$HOME" -fi diff --git a/bin/omarchy-cmd-tzupdate b/bin/omarchy-cmd-tzupdate deleted file mode 100755 index eb39bf0..0000000 --- a/bin/omarchy-cmd-tzupdate +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -notify-send "๎™ Updating time and timezone..." -sudo systemctl restart systemd-timesyncd -sudo tzupdate -new_timezone=$(timedatectl show -p Timezone --value) -omarchy-restart-waybar -notify-send "๎™ Time updated and timezone set to $new_timezone" diff --git a/bin/omarchy-dev-add-migration b/bin/omarchy-dev-add-migration deleted file mode 100755 index 21eea4f..0000000 --- a/bin/omarchy-dev-add-migration +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -cd ~/.local/share/omarchy -migration_file="$HOME/.local/share/omarchy/migrations/$(git log -1 --format=%cd --date=unix).sh" -touch $migration_file -nvim $migration_file diff --git a/bin/omarchy-drive-info b/bin/omarchy-drive-info deleted file mode 100755 index 10fb223..0000000 --- a/bin/omarchy-drive-info +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -# Drive, like /dev/nvme0, to display information about -if (($# == 0)); then - echo "Usage: omarchy-drive-info [/dev/drive]" - exit 1 -else - drive="$1" -fi - -# Find the root drive in case we are looking at partitions -root_drive=$(lsblk -no PKNAME "$drive" 2>/dev/null | tail -n1) -if [[ -n "$root_drive" ]]; then - root_drive="/dev/$root_drive" -else - root_drive="$drive" -fi - -# Get basic disk information -size=$(lsblk -dno SIZE "$drive" 2>/dev/null) -model=$(lsblk -dno MODEL "$root_drive" 2>/dev/null) - -# Format display string -display="$drive" -[[ -n "$size" ]] && display="$display ($size)" -[[ -n "$model" ]] && display="$display - $model" - -echo "$display" diff --git a/bin/omarchy-drive-select b/bin/omarchy-drive-select deleted file mode 100755 index 9168eb7..0000000 --- a/bin/omarchy-drive-select +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Select a drive from a list with info that includes space and brand - -if (($# == 0)); then - drives=$(lsblk -dpno NAME | grep -E '/dev/(sd|hd|vd|nvme|mmcblk|xv)') -else - drives="$@" -fi - -drives_with_info="" -while IFS= read -r drive; do - [[ -n "$drive" ]] || continue - drives_with_info+="$(omarchy-drive-info "$drive")"$'\n' -done <<<"$drives" - -selected_drive="$(printf "%s" "$drives_with_info" | gum choose --header "Select drive")" || exit 1 -printf "%s\n" "$selected_drive" | awk '{print $1}' diff --git a/bin/omarchy-drive-set-password b/bin/omarchy-drive-set-password deleted file mode 100755 index 88a9c58..0000000 --- a/bin/omarchy-drive-set-password +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -encrypted_drives=$(blkid -t TYPE=crypto_LUKS -o device) - -if [[ -n $encrypted_drives ]]; then - if [[ $(wc -l <<<"$encrypted_drives") -eq 1 ]]; then - drive_to_change="$encrypted_drives" - else - drive_to_change="$(omarchy-drive-select "$encrypted_drives")" - fi - - if [[ -n $drive_to_change ]]; then - echo "Changing full-disk encryption password for $drive_to_change" - sudo cryptsetup luksChangeKey --pbkdf argon2id --iter-time 2000 "$drive_to_change" - else - echo "No drive selected." - fi -else - echo "No encrypted drives available." - exit 1 -fi diff --git a/bin/omarchy-font-current b/bin/omarchy-font-current deleted file mode 100755 index feea8d6..0000000 --- a/bin/omarchy-font-current +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -grep -oP 'font-family:\s*["'\'']?\K[^;"'\'']+' ~/.config/waybar/style.css | head -n1 diff --git a/bin/omarchy-font-list b/bin/omarchy-font-list deleted file mode 100755 index 32150d9..0000000 --- a/bin/omarchy-font-list +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -fc-list :spacing=100 -f "%{family[0]}\n" | grep -v -i -E 'emoji|signwriting|omarchy' | sort -u diff --git a/bin/omarchy-font-set b/bin/omarchy-font-set deleted file mode 100755 index 5ac0ef4..0000000 --- a/bin/omarchy-font-set +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/bash - -font_name="$1" - -if [[ -n "$font_name" && "$font_name" != "CNCLD" ]]; then - if fc-list | grep -iq "$font_name"; then - if [[ -f ~/.config/alacritty/alacritty.toml ]]; then - sed -i "s/family = \".*\"/family = \"$font_name\"/g" ~/.config/alacritty/alacritty.toml - fi - - if [[ -f ~/.config/kitty/kitty.conf ]]; then - sed -i "s/^font_family .*/font_family $font_name/g" ~/.config/kitty/kitty.conf - pkill -USR1 kitty - fi - - if [[ -f ~/.config/ghostty/config ]]; then - sed -i "s/font-family = \".*\"/font-family = \"$font_name\"/g" ~/.config/ghostty/config - pkill -SIGUSR2 ghostty - fi - - sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/waybar/style.css - sed -i "s/font-family: .*/font-family: '$font_name';/g" ~/.config/swayosd/style.css - xmlstarlet ed -L \ - -u '//match[@target="pattern"][test/string="monospace"]/edit[@name="family"]/string' \ - -v "$font_name" \ - ~/.config/fontconfig/fonts.conf - - omarchy-restart-waybar - omarchy-restart-swayosd - omarchy-restart-walker - else - echo "Font '$font_name' not found." - exit 1 - fi -else - echo "Usage: omarchy-font-set " -fi diff --git a/bin/omarchy-install-chromium-google-account b/bin/omarchy-install-chromium-google-account deleted file mode 100755 index 5087cee..0000000 --- a/bin/omarchy-install-chromium-google-account +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if [[ -f ~/.config/chromium-flags.conf ]]; then - CONF=~/.config/chromium-flags.conf - - grep -qxF -- "--oauth2-client-id=77185425430.apps.googleusercontent.com" "$CONF" || - echo "--oauth2-client-id=77185425430.apps.googleusercontent.com" >>"$CONF" - - grep -qxF -- "--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT" "$CONF" || - echo "--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT" >>"$CONF" - - echo "Now you can login to your Google Account in Chromium." -fi diff --git a/bin/omarchy-install-dev-env b/bin/omarchy-install-dev-env deleted file mode 100755 index a1329a9..0000000 --- a/bin/omarchy-install-dev-env +++ /dev/null @@ -1,141 +0,0 @@ -#!/bin/bash - -if [[ -z "$1" ]]; then - echo "Usage: omarchy-install-dev-env " >&2 - exit 1 -fi - -install_php() { - sudo pacman -S php composer php-sqlite xdebug --noconfirm - - # Install Path for Composer - if [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]]; then - echo 'export PATH="$HOME/.config/composer/vendor/bin:$PATH"' >>"$HOME/.bashrc" - source "$HOME/.bashrc" - echo "Added Composer global bin directory to PATH." - else - echo "Composer global bin directory already in PATH." - fi - - # Enable some extensions - local php_ini_path="/etc/php/php.ini" - local extensions_to_enable=( - "bcmath" - "intl" - "iconv" - "openssl" - "pdo_sqlite" - "pdo_mysql" - ) - - # Enable Xdebug - sudo sed -i \ - -e 's/^;zend_extension=xdebug.so/zend_extension=xdebug.so/' \ - -e 's/^;xdebug.mode=debug/xdebug.mode=debug/' \ - /etc/php/conf.d/xdebug.ini - - for ext in "${extensions_to_enable[@]}"; do - sudo sed -i "s/^;extension=${ext}/extension=${ext}/" "$php_ini_path" - done -} - -install_node() { - echo -e "Installing Node.js...\n" - mise use --global node@lts -} - -case "$1" in -ruby) - echo -e "Installing Ruby on Rails...\n" - omarchy-pkg-add libyaml - mise use --global ruby@latest - mise settings add idiomatic_version_file_enable_tools ruby - mise x ruby -- gem install rails --no-document - echo -e "\nYou can now run: rails new myproject" - ;; -node) - install_node - ;; -bun) - echo -e "Installing Bun...\n" - mise use -g bun@latest - ;; -deno) - echo -e "Installing Deno...\n" - mise use -g deno@latest - ;; -go) - echo -e "Installing Go...\n" - mise use --global go@latest - ;; -php) - echo -e "Installing PHP...\n" - install_php - ;; -laravel) - echo -e "Installing PHP and Laravel...\n" - install_php - install_node - composer global require laravel/installer - echo -e "\nYou can now run: laravel new myproject" - ;; -symfony) - echo -e "Installing PHP and Symfony...\n" - install_php - omarchy-pkg-add symfony-cli - echo -e "\nYou can now run: symfony new --webapp myproject" - ;; -python) - echo -e "Installing Python...\n" - mise use --global python@latest - echo -e "\nInstalling uv...\n" - curl -fsSL https://astral.sh/uv/install.sh | sh - ;; -elixir) - echo -e "Installing Elixir...\n" - mise use --global erlang@latest - mise use --global elixir@latest - mise x elixir -- mix local.hex --force - ;; -phoenix) - echo -e "Installing Phoenix Framework...\n" - # Ensure Erlang/Elixir first - mise use --global erlang@latest - mise use --global elixir@latest - # Hex & Rebar - mise x elixir -- mix local.hex --force - mise x elixir -- mix local.rebar --force - # Phoenix project (phx_new) - mise x elixir -- mix archive.install hex phx_new --force - echo -e "\nYou can now run: mix phx.new my_app" - ;; -rust) - echo -e "Installing Rust...\n" - bash -c "$(curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs)" -- -y - ;; -java) - echo -e "Installing Java...\n" - mise use --global java@latest - ;; -zig) - echo -e "Installing Zig...\n" - mise use --global zig@latest - mise use -g zls@latest - ;; -ocaml) - echo -e "Installing OCaml...\n" - bash -c "$(curl -fsSL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)" - opam init --yes - eval "$(opam env)" - opam install ocaml-lsp-server odoc ocamlformat utop --yes - ;; -dotnet) - echo -e "Installing .NET...\n" - mise use --global dotnet@latest - ;; -clojure) - echo -e "Installing Clojure...\n" - omarchy-pkg-add rlwrap - mise use --global clojure@latest - ;; -esac diff --git a/bin/omarchy-install-docker-dbs b/bin/omarchy-install-docker-dbs deleted file mode 100755 index f7b624a..0000000 --- a/bin/omarchy-install-docker-dbs +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -options=("MySQL" "PostgreSQL" "Redis" "MongoDB" "MariaDB") - -if [[ "$#" -eq 0 ]]; then - choices=$(printf "%s\n" "${options[@]}" | gum choose --header "Select databases (space to select, return to install, esc to cancel)") || main_menu -else - choices="$@" -fi - -if [[ -n "$choices" ]]; then - for db in $choices; do - case $db in - MySQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mysql8 -e MYSQL_ROOT_PASSWORD= -e MYSQL_ALLOW_EMPTY_PASSWORD=true mysql:8.4 ;; - PostgreSQL) sudo docker run -d --restart unless-stopped -p "127.0.0.1:5432:5432" --name=postgres17 -e POSTGRES_HOST_AUTH_METHOD=trust postgres:17 ;; - MariaDB) sudo docker run -d --restart unless-stopped -p "127.0.0.1:3306:3306" --name=mariadb11 -e MARIADB_ROOT_PASSWORD= -e MARIADB_ALLOW_EMPTY_ROOT_PASSWORD=true mariadb:11.8 ;; - Redis) sudo docker run -d --restart unless-stopped -p "127.0.0.1:6379:6379" --name=redis redis:7 ;; - MongoDB) sudo docker run -d --restart unless-stopped -p "127.0.0.1:27017:27017" --name mongodb -e MONGO_INITDB_ROOT_USERNAME=admin -e MONGO_INITDB_ROOT_PASSWORD=admin123 mongo:noble ;; - esac - done -else - echo "No databases selected for installation." -fi diff --git a/bin/omarchy-install-dropbox b/bin/omarchy-install-dropbox deleted file mode 100755 index ac5710c..0000000 --- a/bin/omarchy-install-dropbox +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -echo "Installing all dependencies..." -omarchy-pkg-add dropbox dropbox-cli libappindicator-gtk3 python-gpgme nautilus-dropbox - -echo "Starting Dropbox..." -uwsm app -- dropbox-cli start &>/dev/null & -echo "See Dropbox icon behind ๏‚‹ hover tray in top right and right-click for setup." diff --git a/bin/omarchy-install-steam b/bin/omarchy-install-steam deleted file mode 100755 index 7533370..0000000 --- a/bin/omarchy-install-steam +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -echo "Now pick dependencies matching your graphics card" -sudo pacman -Syu --noconfirm steam -setsid gtk-launch steam >/dev/null 2>&1 & diff --git a/bin/omarchy-install-tailscale b/bin/omarchy-install-tailscale deleted file mode 100755 index c6dbe03..0000000 --- a/bin/omarchy-install-tailscale +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -curl -fsSL https://tailscale.com/install.sh | sh -curl -fsSL https://neuralink.com/tsui/install.sh | bash - -echo -e "\nStarting Tailscale..." -sudo tailscale up --accept-routes - -echo -e "\nAdd tsui to sudoers..." -echo "$USER ALL=(ALL) NOPASSWD: $(which tsui)" | sudo tee /etc/sudoers.d/tsui - -omarchy-tui-install "Tailscale" "sudo tsui" float https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/tailscale-light.png -omarchy-webapp-install "Tailscale Admin Console" "https://login.tailscale.com/admin/machines" https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/tailscale-light.png diff --git a/bin/omarchy-install-terminal b/bin/omarchy-install-terminal deleted file mode 100755 index 6828506..0000000 --- a/bin/omarchy-install-terminal +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash - -if (($# == 0)); then - echo "Usage: omarchy-install-terminal [alacritty|ghostty|kitty]" - exit 1 -fi - -package="$1" - -# Install package -omarchy-pkg-add $package - -# Set as default terminal -echo "Setting $package as new default terminal..." -sed -i "/export TERMINAL=/ c\export TERMINAL=$package" ~/.config/uwsm/default - -# Relaunch is needed for new default to take effect -echo -gum confirm "Relaunch Hyprland to use new terminal?" && uwsm stop diff --git a/bin/omarchy-launch-about b/bin/omarchy-launch-about deleted file mode 100755 index 0072222..0000000 --- a/bin/omarchy-launch-about +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -exec setsid uwsm app -- alacritty --class=Omarchy -o font.size=9 -e bash -c 'fastfetch; read -n 1 -s' diff --git a/bin/omarchy-launch-browser b/bin/omarchy-launch-browser deleted file mode 100755 index 536e212..0000000 --- a/bin/omarchy-launch-browser +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -default_browser=$(xdg-settings get default-web-browser) -browser_exec=$(sed -n 's/^Exec=\([^ ]*\).*/\1/p' {~/.local,~/.nix-profile,/usr}/share/applications/$default_browser 2>/dev/null | head -1) - -if [[ $browser_exec =~ (firefox|zen|librewolf) ]]; then - private_flag="--private-window" -else - private_flag="--incognito" -fi - -exec setsid uwsm app -- "$browser_exec" "${@/--private/$private_flag}" diff --git a/bin/omarchy-launch-editor b/bin/omarchy-launch-editor deleted file mode 100755 index 157168a..0000000 --- a/bin/omarchy-launch-editor +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -case "${EDITOR:-nvim}" in -nvim | vim | nano | micro | hx) - exec setsid uwsm app -- "$TERMINAL" -e "$EDITOR" "$@" - ;; -*) - exec setsid uwsm app -- "$EDITOR" "$@" - ;; -esac diff --git a/bin/omarchy-launch-floating-terminal-with-presentation b/bin/omarchy-launch-floating-terminal-with-presentation deleted file mode 100755 index 0529f2a..0000000 --- a/bin/omarchy-launch-floating-terminal-with-presentation +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -cmd="$*" -exec setsid uwsm app -- alacritty --class=Omarchy --title=Omarchy -e bash -c "omarchy-show-logo; $cmd; omarchy-show-done" diff --git a/bin/omarchy-launch-or-focus b/bin/omarchy-launch-or-focus deleted file mode 100755 index af63f00..0000000 --- a/bin/omarchy-launch-or-focus +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/bash - -if (($# == 0)); then - echo "Usage: omarchy-launch-or-focus [window-pattern] [launch-command]" - exit 1 -fi - -WINDOW_PATTERN="$1" -LAUNCH_COMMAND="${2:-"uwsm app -- $WINDOW_PATTERN"}" -WINDOW_ADDRESS=$(hyprctl clients -j | jq -r --arg p "$WINDOW_PATTERN" '.[]|select((.class+" "+.title)|test($p;"i"))|.address' | head -n1) - -if [[ -n $WINDOW_ADDRESS ]]; then - hyprctl dispatch focuswindow "address:$WINDOW_ADDRESS" -else - eval exec $LAUNCH_COMMAND -fi diff --git a/bin/omarchy-launch-or-focus-webapp b/bin/omarchy-launch-or-focus-webapp deleted file mode 100755 index c54159f..0000000 --- a/bin/omarchy-launch-or-focus-webapp +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -if (($# == 0)); then - echo "Usage: omarchy-launch-or-focus-webapp [window-pattern] [url]" - exit 1 -fi - -exec omarchy-launch-or-focus "$1" "omarchy-launch-webapp '$2'" diff --git a/bin/omarchy-launch-screensaver b/bin/omarchy-launch-screensaver deleted file mode 100755 index f81b4cd..0000000 --- a/bin/omarchy-launch-screensaver +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash - -# Exit early if we don't have the tte show -if ! command -v tte &>/dev/null; then - exit 1 -fi - -# Exit early if screensave is already running -pgrep -f "alacritty --class Screensaver" && exit 0 - -# Allow screensaver to be turned off but also force started -if [[ -f ~/.local/state/omarchy/toggles/screensaver-off ]] && [[ $1 != "force" ]]; then - exit 1 -fi - -focused=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name') - -for m in $(hyprctl monitors -j | jq -r '.[] | .name'); do - hyprctl dispatch focusmonitor $m - - # FIXME: Find a way to make this generic where we it can work for kitty + ghostty - hyprctl dispatch exec -- \ - alacritty --class Screensaver \ - --config-file ~/.local/share/omarchy/default/alacritty/screensaver.toml \ - -e omarchy-cmd-screensaver -done - -hyprctl dispatch focusmonitor $focused diff --git a/bin/omarchy-launch-webapp b/bin/omarchy-launch-webapp deleted file mode 100755 index 0276d96..0000000 --- a/bin/omarchy-launch-webapp +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -browser=$(xdg-settings get default-web-browser) - -case $browser in -google-chrome* | brave-browser* | microsoft-edge* | opera* | vivaldi*) ;; -*) browser="chromium.desktop" ;; -esac - -exec setsid uwsm app -- $(sed -n 's/^Exec=\([^ ]*\).*/\1/p' {~/.local,~/.nix-profile,/usr}/share/applications/$browser 2>/dev/null | head -1) --app="$1" "${@:2}" diff --git a/bin/omarchy-launch-wifi b/bin/omarchy-launch-wifi deleted file mode 100755 index fe04f84..0000000 --- a/bin/omarchy-launch-wifi +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -exec setsid uwsm app -- "$TERMINAL" --class=Impala -e impala "$@" diff --git a/bin/omarchy-lock-screen b/bin/omarchy-lock-screen deleted file mode 100755 index cad6f81..0000000 --- a/bin/omarchy-lock-screen +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -# Lock the screen -pidof hyprlock || hyprlock & - -# Ensure 1password is locked -if pgrep -x "1password" >/dev/null; then - 1password --lock & -fi - -# Avoid running screensaver when locked -pkill -f "$TERMINAL --class Screensaver" diff --git a/bin/omarchy-menu b/bin/omarchy-menu deleted file mode 100755 index b93a498..0000000 --- a/bin/omarchy-menu +++ /dev/null @@ -1,489 +0,0 @@ -#!/bin/bash - -export PATH="$HOME/.local/share/omarchy/bin:$PATH" - -# Set to true when going directly to a submenu, so we can exit directly -BACK_TO_EXIT=false - -back_to() { - local parent_menu="$1" - - if [[ "$BACK_TO_EXIT" == "true" ]]; then - exit 0 - elif [[ -n "$parent_menu" ]]; then - "$parent_menu" - else - show_main_menu - fi -} - -menu() { - local prompt="$1" - local options="$2" - local extra="$3" - local preselect="$4" - - read -r -a args <<<"$extra" - - if [[ -n "$preselect" ]]; then - local index - index=$(echo -e "$options" | grep -nxF "$preselect" | cut -d: -f1) - if [[ -n "$index" ]]; then - args+=("-a" "$index") - fi - fi - - echo -e "$options" | walker --dmenu --theme dmenu_250 -p "$promptโ€ฆ" "${args[@]}" -} - -terminal() { - alacritty --class=Omarchy -e "$@" -} - -present_terminal() { - omarchy-launch-floating-terminal-with-presentation $1 -} - -open_in_editor() { - notify-send "Editing config file" "$1" - omarchy-launch-editor "$1" -} - -install() { - present_terminal "echo 'Installing $1...'; sudo pacman -S --noconfirm $2" -} - -install_and_launch() { - present_terminal "echo 'Installing $1...'; sudo pacman -S --noconfirm $2 && setsid gtk-launch $3" -} - -install_font() { - present_terminal "echo 'Installing $1...'; sudo pacman -S --noconfirm --needed $2 && sleep 2 && omarchy-font-set '$3'" -} - -install_terminal() { - present_terminal "omarchy-install-terminal $1" -} - -aur_install() { - present_terminal "echo 'Installing $1 from AUR...'; yay -S --noconfirm $2" -} - -aur_install_and_launch() { - present_terminal "echo 'Installing $1 from AUR...'; yay -S --noconfirm $2 && setsid gtk-launch $3" -} - -show_learn_menu() { - case $(menu "Learn" "๏„œ Keybindings\n๏… Omarchy\n๏™ Hyprland\n๓ฐฃ‡ Arch\n๎šฎ Neovim\n๓ฑ†ƒ Bash") in - *Keybindings*) omarchy-menu-keybindings ;; - *Omarchy*) omarchy-launch-webapp "https://learn.omacom.io/2/the-omarchy-manual" ;; - *Hyprland*) omarchy-launch-webapp "https://wiki.hypr.land/" ;; - *Arch*) omarchy-launch-webapp "https://wiki.archlinux.org/title/Main_page" ;; - *Bash*) omarchy-launch-webapp "https://devhints.io/bash" ;; - *Neovim*) omarchy-launch-webapp "https://www.lazyvim.org/keymaps" ;; - *) show_main_menu ;; - esac -} - -show_trigger_menu() { - case $(menu "Trigger" "๏€ฐ Capture\n๏”Ž Share\n๓ฐ”Ž Toggle") in - *Capture*) show_capture_menu ;; - *Share*) show_share_menu ;; - *Toggle*) show_toggle_menu ;; - *) show_main_menu ;; - esac -} - -show_capture_menu() { - case $(menu "Capture" "๏€ฐ Screenshot\n๏€ฝ Screenrecord\n๓ฐƒ‰ Color") in - *Screenshot*) show_screenshot_menu ;; - *Screenrecord*) show_screenrecord_menu ;; - *Color*) pkill hyprpicker || hyprpicker -a ;; - *) show_trigger_menu ;; - esac -} - -show_screenshot_menu() { - case $(menu "Screenshot" "๏€ฐ Region\n๏€ฐ Window\n๏€ฐ Display") in - *Region*) omarchy-cmd-screenshot ;; - *Window*) omarchy-cmd-screenshot window ;; - *Display*) omarchy-cmd-screenshot output ;; - *) show_capture_menu ;; - esac -} - -show_screenrecord_menu() { - case $(menu "Screenrecord" "๏€ฝ Region\n๏€ฝ Region + Audio\n๏€ฝ Display\n๏€ฝ Display + Audio") in - *"Region + Audio"*) omarchy-cmd-screenrecord region audio ;; - *Region*) omarchy-cmd-screenrecord ;; - *"Display + Audio"*) omarchy-cmd-screenrecord output audio ;; - *Display*) omarchy-cmd-screenrecord output ;; - *) show_capture_menu ;; - esac -} - -show_share_menu() { - case $(menu "Share" "๏ฟ Clipboard\n๎ฉป File \n๏„” Folder") in - *Clipboard*) terminal bash -c "omarchy-cmd-share clipboard" ;; - *File*) terminal bash -c "omarchy-cmd-share file" ;; - *Folder*) terminal bash -c "omarchy-cmd-share folder" ;; - *) back_to show_trigger_menu ;; - esac -} - -show_toggle_menu() { - case $(menu "Toggle" "๓ฑ„„ Screensaver\n๓ฐ”Ž Nightlight\n๓ฑซ– Idle Lock\n๓ฐœ Top Bar") in - *Screensaver*) omarchy-toggle-screensaver ;; - *Nightlight*) omarchy-toggle-nightlight ;; - *Idle*) omarchy-toggle-idle ;; - *Bar*) omarchy-toggle-waybar ;; - *) show_trigger_menu ;; - esac -} - -show_style_menu() { - case $(menu "Style" "๓ฐธŒ Theme\n๎™™ Font\n๏€พ Background\n๏™ Hyprland\n๓ฑ„„ Screensaver\n๎ฉด About") in - *Theme*) show_theme_menu ;; - *Font*) show_font_menu ;; - *Background*) omarchy-theme-bg-next ;; - *Hyprland*) open_in_editor ~/.config/hypr/looknfeel.conf ;; - *Screensaver*) open_in_editor ~/.config/omarchy/branding/screensaver.txt ;; - *About*) open_in_editor ~/.config/omarchy/branding/about.txt ;; - *) show_main_menu ;; - esac -} - -show_theme_menu() { - theme=$(menu "Theme" "$(omarchy-theme-list)" "" "$(omarchy-theme-current)") - if [[ "$theme" == "CNCLD" || -z "$theme" ]]; then - back_to show_style_menu - else - omarchy-theme-set "$theme" - fi -} - -show_font_menu() { - theme=$(menu "Font" "$(omarchy-font-list)" "-w 350" "$(omarchy-font-current)") - if [[ "$theme" == "CNCLD" || -z "$theme" ]]; then - back_to show_style_menu - else - omarchy-font-set "$theme" - fi -} - -show_setup_menu() { - local options="๎˜ธ Audio\n๏‡ซ Wifi\n๓ฐ‚ฏ Bluetooth\n๓ฑ‹ Power Profile\n๓ฐน Monitors" - [ -f ~/.config/hypr/bindings.conf ] && options="$options\n๏„œ Keybindings" - [ -f ~/.config/hypr/input.conf ] && options="$options\n๎พบ Input" - options="$options\n๏’‰ Defaults\n๓ฐฑ” DNS\n๎ฌ‘ Security\n๎˜• Config" - - case $(menu "Setup" "$options") in - *Audio*) $TERMINAL --class=Wiremix -e wiremix ;; - *Wifi*) - rfkill unblock wifi - omarchy-launch-wifi - ;; - *Bluetooth*) - rfkill unblock bluetooth - blueberry - ;; - *Power*) show_setup_power_menu ;; - *Monitors*) open_in_editor ~/.config/hypr/monitors.conf ;; - *Keybindings*) open_in_editor ~/.config/hypr/bindings.conf ;; - *Input*) open_in_editor ~/.config/hypr/input.conf ;; - *Defaults*) open_in_editor ~/.config/uwsm/default ;; - *DNS*) present_terminal omarchy-setup-dns ;; - *Security*) show_setup_security_menu ;; - *Config*) show_setup_config_menu ;; - *) show_main_menu ;; - esac -} - -show_setup_power_menu() { - profile=$(menu "Power Profile" "$(omarchy-powerprofiles-list)" "" "$(powerprofilesctl get)") - - if [[ "$profile" == "CNCLD" || -z "$profile" ]]; then - back_to show_setup_menu - else - powerprofilesctl set "$profile" - fi -} - -show_setup_config_menu() { - case $(menu "Setup" "๏™ Hyprland\n๏™ Hypridle\n๏™ Hyprlock\n๏™ Hyprsunset\n๏ Swayosd\n๓ฐŒง Walker\n๓ฐœ Waybar\n๓ฐž… XCompose") in - *Hyprland*) open_in_editor ~/.config/hypr/hyprland.conf ;; - *Hypridle*) open_in_editor ~/.config/hypr/hypridle.conf && omarchy-restart-hypridle ;; - *Hyprlock*) open_in_editor ~/.config/hypr/hyprlock.conf ;; - *Hyprsunset*) open_in_editor ~/.config/hypr/hyprsunset.conf && omarchy-restart-hyprsunset ;; - *Swayosd*) open_in_editor ~/.config/swayosd/config.toml && omarchy-restart-swayosd ;; - *Walker*) open_in_editor ~/.config/walker/config.toml && omarchy-restart-walker ;; - *Waybar*) open_in_editor ~/.config/waybar/config.jsonc && omarchy-restart-waybar ;; - *XCompose*) open_in_editor ~/.XCompose && omarchy-restart-xcompose ;; - *) show_main_menu ;; - esac -} - -show_setup_security_menu() { - case $(menu "Setup" "๓ฐˆท Fingerprint\n๎ฌ‘ Fido2") in - *Fingerprint*) present_terminal omarchy-setup-fingerprint ;; - *Fido2*) present_terminal omarchy-setup-fido2 ;; - *) show_setup_menu ;; - esac -} - -show_install_menu() { - case $(menu "Install" "๓ฐฃ‡ Package\n๓ฐฃ‡ AUR\n๏‰จ Web App\n๏’‰ TUI\n๏’‡ Service\n๎ฏ Style\n๓ฐตฎ Development\n๏…œ Editor\n๏’‰ Terminal\n๓ฑšค AI\n๏„› Gaming") in - *Package*) terminal omarchy-pkg-install ;; - *AUR*) terminal omarchy-pkg-aur-install ;; - *Web*) present_terminal omarchy-webapp-install ;; - *TUI*) present_terminal omarchy-tui-install ;; - *Service*) show_install_service_menu ;; - *Style*) show_install_style_menu ;; - *Development*) show_install_development_menu ;; - *Editor*) show_install_editor_menu ;; - *Terminal*) show_install_terminal_menu ;; - *AI*) show_install_ai_menu ;; - *Gaming*) show_install_gaming_menu ;; - *) show_main_menu ;; - esac -} - -show_install_service_menu() { - case $(menu "Install" "๎œ‡ Dropbox\n๏’‡ Tailscale\n๓ฐŸต Bitwarden\n๎Ÿฐ Chromium Account") in - *Dropbox*) present_terminal omarchy-install-dropbox ;; - *Tailscale*) present_terminal omarchy-install-tailscale ;; - *Bitwarden*) install_and_launch "Bitwarden" "bitwarden bitwarden-cli" "bitwarden" ;; - *Chromium*) present_terminal omarchy-install-chromium-google-account ;; - *) show_install_menu ;; - esac -} - -show_install_editor_menu() { - case $(menu "Install" "๎ฃš VSCode\n๏…œ Cursor\n๏…œ Zed\n๏…œ Sublime Text\n๏…œ Helix\n๏…œ Emacs") in - *VSCode*) install_and_launch "VSCode" "visual-studio-code-bin" "code" ;; - *Cursor*) install_and_launch "Cursor" "cursor-bin" "cursor" ;; - *Zed*) install_and_launch "Zed" "zed" "dev.zed.Zed" ;; - *Sublime*) aur_install_and_launch "Sublime Text" "sublime-text-4" "sublime_text" ;; - *Helix*) install "Helix" "helix" ;; - *Emacs*) install "Emacs" "emacs-wayland" && systemctl --user enable --now emacs.service ;; - *) show_install_menu ;; - esac -} - -show_install_terminal_menu() { - case $(menu "Install" "๏’‰ Alacritty\n๏’‰ Ghostty\n๏’‰ Kitty") in - *Alacritty*) install_terminal "alacritty" ;; - *Ghostty*) install_terminal "ghostty" ;; - *Kitty*) install_terminal "kitty" ;; - *) show_install_menu ;; - esac -} - -show_install_ai_menu() { - ollama_pkg=$( - (command -v nvidia-smi &>/dev/null && echo ollama-cuda) || - (command -v rocminfo &>/dev/null && echo ollama-rocm) || - echo ollama - ) - - case $(menu "Install" "๓ฑšค Claude Code\n๓ฑšค Gemini [AUR]\n๓ฑšค OpenAI Codex [AUR]\n๓ฑšค LM Studio\n๓ฑšค Ollama\n๓ฑšค Crush\n๓ฑšค opencode") in - *Claude*) install "Claude Code" "claude-code" ;; - *OpenAI*) aur_install "OpenAI Codex" "openai-codex-bin" ;; - *Gemini*) aur_install "Gemini" "gemini-cli" ;; - *Studio*) install "LM Studio" "lmstudio" ;; - *Ollama*) install "Ollama" $ollama_pkg ;; - *Crush*) install "Crush" "crush-bin" ;; - *opencode*) install "opencode" "opencode" ;; - *) show_install_menu ;; - esac -} - -show_install_gaming_menu() { - case $(menu "Install" "๏†ถ Steam\n๏„› RetroArch [AUR]\n๓ฐณ Minecraft") in - *Steam*) present_terminal omarchy-install-steam ;; - *RetroArch*) aur_install_and_launch "RetroArch" "retroarch retroarch-assets libretro libretro-fbneo" "com.libretro.RetroArch.desktop" ;; - *Minecraft*) aur_install_and_launch "Minecraft [AUR]" "minecraft-launcher" "minecraft-launcher" ;; - *) show_install_menu ;; - esac -} - -show_install_style_menu() { - case $(menu "Install" "๓ฐธŒ Theme\n๏€พ Background\n๎™™ Font") in - *Theme*) present_terminal omarchy-theme-install ;; - *Background*) nautilus ~/.config/omarchy/current/theme/backgrounds ;; - *Font*) show_install_font_menu ;; - *) show_install_menu ;; - esac -} - -show_install_font_menu() { - case $(menu "Install" "๎™™ Meslo LG Mono\n๎™™ Fira Code\n๎™™ Victor Code\n๎™™ Bistream Vera Mono" "-w 350") in - *Meslo*) install_font "Meslo LG Mono" "ttf-meslo-nerd" "MesloLGL Nerd Font" ;; - *Fira*) install_font "Fira Code" "ttf-firacode-nerd" "FiraCode Nerd Font" ;; - *Victor*) install_font "Victor Code" "ttf-victor-mono-nerd" "VictorMono Nerd Font" ;; - *Bistream*) install_font "Bistream Vera Code" "ttf-bitstream-vera-mono-nerd" "BitstromWera Nerd Font" ;; - *) show_install_menu ;; - esac -} - -show_install_development_menu() { - case $(menu "Install" "๓ฐซ Ruby on Rails\n๏ˆŸ Docker DB\n๎ž JavaScript\n๎˜ง Go\n๎œฝ PHP\n๎œผ Python\n๎˜ญ Elixir\n๎ฃฏ Zig\n๎žจ Rust\n๎œธ Java\n๎ฟ .NET\n๎กŽ OCaml\n๎จ Clojure") in - *Rails*) present_terminal "omarchy-install-dev-env ruby" ;; - *Docker*) present_terminal omarchy-install-docker-dbs ;; - *JavaScript*) show_install_javascript_menu ;; - *Go*) present_terminal "omarchy-install-dev-env go" ;; - *PHP*) show_install_php_menu ;; - *Python*) present_terminal "omarchy-install-dev-env python" ;; - *Elixir*) show_install_elixir_menu ;; - *Zig*) present_terminal "omarchy-install-dev-env zig" ;; - *Rust*) present_terminal "omarchy-install-dev-env rust" ;; - *Java*) present_terminal "omarchy-install-dev-env java" ;; - *NET*) present_terminal "omarchy-install-dev-env dotnet" ;; - *OCaml*) present_terminal "omarchy-install-dev-env ocaml" ;; - *Clojure*) present_terminal "omarchy-install-dev-env clojure" ;; - *) show_install_menu ;; - esac -} - -show_install_javascript_menu() { - case $(menu "Install" "๎ด Node.js\n๎ฏ Bun\n๎Ÿ€ Deno") in - *Node*) present_terminal "omarchy-install-dev-env node" ;; - *Bun*) present_terminal "omarchy-install-dev-env bun" ;; - *Deno*) present_terminal "omarchy-install-dev-env deno" ;; - *) show_install_development_menu ;; - esac -} - -show_install_php_menu() { - case $(menu "Install" "๎œฝ PHP\n๎œฟ Laravel\n๎— Symfony") in - *PHP*) present_terminal "omarchy-install-dev-env php" ;; - *Laravel*) present_terminal "omarchy-install-dev-env laravel" ;; - *Symfony*) present_terminal "omarchy-install-dev-env symfony" ;; - *) show_install_development_menu ;; - esac -} - -show_install_elixir_menu() { - case $(menu "Install" "๎˜ญ Elixir\n๎ก  Phoenix") in - *Elixir*) present_terminal "omarchy-install-dev-env elixir" ;; - *Phoenix*) present_terminal "omarchy-install-dev-env phoenix" ;; - *) show_install_development_menu ;; - esac -} - -show_remove_menu() { - case $(menu "Remove" "๓ฐฃ‡ Package\n๏‰จ Web App\n๏’‰ TUI\n๓ฐธŒ Theme\n๓ฐˆท Fingerprint\n๎ฌ‘ Fido2") in - *Package*) terminal omarchy-pkg-remove ;; - *Web*) present_terminal omarchy-webapp-remove ;; - *TUI*) present_terminal omarchy-tui-remove ;; - *Theme*) present_terminal omarchy-theme-remove ;; - *Fingerprint*) present_terminal "omarchy-setup-fingerprint --remove" ;; - *Fido2*) present_terminal "omarchy-setup-fido2 --remove" ;; - *) show_main_menu ;; - esac -} - -show_update_menu() { - case $(menu "Update" "๎ค€ Omarchy\n๎ค€ Branch\n๎˜• Config\n๓ฐธŒ Extra Themes\n๎ฎข Process\n๓ฐ‡… Hardware\n๎ฌ‘ Password\n๎Žƒ Timezone") in - *Omarchy*) present_terminal omarchy-update ;; - *Branch*) show_update_branch_menu ;; - *Config*) show_update_config_menu ;; - *Themes*) present_terminal omarchy-theme-update ;; - *Process*) show_update_process_menu ;; - *Hardware*) show_update_hardware_menu ;; - *Timezone*) omarchy-cmd-tzupdate ;; - *Password*) show_update_password_menu ;; - *) show_main_menu ;; - esac -} - -show_update_branch_menu() { - case $(menu "Branch" "master\ndev" "" "$(omarchy-version-branch)") in - *master*) present_terminal "omarchy-update-branch master" ;; - *dev*) present_terminal "omarchy-update-branch dev" ;; - *) show_update_menu ;; - esac -} -show_update_process_menu() { - case $(menu "Restart" "๏™ Hypridle\n๏™ Hyprsunset\n๏ Swayosd\n๓ฐŒง Walker\n๓ฐœ Waybar") in - *Hypridle*) omarchy-restart-hypridle ;; - *Hyprsunset*) omarchy-restart-hyprsunset ;; - *Swayosd*) omarchy-restart-swayosd ;; - *Walker*) omarchy-restart-walker ;; - *Waybar*) omarchy-restart-waybar ;; - *) show_update_menu ;; - esac -} - -show_update_config_menu() { - case $(menu "Use default config" "๏™ Hyprland\n๏™ Hypridle\n๏™ Hyprlock\n๏™ Hyprsunset\n๓ฑฃด Plymouth\n๏ Swayosd\n๓ฐŒง Walker\n๓ฐœ Waybar") in - *Hyprland*) present_terminal omarchy-refresh-hyprland ;; - *Hypridle*) present_terminal omarchy-refresh-hypridle ;; - *Hyprlock*) present_terminal omarchy-refresh-hyprlock ;; - *Hyprsunset*) present_terminal omarchy-refresh-hyprsunset ;; - *Plymouth*) present_terminal omarchy-refresh-plymouth ;; - *Swayosd*) present_terminal omarchy-refresh-swayosd ;; - *Walker*) present_terminal omarchy-refresh-walker ;; - *Waybar*) present_terminal omarchy-refresh-waybar ;; - *) show_update_menu ;; - esac -} - -show_update_hardware_menu() { - case $(menu "Restart" "๓ฑšพ Wi-Fi\n๓ฐ‚ฏ Bluetooth") in - *Wi-Fi*) present_terminal omarchy-restart-wifi ;; - *Bluetooth*) present_terminal omarchy-restart-bluetooth ;; - *) show_update_menu ;; - esac -} - -show_update_password_menu() { - case $(menu "Update Password" "๎ฌ‘ Drive Encryption\n๎ฌ‘ User") in - *Drive*) present_terminal omarchy-drive-set-password ;; - *User*) present_terminal passwd ;; - *) show_update_menu ;; - esac -} - -show_system_menu() { - case $(menu "System" "๏€ฃ Lock\n๓ฑ„„ Screensaver\n๓ฐค„ Suspend\n๏™ Relaunch\n๓ฐœ‰ Restart\n๓ฐฅ Shutdown") in - *Lock*) omarchy-lock-screen ;; - *Screensaver*) omarchy-launch-screensaver force ;; - *Suspend*) systemctl suspend ;; - *Relaunch*) uwsm stop ;; - *Restart*) systemctl reboot ;; - *Shutdown*) systemctl poweroff ;; - *) back_to show_main_menu ;; - esac -} - -show_main_menu() { - go_to_menu "$(menu "Go" "๓ฐ€ป Apps\n๓ฐง‘ Learn\n๓ฑ“ž Trigger\n๎ฏ Style\n๎˜• Setup\n๓ฐ‰‰ Install\n๓ฐญŒ Remove\n๏€ก Update\n๎ฉด About\n๏€‘ System")" -} - -go_to_menu() { - case "${1,,}" in - *apps*) walker -p "Launchโ€ฆ" ;; - *learn*) show_learn_menu ;; - *trigger*) show_trigger_menu ;; - *share*) show_share_menu ;; - *style*) show_style_menu ;; - *theme*) show_theme_menu ;; - *screenshot*) show_screenshot_menu ;; - *screenrecord*) show_screenrecord_menu ;; - *setup*) show_setup_menu ;; - *power*) show_setup_power_menu ;; - *install*) show_install_menu ;; - *remove*) show_remove_menu ;; - *update*) show_update_menu ;; - *about*) omarchy-launch-about ;; - *system*) show_system_menu ;; - esac -} - -if [[ -n "$1" ]]; then - BACK_TO_EXIT=true - go_to_menu "$1" -else - show_main_menu -fi diff --git a/bin/omarchy-menu-keybindings b/bin/omarchy-menu-keybindings deleted file mode 100755 index 1d1b40a..0000000 --- a/bin/omarchy-menu-keybindings +++ /dev/null @@ -1,93 +0,0 @@ -#!/bin/bash - -# A script to display Hyprland keybindings defined in your configuration -# using walker for an interactive search menu. - -# Fetch dynamic keybindings from Hyprland -# -# Also do some pre-processing: -# - Remove standard Omarchy bin path prefix -# - Remove uwsm prefix -# - Map numeric modifier key mask to a textual rendition -# - Output comma-separated values that the parser can understand -dynamic_bindings() { - hyprctl -j binds | \ - jq -r '.[] | {modmask, key, keycode, description, dispatcher, arg} | "\(.modmask),\(.key)@\(.keycode),\(.description),\(.dispatcher),\(.arg)"' | \ - sed -r \ - -e 's/null//' \ - -e 's,~/.local/share/omarchy/bin/,,' \ - -e 's,uwsm app -- ,,' \ - -e 's/@0//' \ - -e 's/,@/,code:/' \ - -e 's/^0,/,/' \ - -e 's/^1,/SHIFT,/' \ - -e 's/^4,/CTRL,/' \ - -e 's/^5,/SHIFT CTRL,/' \ - -e 's/^8,/ALT,/' \ - -e 's/^9,/SHIFT ALT,/' \ - -e 's/^12,/CTRL ALT,/' \ - -e 's/^13,/SHIFT CTRL ALT,/' \ - -e 's/^64,/SUPER,/' \ - -e 's/^65,/SUPER SHIFT,/' \ - -e 's/^68,/SUPER CTRL,/' \ - -e 's/^69,/SUPER SHIFT CTRL,/' \ - -e 's/^72,/SUPER ALT,/' \ - -e 's/^73,/SUPER SHIFT ALT,/' \ - -e 's/^76,/SUPER CTRL ALT,/' \ - -e 's/^77,/SUPER SHIFT CTRL ALT,/' -} - -# Parse and format keybindings -# -# `awk` does the heavy lifting: -# - Set the field separator to a comma ','. -# - Joins the key combination (e.g., "SUPER + Q"). -# - Joins the command that the key executes. -# - Prints everything in a nicely aligned format. -parse_bindings() { - awk -F, ' -{ - # Combine the modifier and key (first two fields) - key_combo = $1 " + " $2; - - # Clean up: strip leading "+" if present, trim spaces - gsub(/^[ \t]*\+?[ \t]*/, "", key_combo); - gsub(/[ \t]+$/, "", key_combo); - - # Use description, if set - action = $3; - - if (action == "") { - # Reconstruct the command from the remaining fields - for (i = 4; i <= NF; i++) { - action = action $i (i < NF ? "," : ""); - } - - # Clean up trailing commas, remove leading "exec, ", and trim - sub(/,$/, "", action); - gsub(/(^|,)[[:space:]]*exec[[:space:]]*,?/, "", action); - gsub(/^[ \t]+|[ \t]+$/, "", action); - gsub(/[ \t]+/, " ", key_combo); # Collapse multiple spaces to one - - # Escape XML entities - gsub(/&/, "\\&", action); - gsub(//, "\\>", action); - gsub(/"/, "\\"", action); - gsub(/'"'"'/, "\\'", action); - } - - if (action != "") { - printf "%-35s โ†’ %s\n", key_combo, action; - } -}' -} - -monitor_height=$(hyprctl monitors -j | jq -r '.[] | select(.focused == true) | .height') -menu_height=$((monitor_height * 40 / 100)) - -dynamic_bindings | \ - sort -u | \ - parse_bindings | \ - walker --dmenu --theme keybindings -p 'Keybindings' -w 800 -h "$menu_height" - diff --git a/bin/omarchy-migrate b/bin/omarchy-migrate deleted file mode 100755 index 45cf1ed..0000000 --- a/bin/omarchy-migrate +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash - -# Where we store an empty file for each migration that has already been performed. -STATE_DIR="$HOME/.local/state/omarchy/migrations" -mkdir -p "$STATE_DIR" - -# Skipped migrations are tracked separately -mkdir -p "$STATE_DIR/skipped" - -# Run any pending migrations -for file in ~/.local/share/omarchy/migrations/*.sh; do - filename=$(basename "$file") - - if [[ ! -f "$STATE_DIR/$filename" && ! -f "$STATE_DIR/skipped/$filename" ]]; then - echo -e "\e[32m\nRunning migration (${filename%.sh})\e[0m" - - if bash $file; then - touch "$STATE_DIR/$filename" - else - if gum confirm "Migration ${filename%.sh} failed. Skip and continue?"; then - touch "$STATE_DIR/skipped/$filename" - else - exit 1 - fi - fi - fi -done diff --git a/bin/omarchy-notification-dismiss b/bin/omarchy-notification-dismiss deleted file mode 100755 index ee2a062..0000000 --- a/bin/omarchy-notification-dismiss +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -if (($# == 0)); then - echo "Usage: omarchy-notification-dismiss " - exit 1 -fi - -# Find the first notification whose 'summary' matches the regex in $1 -notification_id=$(makoctl list | grep -F "$1" | head -n1 | sed -E 's/^Notification ([0-9]+):.*/\1/') - -if [[ -n $notification_id ]]; then - makoctl dismiss -n $notification_id -fi diff --git a/bin/omarchy-pkg-add b/bin/omarchy-pkg-add deleted file mode 100755 index 116435b..0000000 --- a/bin/omarchy-pkg-add +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -for pkg in "$@"; do - if ! pacman -Q "$pkg" &>/dev/null; then - sudo pacman -S --noconfirm "$pkg" || exit 1 - fi -done - -exit 0 diff --git a/bin/omarchy-pkg-aur-accessible b/bin/omarchy-pkg-aur-accessible deleted file mode 100755 index 5dd3e2d..0000000 --- a/bin/omarchy-pkg-aur-accessible +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -curl -sf --connect-timeout 30 --retry 3 --retry-delay 3 -A "omarchy-update" \ - "https://aur.archlinux.org/rpc/?v=5&type=info&arg=base" >/dev/null diff --git a/bin/omarchy-pkg-aur-install b/bin/omarchy-pkg-aur-install deleted file mode 100755 index 41710e0..0000000 --- a/bin/omarchy-pkg-aur-install +++ /dev/null @@ -1,24 +0,0 @@ -#!/bin/bash - -fzf_args=( - --multi - --preview 'yay -Siia {1}' - --preview-label='alt-p: toggle description, alt-b/B: toggle PKGBUILD, alt-j/k: scroll, tab: multi-select, F11: maximize' - --preview-label-pos='bottom' - --preview-window 'down:65%:wrap' - --bind 'alt-p:toggle-preview' - --bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up' - --bind 'alt-k:preview-up,alt-j:preview-down' - --bind 'alt-b:change-preview:yay -Gpa {1} | tail -n +5' - --bind 'alt-B:change-preview:yay -Siia {1}' - --color 'pointer:green,marker:green' -) - -pkg_names=$(yay -Slqa | fzf "${fzf_args[@]}") - -if [[ -n "$pkg_names" ]]; then - # Convert newline-separated selections to space-separated for yay - echo "$pkg_names" | tr '\n' ' ' | xargs yay -S --noconfirm - sudo updatedb - omarchy-show-done -fi diff --git a/bin/omarchy-pkg-drop b/bin/omarchy-pkg-drop deleted file mode 100755 index fc9da0d..0000000 --- a/bin/omarchy-pkg-drop +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -for pkg in "$@"; do - if pacman -Q "$pkg" &>/dev/null; then - sudo pacman -Rns --noconfirm "$pkg" - fi -done diff --git a/bin/omarchy-pkg-ignored b/bin/omarchy-pkg-ignored deleted file mode 100755 index 765fe69..0000000 --- a/bin/omarchy-pkg-ignored +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -IGNORED_PACKAGES_FILE="$OMARCHY_PATH/install/packages.ignored" - -if [[ -f $IGNORED_PACKAGES_FILE ]]; then - tr '\r\n' ',' <"$IGNORED_PACKAGES_FILE" | sed 's/,$//' -fi diff --git a/bin/omarchy-pkg-install b/bin/omarchy-pkg-install deleted file mode 100755 index c654e17..0000000 --- a/bin/omarchy-pkg-install +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -fzf_args=( - --multi - --preview 'pacman -Sii {1}' - --preview-label='alt-p: toggle description, alt-j/k: scroll, tab: multi-select, F11: maximize' - --preview-label-pos='bottom' - --preview-window 'down:65%:wrap' - --bind 'alt-p:toggle-preview' - --bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up' - --bind 'alt-k:preview-up,alt-j:preview-down' - --color 'pointer:green,marker:green' -) - -pkg_names=$(pacman -Slq | fzf "${fzf_args[@]}") - -if [[ -n "$pkg_names" ]]; then - # Convert newline-separated selections to space-separated for yay - echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -S --noconfirm - omarchy-show-done -fi diff --git a/bin/omarchy-pkg-missing b/bin/omarchy-pkg-missing deleted file mode 100755 index 2556afe..0000000 --- a/bin/omarchy-pkg-missing +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -for pkg in "$@"; do - if ! pacman -Q "$pkg" &>/dev/null; then - exit 0 - fi -done - -exit 1 diff --git a/bin/omarchy-pkg-pinned b/bin/omarchy-pkg-pinned deleted file mode 100755 index 503d5c7..0000000 --- a/bin/omarchy-pkg-pinned +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -PINNED_PACKAGES_FILE="$OMARCHY_PATH/install/packages.pinned" - -if [[ -f $PINNED_PACKAGES_FILE ]]; then - tr '\r\n' ',' <"$PINNED_PACKAGES_FILE" | sed 's/,$//' -fi diff --git a/bin/omarchy-pkg-present b/bin/omarchy-pkg-present deleted file mode 100755 index 6afb1f5..0000000 --- a/bin/omarchy-pkg-present +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -for pkg in "$@"; do - pacman -Q "$pkg" &>/dev/null || exit 1 -done - -exit 0 diff --git a/bin/omarchy-pkg-remove b/bin/omarchy-pkg-remove deleted file mode 100755 index 63c6147..0000000 --- a/bin/omarchy-pkg-remove +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -fzf_args=( - --multi - --preview 'yay -Qi {1}' - --preview-label='alt-p: toggle description, alt-j/k: scroll, tab: multi-select, F11: maximize' - --preview-label-pos='bottom' - --preview-window 'down:65%:wrap' - --bind 'alt-p:toggle-preview' - --bind 'alt-d:preview-half-page-down,alt-u:preview-half-page-up' - --bind 'alt-k:preview-up,alt-j:preview-down' - --color 'pointer:red,marker:red' -) - -pkg_names=$(yay -Qqe | fzf "${fzf_args[@]}") - -if [[ -n "$pkg_names" ]]; then - # Convert newline-separated selections to space-separated for yay - echo "$pkg_names" | tr '\n' ' ' | xargs sudo pacman -Rns --noconfirm - omarchy-show-done -fi diff --git a/bin/omarchy-powerprofiles-list b/bin/omarchy-powerprofiles-list deleted file mode 100755 index b0b5d82..0000000 --- a/bin/omarchy-powerprofiles-list +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -powerprofilesctl list | - awk '/^\s*[* ]\s*[a-zA-Z0-9\-]+:$/ { gsub(/^[*[:space:]]+|:$/,""); print }' | - tac diff --git a/bin/omarchy-refresh-applications b/bin/omarchy-refresh-applications deleted file mode 100755 index c0f2bb0..0000000 --- a/bin/omarchy-refresh-applications +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -# Copy and sync icon files -mkdir -p ~/.local/share/icons/hicolor/48x48/apps/ -cp ~/.local/share/omarchy/applications/icons/*.png ~/.local/share/icons/hicolor/48x48/apps/ -gtk-update-icon-cache ~/.local/share/icons/hicolor &>/dev/null - -# Copy .desktop declarations -mkdir -p ~/.local/share/applications -cp ~/.local/share/omarchy/applications/*.desktop ~/.local/share/applications/ -cp ~/.local/share/omarchy/applications/hidden/*.desktop ~/.local/share/applications/ - -update-desktop-database ~/.local/share/applications diff --git a/bin/omarchy-refresh-config b/bin/omarchy-refresh-config deleted file mode 100755 index 99036c8..0000000 --- a/bin/omarchy-refresh-config +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# This script deploys ~/.local/share/omarchy/config/X/Y/Z -> ~/.config/X/Y/Z -config_file=$1 - -if [[ -z "$config_file" ]]; then - cat </dev/null - - # Replace config with new default - cp -f "$default_config_file" "$user_config_file" 2>/dev/null - - # Compare and delete/inform accordingly - if cmp -s "$user_config_file" "$backup_config_file"; then - rm "$backup_config_file" - else - echo -e "\e[31mReplaced $user_config_file with new Omarchy default.\nSaved backup as ${backup_config_file}.\n\n\e[32mChanges:\e[0m" - diff "$user_config_file" "$backup_config_file" || true - fi -else - # Config file did not exist already - cp -f "$default_config_file" "$user_config_file" 2>/dev/null -fi diff --git a/bin/omarchy-refresh-fastfetch b/bin/omarchy-refresh-fastfetch deleted file mode 100755 index 879c327..0000000 --- a/bin/omarchy-refresh-fastfetch +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config fastfetch/config.jsonc diff --git a/bin/omarchy-refresh-hypridle b/bin/omarchy-refresh-hypridle deleted file mode 100755 index f555f0f..0000000 --- a/bin/omarchy-refresh-hypridle +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config hypr/hypridle.conf -omarchy-restart-hypridle diff --git a/bin/omarchy-refresh-hyprland b/bin/omarchy-refresh-hyprland deleted file mode 100755 index 7c0a278..0000000 --- a/bin/omarchy-refresh-hyprland +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config hypr/autostart.conf -omarchy-refresh-config hypr/bindings.conf -omarchy-refresh-config hypr/envs.conf -omarchy-refresh-config hypr/input.conf -omarchy-refresh-config hypr/hyprland.conf diff --git a/bin/omarchy-refresh-hyprlock b/bin/omarchy-refresh-hyprlock deleted file mode 100755 index fde6dc4..0000000 --- a/bin/omarchy-refresh-hyprlock +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config hypr/hyprlock.conf diff --git a/bin/omarchy-refresh-hyprsunset b/bin/omarchy-refresh-hyprsunset deleted file mode 100755 index ca2ab1a..0000000 --- a/bin/omarchy-refresh-hyprsunset +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config hypr/hyprsunset.conf -omarchy-restart-hyprsunset diff --git a/bin/omarchy-refresh-pacman-mirrorlist b/bin/omarchy-refresh-pacman-mirrorlist deleted file mode 100755 index d029490..0000000 --- a/bin/omarchy-refresh-pacman-mirrorlist +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist diff --git a/bin/omarchy-refresh-plymouth b/bin/omarchy-refresh-plymouth deleted file mode 100755 index fce86bf..0000000 --- a/bin/omarchy-refresh-plymouth +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash - -sudo cp ~/.local/share/omarchy/default/plymouth/* /usr/share/plymouth/themes/omarchy/ -sudo plymouth-set-default-theme omarchy - -if command -v limine-mkinitcpio &>/dev/null; then - sudo limine-mkinitcpio -else - sudo mkinitcpio -P -fi diff --git a/bin/omarchy-refresh-swayosd b/bin/omarchy-refresh-swayosd deleted file mode 100755 index 0dd7f0d..0000000 --- a/bin/omarchy-refresh-swayosd +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config swayosd/config.toml -omarchy-refresh-config swayosd/style.css -omarchy-restart-swayosd diff --git a/bin/omarchy-refresh-walker b/bin/omarchy-refresh-walker deleted file mode 100755 index aa7a021..0000000 --- a/bin/omarchy-refresh-walker +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config walker/config.toml -omarchy-restart-walker diff --git a/bin/omarchy-refresh-waybar b/bin/omarchy-refresh-waybar deleted file mode 100755 index 3f6af49..0000000 --- a/bin/omarchy-refresh-waybar +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -omarchy-refresh-config waybar/config.jsonc -omarchy-refresh-config waybar/style.css -omarchy-restart-waybar diff --git a/bin/omarchy-reset-sudo b/bin/omarchy-reset-sudo deleted file mode 100755 index 9482262..0000000 --- a/bin/omarchy-reset-sudo +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -# Resetting sudo lockout for user -su -c "faillock --reset --user $USER" diff --git a/bin/omarchy-restart-app b/bin/omarchy-restart-app deleted file mode 100755 index 8cf2a03..0000000 --- a/bin/omarchy-restart-app +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -pkill -x $1 -setsid uwsm app -- $1 >/dev/null 2>&1 & diff --git a/bin/omarchy-restart-bluetooth b/bin/omarchy-restart-bluetooth deleted file mode 100755 index 432e002..0000000 --- a/bin/omarchy-restart-bluetooth +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -rfkill unblock bluetooth -rfkill list bluetooth diff --git a/bin/omarchy-restart-hypridle b/bin/omarchy-restart-hypridle deleted file mode 100755 index 261f0aa..0000000 --- a/bin/omarchy-restart-hypridle +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -omarchy-restart-app hypridle diff --git a/bin/omarchy-restart-hyprsunset b/bin/omarchy-restart-hyprsunset deleted file mode 100755 index 0e681bf..0000000 --- a/bin/omarchy-restart-hyprsunset +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -omarchy-restart-app hyprsunset diff --git a/bin/omarchy-restart-swayosd b/bin/omarchy-restart-swayosd deleted file mode 100755 index b155bc2..0000000 --- a/bin/omarchy-restart-swayosd +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -omarchy-restart-app swayosd-server diff --git a/bin/omarchy-restart-walker b/bin/omarchy-restart-walker deleted file mode 100755 index b2dc9a4..0000000 --- a/bin/omarchy-restart-walker +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -pkill walker -# FIXME: Just deal with the memory leak for now. -# See https://github.com/basecamp/omarchy/issues/698 -setsid uwsm app -- walker --gapplication-service & -echo # Always end in success so we don't terminate further running diff --git a/bin/omarchy-restart-waybar b/bin/omarchy-restart-waybar deleted file mode 100755 index 53b570e..0000000 --- a/bin/omarchy-restart-waybar +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -omarchy-restart-app waybar diff --git a/bin/omarchy-restart-wifi b/bin/omarchy-restart-wifi deleted file mode 100755 index b8496d9..0000000 --- a/bin/omarchy-restart-wifi +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -rfkill unblock wifi -rfkill list wifi diff --git a/bin/omarchy-restart-xcompose b/bin/omarchy-restart-xcompose deleted file mode 100755 index 45f7d9a..0000000 --- a/bin/omarchy-restart-xcompose +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -omarchy-restart-app fcitx5 diff --git a/bin/omarchy-setup-dns b/bin/omarchy-setup-dns deleted file mode 100755 index 472b555..0000000 --- a/bin/omarchy-setup-dns +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/bash - -if [[ -z $1 ]]; then - dns=$(gum choose --height 5 --header "Select DNS provider" Cloudflare DHCP Custom) -else - dns=$1 -fi - -case "$dns" in -Cloudflare) - sudo tee /etc/systemd/resolved.conf >/dev/null <<'EOF' -[Resolve] -DNS=1.1.1.1#cloudflare-dns.com 1.0.0.1#cloudflare-dns.com -FallbackDNS=9.9.9.9 149.112.112.112 -DNSOverTLS=opportunistic -EOF - - # Ensure network interfaces don't override our DNS settings - for file in /etc/systemd/network/*.network; do - [[ -f "$file" ]] || continue - if ! grep -q "^\[DHCPv4\]" "$file"; then continue; fi - - # Add UseDNS=no to DHCPv4 section if not present - if ! sed -n '/^\[DHCPv4\]/,/^\[/p' "$file" | grep -q "^UseDNS="; then - sudo sed -i '/^\[DHCPv4\]/a UseDNS=no' "$file" - fi - - # Add UseDNS=no to IPv6AcceptRA section if present - if grep -q "^\[IPv6AcceptRA\]" "$file" && ! sed -n '/^\[IPv6AcceptRA\]/,/^\[/p' "$file" | grep -q "^UseDNS="; then - sudo sed -i '/^\[IPv6AcceptRA\]/a UseDNS=no' "$file" - fi - done - - sudo systemctl restart systemd-networkd systemd-resolved - ;; - -DHCP) - sudo tee /etc/systemd/resolved.conf >/dev/null <<'EOF' -[Resolve] -DNSOverTLS=no -EOF - - # Allow network interfaces to use DHCP DNS - for file in /etc/systemd/network/*.network; do - [[ -f "$file" ]] || continue - sudo sed -i '/^UseDNS=no/d' "$file" - done - - sudo systemctl restart systemd-networkd systemd-resolved - ;; - -Custom) - echo "Enter your DNS servers (space-separated, e.g. '192.168.1.1 1.1.1.1'):" - read -r dns_servers - - if [[ -z "$dns_servers" ]]; then - echo "Error: No DNS servers provided." - exit 1 - fi - - sudo tee /etc/systemd/resolved.conf >/dev/null </dev/null) - if [ -z "$tokens" ]; then - print_error "\nNo FIDO2 device detected. Please plug it in (you may need to unlock it as well)." - return 1 - fi - return 0 -} - -setup_pam_config() { - # Configure sudo - if ! grep -q pam_u2f.so /etc/pam.d/sudo; then - print_info "Configuring sudo for FIDO2 authentication..." - sudo sed -i '1i auth sufficient pam_u2f.so cue authfile=/etc/fido2/fido2' /etc/pam.d/sudo - fi - - # Configure polkit - if [ -f /etc/pam.d/polkit-1 ] && ! grep -q 'pam_u2f.so' /etc/pam.d/polkit-1; then - print_info "Configuring polkit for FIDO2 authentication..." - sudo sed -i '1i auth sufficient pam_u2f.so cue authfile=/etc/fido2/fido2' /etc/pam.d/polkit-1 - elif [ ! -f /etc/pam.d/polkit-1 ]; then - print_info "Creating polkit configuration with FIDO2 authentication..." - sudo tee /etc/pam.d/polkit-1 >/dev/null <<'EOF' -auth sufficient pam_u2f.so cue authfile=/etc/fido2/fido2 -auth required pam_unix.so - -account required pam_unix.so -password required pam_unix.so -session required pam_unix.so -EOF - fi -} - -remove_pam_config() { - # Remove from sudo - if grep -q pam_u2f.so /etc/pam.d/sudo; then - print_info "Removing FIDO2 authentication from sudo..." - sudo sed -i '/pam_u2f\.so/d' /etc/pam.d/sudo - fi - - # Remove from polkit - if [ -f /etc/pam.d/polkit-1 ] && grep -Fq 'pam_u2f.so' /etc/pam.d/polkit-1; then - print_info "Removing FIDO2 authentication from polkit..." - sudo sed -i '/pam_u2f\.so/d' /etc/pam.d/polkit-1 - fi -} - -if [[ "--remove" == "$1" ]]; then - print_success "Removing FIDO2 device from authentication.\n" - - # Remove PAM configuration - remove_pam_config - - # Remove FIDO2 configuration - if [ -d /etc/fido2 ]; then - print_info "Removing FIDO2 configuration..." - sudo rm -rf /etc/fido2 - fi - - # Uninstall packages - print_info "Removing FIDO2 packages..." - sudo pacman -Rns --noconfirm libfido2 pam-u2f - - print_success "FIDO2 authentication has been completely removed." -else - print_success "Setting up FIDO2 device for authentication.\n" - - # Install required packages - print_info "Installing required packages..." - sudo pacman -S --noconfirm --needed libfido2 pam-u2f - - if ! check_fido2_hardware; then - exit 1 - fi - - # Create the pamu2fcfg file - if [ ! -f /etc/fido2/fido2 ]; then - sudo mkdir -p /etc/fido2 - print_success "\nLet's setup your device by confirming on the device now." - print_info "Touch your FIDO2 key when it lights up...\n" - - if pamu2fcfg >/tmp/fido2; then - sudo mv /tmp/fido2 /etc/fido2/fido2 - print_success "FIDO2 device registered successfully!" - else - print_error "\nFIDO2 registration failed. Please try again." - exit 1 - fi - else - print_info "FIDO2 device already registered." - fi - - # Configure PAM - setup_pam_config - - # Test with sudo - print_info "\nTesting FIDO2 authentication with sudo..." - print_info "Touch your FIDO2 key when prompted.\n" - - if sudo echo "FIDO2 authentication test successful"; then - print_success "\nPerfect! FIDO2 authentication is now configured." - print_info "You can use your FIDO2 key for sudo and polkit authentication." - else - print_error "\nVerification failed. You may want to check your configuration." - fi -fi diff --git a/bin/omarchy-setup-fingerprint b/bin/omarchy-setup-fingerprint deleted file mode 100755 index 422fb1e..0000000 --- a/bin/omarchy-setup-fingerprint +++ /dev/null @@ -1,112 +0,0 @@ -#!/bin/bash - -set -e - -GREEN='\033[0;32m' -RED='\033[0;31m' -YELLOW='\033[1;33m' -NC='\033[0m' # No Color - -print_success() { - echo -e "${GREEN}$1${NC}" -} - -print_error() { - echo -e "${RED}$1${NC}" -} - -print_info() { - echo -e "${YELLOW}$1${NC}" -} - -check_fingerprint_hardware() { - if ! lsusb | grep -Eiq 'fingerprint|synaptics|goodix|elan|validity'; then - print_error "\nNo fingerprint sensor detected." - return 1 - fi - return 0 -} - -setup_pam_config() { - # Configure sudo - if ! grep -q pam_fprintd.so /etc/pam.d/sudo; then - print_info "Configuring sudo for fingerprint authentication..." - sudo sed -i '1i auth sufficient pam_fprintd.so' /etc/pam.d/sudo - fi - - # Configure polkit - if [ -f /etc/pam.d/polkit-1 ] && ! grep -q 'pam_fprintd.so' /etc/pam.d/polkit-1; then - print_info "Configuring polkit for fingerprint authentication..." - sudo sed -i '1i auth sufficient pam_fprintd.so' /etc/pam.d/polkit-1 - elif [ ! -f /etc/pam.d/polkit-1 ]; then - print_info "Creating polkit configuration with fingerprint authentication..." - sudo tee /etc/pam.d/polkit-1 >/dev/null <<'EOF' -auth sufficient pam_fprintd.so -auth required pam_unix.so - -account required pam_unix.so -password required pam_unix.so -session required pam_unix.so -EOF - fi -} - -remove_pam_config() { - # Remove from sudo - if grep -q pam_fprintd.so /etc/pam.d/sudo; then - print_info "Removing fingerprint authentication from sudo..." - sudo sed -i '/pam_fprintd\.so/d' /etc/pam.d/sudo - fi - - # Remove from polkit - if [ -f /etc/pam.d/polkit-1 ] && grep -Fq 'pam_fprintd.so' /etc/pam.d/polkit-1; then - print_info "Removing fingerprint authentication from polkit..." - sudo sed -i '/pam_fprintd\.so/d' /etc/pam.d/polkit-1 - fi -} - -if [[ "--remove" == "$1" ]]; then - print_success "Removing fingerprint scanner from authentication.\n" - - # Remove PAM configuration - remove_pam_config - - # Uninstall packages - print_info "Removing fingerprint packages..." - sudo pacman -Rns --noconfirm fprintd - - print_success "Fingerprint authentication has been completely removed." -else - print_success "Setting up fingerprint scanner for authentication.\n" - - # Install required packages - print_info "Installing required packages..." - sudo pacman -S --noconfirm --needed fprintd usbutils - - if ! check_fingerprint_hardware; then - exit 1 - fi - - # Configure PAM - setup_pam_config - - # Enroll first fingerprint - print_success "\nLet's setup your right index finger as the first fingerprint." - print_info "Keep moving the finger around on sensor until the process completes.\n" - - if sudo fprintd-enroll "$USER"; then - print_success "\nFingerprint enrolled successfully!" - - # Verify - print_info "\nNow let's verify that it's working correctly.\n" - if fprintd-verify; then - print_success "\nPerfect! Fingerprint authentication is now configured." - print_info "You can use your fingerprint for sudo, polkit, and lock screen (Super + Escape)." - else - print_error "\nVerification failed. You may want to try enrolling again." - fi - else - print_error "\nEnrollment failed. Please try again." - exit 1 - fi -fi diff --git a/bin/omarchy-show-done b/bin/omarchy-show-done deleted file mode 100755 index de5fe2a..0000000 --- a/bin/omarchy-show-done +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/bash - -echo -gum spin --spinner "globe" --title "Done! Press any key to close..." -- bash -c 'read -n 1 -s' diff --git a/bin/omarchy-show-logo b/bin/omarchy-show-logo deleted file mode 100755 index fbaf38d..0000000 --- a/bin/omarchy-show-logo +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -clear -echo -e "\033[32m" -cat <~/.local/share/omarchy/logo.txt -echo -e "\033[0m" -echo diff --git a/bin/omarchy-snapshot b/bin/omarchy-snapshot deleted file mode 100755 index 7174081..0000000 --- a/bin/omarchy-snapshot +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/bash - -COMMAND="$1" -OMARCHY_PATH=${OMARCHY_PATH:-$HOME/.local/share/omarchy} - -if [[ -z $COMMAND ]]; then - echo "Usage: omarchy-snapshot " >&2 - exit 1 -fi - -if ! command -v snapper &>/dev/null; then - exit 127 # omarchy-update can use this to just ignore if snapper is not available -fi - -case "$COMMAND" in -create) - DESC="$(omarchy-version)" - - echo -e "\e[32mCreate system snapshot\e[0m" - - # Get existing snapper config names from CSV output - mapfile -t CONFIGS < <(sudo snapper --csvout list-configs | awk -F, 'NR>1 {print $1}') - - for config in "${CONFIGS[@]}"; do - sudo snapper -c "$config" create -c number -d "$DESC" - done - echo - ;; -restore) - sudo limine-snapper-restore - ;; -esac diff --git a/bin/omarchy-state b/bin/omarchy-state deleted file mode 100755 index d55943b..0000000 --- a/bin/omarchy-state +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash - -STATE_DIR="$HOME/.local/state/omarchy" -mkdir -p "$STATE_DIR" - -COMMAND="$1" -STATE_NAME="$2" - -if [[ -z "$COMMAND" ]]; then - echo "Usage: omarchy-state " - exit 1 -fi - -if [[ -z "$STATE_NAME" ]]; then - echo "Usage: omarchy-state $COMMAND " - exit 1 -fi - -case "$COMMAND" in -set) touch "$STATE_DIR/$STATE_NAME" ;; -clear) find "$STATE_DIR" -maxdepth 1 -type f -name "$STATE_NAME" -delete ;; -esac diff --git a/bin/omarchy-theme-bg-next b/bin/omarchy-theme-bg-next deleted file mode 100755 index 21cddf9..0000000 --- a/bin/omarchy-theme-bg-next +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash - -# Cycles through the background images available - -BACKGROUNDS_DIR="$HOME/.config/omarchy/current/theme/backgrounds/" -CURRENT_BACKGROUND_LINK="$HOME/.config/omarchy/current/background" - -mapfile -d '' -t BACKGROUNDS < <(find "$BACKGROUNDS_DIR" -type f -print0 | sort -z) -TOTAL=${#BACKGROUNDS[@]} - -if [[ $TOTAL -eq 0 ]]; then - notify-send "No background was found for theme" -t 2000 - pkill -x swaybg - setsid uwsm app -- swaybg --color '#000000' >/dev/null 2>&1 & -else - # Get current background from symlink - if [[ -L "$CURRENT_BACKGROUND_LINK" ]]; then - CURRENT_BACKGROUND=$(readlink "$CURRENT_BACKGROUND_LINK") - else - # Default to first background if no symlink exists - CURRENT_BACKGROUND="" - fi - - # Find current background index - INDEX=-1 - for i in "${!BACKGROUNDS[@]}"; do - if [[ "${BACKGROUNDS[$i]}" == "$CURRENT_BACKGROUND" ]]; then - INDEX=$i - break - fi - done - - # Get next background (wrap around) - if [[ $INDEX -eq -1 ]]; then - # Use the first background when no match was found - NEW_BACKGROUND="${BACKGROUNDS[0]}" - else - NEXT_INDEX=$(((INDEX + 1) % TOTAL)) - NEW_BACKGROUND="${BACKGROUNDS[$NEXT_INDEX]}" - fi - - # Set new background symlink - ln -nsf "$NEW_BACKGROUND" "$CURRENT_BACKGROUND_LINK" - - # Relaunch swaybg - pkill -x swaybg - setsid uwsm app -- swaybg -i "$CURRENT_BACKGROUND_LINK" -m fill >/dev/null 2>&1 & -fi diff --git a/bin/omarchy-theme-current b/bin/omarchy-theme-current deleted file mode 100755 index 40350c5..0000000 --- a/bin/omarchy-theme-current +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -basename "$(realpath "$HOME/.config/omarchy/current/theme")" | sed -E 's/(^|-)([a-z])/\1\u\2/g; s/-/ /g' diff --git a/bin/omarchy-theme-install b/bin/omarchy-theme-install deleted file mode 100755 index bc9001e..0000000 --- a/bin/omarchy-theme-install +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash - -# omarchy-theme-install: Install a new theme from a git repo for Omarchy -# Usage: omarchy-theme-install - -if [ -z "$1" ]; then - echo -e "\e[32mSee https://manuals.omamix.org/2/the-omarchy-manual/90/extra-themes\n\e[0m" - REPO_URL=$(gum input --placeholder="Git repo URL for theme" --header="") -else - REPO_URL="$1" -fi - -if [ -z "$REPO_URL" ]; then - exit 1 -fi - -THEMES_DIR="$HOME/.config/omarchy/themes" -THEME_NAME=$(basename "$REPO_URL" .git | sed -E 's/^omarchy-//; s/-theme$//') -THEME_PATH="$THEMES_DIR/$THEME_NAME" - -# Remove existing theme if present -if [ -d "$THEME_PATH" ]; then - rm -rf "$THEME_PATH" -fi - -# Clone the repo directly to ~/.config/omarchy/themes -if ! git clone "$REPO_URL" "$THEME_PATH"; then - echo "Error: Failed to clone theme repo." - exit 1 -fi - -# Apply the new theme with omarchy-theme-set -omarchy-theme-set $THEME_NAME diff --git a/bin/omarchy-theme-list b/bin/omarchy-theme-list deleted file mode 100755 index 944979f..0000000 --- a/bin/omarchy-theme-list +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -find ~/.config/omarchy/themes/ -mindepth 1 -maxdepth 1 \( -type d -o -type l \) | sort | while read -r path; do - echo "$(basename "$path" | sed -E 's/(^|-)([a-z])/\1\u\2/g; s/-/ /g')" -done diff --git a/bin/omarchy-theme-next b/bin/omarchy-theme-next deleted file mode 100755 index eb97d90..0000000 --- a/bin/omarchy-theme-next +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash - -THEMES_DIR="$HOME/.config/omarchy/themes/" -CURRENT_THEME_LINK="$HOME/.config/omarchy/current/theme" - -THEMES=($(find "$THEMES_DIR" -mindepth 1 -maxdepth 1 | sort)) -TOTAL=${#THEMES[@]} - -# Get current theme from symlink -if [[ -L "$CURRENT_THEME_LINK" ]]; then - CURRENT_THEME=$(realpath "$CURRENT_THEME_LINK") -else - # Default to first theme if no symlink exists - CURRENT_THEME=$(realpath "${THEMES[0]}") -fi - -# Find current theme index -INDEX=0 -for i in "${!THEMES[@]}"; do - THEMES[$i]=$(realpath "${THEMES[$i]}") - - if [[ "${THEMES[$i]}" == "$CURRENT_THEME" ]]; then - INDEX=$i - break - fi -done - -# Get next theme (wrap around) -NEXT_INDEX=$(((INDEX + 1) % TOTAL)) -NEW_THEME=${THEMES[$NEXT_INDEX]} -NEW_THEME_NAME=$(basename "$NEW_THEME") - -omarchy-theme-set $NEW_THEME_NAME -notify-send "Theme changed to $NEW_THEME_NAME" -t 2000 diff --git a/bin/omarchy-theme-remove b/bin/omarchy-theme-remove deleted file mode 100755 index e3733fe..0000000 --- a/bin/omarchy-theme-remove +++ /dev/null @@ -1,40 +0,0 @@ -#!/bin/bash - -# omarchy-theme-remove: Remove a theme from Omarchy by name -# Usage: omarchy-theme-remove - -if [ -z "$1" ]; then - mapfile -t extra_themes < <(find ~/.config/omarchy/themes -mindepth 1 -maxdepth 1 -type d ! -xtype l -printf '%f\n') - - if [[ ${#extra_themes[@]} -gt 0 ]]; then - THEME_NAME=$(gum choose --header="Remove extra theme" "${extra_themes[@]}") - else - echo "No extra themes installed." - exit 1 - fi -else - THEME_NAME="$1" -fi - -THEMES_DIR="$HOME/.config/omarchy/themes" -CURRENT_DIR="$HOME/.config/omarchy/current" -THEME_PATH="$THEMES_DIR/$THEME_NAME" - -# Ensure a theme was set -if [ -z "$THEME_NAME" ]; then - exit 1 -fi - -# Check if theme exists before attempting removal -if [ ! -d "$THEME_PATH" ]; then - echo "Error: Theme '$THEME_NAME' not found." - exit 1 -fi - -# Move to the next theme if the current theme is the one being removed -if [ "$(readlink -f "$CURRENT_DIR/theme")" = "$(readlink -f "$THEME_PATH")" ]; then - omarchy-theme-next -fi - -# Now remove the theme directory for THEME_NAME -rm -rf "$THEME_PATH" diff --git a/bin/omarchy-theme-set b/bin/omarchy-theme-set deleted file mode 100755 index 7305971..0000000 --- a/bin/omarchy-theme-set +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/bash - -if [[ -z $1 && $1 != "CNCLD" ]]; then - echo "Usage: omarchy-theme-set " - exit 1 -fi - -THEMES_DIR="$HOME/.config/omarchy/themes/" -CURRENT_THEME_DIR="$HOME/.config/omarchy/current/theme" - -THEME_NAME=$(echo "$1" | sed -E 's/<[^>]+>//g' | tr '[:upper:]' '[:lower:]' | tr ' ' '-') -THEME_PATH="$THEMES_DIR/$THEME_NAME" - -# Check if the theme entered exists -if [[ ! -d "$THEME_PATH" ]]; then - echo "Theme '$THEME_NAME' does not exist in $THEMES_DIR" - exit 1 -fi - -# Update theme symlinks -ln -nsf "$THEME_PATH" "$CURRENT_THEME_DIR" - -# Change background with theme -omarchy-theme-bg-next - -# Restart components to apply new theme -omarchy-restart-waybar -omarchy-restart-swayosd -hyprctl reload -pkill -SIGUSR2 btop -makoctl reload - -# Change gnome, browser, vscode themes -omarchy-theme-set-terminal -omarchy-theme-set-gnome -omarchy-theme-set-eza -omarchy-theme-set-browser -omarchy-theme-set-vscode diff --git a/bin/omarchy-theme-set-browser b/bin/omarchy-theme-set-browser deleted file mode 100755 index 759d2c4..0000000 --- a/bin/omarchy-theme-set-browser +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -CHROMIUM_THEME=~/.config/omarchy/current/theme/chromium.theme - -if omarchy-cmd-present chromium || omarchy-cmd-present brave; then - if [[ -f $CHROMIUM_THEME ]]; then - rgb=$(<$CHROMIUM_THEME) - THEME_HEX_COLOR=$(printf '#%02x%02x%02x' ${rgb//,/ }) - else - # Use a default, neutral grey if theme doesn't have a color - THEME_HEX_COLOR="#1c2027" - fi - - if omarchy-cmd-present chromium; then - echo "{\"BrowserThemeColor\": \"$THEME_HEX_COLOR\"}" | tee "/etc/chromium/policies/managed/color.json" >/dev/null - chromium --refresh-platform-policy --no-startup-window - fi - - if omarchy-cmd-present brave; then - echo "{\"BrowserThemeColor\": \"$THEME_HEX_COLOR\"}" | tee "/etc/brave/policies/managed/color.json" >/dev/null - brave --refresh-platform-policy --no-startup-window - fi -fi diff --git a/bin/omarchy-theme-set-eza b/bin/omarchy-theme-set-eza deleted file mode 100755 index cde362c..0000000 --- a/bin/omarchy-theme-set-eza +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if [ -f ~/.config/omarchy/current/theme/eza.yml ]; then - ln -snf ~/.config/omarchy/current/theme/eza.yml ~/.config/eza/theme.yml -else - rm -f ~/.config/eza/theme.yml -fi diff --git a/bin/omarchy-theme-set-gnome b/bin/omarchy-theme-set-gnome deleted file mode 100755 index da25b66..0000000 --- a/bin/omarchy-theme-set-gnome +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -# Change gnome modes -if [[ -f ~/.config/omarchy/current/theme/light.mode ]]; then - gsettings set org.gnome.desktop.interface color-scheme "prefer-light" - gsettings set org.gnome.desktop.interface gtk-theme "Adwaita" -else - gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" - gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" -fi - -# Change gnome icon theme color -GNOME_ICONS_THEME=~/.config/omarchy/current/theme/icons.theme -if [[ -f $GNOME_ICONS_THEME ]]; then - gsettings set org.gnome.desktop.interface icon-theme "$(<$GNOME_ICONS_THEME)" -else - gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue" -fi diff --git a/bin/omarchy-theme-set-terminal b/bin/omarchy-theme-set-terminal deleted file mode 100755 index 8a6bdbd..0000000 --- a/bin/omarchy-theme-set-terminal +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -case "$TERMINAL" in -"alacritty") touch ~/.config/alacritty/alacritty.toml ;; -"kitty") killall -SIGUSR1 kitty ;; -"ghostty") killall -SIGUSR2 ghostty ;; -esac diff --git a/bin/omarchy-theme-set-vscode b/bin/omarchy-theme-set-vscode deleted file mode 100755 index 635ea28..0000000 --- a/bin/omarchy-theme-set-vscode +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/bash - -VS_CODE_THEME="$HOME/.config/omarchy/current/theme/vscode.json" -VS_CODE_SETTINGS="$HOME/.config/Code/User/settings.json" -VS_CODE_SKIP_FLAG="$HOME/.local/state/omarchy/toggles/skip-vscode-theme-changes" - -if omarchy-cmd-present code && [[ ! -f "$VS_CODE_SKIP_FLAG" ]]; then - if [[ -f "$VS_CODE_THEME" ]]; then - theme_name=$(jq -r '.name' "$VS_CODE_THEME") - extension=$(jq -r '.extension' "$VS_CODE_THEME") - - # Install VS Code theme extension - if [[ -n "$extension" ]] && ! code --list-extensions | grep -Fxq "$extension"; then - notify-send "๎ˆซ Installing VS Code theme for $theme_name" - code --install-extension "$extension" >/dev/null - fi - - # Update theme in settings.json - jq -n --arg t "$theme_name" '(input? // {}) | .["workbench.colorTheme"] = $t' "$VS_CODE_SETTINGS" >"${VS_CODE_SETTINGS}.new" - else - # Remove theme from settings.json when the theme doesn't have vscode support - jq 'del(.["workbench.colorTheme"])' "$VS_CODE_SETTINGS" >"${VS_CODE_SETTINGS}.new" - fi - - mv "${VS_CODE_SETTINGS}.new" "$VS_CODE_SETTINGS" -fi diff --git a/bin/omarchy-theme-update b/bin/omarchy-theme-update deleted file mode 100755 index a4ecbde..0000000 --- a/bin/omarchy-theme-update +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -for dir in ~/.config/omarchy/themes/*/; do - [ -d "$dir" ] && [ ! -L "${dir%/}" ] && echo "Updating: $(basename "$dir")" && git -C "$dir" pull -done diff --git a/bin/omarchy-toggle-idle b/bin/omarchy-toggle-idle deleted file mode 100755 index a195461..0000000 --- a/bin/omarchy-toggle-idle +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -if pgrep -x hypridle >/dev/null; then - pkill -x hypridle - notify-send "Stop locking computer when idle" -else - uwsm app -- hypridle >/dev/null 2>&1 & - notify-send "Now locking computer when idle" -fi diff --git a/bin/omarchy-toggle-nightlight b/bin/omarchy-toggle-nightlight deleted file mode 100755 index 2ab2deb..0000000 --- a/bin/omarchy-toggle-nightlight +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/bash - -# Default temperature values -ON_TEMP=4000 -OFF_TEMP=6000 - -# Ensure hyprsunset is running -if ! pgrep -x hyprsunset; then - setsid uwsm app -- hyprsunset & - sleep 1 # Give it time to register -fi - -# Query the current temperature -CURRENT_TEMP=$(hyprctl hyprsunset temperature 2>/dev/null | grep -oE '[0-9]+') - -restart_nightlighted_waybar() { - if grep -q "custom/nightlight" ~/.config/waybar/config.jsonc; then - omarchy-restart-waybar # restart waybar in case user has waybar module for hyprsunset - fi -} - -if [[ "$CURRENT_TEMP" == "$OFF_TEMP" ]]; then - hyprctl hyprsunset temperature $ON_TEMP - notify-send "๏†† Nightlight screen temperature" - restart_nightlighted_waybar -else - hyprctl hyprsunset temperature $OFF_TEMP - notify-send "๏†… Daylight screen temperature" - restart_nightlighted_waybar -fi diff --git a/bin/omarchy-toggle-screensaver b/bin/omarchy-toggle-screensaver deleted file mode 100755 index 2edd401..0000000 --- a/bin/omarchy-toggle-screensaver +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -STATE_FILE=~/.local/state/omarchy/toggles/screensaver-off - -if [[ -f $STATE_FILE ]]; then - rm -f $STATE_FILE - notify-send "๓ฑ„„ Screensaver enabled" -else - mkdir -p "$(dirname $STATE_FILE)" - touch $STATE_FILE - notify-send "๓ฑ„„ Screensaver disabled" -fi diff --git a/bin/omarchy-toggle-waybar b/bin/omarchy-toggle-waybar deleted file mode 100755 index 9714185..0000000 --- a/bin/omarchy-toggle-waybar +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if pgrep -x waybar >/dev/null; then - pkill -x waybar -else - uwsm app -- waybar >/dev/null 2>&1 & -fi diff --git a/bin/omarchy-tui-install b/bin/omarchy-tui-install deleted file mode 100755 index 121ce94..0000000 --- a/bin/omarchy-tui-install +++ /dev/null @@ -1,57 +0,0 @@ -#!/bin/bash - -if [ "$#" -ne 4 ]; then - echo -e "\e[32mLet's create a TUI shortcut you can start with the app launcher.\n\e[0m" - APP_NAME=$(gum input --prompt "Name> " --placeholder "My TUI") - APP_EXEC=$(gum input --prompt "Launch Command> " --placeholder "lazydocker or bash -c 'dust; read -n 1 -s'") - WINDOW_STYLE=$(gum choose --header "Window style" float tile) - ICON_URL=$(gum input --prompt "Icon URL> " --placeholder "See https://dashboardicons.com (must use PNG!)") -else - APP_NAME="$1" - APP_EXEC="$2" - WINDOW_STYLE="$3" - ICON_URL="$4" -fi - -if [[ -z "$APP_NAME" || -z "$APP_EXEC" || -z "$ICON_URL" ]]; then - echo "You must set app name, app command, and icon URL!" - exit 1 -fi - -ICON_DIR="$HOME/.local/share/applications/icons" -DESKTOP_FILE="$HOME/.local/share/applications/$APP_NAME.desktop" - -if [[ ! "$ICON_URL" =~ ^https?:// ]] && [ -f "$ICON_URL" ]; then - ICON_PATH="$ICON_URL" -else - ICON_PATH="$ICON_DIR/$APP_NAME.png" - mkdir -p "$ICON_DIR" - if ! curl -sL -o "$ICON_PATH" "$ICON_URL"; then - echo "Error: Failed to download icon." - exit 1 - fi -fi - -if [[ $WINDOW_STYLE == "float" ]]; then - APP_CLASS="TUI.float" -else - APP_CLASS="TUI.tile" -fi - -cat >"$DESKTOP_FILE" < -ignored_packages=$(omarchy-pkg-ignored) - -echo -e "\e[32m\nUpdate system packages\e[0m" -[[ -n $ignored_packages ]] && echo "sudo pacman -Syu --noconfirm --ignore \"$ignored_packages\"" -sudo pacman -Syu --noconfirm --ignore "$ignored_packages" - -# Update AUR packages if any are installed -if pacman -Qem >/dev/null; then - if omarchy-pkg-aur-accessible; then - echo -e "\e[32m\nUpdate AUR packages\e[0m" - [[ -n $ignored_packages ]] && echo "yay -Sua --noconfirm --ignore \"$ignored_packages\"" - yay -Sua --noconfirm --ignore "$ignored_packages" - echo - else - echo -e "\e[31m\nAUR is unavailable (so skipping updates)\e[0m" - echo - fi -fi - -orphans=$(pacman -Qtdq) -if [[ -n $orphans ]]; then - echo -e "\e[32m\nRemove orphan system packages\e[0m" - for pkg in $orphans; do - sudo pacman -Rs --noconfirm "$pkg" || true - done - echo -fi diff --git a/bin/omarchy-upload-log b/bin/omarchy-upload-log deleted file mode 100755 index bd98da8..0000000 --- a/bin/omarchy-upload-log +++ /dev/null @@ -1,126 +0,0 @@ -#!/bin/bash - -# Upload logs to 0x0.st - -LOG_TYPE="${1:-install}" -TEMP_LOG="/tmp/upload-log.txt" -SYSTEM_INFO="/tmp/system-info.txt" - -# Get system information if fastfetch is available -if command -v fastfetch >/dev/null 2>&1; then - { - echo "=========================================" - echo "SYSTEM INFORMATION" - echo "=========================================" - # Use fastfetch with no logo to get clean output - fastfetch --logo none --pipe 2>/dev/null || echo "Failed to get system info" - echo "" - echo "=========================================" - echo "LOG CONTENT" - echo "=========================================" - echo "" - } >"$SYSTEM_INFO" -else - # Fallback to basic info if fastfetch isn't available - { - echo "=========================================" - echo "SYSTEM INFORMATION" - echo "=========================================" - echo "Hostname: $(hostname)" - echo "Kernel: $(uname -r)" - echo "Date: $(date)" - echo "" - echo "=========================================" - echo "LOG CONTENT" - echo "=========================================" - echo "" - } >"$SYSTEM_INFO" -fi - -case "$LOG_TYPE" in -install) - ARCHINSTALL_LOG="/var/log/archinstall/install.log" - OMARCHY_LOG="/var/log/omarchy-install.log" - - # Combine system info with logs - cat "$SYSTEM_INFO" >"$TEMP_LOG" - cat $ARCHINSTALL_LOG $OMARCHY_LOG >>"$TEMP_LOG" 2>/dev/null - - if [ ! -s "$TEMP_LOG" ]; then - echo "Error: No install logs found" - exit 1 - fi - - echo "Uploading installation log to 0x0.st..." - ;; - -this-boot) - # Combine system info with boot logs - cat "$SYSTEM_INFO" >"$TEMP_LOG" - journalctl -b 0 >>"$TEMP_LOG" 2>/dev/null - - if [ ! -s "$TEMP_LOG" ]; then - echo "Error: No logs found for current boot" - exit 1 - fi - - echo "Uploading current boot logs to 0x0.st..." - ;; - -last-boot) - # Combine system info with previous boot logs - cat "$SYSTEM_INFO" >"$TEMP_LOG" - journalctl -b -1 >>"$TEMP_LOG" 2>/dev/null - - if [ ! -s "$TEMP_LOG" ]; then - echo "Error: No logs found for previous boot" - exit 1 - fi - - echo "Uploading previous boot logs to 0x0.st..." - ;; - -installed) - # System info plus all installed packages - cat "$SYSTEM_INFO" >"$TEMP_LOG" - { - echo "" - echo "=========================================" - echo "INSTALLED PACKAGES (pacman -Q)" - echo "=========================================" - pacman -Q 2>/dev/null || echo "Failed to get package list" - } >>"$TEMP_LOG" - - if [ ! -s "$TEMP_LOG" ]; then - echo "Error: Failed to gather system information" - exit 1 - fi - - echo "Uploading system information to 0x0.st..." - ;; - -*) - echo "Usage: $0 [install|this-boot|last-boot|system-info]" - echo " install - Upload installation logs (default)" - echo " this-boot - Upload logs from current boot" - echo " last-boot - Upload logs from previous boot" - echo " installed - Upload system info and installed packages" - exit 1 - ;; -esac - -echo "" - -URL=$(curl -sF "file=@$TEMP_LOG" -Fexpires=24 https://0x0.st) - -if [ $? -eq 0 ] && [ -n "$URL" ]; then - echo "โœ“ Log uploaded successfully!" - echo "Share this URL:" - echo "" - echo " $URL" - echo "" - echo "This link will expire in 24 hours." -else - echo "Error: Failed to upload log file" - exit 1 -fi diff --git a/bin/omarchy-version b/bin/omarchy-version deleted file mode 100755 index 4ac8481..0000000 --- a/bin/omarchy-version +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -git -C "$OMARCHY_PATH" describe --tags $(git -C "$OMARCHY_PATH" rev-list --tags --max-count=1) diff --git a/bin/omarchy-version-branch b/bin/omarchy-version-branch deleted file mode 100755 index 43281d9..0000000 --- a/bin/omarchy-version-branch +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -echo $(git -C "$OMARCHY_PATH" rev-parse --abbrev-ref HEAD) diff --git a/bin/omarchy-webapp-handler-zoom b/bin/omarchy-webapp-handler-zoom deleted file mode 100755 index a27411e..0000000 --- a/bin/omarchy-webapp-handler-zoom +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/bash - -url="$1" -web_url="https://app.zoom.us/wc/home" - -if [[ $url =~ ^zoom(mtg|us):// ]]; then - confno=$(echo "$url" | sed -n 's/.*[?&]confno=\([^&]*\).*/\1/p') - - if [[ -n $confno ]]; then - pwd=$(echo "$url" | sed -n 's/.*[?&]pwd=\([^&]*\).*/\1/p') - - if [[ -n $pwd ]]; then - web_url="https://app.zoom.us/wc/join/$confno?pwd=$pwd" - else - web_url="https://app.zoom.us/wc/join/$confno" - fi - fi -fi - -exec omarchy-launch-webapp "$web_url" diff --git a/bin/omarchy-webapp-install b/bin/omarchy-webapp-install deleted file mode 100755 index e954e84..0000000 --- a/bin/omarchy-webapp-install +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash - -if [ "$#" -lt 3 ]; then - echo -e "\e[32mLet's create a new web app you can start with the app launcher.\n\e[0m" - APP_NAME=$(gum input --prompt "Name> " --placeholder "My favorite web app") - APP_URL=$(gum input --prompt "URL> " --placeholder "https://example.com") - ICON_REF=$(gum input --prompt "Icon URL> " --placeholder "See https://dashboardicons.com (must use PNG!)") - CUSTOM_EXEC="" - MIME_TYPES="" - INTERACTIVE_MODE=true -else - APP_NAME="$1" - APP_URL="$2" - ICON_REF="$3" - CUSTOM_EXEC="$4" # Optional custom exec command - MIME_TYPES="$5" # Optional mime types - INTERACTIVE_MODE=false -fi - -# Ensure valid execution -if [[ -z "$APP_NAME" || -z "$APP_URL" || -z "$ICON_REF" ]]; then - echo "You must set app name, app URL, and icon URL!" - exit 1 -fi - -# Refer to local icon or fetch remotely from URL -ICON_DIR="$HOME/.local/share/applications/icons" -if [[ $ICON_REF =~ ^https?:// ]]; then - ICON_PATH="$ICON_DIR/$APP_NAME.png" - if curl -sL -o "$ICON_PATH" "$ICON_REF"; then - ICON_PATH="$ICON_DIR/$APP_NAME.png" - else - echo "Error: Failed to download icon." - exit 1 - fi -else - ICON_PATH="$ICON_DIR/$ICON_REF" -fi - -# Use custom exec if provided, otherwise default behavior -if [[ -n $CUSTOM_EXEC ]]; then - EXEC_COMMAND="$CUSTOM_EXEC" -else - EXEC_COMMAND="omarchy-launch-webapp $APP_URL" -fi - -# Create application .desktop file -DESKTOP_FILE="$HOME/.local/share/applications/$APP_NAME.desktop" - -cat >"$DESKTOP_FILE" <>"$DESKTOP_FILE" -fi - -chmod +x "$DESKTOP_FILE" - -if [[ $INTERACTIVE_MODE == true ]]; then - echo -e "You can now find $APP_NAME using the app launcher (SUPER + SPACE)\n" -fi diff --git a/bin/omarchy-webapp-remove b/bin/omarchy-webapp-remove deleted file mode 100755 index 833e898..0000000 --- a/bin/omarchy-webapp-remove +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -ICON_DIR="$HOME/.local/share/applications/icons" -DESKTOP_DIR="$HOME/.local/share/applications/" - -if [ "$#" -eq 0 ]; then - # Find all web apps - while IFS= read -r -d '' file; do - if grep -q '^Exec=.*omarchy-launch-webapp.*' "$file"; then - WEB_APPS+=("$(basename "${file%.desktop}")") - fi - done < <(find "$DESKTOP_DIR" -name '*.desktop' -print0) - - if ((${#WEB_APPS[@]})); then - IFS=$'\n' SORTED_WEB_APPS=($(sort <<<"${WEB_APPS[*]}")) - unset IFS - APP_NAMES_STRING=$(gum choose --no-limit --header "Select web app to remove..." --selected-prefix="โœ— " "${SORTED_WEB_APPS[@]}") - # Convert newline-separated string to array - APP_NAMES=() - while IFS= read -r line; do - [[ -n "$line" ]] && APP_NAMES+=("$line") - done <<< "$APP_NAMES_STRING" - else - echo "No web apps to remove." - exit 1 - fi -else - # Use array to preserve spaces in app names - APP_NAMES=("$@") -fi - -if [[ ${#APP_NAMES[@]} -eq 0 ]]; then - echo "You must provide web app names." - exit 1 -fi - -for APP_NAME in "${APP_NAMES[@]}"; do - rm -f "$DESKTOP_DIR/$APP_NAME.desktop" - rm -f "$ICON_DIR/$APP_NAME.png" - echo "Removed $APP_NAME" -done diff --git a/boot.sh b/boot.sh index 9593f75..db982b5 100755 --- a/boot.sh +++ b/boot.sh @@ -1,39 +1,80 @@ -#!/bin/bash +#!/usr/bin/env bash -# Set install mode to online since boot.sh is used for curl installations -export OMARCHY_ONLINE_INSTALL=true +# Omarchy NixOS Bootstrap Script +# Downloads and installs Omarchy on a fresh NixOS system -ansi_art=' โ–„โ–„โ–„ - โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆ โ–ˆโ–„ โ–„โ–ˆ โ–ˆโ–„ +set -e + +# Colors +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +BLUE='\033[0;34m' +NC='\033[0m' + +show_banner() { + echo -e "${BLUE}" + cat << 'EOF' + โ–„โ–„โ–„ + โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆ โ–ˆโ–„ โ–„โ–ˆ โ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–ˆโ–ˆโ–ˆ โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–€ โ–ˆโ–ˆโ–ˆ โ–€โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–ˆโ–ˆโ–ˆ โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ - โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–€โ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ - โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ ' + โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–€โ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ + โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ -clear -echo -e "\n$ansi_art\n" + NixOS Edition + Bootstrap Installer +EOF + echo -e "${NC}" +} -sudo pacman -Syu --noconfirm --needed git +check_nixos() { + if [ ! -f /etc/NIXOS ]; then + echo -e "${RED}Error: This script must be run on NixOS${NC}" + exit 1 + fi +} -# Use custom repo if specified, otherwise default to basecamp/omarchy -OMARCHY_REPO="${OMARCHY_REPO:-basecamp/omarchy}" +main() { + show_banner -echo -e "\nCloning Omarchy from: https://github.com/${OMARCHY_REPO}.git" -rm -rf ~/.local/share/omarchy/ -git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy >/dev/null + echo -e "${BLUE}Welcome to Omarchy NixOS Bootstrap!${NC}" + echo + check_nixos -# Use custom branch if instructed, otherwise default to master -OMARCHY_REF="${OMARCHY_REF:-master}" -if [[ $OMARCHY_REF != "master" ]]; then - echo -e "\e[32mUsing branch: $OMARCHY_REF\e[0m" - cd ~/.local/share/omarchy - git fetch origin "${OMARCHY_REF}" && git checkout "${OMARCHY_REF}" - cd - -fi + # Install git if not present + if ! command -v git &> /dev/null; then + echo -e "${YELLOW}Installing git...${NC}" + nix-shell -p git --run true + fi -echo -e "\nInstallation starting..." -source ~/.local/share/omarchy/install.sh + # Use custom repo if specified, otherwise default + OMARCHY_REPO="${OMARCHY_REPO:-yourusername/omarchy-nixos}" + OMARCHY_REF="${OMARCHY_REF:-main}" + + echo -e "${BLUE}Cloning Omarchy from: https://github.com/${OMARCHY_REPO}.git${NC}" + + # Remove existing directory + rm -rf ~/.local/share/omarchy-nixos/ + + # Clone repository + git clone "https://github.com/${OMARCHY_REPO}.git" ~/.local/share/omarchy-nixos + + # Use custom branch if specified + if [[ $OMARCHY_REF != "main" ]]; then + echo -e "${GREEN}Using branch: $OMARCHY_REF${NC}" + cd ~/.local/share/omarchy-nixos + git fetch origin "${OMARCHY_REF}" && git checkout "${OMARCHY_REF}" + fi + + cd ~/.local/share/omarchy-nixos + + echo -e "${BLUE}Starting installation...${NC}" + ./install.sh +} + +main "$@" \ No newline at end of file diff --git a/config/Typora/themes/ia_typora.css b/config/Typora/themes/ia_typora.css deleted file mode 100644 index 231ca17..0000000 --- a/config/Typora/themes/ia_typora.css +++ /dev/null @@ -1,309 +0,0 @@ -:root { - --accent-color: #aeb1b5; /* #'s before H1-3 */ - --background-color: white; - --border-color: #ddd; - --code-bg-color: #f8f8f8; - --font-color: #42464c; - --header-color: #222324; - --link-color: #2077b2; - --control-text-color: #667176; - --side-bar-bg-color: #fafafa; - --body-font: "iA Writer Mono S"; - --border-radius: 2px; - --document-horizontal-margin: 80px; - --document-padding-x: 10ch; - --font-size: 20px; - --h1-fontsize: 20px; /* 1,5 rem = 24px */ - --h2-fontsize: 20px; /* 1,375 rem = 22px */ - --h3-fontsize: 20px; /* 1,25 rem = 20px */ - --h4-fontsize: 20px; /* 1,125 rem = 18px */ - --line-height: 1.8; - --main-content-margin: 0 auto; - --main-content-max-width: 85ch; - --monospace-font-size: 20px; - --monospace-font: "iA Writer Mono S"; - --monospace-line-height: 1.6; - --monospace: var(--monospace-font); /* Fixes source code mode */ - --nav-width: 200px; - --vertical-padding: 40px; -} - -/* Narrow layout styles */ -@media (max-width: 640px) { - :root { - --document-padding-x: 4ch; - } -} - -html { - font-size: var(--font-size); - background-color: var(--background-color); -} - -html, -body { - color: var(--font-color); - font-family: var(--body-font); - line-height: var(--line-height); -} - -#write { - /* size of writing area: */ - padding-left: var(--document-padding-x); - padding-right: var(--document-padding-x); - max-width: var(--main-content-max-width); - box-sizing: border-box; -} - -/** - * --------------------- - * Block Elements - */ - -/* yaml */ -pre.md-meta-block { - background-color: var(--background-color); - padding-bottom: .5rem; - color: var(--accent-color); - border-bottom: 2px solid var(--border-color); - font-family: var(--monospace-font); -} - -/* headings */ -h1, h2, h3 { - font-weight: bold; - color: var(--header-color); -} - -h1 { - margin-top: 1rem; - margin-bottom: 1rem; - font-size: var(--h1-fontsize); -} - -h1:not(:first-child) { - margin-top: 1rem; -} - -h2 { - margin-top: 1rem; - margin-bottom: 0rem; - font-size: var(--h2-fontsize); -} - -h3 { - margin-top: 1rem; - margin-bottom: 0rem; - font-size: var(--h3-fontsize); -} - -h4, h5, h6 { - color: var(--header-color); - margin-top: 1rem; - margin-bottom: 0rem; - font-size: 1rem; -} - -h4 { - font-size: var(--h4-fontsize); -} - -h6 { - color: var(--control-text-color); -} - -h1::before, -h2::before, -h3::before { - font-weight: 400; - text-align: right; - width: 5ch; - padding-right: 1ch; - margin-left: -5ch; - color: var(--accent-color); - display: inline-block; -} - -h1::before { - content: '#'; -} - -h2::before { - content: '##'; -} - -h3::before { - content: '###'; -} - -h1 tt, -h1 code { - font-size: inherit; -} -h2 tt, -h2 code { - font-size: inherit; -} -h3 tt, -h3 code { - font-size: inherit; -} -h4 tt, -h4 code { - font-size: inherit; -} -h5 tt, -h5 code { - font-size: inherit; -} -h6 tt, -h6 code { - font-size: inherit; -} - -/* table */ -table { - margin-top: 1rem; - margin-bottom: 1rem; -} - -table tr:nth-child(2n), -thead { - background-color: var(--side-bar-bg-color); -} - -td, -th { - border-style: solid; - border-color: var(--border-color); - border-width: 1px; - padding: .35rem .7rem -} - -li p { - margin: 0; -} - -.task-list { - padding-left: 0; -} - -.task-list-item { - padding-left: 1.5em; - margin-bottom: 0rem; -} - -#write input[type='checkbox'] { - margin-top: 5px; -} - -blockquote { - margin: 1rem 0; - padding-left: 2ch; - margin-left: .5ch; - position: relative; - overflow: hidden; - border-left: 2px solid var(--border-color); - color: var(--accent-color); -} - -/* horizontal line */ -hr { - border: none; - border-bottom: 2px solid var(--border-color); - margin-top: 1.4rem; - margin-bottom: 1.4rem; -} - -p { - margin: 2rem 0; -} - -/** - * Code Fences - * see http:/*support.typora.io/Code-Block-Styles - */ - -.cm-s-inner .CodeMirror-gutters { - background: var(--code-bg-color); -} - -.code-tooltip { - box-shadow: none; - border-radius: var(--border-radius); - background-color: var(--code-bg-color); - border-color: var(--border-color); - border-style: solid; - border-width: 1px; -} - -.code-tooltip input { - outline: none; - width: 20ch; -} - -.md-fences .code-tooltip { - bottom: -1.8rem; - padding: none; -} - -.md-fences.md-focus .cm-s-inner { - /* Remove bottom right border radius when tooltip is shown */ - border-bottom-right-radius: 0; -} - -/* code tooltip autocomplete list */ - -.autoComplt-hint { - background-color: transparent !important; - margin: 0 !important; - padding: 0.125rem 0.375rem !important; - color: var(--text-color) !important; - line-height: var(--line-height) !important; - height: 1.4rem !important; -} - -.autoComplt-hint-selected { - background-color: var(--link-color) !important; - color: var(--background-color) !important; -} - -/* basic styles */ - -.md-fences, -code, -tt { - border: 1px solid var(--border-color); - background-color: var(--code-bg-color); - font-family: var(--monospace-font); - font-size: var(--monospace-font-size); - border-radius: .25rem; - padding: 0 .125rem; - line-height: var(--monospace-line-height); -} - -.md-fences { - margin-bottom: 18px; - margin-top: 15px; - padding: 0.2em 1em; - padding-top: 8px; - padding-bottom: 6px; -} - -a { - color: var(--link-color); -} - - -/** - * Control UI (optional) - */ - -.outline-item:hover { - color: var(--header-color); -} - -#write div.md-toc-tooltip { - background-color: var(--background-color); -} - diff --git a/config/Typora/themes/ia_typora_night.css b/config/Typora/themes/ia_typora_night.css deleted file mode 100644 index d783d20..0000000 --- a/config/Typora/themes/ia_typora_night.css +++ /dev/null @@ -1,95 +0,0 @@ -@import 'night/codeblock.dark.css'; -@import 'night/mermaid.dark.css'; -@import 'night/sourcemode.dark.css'; -@import 'ia_typora.css'; - -:root { - --accented-background-color: #1e1e1e; - --light-header-color: #dbdbdb; /* H1-H3 */ - --select-text-bg-color: #186a9a; - --accent-color: #4f525a; - --background-color: #101010; - --font-color: #bbbcbc; - --header-color: #bebebe; /* H4-H6 */ - --border-color: #232629; - --link-color: #5584aa; - --code-bg-color: #1c1a1a; - --hover-bg-color: #050505; - --control-text-color: var(--font-color); - --side-bar-bg-color: var(--accented-background-color); - --control-text-hover-color: var(--header-color); - --item-hover-text-color: var(--header-color); - --item-hover-bg-color: var(--hover-bg-color); - --bg-color: var(--background-color); - --text-color: var(--font-color); - --meta-content-color: var(--accent-color); - --md-char-color: var(--accent-color); - --window-border: 1px solid rgba(0,0,0,.07); - --active-file-bg-color: var(--hover-bg-color); -} - -.outline-item:hover { - background-color: var(--hover-bg-color); -} - -#write { - cursor: -webkit-image-set(url("night/cursor.png") 1x, url("night/cursor@2x.png") 2x) 8 8, auto; -} - -h1, -h2, -h3 { - color: var(--light-header-color); -} - -mark { - background: #b8b80a -} - -table tr:nth-child(2n), -thead { - background-color: #141313; -} - -sup.md-footnote { - background-color: var(--code-bg-color); - color: var(--font-color); -} - -/* right click menu */ -.context-menu { - background-color: #141313; -} - -.context-menu.dropdown-menu .divider { - background-color: #232629; -} - -/* focus mode */ -.on-focus-mode .md-end-block:not(.md-focus):not(.md-focus-container) * { - color: #4f525a !important; -} - -.on-focus-mode .md-end-block:not(.md-focus) img, -.on-focus-mode .md-task-list-item:not(.md-focus-container)>input { - opacity: #4f525a !important; -} - -.on-focus-mode li[cid]:not(.md-focus-container){ - color: #4f525a; -} - -.on-focus-mode .md-fences.md-focus .CodeMirror-code>*:not(.CodeMirror-activeline) *, -.on-focus-mode .CodeMirror.cm-s-inner:not(.CodeMirror-focused) * { - color: #4f525a !important; -} - -.on-focus-mode .md-focus, -.on-focus-mode .md-focus-container { - color: var(--light-header-color); -} - -.on-focus-mode #typora-source .CodeMirror-code>*:not(.CodeMirror-activeline) * { - color: #4f525a !important; -} - diff --git a/config/alacritty/alacritty.toml b/config/alacritty/alacritty.toml deleted file mode 100644 index 63fb85b..0000000 --- a/config/alacritty/alacritty.toml +++ /dev/null @@ -1,20 +0,0 @@ -general.import = [ "~/.config/omarchy/current/theme/alacritty.toml" ] - -[env] -TERM = "xterm-256color" - -[font] -normal = { family = "CaskaydiaMono Nerd Font", style = "Regular" } -bold = { family = "CaskaydiaMono Nerd Font", style = "Bold" } -italic = { family = "CaskaydiaMono Nerd Font", style = "Italic" } -size = 9 - -[window] -padding.x = 14 -padding.y = 14 -decorations = "None" - -[keyboard] -bindings = [ -{ key = "F11", action = "ToggleFullscreen" } -] diff --git a/config/brave-flags.conf b/config/brave-flags.conf deleted file mode 100644 index d6d120e..0000000 --- a/config/brave-flags.conf +++ /dev/null @@ -1,3 +0,0 @@ ---ozone-platform=wayland ---ozone-platform-hint=wayland ---enable-features=TouchpadOverscrollHistoryNavigation diff --git a/config/btop/btop.conf b/config/btop/btop.conf deleted file mode 100644 index c510f3e..0000000 --- a/config/btop/btop.conf +++ /dev/null @@ -1,246 +0,0 @@ -#? Config file for btop - -#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes. -#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes" -color_theme = "current" - -#* If the theme set background should be shown, set to False if you want terminal background transparency. -theme_background = True - -#* Sets if 24-bit truecolor should be used, will convert 24-bit colors to 256 color (6x6x6 color cube) if false. -truecolor = True - -#* Set to true to force tty mode regardless if a real tty has been detected or not. -#* Will force 16-color mode and TTY theme, set all graph symbols to "tty" and swap out other non tty friendly symbols. -force_tty = False - -#* Define presets for the layout of the boxes. Preset 0 is always all boxes shown with default settings. Max 9 presets. -#* Format: "box_name:P:G,box_name:P:G" P=(0 or 1) for alternate positions, G=graph symbol to use for box. -#* Use whitespace " " as separator between different presets. -#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty" -presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty" - -#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists. -#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift. -vim_keys = False - -#* Rounded corners on boxes, is ignored if TTY mode is ON. -rounded_corners = True - -#* Default symbols to use for graph creation, "braille", "block" or "tty". -#* "braille" offers the highest resolution but might not be included in all fonts. -#* "block" has half the resolution of braille but uses more common characters. -#* "tty" uses only 3 different symbols but will work with most fonts and should work in a real TTY. -#* Note that "tty" only has half the horizontal resolution of the other two, so will show a shorter historical view. -graph_symbol = "braille" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_cpu = "default" - -# Graph symbol to use for graphs in gpu box, "default", "braille", "block" or "tty". -graph_symbol_gpu = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_mem = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_net = "default" - -# Graph symbol to use for graphs in cpu box, "default", "braille", "block" or "tty". -graph_symbol_proc = "default" - -#* Manually set which boxes to show. Available values are "cpu mem net proc" and "gpu0" through "gpu5", separate values with whitespace. -shown_boxes = "cpu mem net proc" - -#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs. -update_ms = 2000 - -#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct", -#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly. -proc_sorting = "cpu lazy" - -#* Reverse sorting order, True or False. -proc_reversed = False - -#* Show processes as a tree. -proc_tree = False - -#* Use the cpu graph colors in the process list. -proc_colors = True - -#* Use a darkening gradient in the process list. -proc_gradient = True - -#* If process cpu usage should be of the core it's running on or usage of the total available cpu power. -proc_per_core = False - -#* Show process memory as bytes instead of percent. -proc_mem_bytes = True - -#* Show cpu graph for each process. -proc_cpu_graphs = True - -#* Use /proc/[pid]/smaps for memory information in the process info box (very slow but more accurate) -proc_info_smaps = False - -#* Show proc box on left side of screen instead of right. -proc_left = False - -#* (Linux) Filter processes tied to the Linux kernel(similar behavior to htop). -proc_filter_kernel = False - -#* In tree-view, always accumulate child process resources in the parent process. -proc_aggregate = False - -#* Sets the CPU stat shown in upper half of the CPU graph, "total" is always available. -#* Select from a list of detected attributes from the options menu. -cpu_graph_upper = "Auto" - -#* Sets the CPU stat shown in lower half of the CPU graph, "total" is always available. -#* Select from a list of detected attributes from the options menu. -cpu_graph_lower = "Auto" - -#* If gpu info should be shown in the cpu box. Available values = "Auto", "On" and "Off". -show_gpu_info = "Auto" - -#* Toggles if the lower CPU graph should be inverted. -cpu_invert_lower = True - -#* Set to True to completely disable the lower CPU graph. -cpu_single_graph = False - -#* Show cpu box at bottom of screen instead of top. -cpu_bottom = False - -#* Shows the system uptime in the CPU box. -show_uptime = True - -#* Show cpu temperature. -check_temp = True - -#* Which sensor to use for cpu temperature, use options menu to select from list of available sensors. -cpu_sensor = "Auto" - -#* Show temperatures for cpu cores also if check_temp is True and sensors has been found. -show_coretemp = True - -#* Set a custom mapping between core and coretemp, can be needed on certain cpus to get correct temperature for correct core. -#* Use lm-sensors or similar to see which cores are reporting temperatures on your machine. -#* Format "x:y" x=core with wrong temp, y=core with correct temp, use space as separator between multiple entries. -#* Example: "4:0 5:1 6:3" -cpu_core_map = "" - -#* Which temperature scale to use, available values: "celsius", "fahrenheit", "kelvin" and "rankine". -temp_scale = "celsius" - -#* Use base 10 for bits/bytes sizes, KB = 1000 instead of KiB = 1024. -base_10_sizes = False - -#* Show CPU frequency. -show_cpu_freq = True - -#* Draw a clock at top of screen, formatting according to strftime, empty string to disable. -#* Special formatting: /host = hostname | /user = username | /uptime = system uptime -clock_format = "%X" - -#* Update main ui in background when menus are showing, set this to false if the menus is flickering too much for comfort. -background_update = True - -#* Custom cpu model name, empty string to disable. -custom_cpu_name = "" - -#* Optional filter for shown disks, should be full path of a mountpoint, separate multiple values with whitespace " ". -#* Begin line with "exclude=" to change to exclude filter, otherwise defaults to "most include" filter. Example: disks_filter="exclude=/boot /home/user". -disks_filter = "" - -#* Show graphs instead of meters for memory values. -mem_graphs = True - -#* Show mem box below net box instead of above. -mem_below_net = False - -#* Count ZFS ARC in cached and available memory. -zfs_arc_cached = True - -#* If swap memory should be shown in memory box. -show_swap = True - -#* Show swap as a disk, ignores show_swap value above, inserts itself after first disk. -swap_disk = True - -#* If mem box should be split to also show disks info. -show_disks = True - -#* Filter out non physical disks. Set this to False to include network disks, RAM disks and similar. -only_physical = True - -#* Read disks list from /etc/fstab. This also disables only_physical. -use_fstab = True - -#* Setting this to True will hide all datasets, and only show ZFS pools. (IO stats will be calculated per-pool) -zfs_hide_datasets = False - -#* Set to true to show available disk space for privileged users. -disk_free_priv = False - -#* Toggles if io activity % (disk busy time) should be shown in regular disk usage view. -show_io_stat = True - -#* Toggles io mode for disks, showing big graphs for disk read/write speeds. -io_mode = False - -#* Set to True to show combined read/write io graphs in io mode. -io_graph_combined = False - -#* Set the top speed for the io graphs in MiB/s (100 by default), use format "mountpoint:speed" separate disks with whitespace " ". -#* Example: "/mnt/media:100 /:20 /boot:1". -io_graph_speeds = "" - -#* Set fixed values for network graphs in Mebibits. Is only used if net_auto is also set to False. -net_download = 100 - -net_upload = 100 - -#* Use network graphs auto rescaling mode, ignores any values set above and rescales down to 10 Kibibytes at the lowest. -net_auto = True - -#* Sync the auto scaling for download and upload to whichever currently has the highest scale. -net_sync = True - -#* Starts with the Network Interface specified here. -net_iface = "" - -#* Show battery stats in top right if battery is present. -show_battery = True - -#* Which battery to use if multiple are present. "Auto" for auto detection. -selected_battery = "Auto" - -#* Set loglevel for "~/.config/btop/btop.log" levels are: "ERROR" "WARNING" "INFO" "DEBUG". -#* The level set includes all lower levels, i.e. "DEBUG" will show all logging info. -log_level = "WARNING" - -#* Measure PCIe throughput on NVIDIA cards, may impact performance on certain cards. -nvml_measure_pcie_speeds = True - -#* Horizontally mirror the GPU graph. -gpu_mirror_graph = True - -#* Custom gpu0 model name, empty string to disable. -custom_gpu_name0 = "" - -#* Custom gpu1 model name, empty string to disable. -custom_gpu_name1 = "" - -#* Custom gpu2 model name, empty string to disable. -custom_gpu_name2 = "" - -#* Custom gpu3 model name, empty string to disable. -custom_gpu_name3 = "" - -#* Custom gpu4 model name, empty string to disable. -custom_gpu_name4 = "" - -#* Custom gpu5 model name, empty string to disable. -custom_gpu_name5 = "" - diff --git a/config/chromium-flags.conf b/config/chromium-flags.conf deleted file mode 100644 index 88c8082..0000000 --- a/config/chromium-flags.conf +++ /dev/null @@ -1,4 +0,0 @@ ---ozone-platform=wayland ---ozone-platform-hint=wayland ---enable-features=TouchpadOverscrollHistoryNavigation ---load-extension=~/.local/share/omarchy/default/chromium/extensions/copy-url diff --git a/config/chromium/Default/Preferences b/config/chromium/Default/Preferences deleted file mode 100644 index 3b4bc82..0000000 --- a/config/chromium/Default/Preferences +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extensions": { - "theme": { - "id": "", - "use_system": false, - "use_custom": false - } - }, - "browser": { - "theme": { - "color_scheme": 2, - "user_color": 2 - } - } -} diff --git a/config/environment.d/fcitx.conf b/config/environment.d/fcitx.conf deleted file mode 100644 index ecedbcc..0000000 --- a/config/environment.d/fcitx.conf +++ /dev/null @@ -1,4 +0,0 @@ -INPUT_METHOD=fcitx -QT_IM_MODULE=fcitx -XMODIFIERS=@im=fcitx -SDL_IM_MODULE=fcitx diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc deleted file mode 100644 index 3154272..0000000 --- a/config/fastfetch/config.jsonc +++ /dev/null @@ -1,144 +0,0 @@ -{ - "$schema": "https://github.com/fastfetch-cli/fastfetch/raw/dev/doc/json_schema.json", - "logo": { - "type": "file", - "source": "~/.config/omarchy/branding/about.txt", - "color": { "1": "green" }, - "padding": { - "top": 2, - "right": 6, - "left": 2 - } - }, - "modules": [ - "break", - { - "type": "custom", - "format": "\u001b[90mโ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€Hardwareโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”" - }, - { - "type": "host", - "key": "๏„‰ PC", - "keyColor": "green" - }, - { - "type": "cpu", - "key": "โ”‚ โ”œ๏’ผ", - "showPeCoreCount": true, - "keyColor": "green" - }, - { - "type": "gpu", - "key": "โ”‚ โ”œ๎‰ฆ", - "detectionMethod": "pci", - "keyColor": "green" - }, - { - "type": "display", - "key": "โ”‚ โ”œ๓ฑ„„", - "keyColor": "green" - }, - { - "type": "disk", - "key": "โ”‚ โ”œ๓ฐ‹Š", - "keyColor": "green" - }, - { - "type": "memory", - "key": "โ”‚ โ”œ๎ฟ…", - "keyColor": "green" - }, - { - "type": "swap", - "key": "โ”” โ””๓ฐ“ก ", - "keyColor": "green" - }, - { - "type": "custom", - "format": "\u001b[90mโ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜" - }, - "break", - { - "type": "custom", - "format": "\u001b[90mโ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€Softwareโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”" - }, - { - "type": "command", - "key": "\ue900 OS", - "keyColor": "blue", - "text": "version=$(omarchy-version); echo \"Omarchy $version\"" - }, - { - "type": "command", - "key": "โ”‚ โ”œ๓ฐ˜ฌ", - "keyColor": "blue", - "text": "branch=$(omarchy-version-branch); echo \"$branch\"" - }, - { - "type": "kernel", - "key": "โ”‚ โ”œ๏€“", - "keyColor": "blue" - }, - { - "type": "wm", - "key": "โ”‚ โ”œ๏’ˆ", - "keyColor": "blue" - }, - { - "type": "de", - "key": "๏’ˆ DE", - "keyColor": "blue" - }, - { - "type": "terminal", - "key": "โ”‚ โ”œ๏’‰", - "keyColor": "blue" - }, - { - "type": "packages", - "key": "โ”‚ โ”œ๓ฐ–", - "keyColor": "blue" - }, - { - "type": "wmtheme", - "key": "โ”‚ โ”œ๓ฐ‰ผ", - "keyColor": "blue" - }, - { - "type": "command", - "key": "โ”‚ โ”œ๓ฐธŒ", - "keyColor": "blue", - "text": "theme=$(omarchy-theme-current); echo -e \"$theme \\e[38mโ—\\e[37mโ—\\e[36mโ—\\e[35mโ—\\e[34mโ—\\e[33mโ—\\e[32mโ—\\e[31mโ—\"" - }, - { - "type": "terminalfont", - "key": "โ”” โ””๏€ฑ", - "keyColor": "blue" - }, - { - "type": "custom", - "format": "\u001b[90mโ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜" - }, - "break", - { - "type": "custom", - "format": "\u001b[90mโ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€Uptime / Ageโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”" - }, - { - "type": "command", - "key": "๓ฑฆŸ OS Age", - "keyColor": "magenta", - "text": "birth_install=$(stat -c %W /); current=$(date +%s); time_progression=$((current - birth_install)); days_difference=$((time_progression / 86400)); echo $days_difference days" - }, - { - "type": "uptime", - "key": "๓ฑซ Uptime", - "keyColor": "magenta" - }, - { - "type": "custom", - "format": "\u001b[90mโ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜" - }, - "break" - ] -} diff --git a/config/fcitx5/conf/xcb.conf b/config/fcitx5/conf/xcb.conf deleted file mode 100644 index 90f5316..0000000 --- a/config/fcitx5/conf/xcb.conf +++ /dev/null @@ -1 +0,0 @@ -Allow Overriding System XKB Settings=False diff --git a/config/fontconfig/fonts.conf b/config/fontconfig/fonts.conf deleted file mode 100644 index 85c37b9..0000000 --- a/config/fontconfig/fonts.conf +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - sans-serif - - - Liberation Sans - - - - - - serif - - - Liberation Serif - - - - - - monospace - - - CaskaydiaMono Nerd Font - - - - - system-ui - - Liberation Sans - - - - - ui-monospace - - monospace - - - - - -apple-system - - Liberation Sans - - - - - BlinkMacSystemFont - - Liberation Sans - - - diff --git a/config/ghostty/config b/config/ghostty/config deleted file mode 100644 index ee46b1d..0000000 --- a/config/ghostty/config +++ /dev/null @@ -1,21 +0,0 @@ -# Dynamic theme colors -config-file = ?"~/.config/omarchy/current/theme/ghostty.conf" - -# Font -font-family = "CaskaydiaMono Nerd Font" -font-style = Regular -font-size = 9 - -# Window -window-padding-x = 14 -window-padding-y = 14 -confirm-close-surface=false -resize-overlay = never - -# Cursor stlying -cursor-style = "block" -cursor-style-blink = false -shell-integration-features = no-cursor - -# Keyboard bindings -keybind = f11=toggle_fullscreen diff --git a/config/hypr/autostart.conf b/config/hypr/autostart.conf deleted file mode 100644 index 3b7c62d..0000000 --- a/config/hypr/autostart.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Extra autostart processes -# exec-once = uwsm app -- my-service diff --git a/config/hypr/bindings.conf b/config/hypr/bindings.conf deleted file mode 100644 index 6076049..0000000 --- a/config/hypr/bindings.conf +++ /dev/null @@ -1,30 +0,0 @@ -# Application bindings -$terminal = uwsm app -- $TERMINAL -$browser = omarchy-launch-browser - -bindd = SUPER, return, Terminal, exec, $terminal --working-directory="$(omarchy-cmd-terminal-cwd)" -bindd = SUPER, F, File manager, exec, uwsm app -- nautilus --new-window -bindd = SUPER, B, Browser, exec, $browser -bindd = SUPER SHIFT, B, Browser (private), exec, $browser --private -bindd = SUPER, M, Music, exec, omarchy-launch-or-focus spotify -bindd = SUPER, N, Editor, exec, omarchy-launch-editor -bindd = SUPER, T, Activity, exec, $terminal -e btop -bindd = SUPER, D, Docker, exec, $terminal -e lazydocker -bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop" -bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm app -- obsidian -disable-gpu --enable-wayland-ime" -bindd = SUPER, slash, Passwords, exec, uwsm app -- 1password - -# If your web app url contains #, type it as ## to prevent hyperland treat it as comments -bindd = SUPER, A, ChatGPT, exec, omarchy-launch-webapp "https://chatgpt.com" -bindd = SUPER SHIFT, A, Grok, exec, omarchy-launch-webapp "https://grok.com" -bindd = SUPER, C, Calendar, exec, omarchy-launch-webapp "https://app.hey.com/calendar/weeks/" -bindd = SUPER, E, Email, exec, omarchy-launch-webapp "https://app.hey.com" -bindd = SUPER, Y, YouTube, exec, omarchy-launch-or-focus-webapp YouTube "https://youtube.com/" -bindd = SUPER SHIFT, G, WhatsApp, exec, omarchy-launch-or-focus-webapp WhatsApp "https://web.whatsapp.com/" -bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-or-focus-webapp "Google Messages" "https://messages.google.com/web/conversations" -bindd = SUPER, X, X, exec, omarchy-launch-webapp "https://x.com/" -bindd = SUPER SHIFT, X, X Post, exec, omarchy-launch-webapp "https://x.com/compose/post" - -# Overwrite existing bindings, like putting Omarchy Menu on Super + Space -# unbind = SUPER, SPACE -# bindd = SUPER, SPACE, Omarchy menu, exec, omarchy-menu diff --git a/config/hypr/envs.conf b/config/hypr/envs.conf deleted file mode 100644 index a2a3641..0000000 --- a/config/hypr/envs.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Extra env variables -# env = MY_GLOBAL_ENV,setting diff --git a/config/hypr/hypridle.conf b/config/hypr/hypridle.conf deleted file mode 100644 index f2245a7..0000000 --- a/config/hypr/hypridle.conf +++ /dev/null @@ -1,22 +0,0 @@ -general { - lock_cmd = omarchy-lock-screen # lock screen and 1password - before_sleep_cmd = loginctl lock-session # lock before suspend. - after_sleep_cmd = hyprctl dispatch dpms on # to avoid having to press a key twice to turn on the display. - inhibit_sleep = 3 # wait until screen is locked -} - -listener { - timeout = 150 # 2.5min - on-timeout = pidof hyprlock || omarchy-launch-screensaver # start screensaver (if we haven't locked already) -} - -listener { - timeout = 300 # 5min - on-timeout = loginctl lock-session # lock screen when timeout has passed -} - -listener { - timeout = 330 # 5.5min - on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed - on-resume = hyprctl dispatch dpms on && brightnessctl -r # screen on when activity is detected -} diff --git a/config/hypr/hyprland.conf b/config/hypr/hyprland.conf deleted file mode 100644 index 3a91c97..0000000 --- a/config/hypr/hyprland.conf +++ /dev/null @@ -1,20 +0,0 @@ -# Learn how to configure Hyprland: https://wiki.hyprland.org/Configuring/ - -# Use defaults Omarchy defaults (but don't edit these directly!) -source = ~/.local/share/omarchy/default/hypr/autostart.conf -source = ~/.local/share/omarchy/default/hypr/bindings/media.conf -source = ~/.local/share/omarchy/default/hypr/bindings/tiling.conf -source = ~/.local/share/omarchy/default/hypr/bindings/utilities.conf -source = ~/.local/share/omarchy/default/hypr/envs.conf -source = ~/.local/share/omarchy/default/hypr/looknfeel.conf -source = ~/.local/share/omarchy/default/hypr/input.conf -source = ~/.local/share/omarchy/default/hypr/windows.conf -source = ~/.config/omarchy/current/theme/hyprland.conf - -# Change your own setup in these files (and overwrite any settings from defaults!) -source = ~/.config/hypr/monitors.conf -source = ~/.config/hypr/input.conf -source = ~/.config/hypr/bindings.conf -source = ~/.config/hypr/envs.conf -source = ~/.config/hypr/looknfeel.conf -source = ~/.config/hypr/autostart.conf diff --git a/config/hypr/hyprlock.conf b/config/hypr/hyprlock.conf deleted file mode 100644 index d2df696..0000000 --- a/config/hypr/hyprlock.conf +++ /dev/null @@ -1,39 +0,0 @@ -source = ~/.config/omarchy/current/theme/hyprlock.conf - -background { - monitor = - color = $color - path = ~/.config/omarchy/current/background - blur_passes = 3 -} - -animations { - enabled = false -} - -input-field { - monitor = - size = 600, 100 - position = 0, 0 - halign = center - valign = center - - inner_color = $inner_color - outer_color = $outer_color - outline_thickness = 4 - - font_family = CaskaydiaMono Nerd Font - font_color = $font_color - - placeholder_text = โ€ƒโ€ƒEnter Password ๓ฐˆทโ€ƒ - check_color = $check_color - fail_text = $PAMFAIL ($ATTEMPTS) - - rounding = 0 - shadow_passes = 0 - fade_on_empty = false -} - -auth { - fingerprint:enabled = true -} diff --git a/config/hypr/hyprsunset.conf b/config/hypr/hyprsunset.conf deleted file mode 100644 index 78bba7d..0000000 --- a/config/hypr/hyprsunset.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Makes hyprsunset do nothing to the screen by default -# Without this, the default applies some tint to the monitor -profile { - time = 07:00 - identity = true -} \ No newline at end of file diff --git a/config/hypr/input.conf b/config/hypr/input.conf deleted file mode 100644 index 2a2d25c..0000000 --- a/config/hypr/input.conf +++ /dev/null @@ -1,35 +0,0 @@ -# Control your input devices -# See https://wiki.hypr.land/Configuring/Variables/#input -input { - # Use multiple keyboard layouts and switch between them with Left Alt + Right Alt - # kb_layout = us,dk,eu - kb_options = compose:caps # ,grp:alts_toggle - - # Change speed of keyboard repeat - repeat_rate = 40 - repeat_delay = 600 - - # Start with numlock on by default - numlock_by_default = true - - # Increase sensitity for mouse/trackpack (default: 0) - # sensitivity = 0.35 - - touchpad { - # Use natural (inverse) scrolling - # natural_scroll = true - - # Use two-finger clicks for right-click instead of lower-right corner - # clickfinger_behavior = true - - # Control the speed of your scrolling - scroll_factor = 0.4 - } -} - -# Scroll faster in the terminal -windowrule = scrolltouchpad 1.5, tag:terminal - -# Enable touchpad gestures for changing workspaces -# See https://wiki.hyprland.org/Configuring/Gestures/ -# gesture = 3, horizontal, workspace diff --git a/config/hypr/looknfeel.conf b/config/hypr/looknfeel.conf deleted file mode 100644 index 1816d77..0000000 --- a/config/hypr/looknfeel.conf +++ /dev/null @@ -1,17 +0,0 @@ -# Change the default Omarchy look'n'feel - -# https://wiki.hyprland.org/Configuring/Variables/#general -general { - # No gaps between windows - # gaps_in = 0 - # gaps_out = 0 - - # Use master layout instead of dwindle - # layout = master -} - -# https://wiki.hyprland.org/Configuring/Variables/#decoration -decoration { - # Use round window corners - # rounding = 8 -} diff --git a/config/hypr/monitors.conf b/config/hypr/monitors.conf deleted file mode 100644 index 6fc1387..0000000 --- a/config/hypr/monitors.conf +++ /dev/null @@ -1,20 +0,0 @@ -# See https://wiki.hyprland.org/Configuring/Monitors/ -# List current monitors and resolutions possible: hyprctl monitors -# Format: monitor = [port], resolution, position, scale -# You must relaunch Hyprland after changing any envs (use Super+Esc, then Relaunch) - -# Optimized for retina-class 2x displays, like 13" 2.8K, 27" 5K, 32" 6K. -env = GDK_SCALE,2 -monitor=,preferred,auto,auto - -# Good compromise for 27" or 32" 4K monitors (but fractional!) -# env = GDK_SCALE,1.75 -# monitor=,preferred,auto,1.666667 - -# Straight 1x setup for low-resolution displays like 1080p or 1440p -# env = GDK_SCALE,1 -# monitor=,preferred,auto,1 - -# Example for Framework 13 w/ 6K XDR Apple display -# monitor = DP-5, 6016x3384@60, auto, 2 -# monitor = eDP-1, 2880x1920@120, auto, 2 diff --git a/config/kitty/kitty.conf b/config/kitty/kitty.conf deleted file mode 100644 index 5e2faf1..0000000 --- a/config/kitty/kitty.conf +++ /dev/null @@ -1,30 +0,0 @@ -include ~/.config/omarchy/current/theme/kitty.conf - -# Font -font_family CaskaydiaMono Nerd Font -bold_italic_font auto -font_size 9.0 - -# Window -window_padding_width 14 -window_padding_height 14 -hide_window_decorations yes -show_window_resize_notification no -confirm_os_window_close 0 - -# Keybindings -map F11 toggle_fullscreen - -# Allow remote access -single_instance yes -allow_remote_control yes - -# Aesthetics -cursor_shape block -enable_audio_bell no - -# Minimal Tab bar styling -tab_bar_edge bottom -tab_bar_style powerline -tab_powerline_style slanted -tab_title_template {title}{' :{}:'.format(num_windows) if num_windows > 1 else ''} diff --git a/config/lazygit/config.yml b/config/lazygit/config.yml deleted file mode 100644 index e69de29..0000000 diff --git a/config/nvim/lazyvim.json b/config/nvim/lazyvim.json deleted file mode 100644 index 71fc832..0000000 --- a/config/nvim/lazyvim.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "extras": [ - "lazyvim.plugins.extras.editor.neo-tree" - ], - "install_version": 8, - "news": { - "NEWS.md": "10960" - }, - "version": 8 -} \ No newline at end of file diff --git a/config/nvim/lua/plugins/snacks-animated-scrolling-off.lua b/config/nvim/lua/plugins/snacks-animated-scrolling-off.lua deleted file mode 100644 index cbb0a58..0000000 --- a/config/nvim/lua/plugins/snacks-animated-scrolling-off.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - "folke/snacks.nvim", - opts = { - scroll = { - enabled = false, -- Disable scrolling animations - }, - }, -} diff --git a/config/nvim/lua/plugins/theme.lua b/config/nvim/lua/plugins/theme.lua deleted file mode 100644 index dad2d30..0000000 --- a/config/nvim/lua/plugins/theme.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - { - "LazyVim/LazyVim", - opts = { - colorscheme = "tokyonight", - }, - }, -} diff --git a/config/nvim/plugin/after/transparency.lua b/config/nvim/plugin/after/transparency.lua deleted file mode 100644 index d0090f0..0000000 --- a/config/nvim/plugin/after/transparency.lua +++ /dev/null @@ -1,45 +0,0 @@ --- transparent background -vim.api.nvim_set_hl(0, "Normal", { bg = "none" }) -vim.api.nvim_set_hl(0, "NormalFloat", { bg = "none" }) -vim.api.nvim_set_hl(0, "FloatBorder", { bg = "none" }) -vim.api.nvim_set_hl(0, "Pmenu", { bg = "none" }) -vim.api.nvim_set_hl(0, "Terminal", { bg = "none" }) -vim.api.nvim_set_hl(0, "EndOfBuffer", { bg = "none" }) -vim.api.nvim_set_hl(0, "FoldColumn", { bg = "none" }) -vim.api.nvim_set_hl(0, "Folded", { bg = "none" }) -vim.api.nvim_set_hl(0, "SignColumn", { bg = "none" }) -vim.api.nvim_set_hl(0, "NormalNC", { bg = "none" }) -vim.api.nvim_set_hl(0, "WhichKeyFloat", { bg = "none" }) -vim.api.nvim_set_hl(0, "TelescopeBorder", { bg = "none" }) -vim.api.nvim_set_hl(0, "TelescopeNormal", { bg = "none" }) -vim.api.nvim_set_hl(0, "TelescopePromptBorder", { bg = "none" }) -vim.api.nvim_set_hl(0, "TelescopePromptTitle", { bg = "none" }) - --- transparent background for neotree -vim.api.nvim_set_hl(0, "NeoTreeNormal", { bg = "none" }) -vim.api.nvim_set_hl(0, "NeoTreeNormalNC", { bg = "none" }) -vim.api.nvim_set_hl(0, "NeoTreeVertSplit", { bg = "none" }) -vim.api.nvim_set_hl(0, "NeoTreeWinSeparator", { bg = "none" }) -vim.api.nvim_set_hl(0, "NeoTreeEndOfBuffer", { bg = "none" }) - --- transparent background for nvim-tree -vim.api.nvim_set_hl(0, "NvimTreeNormal", { bg = "none" }) -vim.api.nvim_set_hl(0, "NvimTreeVertSplit", { bg = "none" }) -vim.api.nvim_set_hl(0, "NvimTreeEndOfBuffer", { bg = "none" }) - --- transparent notify background -vim.api.nvim_set_hl(0, "NotifyINFOBody", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyERRORBody", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyWARNBody", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyTRACEBody", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyDEBUGBody", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyINFOTitle", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyERRORTitle", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyWARNTitle", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyTRACETitle", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyDEBUGTitle", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyINFOBorder", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyERRORBorder", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyWARNBorder", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyTRACEBorder", { bg = "none" }) -vim.api.nvim_set_hl(0, "NotifyDEBUGBorder", { bg = "none" }) diff --git a/config/omarchy.ttf b/config/omarchy.ttf deleted file mode 100644 index 273256d..0000000 Binary files a/config/omarchy.ttf and /dev/null differ diff --git a/config/starship.toml b/config/starship.toml deleted file mode 100644 index 36f15d1..0000000 --- a/config/starship.toml +++ /dev/null @@ -1,32 +0,0 @@ -add_newline = true -command_timeout = 200 -format = "[$directory$git_branch$git_status]($style)$character" - -[character] -error_symbol = "[โœ—](bold cyan)" -success_symbol = "[โฏ](bold cyan)" - -[directory] -truncation_length = 2 -truncation_symbol = "โ€ฆ/" -repo_root_style = "bold cyan" -repo_root_format = "[$repo_root]($repo_root_style)[$path]($style)[$read_only]($read_only_style) " - -[git_branch] -format = "[$branch]($style) " -style = "italic cyan" - -[git_status] -format = '[$all_status]($style)' -style = "cyan" -ahead = "โ‡ก${count} " -diverged = "โ‡•โ‡ก${ahead_count}โ‡ฃ${behind_count} " -behind = "โ‡ฃ${count} " -conflicted = "๎ฎซ " -up_to_date = "๏€Œ " -untracked = "? " -modified = "๎ฉฑ " -stashed = "" -staged = "" -renamed = "" -deleted = "" diff --git a/config/swayosd/config.toml b/config/swayosd/config.toml deleted file mode 100644 index 598c1f2..0000000 --- a/config/swayosd/config.toml +++ /dev/null @@ -1,4 +0,0 @@ -[server] -show_percentage = true -max_volume = 100 -style = "./style.css" diff --git a/config/swayosd/style.css b/config/swayosd/style.css deleted file mode 100644 index 3c372e6..0000000 --- a/config/swayosd/style.css +++ /dev/null @@ -1,28 +0,0 @@ -@import "../omarchy/current/theme/swayosd.css"; - -window { - border-radius: 0; - opacity: 0.97; - border: 2px solid @border-color; - - background-color: @background-color; -} - -label { - font-family: 'CaskaydiaMono Nerd Font'; - font-size: 11pt; - - color: @label; -} - -image { - color: @image; -} - -progressbar { - border-radius: 0; -} - -progress { - background-color: @progress; -} diff --git a/config/systemd/user/omarchy-battery-monitor.service b/config/systemd/user/omarchy-battery-monitor.service deleted file mode 100644 index 3c47283..0000000 --- a/config/systemd/user/omarchy-battery-monitor.service +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Omarchy Battery Monitor Check -After=graphical-session.target - -[Service] -Type=oneshot -ExecStart=%h/.local/share/omarchy/bin/omarchy-battery-monitor -Environment=DISPLAY=:0 \ No newline at end of file diff --git a/config/systemd/user/omarchy-battery-monitor.timer b/config/systemd/user/omarchy-battery-monitor.timer deleted file mode 100644 index dc43763..0000000 --- a/config/systemd/user/omarchy-battery-monitor.timer +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=Omarchy Battery Monitor Timer -Requires=omarchy-battery-monitor.service - -[Timer] -OnBootSec=1min -OnUnitActiveSec=30sec -AccuracySec=10sec - -[Install] -WantedBy=timers.target \ No newline at end of file diff --git a/config/uwsm/default b/config/uwsm/default deleted file mode 100644 index c072e32..0000000 --- a/config/uwsm/default +++ /dev/null @@ -1,4 +0,0 @@ -# Changes require a relaunch of Hyprland to take effect. - -export TERMINAL=alacritty -export EDITOR=nvim diff --git a/config/uwsm/env b/config/uwsm/env deleted file mode 100644 index 4fbfa76..0000000 --- a/config/uwsm/env +++ /dev/null @@ -1,11 +0,0 @@ -# Changes require a relaunch of Hyprland to take effect. - -# Ensure Omarchy bins are in the path -export OMARCHY_PATH=$HOME/.local/share/omarchy -export PATH=$OMARCHY_PATH/bin/:$PATH - -# Set default terminal and editor -source ~/.config/uwsm/default - -# Activate mise if present on the system -omarchy-cmd-present mise && eval "$(mise activate bash)" diff --git a/config/walker/config.toml b/config/walker/config.toml deleted file mode 100644 index cfd79aa..0000000 --- a/config/walker/config.toml +++ /dev/null @@ -1,100 +0,0 @@ -close_when_open = true -theme = "omarchy-default" -theme_base = [] -theme_location = ["~/.local/share/omarchy/default/walker/themes/"] -hotreload_theme = true -force_keyboard_focus = true -timeout = 60 - -[keys.ai] -run_last_response = ["ctrl e"] - -[list] -max_entries = 200 -cycle = true - -[search] -placeholder = "๏€‚ Search..." - -[builtins.hyprland_keybinds] -path = "~/.config/hypr/hyprland.conf" -hidden = true - -[builtins.applications] -launch_prefix = "uwsm app -- " -placeholder = "๏€‚ Search..." -prioritize_new = false -context_aware = false -show_sub_when_single = false -history = false -icon = "" -hidden = true - -[builtins.applications.actions] -enabled = false -hide_category = true - -[builtins.bookmarks] -hidden = true - -[[builtins.bookmarks.entries]] -label = "Omarchy - Github" -url = "https://github.com/basecamp/omarchy" -keywords = ["omarchy", "github"] - -[[builtins.bookmarks.entries]] -label = "Omarchy Manual" -url = "https://manuals.omamix.org/2/the-omarchy-manual" -keywords = ["omarchy"] - -[builtins.calc] -name = "Calculator" -icon = "" -min_chars = 3 -prefix = "=" - -[builtins.windows] -switcher_only = true -hidden = true - -[builtins.clipboard] -hidden = true - -[builtins.commands] -hidden = true - -[builtins.custom_commands] -hidden = true - -[builtins.emojis] -name = "Emojis" -icon = "" -prefix = ":" - -[builtins.symbols] -after_copy = "" -hidden = true - -[builtins.finder] -use_fd = true -cmd_alt = "xdg-open $(dirname ~/%RESULT%)" -icon = "file" -name = "Finder" -preview_images = true -hidden = false -prefix = "." - -[builtins.runner] -shell_config = "" -switcher_only = true -hidden = true - -[builtins.ssh] -hidden = true - -[builtins.websearch] -switcher_only = true -hidden = true - -[builtins.translation] -hidden = true diff --git a/config/waybar/config.jsonc b/config/waybar/config.jsonc deleted file mode 100644 index adb981a..0000000 --- a/config/waybar/config.jsonc +++ /dev/null @@ -1,138 +0,0 @@ -{ - "reload_style_on_change": true, - "layer": "top", - "position": "top", - "spacing": 0, - "height": 26, - "modules-left": ["custom/omarchy", "hyprland/workspaces"], - "modules-center": ["clock", "custom/update", "custom/screenrecording-indicator"], - "modules-right": [ - "group/tray-expander", - "bluetooth", - "network", - "pulseaudio", - "cpu", - "battery" - ], - "hyprland/workspaces": { - "on-click": "activate", - "format": "{icon}", - "format-icons": { - "default": "๎ฉฑ", - "1": "1", - "2": "2", - "3": "3", - "4": "4", - "5": "5", - "6": "6", - "7": "7", - "8": "8", - "9": "9", - "active": "๓ฑ“ป" - }, - "persistent-workspaces": { - "1": [], - "2": [], - "3": [], - "4": [], - "5": [] - } - }, - "custom/omarchy": { - "format": "\ue900", - "on-click": "omarchy-menu", - "tooltip-format": "Omarchy Menu\n\nSuper + Alt + Space" - }, - "custom/update": { - "format": "๏€ก", - "exec": "omarchy-update-available", - "on-click": "omarchy-launch-floating-terminal-with-presentation omarchy-update", - "tooltip-format": "Omarchy update available", - "signal": 7, - "interval": 3600 - }, - - "cpu": { - "interval": 5, - "format": "๓ฐ›", - "on-click": "$TERMINAL -e btop" - }, - "clock": { - "format": "{:L%A %H:%M}", - "format-alt": "{:L%d %B W%V %Y}", - "tooltip": false, - "on-click-right": "omarchy-cmd-tzupdate" - }, - "network": { - "format-icons": ["๓ฐคฏ", "๓ฐคŸ", "๓ฐคข", "๓ฐคฅ", "๓ฐคจ"], - "format": "{icon}", - "format-wifi": "{icon}", - "format-ethernet": "๓ฐ€‚", - "format-disconnected": "๓ฐคฎ", - "tooltip-format-wifi": "{essid} ({frequency} GHz)\nโ‡ฃ{bandwidthDownBytes} โ‡ก{bandwidthUpBytes}", - "tooltip-format-ethernet": "โ‡ฃ{bandwidthDownBytes} โ‡ก{bandwidthUpBytes}", - "tooltip-format-disconnected": "Disconnected", - "interval": 3, - "spacing": 1, - "on-click": "omarchy-launch-wifi" - }, - "battery": { - "format": "{capacity}% {icon}", - "format-discharging": "{icon}", - "format-charging": "{icon}", - "format-plugged": "๏‡ฆ", - "format-icons": { - "charging": ["๓ฐขœ", "๓ฐ‚†", "๓ฐ‚‡", "๓ฐ‚ˆ", "๓ฐข", "๓ฐ‚‰", "๓ฐขž", "๓ฐ‚Š", "๓ฐ‚‹", "๓ฐ‚…"], - "default": ["๓ฐบ", "๓ฐป", "๓ฐผ", "๓ฐฝ", "๓ฐพ", "๓ฐฟ", "๓ฐ‚€", "๓ฐ‚", "๓ฐ‚‚", "๓ฐน"] - }, - "format-full": "๓ฐ‚…", - "tooltip-format-discharging": "{power:>1.0f}Wโ†“ {capacity}%", - "tooltip-format-charging": "{power:>1.0f}Wโ†‘ {capacity}%", - "interval": 5, - "on-click": "omarchy-menu power", - "states": { - "warning": 20, - "critical": 10 - } - }, - "bluetooth": { - "format": "๏Š”", - "format-disabled": "๓ฐ‚ฒ", - "format-connected": "๏Š”", - "tooltip-format": "Devices connected: {num_connections}", - "on-click": "blueberry" - }, - "pulseaudio": { - "format": "{icon}", - "on-click": "$TERMINAL --class=Wiremix -e wiremix", - "on-click-right": "pamixer -t", - "tooltip-format": "Playing at {volume}%", - "scroll-step": 5, - "format-muted": "๎ปจ", - "format-icons": { - "default": ["๏€ฆ", "๏€ง", "๏€จ"] - } - }, - "group/tray-expander": { - "orientation": "inherit", - "drawer": { - "transition-duration": 600, - "children-class": "tray-group-item" - }, - "modules": ["custom/expand-icon", "tray"] - }, - "custom/expand-icon": { - "format": "๏‚‹ ", - "tooltip": false - }, - "custom/screenrecording-indicator": { - "on-click": "omarchy-cmd-screenrecord", - "exec": "$OMARCHY_PATH/default/waybar/indicators/screen-recording.sh", - "signal": 8, - "return-type": "json" - }, - "tray": { - "icon-size": 12, - "spacing": 12 - } -} diff --git a/config/waybar/style.css b/config/waybar/style.css deleted file mode 100644 index 2cf371b..0000000 --- a/config/waybar/style.css +++ /dev/null @@ -1,74 +0,0 @@ -@import "../omarchy/current/theme/waybar.css"; - -* { - background-color: @background; - color: @foreground; - - border: none; - border-radius: 0; - min-height: 0; - font-family: CaskaydiaMono Nerd Font; - font-size: 12px; -} - -.modules-left { - margin-left: 8px; -} - -.modules-right { - margin-right: 8px; -} - -#workspaces button { - all: initial; - padding: 0 6px; - margin: 0 1.5px; - min-width: 9px; -} - -#workspaces button.empty { - opacity: 0.5; -} - -#tray, -#cpu, -#battery, -#network, -#bluetooth, -#pulseaudio, -#custom-omarchy, -#custom-screenrecording-indicator, -#custom-update { - min-width: 12px; - margin: 0 7.5px; -} - -#custom-expand-icon { - margin-right: 7px; -} - -tooltip { - padding: 2px; -} - -#custom-update { - font-size: 10px; -} - -#clock { - margin-left: 8.75px; -} - -.hidden { - opacity: 0; -} - -#custom-screenrecording-indicator { - min-width: 12px; - margin-left: 8.75px; - font-size: 10px; -} - -#custom-screenrecording-indicator.active { - color: #a55555; -} diff --git a/config/xournalpp/settings.xml b/config/xournalpp/settings.xml deleted file mode 100644 index 5f98a90..0000000 --- a/config/xournalpp/settings.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..a4d5e1e --- /dev/null +++ b/configuration.nix @@ -0,0 +1,159 @@ +# Omarchy NixOS Configuration +# This is the main NixOS configuration file +# Edit this file to define what should be installed on your system + +{ config, pkgs, lib, ... }: + +let + # Import custom modules + omarchy = import ./modules { inherit config pkgs lib; }; + + # Current theme - can be changed easily + currentTheme = "tokyo-night"; +in +{ + imports = [ + # Include the results of the hardware scan + ./hardware-configuration.nix + + # Omarchy modules + ./modules/core.nix + ./modules/desktop/hyprland.nix + ./modules/packages.nix + ./modules/development.nix + ./modules/themes/${currentTheme}.nix + ./modules/users.nix + ./modules/services.nix + ./modules/hardware + ]; + + # Enable flakes + nix = { + settings = { + experimental-features = [ "nix-command" "flakes" ]; + auto-optimise-store = true; + + # Binary caches + substituters = [ + "https://cache.nixos.org" + "https://nix-community.cachix.org" + "https://hyprland.cachix.org" + ]; + trusted-public-keys = [ + "cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=" + "nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=" + "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + ]; + }; + + # Garbage collection + gc = { + automatic = true; + dates = "weekly"; + options = "--delete-older-than 30d"; + }; + }; + + # Bootloader + boot = { + loader = { + systemd-boot = { + enable = true; + configurationLimit = 10; + }; + efi.canTouchEfiVariables = true; + }; + + # Plymouth for boot splash + plymouth = { + enable = true; + theme = "omarchy"; + themePackages = [ (pkgs.callPackage ./packages/plymouth-theme.nix {}) ]; + }; + + # Kernel + kernelPackages = pkgs.linuxPackages_latest; + }; + + # Networking + networking = { + hostName = "omarchy"; + networkmanager.enable = true; + + # Firewall + firewall = { + enable = true; + allowedTCPPorts = [ 22 80 443 3000 8080 ]; + }; + }; + + # Timezone and locale + time.timeZone = "America/New_York"; + i18n = { + defaultLocale = "en_US.UTF-8"; + extraLocaleSettings = { + LC_ADDRESS = "en_US.UTF-8"; + LC_IDENTIFICATION = "en_US.UTF-8"; + LC_MEASUREMENT = "en_US.UTF-8"; + LC_MONETARY = "en_US.UTF-8"; + LC_NAME = "en_US.UTF-8"; + LC_NUMERIC = "en_US.UTF-8"; + LC_PAPER = "en_US.UTF-8"; + LC_TELEPHONE = "en_US.UTF-8"; + LC_TIME = "en_US.UTF-8"; + }; + }; + + # Sound + sound.enable = true; + hardware.pulseaudio.enable = false; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + jack.enable = true; + }; + + # Enable the X11 windowing system + services.xserver = { + enable = true; + excludePackages = [ pkgs.xterm ]; + + # Display manager + displayManager = { + gdm = { + enable = true; + wayland = true; + }; + }; + }; + + # Console configuration + console = { + font = "ter-132n"; + packages = with pkgs; [ terminus_font ]; + keyMap = "us"; + }; + + # Enable CUPS for printing + services.printing.enable = true; + + # System version + system.stateVersion = "24.05"; + + # Custom Omarchy settings + omarchy = { + enable = true; + theme = currentTheme; + + # Feature flags + features = { + docker = true; + development = true; + gaming = false; + multimedia = true; + }; + }; +} \ No newline at end of file diff --git a/default/alacritty/screensaver.toml b/default/alacritty/screensaver.toml deleted file mode 100644 index 7db389e..0000000 --- a/default/alacritty/screensaver.toml +++ /dev/null @@ -1,11 +0,0 @@ -[colors.primary] -background = "0x000000" - -[colors.cursor] -cursor = "0x000000" - -[font] -size = 18.0 - -[window] -opacity = 1.0 diff --git a/default/bash/aliases b/default/bash/aliases deleted file mode 100644 index 53254cb..0000000 --- a/default/bash/aliases +++ /dev/null @@ -1,35 +0,0 @@ -# File system -alias ls='eza -lh --group-directories-first --icons=auto' -alias lsa='ls -a' -alias lt='eza --tree --level=2 --long --icons --git' -alias lta='lt -a' -alias ff="fzf --preview 'bat --style=numbers --color=always {}'" -alias cd="zd" -zd() { - if [ $# -eq 0 ]; then - builtin cd ~ && return - elif [ -d "$1" ]; then - builtin cd "$1" - else - z "$@" && printf "\U000F17A9 " && pwd || echo "Error: Directory not found" - fi -} -open() { - xdg-open "$@" >/dev/null 2>&1 & -} - -# Directories -alias ..='cd ..' -alias ...='cd ../..' -alias ....='cd ../../..' - -# Tools -alias d='docker' -alias r='rails' -n() { if [ "$#" -eq 0 ]; then nvim .; else nvim "$@"; fi; } - -# Git -alias g='git' -alias gcm='git commit -m' -alias gcam='git commit -a -m' -alias gcad='git commit -a --amend' diff --git a/default/bash/envs b/default/bash/envs deleted file mode 100644 index 932ad3e..0000000 --- a/default/bash/envs +++ /dev/null @@ -1,3 +0,0 @@ -# Editor used by CLI -export SUDO_EDITOR="$EDITOR" -export BAT_THEME=ansi diff --git a/default/bash/functions b/default/bash/functions deleted file mode 100644 index 152deeb..0000000 --- a/default/bash/functions +++ /dev/null @@ -1,67 +0,0 @@ -# Compression -compress() { tar -czf "${1%/}.tar.gz" "${1%/}"; } -alias decompress="tar -xzf" - -# Write iso file to sd card -iso2sd() { - if [ $# -ne 2 ]; then - echo "Usage: iso2sd " - echo "Example: iso2sd ~/Downloads/ubuntu-25.04-desktop-amd64.iso /dev/sda" - echo -e "\nAvailable SD cards:" - lsblk -d -o NAME | grep -E '^sd[a-z]' | awk '{print "/dev/"$1}' - else - sudo dd bs=4M status=progress oflag=sync if="$1" of="$2" - sudo eject $2 - fi -} - -# Format an entire drive for a single partition using ext4 -format-drive() { - if [ $# -ne 2 ]; then - echo "Usage: format-drive " - echo "Example: format-drive /dev/sda 'My Stuff'" - echo -e "\nAvailable drives:" - lsblk -d -o NAME -n | awk '{print "/dev/"$1}' - else - echo "WARNING: This will completely erase all data on $1 and label it '$2'." - read -rp "Are you sure you want to continue? (y/N): " confirm - if [[ "$confirm" =~ ^[Yy]$ ]]; then - sudo wipefs -a "$1" - sudo dd if=/dev/zero of="$1" bs=1M count=100 status=progress - sudo parted -s "$1" mklabel gpt - sudo parted -s "$1" mkpart primary ext4 1MiB 100% - sudo mkfs.ext4 -L "$2" "$([[ $1 == *"nvme"* ]] && echo "${1}p1" || echo "${1}1")" - sudo chmod -R 777 "/run/media/$USER/$2" - echo "Drive $1 formatted and labeled '$2'." - fi - fi -} - -# Transcode a video to a good-balance 1080p that's great for sharing online -transcode-video-1080p() { - ffmpeg -i $1 -vf scale=1920:1080 -c:v libx264 -preset fast -crf 23 -c:a copy ${1%.*}-1080p.mp4 -} - -# Transcode a video to a good-balance 4K that's great for sharing online -transcode-video-4K() { - ffmpeg -i $1 -c:v libx265 -preset slow -crf 24 -c:a aac -b:a 192k ${1%.*}-optimized.mp4 -} - -# Transcode any image to JPG image that's great for shrinking wallpapers -img2jpg() { - magick $1 -quality 95 -strip ${1%.*}.jpg -} - -# Transcode any image to JPG image that's great for sharing online without being too big -img2jpg-small() { - magick $1 -resize 1080x\> -quality 95 -strip ${1%.*}.jpg -} - -# Transcode any image to compressed-but-lossless PNG -img2png() { - magick "$1" -strip -define png:compression-filter=5 \ - -define png:compression-level=9 \ - -define png:compression-strategy=1 \ - -define png:exclude-chunk=all \ - "${1%.*}.png" -} diff --git a/default/bash/init b/default/bash/init deleted file mode 100644 index 149b16c..0000000 --- a/default/bash/init +++ /dev/null @@ -1,20 +0,0 @@ -if command -v mise &> /dev/null; then - eval "$(mise activate bash)" -fi - -if command -v starship &> /dev/null; then - eval "$(starship init bash)" -fi - -if command -v zoxide &> /dev/null; then - eval "$(zoxide init bash)" -fi - -if command -v fzf &> /dev/null; then - if [[ -f /usr/share/fzf/completion.bash ]]; then - source /usr/share/fzf/completion.bash - fi - if [[ -f /usr/share/fzf/key-bindings.bash ]]; then - source /usr/share/fzf/key-bindings.bash - fi -fi diff --git a/default/bash/inputrc b/default/bash/inputrc deleted file mode 100644 index 11146d6..0000000 --- a/default/bash/inputrc +++ /dev/null @@ -1,39 +0,0 @@ -set meta-flag on -set input-meta on -set output-meta on -set convert-meta off -set completion-ignore-case on -set completion-prefix-display-length 2 -set show-all-if-ambiguous on -set show-all-if-unmodified on - -# Arrow keys match what you've typed so far against your command history -"\e[A": history-search-backward -"\e[B": history-search-forward -"\e[C": forward-char -"\e[D": backward-char - -# Immediately add a trailing slash when autocompleting symlinks to directories -set mark-symlinked-directories on - -# Do not autocomplete hidden files unless the pattern explicitly begins with a dot -set match-hidden-files off - -# Show all autocomplete results at once -set page-completions off - -# If there are more than 200 possible completions for a word, ask to show them all -set completion-query-items 200 - -# Show extra file information when completing, like `ls -F` does -set visible-stats on - -# Be more intelligent when autocompleting by also looking at the text after -# the cursor. For example, when the current line is "cd ~/src/mozil", and -# the cursor is on the "z", pressing Tab will not autocomplete it to "cd -# ~/src/mozillail", but to "cd ~/src/mozilla". (This is supported by the -# Readline used by Bash 4.) -set skip-completed-text on - -# Coloring for Bash 4 tab completions. -set colored-stats on diff --git a/default/bash/prompt b/default/bash/prompt deleted file mode 100644 index 4901a58..0000000 --- a/default/bash/prompt +++ /dev/null @@ -1,7 +0,0 @@ -# Technicolor dreams -force_color_prompt=yes -color_prompt=yes - -# Simple prompt with path in the window/pane title and caret for typing line -PS1=$'\uf0a9 ' -PS1="\[\e]0;\w\a\]$PS1" diff --git a/default/bash/rc b/default/bash/rc deleted file mode 100644 index b0b572c..0000000 --- a/default/bash/rc +++ /dev/null @@ -1,7 +0,0 @@ -source ~/.local/share/omarchy/default/bash/shell -source ~/.local/share/omarchy/default/bash/aliases -source ~/.local/share/omarchy/default/bash/functions -source ~/.local/share/omarchy/default/bash/prompt -source ~/.local/share/omarchy/default/bash/init -source ~/.local/share/omarchy/default/bash/envs -[[ $- == *i* ]] && bind -f ~/.local/share/omarchy/default/bash/inputrc diff --git a/default/bash/shell b/default/bash/shell deleted file mode 100644 index 7b39de7..0000000 --- a/default/bash/shell +++ /dev/null @@ -1,14 +0,0 @@ -# History control -shopt -s histappend -HISTCONTROL=ignoreboth -HISTSIZE=32768 -HISTFILESIZE="${HISTSIZE}" - -# Autocompletion -if [[ ! -v BASH_COMPLETION_VERSINFO && -f /usr/share/bash-completion/bash_completion ]]; then - source /usr/share/bash-completion/bash_completion -fi - -# Set complete path -export PATH="$HOME/.local/bin:$PATH" -set +h diff --git a/default/bashrc b/default/bashrc deleted file mode 100644 index f9ea4fd..0000000 --- a/default/bashrc +++ /dev/null @@ -1,8 +0,0 @@ -# All the default Omarchy aliases and functions -# (don't mess with these directly, just overwrite them here!) -source ~/.local/share/omarchy/default/bash/rc - -# Add your own exports, aliases, and functions here. -# -# Make an alias for invoking commands you use constantly -# alias p='python' diff --git a/default/chromium/extensions/copy-url/background.js b/default/chromium/extensions/copy-url/background.js deleted file mode 100644 index a2537c5..0000000 --- a/default/chromium/extensions/copy-url/background.js +++ /dev/null @@ -1,21 +0,0 @@ -chrome.commands.onCommand.addListener((command) => { - if (command === 'copy-url') { - chrome.tabs.query({ active: true, currentWindow: true }, (tabs) => { - const currentTab = tabs[0]; - - chrome.scripting.executeScript({ - target: { tabId: currentTab.id }, - func: () => { - navigator.clipboard.writeText(window.location.href); - } - }).then(() => { - chrome.notifications.create({ - type: 'basic', - iconUrl: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/5+hHgAHggJ/PchI7wAAAABJRU5ErkJggg==', - title: '๎ฌ URL copied to clipboard', - message: '' - }); - }); - }); - } -}); diff --git a/default/chromium/extensions/copy-url/icon.png b/default/chromium/extensions/copy-url/icon.png deleted file mode 120000 index e088259..0000000 --- a/default/chromium/extensions/copy-url/icon.png +++ /dev/null @@ -1 +0,0 @@ -../../../../icon.png \ No newline at end of file diff --git a/default/chromium/extensions/copy-url/manifest.json b/default/chromium/extensions/copy-url/manifest.json deleted file mode 100644 index d1442a1..0000000 --- a/default/chromium/extensions/copy-url/manifest.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "manifest_version": 4, - "name": "Copy URL", - "version": "1.0", - "description": "Copy current URL to clipboard, this extension is installed by Omarchy", - "permissions": ["activeTab", "scripting", "notifications"], - "icons": { - "16": "icon.png", - "48": "icon.png", - "128": "icon.png" - }, - "commands": { - "copy-url": { - "suggested_key": {"default": "Alt+Shift+L"}, - "description": "Copy URL" - } - }, - "background": {"service_worker": "background.js"} -} diff --git a/default/gpg/dirmngr.conf b/default/gpg/dirmngr.conf deleted file mode 100644 index 8d32790..0000000 --- a/default/gpg/dirmngr.conf +++ /dev/null @@ -1,7 +0,0 @@ -keyserver hkps://keyserver.ubuntu.com -keyserver hkps://pgp.surfnet.nl -keyserver hkps://keys.mailvelope.com -keyserver hkps://keyring.debian.org -keyserver hkps://pgp.mit.edu - -connect-quick-timeout 4 diff --git a/default/hypr/apps.conf b/default/hypr/apps.conf deleted file mode 100644 index 6b4ebbb..0000000 --- a/default/hypr/apps.conf +++ /dev/null @@ -1,14 +0,0 @@ -# App-specific tweaks -source = ~/.local/share/omarchy/default/hypr/apps/1password.conf -source = ~/.local/share/omarchy/default/hypr/apps/bitwarden.conf -source = ~/.local/share/omarchy/default/hypr/apps/browser.conf -source = ~/.local/share/omarchy/default/hypr/apps/hyprshot.conf -source = ~/.local/share/omarchy/default/hypr/apps/jetbrains.conf -source = ~/.local/share/omarchy/default/hypr/apps/localsend.conf -source = ~/.local/share/omarchy/default/hypr/apps/pip.conf -source = ~/.local/share/omarchy/default/hypr/apps/qemu.conf -source = ~/.local/share/omarchy/default/hypr/apps/retroarch.conf -source = ~/.local/share/omarchy/default/hypr/apps/steam.conf -source = ~/.local/share/omarchy/default/hypr/apps/system.conf -source = ~/.local/share/omarchy/default/hypr/apps/terminals.conf -source = ~/.local/share/omarchy/default/hypr/apps/walker.conf diff --git a/default/hypr/apps/1password.conf b/default/hypr/apps/1password.conf deleted file mode 100644 index 3d825fe..0000000 --- a/default/hypr/apps/1password.conf +++ /dev/null @@ -1 +0,0 @@ -windowrule = noscreenshare, class:^(1Password)$ diff --git a/default/hypr/apps/bitwarden.conf b/default/hypr/apps/bitwarden.conf deleted file mode 100644 index 339ddb6..0000000 --- a/default/hypr/apps/bitwarden.conf +++ /dev/null @@ -1 +0,0 @@ -windowrule = noscreenshare, class:^(Bitwarden)$ diff --git a/default/hypr/apps/browser.conf b/default/hypr/apps/browser.conf deleted file mode 100644 index 1ff1815..0000000 --- a/default/hypr/apps/browser.conf +++ /dev/null @@ -1,13 +0,0 @@ -# Browser types -windowrule = tag +chromium-based-browser, class:([cC]hrom(e|ium)|[bB]rave-browser|Microsoft-edge|Vivaldi-stable) -windowrule = tag +firefox-based-browser, class:([fF]irefox|zen|librewolf) - -# Force chromium-based browsers into a tile to deal with --app bug -windowrule = tile, tag:chromium-based-browser - -# Only a subtle opacity change, but not for video sites -windowrule = opacity 1 0.97, tag:chromium-based-browser -windowrule = opacity 1 0.97, tag:firefox-based-browser - -# Some video sites should never have opacity applied to them -windowrule = opacity 1.0 1.0, initialTitle:((?i)(?:[a-z0-9-]+\.)*youtube\.com_/|app\.zoom\.us_/wc/home) diff --git a/default/hypr/apps/hyprshot.conf b/default/hypr/apps/hyprshot.conf deleted file mode 100644 index c900320..0000000 --- a/default/hypr/apps/hyprshot.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Remove 1px border around hyprshot screenshots -layerrule = noanim, selection diff --git a/default/hypr/apps/jetbrains.conf b/default/hypr/apps/jetbrains.conf deleted file mode 100644 index 661b0a4..0000000 --- a/default/hypr/apps/jetbrains.conf +++ /dev/null @@ -1,6 +0,0 @@ -# Fixing popup size issue -windowrule = size 50% 50%, class:(.*jetbrains.*)$, title:^$,floating:1 - -# Fix tab dragging (always have a single space character as their title) -windowrule = noinitialfocus, class:^(.*jetbrains.*)$, title:^\\s$ -windowrule = nofocus, class:^(.*jetbrains.*)$, title:^\\s$ diff --git a/default/hypr/apps/localsend.conf b/default/hypr/apps/localsend.conf deleted file mode 100644 index 4625540..0000000 --- a/default/hypr/apps/localsend.conf +++ /dev/null @@ -1,3 +0,0 @@ -# Float LocalSend and fzf file picker -windowrule = float, class:(Share|localsend) -windowrule = center, class:(Share|localsend) diff --git a/default/hypr/apps/pip.conf b/default/hypr/apps/pip.conf deleted file mode 100644 index 363c1ed..0000000 --- a/default/hypr/apps/pip.conf +++ /dev/null @@ -1,9 +0,0 @@ -# Picture-in-picture overlays -windowrule = tag +pip, title:(Picture.{0,1}in.{0,1}[Pp]icture) -windowrule = float, tag:pip -windowrule = pin, tag:pip -windowrule = size 600 338, tag:pip -windowrule = keepaspectratio, tag:pip -windowrule = noborder, tag:pip -windowrule = opacity 1 1, tag:pip -windowrule = move 100%-w-40 4%, tag:pip diff --git a/default/hypr/apps/qemu.conf b/default/hypr/apps/qemu.conf deleted file mode 100644 index 104442c..0000000 --- a/default/hypr/apps/qemu.conf +++ /dev/null @@ -1 +0,0 @@ -windowrule = opacity 1 1, class:qemu diff --git a/default/hypr/apps/retroarch.conf b/default/hypr/apps/retroarch.conf deleted file mode 100644 index 94be39f..0000000 --- a/default/hypr/apps/retroarch.conf +++ /dev/null @@ -1,4 +0,0 @@ -windowrule = fullscreen, class:com.libretro.RetroArch -windowrule = opacity 1 1, class:com.libretro.RetroArch -windowrule = idleinhibit fullscreen, class:com.libretro.RetroArch - diff --git a/default/hypr/apps/steam.conf b/default/hypr/apps/steam.conf deleted file mode 100644 index bd6386c..0000000 --- a/default/hypr/apps/steam.conf +++ /dev/null @@ -1,7 +0,0 @@ -# Float Steam, fullscreen RetroArch -windowrule = float, class:steam -windowrule = center, class:steam, title:Steam -windowrule = opacity 1 1, class:steam -windowrule = size 1100 700, class:steam, title:Steam -windowrule = size 460 800, class:steam, title:Friends List -windowrule = idleinhibit fullscreen, class:steam diff --git a/default/hypr/apps/system.conf b/default/hypr/apps/system.conf deleted file mode 100644 index a718c95..0000000 --- a/default/hypr/apps/system.conf +++ /dev/null @@ -1,13 +0,0 @@ -# Floating windows -windowrule = float, tag:floating-window -windowrule = center, tag:floating-window -windowrule = size 800 600, tag:floating-window - -windowrule = tag +floating-window, class:(blueberry.py|Impala|Wiremix|org.gnome.NautilusPreviewer|com.gabm.satty|Omarchy|About|TUI.float) -windowrule = tag +floating-window, class:(xdg-desktop-portal-gtk|sublime_text|DesktopEditors|org.gnome.Nautilus), title:^(Open.*Files?|Open Folder|Save.*Files?|Save.*As|Save|All Files) - -# Fullscreen screensaver -windowrule = fullscreen, class:Screensaver - -# No transparency on media windows -windowrule = opacity 1 1, class:^(zoom|vlc|mpv|org.kde.kdenlive|com.obsproject.Studio|com.github.PintaProject.Pinta|imv|org.gnome.NautilusPreviewer)$ diff --git a/default/hypr/apps/terminals.conf b/default/hypr/apps/terminals.conf deleted file mode 100644 index e908e5d..0000000 --- a/default/hypr/apps/terminals.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Define terminal tag to style them uniformly -windowrule = tag +terminal, class:(Alacritty|kitty|com.mitchellh.ghostty) diff --git a/default/hypr/apps/walker.conf b/default/hypr/apps/walker.conf deleted file mode 100644 index eefd923..0000000 --- a/default/hypr/apps/walker.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Application-specific animation -layerrule = noanim, walker diff --git a/default/hypr/autostart.conf b/default/hypr/autostart.conf deleted file mode 100644 index 5c2f60b..0000000 --- a/default/hypr/autostart.conf +++ /dev/null @@ -1,10 +0,0 @@ -exec-once = uwsm app -- hypridle -exec-once = uwsm app -- mako -exec-once = uwsm app -- waybar -exec-once = uwsm app -- fcitx5 -exec-once = uwsm app -- swaybg -i ~/.config/omarchy/current/background -m fill -exec-once = uwsm app -- swayosd-server -exec-once = uwsm app -- walker --gapplication-service & -exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 -exec-once = wl-clip-persist --clipboard regular --all-mime-type-regex '^(?!x-kde-passwordManagerHint).+' -exec-once = omarchy-cmd-first-run diff --git a/default/hypr/bindings.conf b/default/hypr/bindings.conf deleted file mode 100644 index 2927eb3..0000000 --- a/default/hypr/bindings.conf +++ /dev/null @@ -1,16 +0,0 @@ -# Deprecated bindings file. New installations include everything directly. - -bindd = SUPER, return, Terminal, exec, $terminal -bindd = SUPER, F, File manager, exec, $fileManager -bindd = SUPER, B, Web browser, exec, $browser -bindd = SUPER, M, Music player, exec, $music -bindd = SUPER, N, Neovim, exec, $terminal -e nvim -bindd = SUPER, T, Top, exec, $terminal -e btop -bindd = SUPER, D, Lazy Docker, exec, $terminal -e lazydocker -bindd = SUPER, G, Messenger, exec, $messenger -bindd = SUPER, O, Obsidian, exec, obsidian -disable-gpu -bindd = SUPER, slash, Password manager, exec, $passwordManager - -source = ~/.local/share/omarchy/default/hypr/bindings/media.conf -source = ~/.local/share/omarchy/default/hypr/bindings/tiling.conf -source = ~/.local/share/omarchy/default/hypr/bindings/utilities.conf diff --git a/default/hypr/bindings/media.conf b/default/hypr/bindings/media.conf deleted file mode 100644 index efedbb7..0000000 --- a/default/hypr/bindings/media.conf +++ /dev/null @@ -1,25 +0,0 @@ -# Only display the OSD on the currently focused monitor -$osdclient = swayosd-client --monitor "$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')" - -# Laptop multimedia keys for volume and LCD brightness (with OSD) -bindeld = ,XF86AudioRaiseVolume, Volume up, exec, $osdclient --output-volume raise -bindeld = ,XF86AudioLowerVolume, Volume down, exec, $osdclient --output-volume lower -bindeld = ,XF86AudioMute, Mute, exec, $osdclient --output-volume mute-toggle -bindeld = ,XF86AudioMicMute, Mute microphone, exec, $osdclient --input-volume mute-toggle -bindeld = ,XF86MonBrightnessUp, Brightness up, exec, $osdclient --brightness raise -bindeld = ,XF86MonBrightnessDown, Brightness down, exec, $osdclient --brightness lower - -# Precise 1% multimedia adjustments with Alt modifier -bindeld = ALT, XF86AudioRaiseVolume, Volume up precise, exec, $osdclient --output-volume +1 -bindeld = ALT, XF86AudioLowerVolume, Volume down precise, exec, $osdclient --output-volume -1 -bindeld = ALT, XF86MonBrightnessUp, Brightness up precise, exec, $osdclient --brightness +1 -bindeld = ALT, XF86MonBrightnessDown, Brightness down precise, exec, $osdclient --brightness -1 - -# Requires playerctl -bindld = , XF86AudioNext, Next track, exec, $osdclient --playerctl next -bindld = , XF86AudioPause, Pause, exec, $osdclient --playerctl play-pause -bindld = , XF86AudioPlay, Play, exec, $osdclient --playerctl play-pause -bindld = , XF86AudioPrev, Previous track, exec, $osdclient --playerctl previous - -# Switch audio output with Super + Mute -bindld = SUPER, XF86AudioMute, Switch audio output, exec, omarchy-cmd-audio-switch diff --git a/default/hypr/bindings/tiling.conf b/default/hypr/bindings/tiling.conf deleted file mode 100644 index ff2437b..0000000 --- a/default/hypr/bindings/tiling.conf +++ /dev/null @@ -1,71 +0,0 @@ -# Close windows -bindd = SUPER, W, Close active window, killactive, -bindd = CTRL ALT, DELETE, Close all Windows, exec, omarchy-cmd-close-all-windows - -# Control tiling -bindd = SUPER, J, Toggle split, togglesplit, # dwindle -bindd = SUPER, P, Pseudo window, pseudo, # dwindle -bindd = SUPER, V, Toggle floating, togglefloating, -bindd = SHIFT, F11, Force full screen, fullscreen, 0 -bindd = ALT, F11, Full width, fullscreen, 1 - -# Move focus with SUPER + arrow keys -bindd = SUPER, left, Move focus left, movefocus, l -bindd = SUPER, right, Move focus right, movefocus, r -bindd = SUPER, up, Move focus up, movefocus, u -bindd = SUPER, down, Move focus down, movefocus, d - -# Switch workspaces with SUPER + [0-9] -bindd = SUPER, code:10, Switch to workspace 1, workspace, 1 -bindd = SUPER, code:11, Switch to workspace 2, workspace, 2 -bindd = SUPER, code:12, Switch to workspace 3, workspace, 3 -bindd = SUPER, code:13, Switch to workspace 4, workspace, 4 -bindd = SUPER, code:14, Switch to workspace 5, workspace, 5 -bindd = SUPER, code:15, Switch to workspace 6, workspace, 6 -bindd = SUPER, code:16, Switch to workspace 7, workspace, 7 -bindd = SUPER, code:17, Switch to workspace 8, workspace, 8 -bindd = SUPER, code:18, Switch to workspace 9, workspace, 9 -bindd = SUPER, code:19, Switch to workspace 10, workspace, 10 - -# Move active window to a workspace with SUPER + SHIFT + [0-9] -bindd = SUPER SHIFT, code:10, Move window to workspace 1, movetoworkspace, 1 -bindd = SUPER SHIFT, code:11, Move window to workspace 2, movetoworkspace, 2 -bindd = SUPER SHIFT, code:12, Move window to workspace 3, movetoworkspace, 3 -bindd = SUPER SHIFT, code:13, Move window to workspace 4, movetoworkspace, 4 -bindd = SUPER SHIFT, code:14, Move window to workspace 5, movetoworkspace, 5 -bindd = SUPER SHIFT, code:15, Move window to workspace 6, movetoworkspace, 6 -bindd = SUPER SHIFT, code:16, Move window to workspace 7, movetoworkspace, 7 -bindd = SUPER SHIFT, code:17, Move window to workspace 8, movetoworkspace, 8 -bindd = SUPER SHIFT, code:18, Move window to workspace 9, movetoworkspace, 9 -bindd = SUPER SHIFT, code:19, Move window to workspace 10, movetoworkspace, 10 - -# Tab between workspaces -bindd = SUPER, TAB, Next workspace, workspace, e+1 -bindd = SUPER SHIFT, TAB, Previous workspace, workspace, e-1 -bindd = SUPER CTRL, TAB, Former workspace, workspace, previous - -# Swap active window with the one next to it with SUPER + SHIFT + arrow keys -bindd = SUPER SHIFT, left, Swap window to the left, swapwindow, l -bindd = SUPER SHIFT, right, Swap window to the right, swapwindow, r -bindd = SUPER SHIFT, up, Swap window up, swapwindow, u -bindd = SUPER SHIFT, down, Swap window down, swapwindow, d - -# Cycle through applications on active workspace -bindd = ALT, Tab, Cycle to next window, cyclenext -bindd = ALT SHIFT, Tab, Cycle to prev window, cyclenext, prev -bindd = ALT, Tab, Reveal active window on top, bringactivetotop -bindd = ALT SHIFT, Tab, Reveal active window on top, bringactivetotop - -# Resize active window -bindd = SUPER, code:20, Expand window left, resizeactive, -100 0 # - key -bindd = SUPER, code:21, Shrink window left, resizeactive, 100 0 # = key -bindd = SUPER SHIFT, code:20, Shrink window up, resizeactive, 0 -100 -bindd = SUPER SHIFT, code:21, Expand window down, resizeactive, 0 100 - -# Scroll through existing workspaces with SUPER + scroll -bindd = SUPER, mouse_down, Scroll active workspace forward, workspace, e+1 -bindd = SUPER, mouse_up, Scroll active workspace backward, workspace, e-1 - -# Move/resize windows with mainMod + LMB/RMB and dragging -bindmd = SUPER, mouse:272, Move window, movewindow -bindmd = SUPER, mouse:273, Resize window, resizewindow diff --git a/default/hypr/bindings/utilities.conf b/default/hypr/bindings/utilities.conf deleted file mode 100644 index c8b3efd..0000000 --- a/default/hypr/bindings/utilities.conf +++ /dev/null @@ -1,47 +0,0 @@ -# Menus -bindd = SUPER, SPACE, Launch apps, exec, walker -p "Startโ€ฆ" -bindd = SUPER CTRL, E, Emoji picker, exec, walker -m Emojis -bindd = SUPER ALT, SPACE, Omarchy menu, exec, omarchy-menu -bindd = SUPER, ESCAPE, Power menu, exec, omarchy-menu system -bindld = , XF86PowerOff, Power menu, exec, omarchy-menu system -bindd = SUPER, K, Show key bindings, exec, omarchy-menu-keybindings -bindd = , XF86Calculator, Calculator, exec, gnome-calculator - -# Aesthetics -bindd = SUPER SHIFT, SPACE, Toggle top bar, exec, omarchy-toggle-waybar -bindd = SUPER CTRL, SPACE, Next background in theme, exec, omarchy-theme-bg-next -bindd = SUPER SHIFT CTRL, SPACE, Pick new theme, exec, omarchy-menu theme -bindd = SUPER, BACKSPACE, Toggle window transparency, exec, hyprctl dispatch setprop "address:$(hyprctl activewindow -j | jq -r '.address')" opaque toggle - -# Notifications -bindd = SUPER, COMMA, Dismiss last notification, exec, makoctl dismiss -bindd = SUPER SHIFT, COMMA, Dismiss all notifications, exec, makoctl dismiss --all -bindd = SUPER CTRL, COMMA, Toggle silencing notifications, exec, makoctl mode -t do-not-disturb && makoctl mode | grep -q 'do-not-disturb' && notify-send "Silenced notifications" || notify-send "Enabled notifications" - -# Toggle idling -bindd = SUPER CTRL, I, Toggle locking on idle, exec, omarchy-toggle-idle - -# Toggle nightlight -bindd = SUPER CTRL, N, Toggle nightlight, exec, omarchy-toggle-nightlight - -# Control Apple Display brightness -bindd = CTRL, F1, Apple Display brightness down, exec, omarchy-cmd-apple-display-brightness -5000 -bindd = CTRL, F2, Apple Display brightness up, exec, omarchy-cmd-apple-display-brightness +5000 -bindd = SHIFT CTRL, F2, Apple Display full brightness, exec, omarchy-cmd-apple-display-brightness +60000 - -# Screenshots -bindd = , PRINT, Screenshot of region, exec, omarchy-cmd-screenshot -bindd = SHIFT, PRINT, Screenshot of window, exec, omarchy-cmd-screenshot window -bindd = CTRL, PRINT, Screenshot of display, exec, omarchy-cmd-screenshot output - -# Screen recordings -bindd = ALT, PRINT, Screen record a region, exec, omarchy-cmd-screenrecord region -bindd = ALT SHIFT, PRINT, Screen record a region with audio, exec, omarchy-cmd-screenrecord region audio -bindd = CTRL ALT, PRINT, Screen record display, exec, omarchy-cmd-screenrecord output -bindd = CTRL ALT SHIFT, PRINT, Screen record display with audio, exec, omarchy-cmd-screenrecord output audio - -# Color picker -bindd = SUPER, PRINT, Color picker, exec, pkill hyprpicker || hyprpicker -a - -# File sharing -bindd = CTRL SUPER, S, Share, exec, omarchy-menu share diff --git a/default/hypr/envs.conf b/default/hypr/envs.conf deleted file mode 100644 index 92d1544..0000000 --- a/default/hypr/envs.conf +++ /dev/null @@ -1,29 +0,0 @@ -# Cursor size -env = XCURSOR_SIZE,24 -env = HYPRCURSOR_SIZE,24 - -# Force all apps to use Wayland -env = GDK_BACKEND,wayland,x11,* -env = QT_QPA_PLATFORM,wayland;xcb -env = QT_STYLE_OVERRIDE,kvantum -env = SDL_VIDEODRIVER,wayland -env = MOZ_ENABLE_WAYLAND,1 -env = ELECTRON_OZONE_PLATFORM_HINT,wayland -env = OZONE_PLATFORM,wayland -env = XDG_SESSION_TYPE,wayland - -# Allow better support for screen sharing (Google Meet, Discord, etc) -env = XDG_CURRENT_DESKTOP,Hyprland -env = XDG_SESSION_DESKTOP,Hyprland - -xwayland { - force_zero_scaling = true -} - -# Use XCompose file -env = XCOMPOSEFILE,~/.XCompose - -# Don't show update on first launch -ecosystem { - no_update_news = true -} diff --git a/default/hypr/input.conf b/default/hypr/input.conf deleted file mode 100644 index bb4d610..0000000 --- a/default/hypr/input.conf +++ /dev/null @@ -1,16 +0,0 @@ -# https://wiki.hyprland.org/Configuring/Variables/#input -input { - kb_layout = us - kb_variant = - kb_model = - kb_options = compose:caps - kb_rules = - - follow_mouse = 1 - - sensitivity = 0 # -1.0 - 1.0, 0 means no modification. - - touchpad { - natural_scroll = false - } -} diff --git a/default/hypr/looknfeel.conf b/default/hypr/looknfeel.conf deleted file mode 100644 index 254051f..0000000 --- a/default/hypr/looknfeel.conf +++ /dev/null @@ -1,89 +0,0 @@ -# Refer to https://wiki.hyprland.org/Configuring/Variables/ - -# https://wiki.hyprland.org/Configuring/Variables/#general -general { - gaps_in = 5 - gaps_out = 10 - - border_size = 2 - - # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg - col.inactive_border = rgba(595959aa) - - # Set to true enable resizing windows by clicking and dragging on borders and gaps - resize_on_border = false - - # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on - allow_tearing = false - - layout = dwindle -} - -# https://wiki.hyprland.org/Configuring/Variables/#decoration -decoration { - rounding = 0 - - shadow { - enabled = true - range = 2 - render_power = 3 - color = rgba(1a1a1aee) - } - - # https://wiki.hyprland.org/Configuring/Variables/#blur - blur { - enabled = true - size = 3 - passes = 1 - - vibrancy = 0.1696 - } -} - -# https://wiki.hyprland.org/Configuring/Variables/#animations -animations { - enabled = yes, please :) - - # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more - - bezier = easeOutQuint,0.23,1,0.32,1 - bezier = easeInOutCubic,0.65,0.05,0.36,1 - bezier = linear,0,0,1,1 - bezier = almostLinear,0.5,0.5,0.75,1.0 - bezier = quick,0.15,0,0.1,1 - - animation = global, 1, 10, default - animation = border, 1, 5.39, easeOutQuint - animation = windows, 1, 4.79, easeOutQuint - animation = windowsIn, 1, 4.1, easeOutQuint, popin 87% - animation = windowsOut, 1, 1.49, linear, popin 87% - animation = fadeIn, 1, 1.73, almostLinear - animation = fadeOut, 1, 1.46, almostLinear - animation = fade, 1, 3.03, quick - animation = layers, 1, 3.81, easeOutQuint - animation = layersIn, 1, 4, easeOutQuint, fade - animation = layersOut, 1, 1.5, linear, fade - animation = fadeLayersIn, 1, 1.79, almostLinear - animation = fadeLayersOut, 1, 1.39, almostLinear - animation = workspaces, 0, 0, ease -} - -# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more -dwindle { - pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below - preserve_split = true # You probably want this - force_split = 2 # Always split on the right -} - -# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more -master { - new_status = master -} - -# https://wiki.hyprland.org/Configuring/Variables/#misc -misc { - disable_hyprland_logo = true - disable_splash_rendering = true - focus_on_activate = true -} diff --git a/default/hypr/windows.conf b/default/hypr/windows.conf deleted file mode 100644 index bc665b2..0000000 --- a/default/hypr/windows.conf +++ /dev/null @@ -1,11 +0,0 @@ -# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more -windowrule = suppressevent maximize, class:.* - -# Just dash of opacity by default -windowrule = opacity 0.97 0.9, class:.* - -# Fix some dragging issues with XWayland -windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0 - -# App-specific tweaks -source = ~/.local/share/omarchy/default/hypr/apps.conf diff --git a/default/mako/core.ini b/default/mako/core.ini deleted file mode 100644 index 05f6053..0000000 --- a/default/mako/core.ini +++ /dev/null @@ -1,22 +0,0 @@ -anchor=top-right -default-timeout=5000 -width=420 -height=110 - -[app-name=Spotify] -invisible=1 - -[mode=do-not-disturb] -invisible=true - -[mode=do-not-disturb app-name=notify-send] -invisible=false - -[urgency=critical] -default-timeout=0 - -[summary~="Setup Wi-Fi"] -on-button-left=exec sh -c 'omarchy-notification-dismiss "Setup Wi-Fi"; omarchy-launch-wifi' - -[summary~="Update System"] -on-button-left=exec sh -c 'omarchy-notification-dismiss "Update System"; omarchy-launch-floating-terminal-with-presentation omarchy-update' diff --git a/default/pacman/mirrorlist b/default/pacman/mirrorlist deleted file mode 100644 index 2d92d05..0000000 --- a/default/pacman/mirrorlist +++ /dev/null @@ -1,3 +0,0 @@ -Server = https://mirror.omarchy.org/$repo/os/$arch -Server = https://mirror.rackspace.com/archlinux/$repo/os/$arch -Server = https://geo.mirror.pkgbuild.com/$repo/os/$arch diff --git a/default/pacman/pacman.conf b/default/pacman/pacman.conf deleted file mode 100644 index f576087..0000000 --- a/default/pacman/pacman.conf +++ /dev/null @@ -1,30 +0,0 @@ -# See the pacman.conf(5) manpage for option and repository directives - -[options] -Color -ILoveCandy -VerbosePkgLists -HoldPkg = pacman glibc -Architecture = auto -CheckSpace -ParallelDownloads = 5 -DownloadUser = alpm - -# By default, pacman accepts packages signed by keys that its local keyring -# trusts (see pacman-key and its man page), as well as unsigned packages. -SigLevel = Required DatabaseOptional -LocalFileSigLevel = Optional - -# pacman searches repositories in the order defined here -[core] -Include = /etc/pacman.d/mirrorlist - -[extra] -Include = /etc/pacman.d/mirrorlist - -[multilib] -Include = /etc/pacman.d/mirrorlist - -[omarchy] -SigLevel = Optional TrustAll -Server = https://pkgs.omarchy.org/$arch diff --git a/default/plymouth/bullet.png b/default/plymouth/bullet.png deleted file mode 100644 index 62249b3..0000000 Binary files a/default/plymouth/bullet.png and /dev/null differ diff --git a/default/plymouth/entry.png b/default/plymouth/entry.png deleted file mode 100644 index 5c78917..0000000 Binary files a/default/plymouth/entry.png and /dev/null differ diff --git a/default/plymouth/lock.png b/default/plymouth/lock.png deleted file mode 100644 index 3046de1..0000000 Binary files a/default/plymouth/lock.png and /dev/null differ diff --git a/default/plymouth/logo.png b/default/plymouth/logo.png deleted file mode 100644 index f185b26..0000000 Binary files a/default/plymouth/logo.png and /dev/null differ diff --git a/default/plymouth/omarchy.plymouth b/default/plymouth/omarchy.plymouth deleted file mode 100644 index 9935630..0000000 --- a/default/plymouth/omarchy.plymouth +++ /dev/null @@ -1,11 +0,0 @@ -[Plymouth Theme] -Name=Omarchy -Description=Omarchy splash screen. -ModuleName=script - -[script] -ImageDir=/usr/share/plymouth/themes/omarchy -ScriptFile=/usr/share/plymouth/themes/omarchy/omarchy.script -ConsoleLogBackgroundColor=0x1a1b26 -MonospaceFont=Cantarell 11 -Font=Cantarell 11 diff --git a/default/plymouth/omarchy.script b/default/plymouth/omarchy.script deleted file mode 100644 index df0c298..0000000 --- a/default/plymouth/omarchy.script +++ /dev/null @@ -1,257 +0,0 @@ -# Omarchy Plymouth Theme Script - -Window.SetBackgroundTopColor(0.101, 0.105, 0.149); -Window.SetBackgroundBottomColor(0.101, 0.105, 0.149); - -logo.image = Image("logo.png"); -logo.sprite = Sprite(logo.image); -logo.sprite.SetX (Window.GetWidth() / 2 - logo.image.GetWidth() / 2); -logo.sprite.SetY (Window.GetHeight() / 2 - logo.image.GetHeight() / 2); -logo.sprite.SetOpacity (1); - -# Use these to adjust the progress bar timing -global.fake_progress_limit = 0.7; # Target percentage for fake progress (0.0 to 1.0) -global.fake_progress_duration = 15.0; # Duration in seconds to reach limit - -# Progress bar animation variables -global.fake_progress = 0.0; -global.real_progress = 0.0; -global.fake_progress_active = 0; # 0 / 1 boolean -global.animation_frame = 0; -global.fake_progress_start_time = 0; # Track when fake progress started -global.password_shown = 0; # Track if password dialog has been shown -global.max_progress = 0.0; # Track the maximum progress reached to prevent backwards movement - -fun refresh_callback () - { - global.animation_frame++; - - # Animate fake progress to limit over time with easing - if (global.fake_progress_active == 1) - { - # Calculate elapsed time since start - elapsed_time = global.animation_frame / 50.0; # Convert frames to seconds (50 FPS) - - # Calculate linear progress ratio (0 to 1) based on time - time_ratio = elapsed_time / global.fake_progress_duration; - if (time_ratio > 1.0) - time_ratio = 1.0; - - # Apply easing curve: ease-out quadratic - # Formula: 1 - (1 - x)^2 - eased_ratio = 1 - ((1 - time_ratio) * (1 - time_ratio)); - - # Calculate fake progress based on eased ratio - global.fake_progress = eased_ratio * global.fake_progress_limit; - - # Update progress bar with fake progress - update_progress_bar(global.fake_progress); - } - } - - -Plymouth.SetRefreshFunction (refresh_callback); - -#----------------------------------------- Helper Functions -------------------------------- - -fun update_progress_bar(progress) - { - # Only update if progress is moving forward - if (progress > global.max_progress) - { - global.max_progress = progress; - width = Math.Int(progress_bar.original_image.GetWidth() * progress); - if (width < 1) width = 1; # Ensure minimum width of 1 pixel - - progress_bar.image = progress_bar.original_image.Scale(width, progress_bar.original_image.GetHeight()); - progress_bar.sprite.SetImage(progress_bar.image); - } - } - -fun show_progress_bar() - { - progress_box.sprite.SetOpacity(1); - progress_bar.sprite.SetOpacity(1); - } - -fun hide_progress_bar() - { - progress_box.sprite.SetOpacity(0); - progress_bar.sprite.SetOpacity(0); - } - -fun show_password_dialog() - { - lock.sprite.SetOpacity(1); - entry.sprite.SetOpacity(1); - } - -fun hide_password_dialog() - { - lock.sprite.SetOpacity(0); - entry.sprite.SetOpacity(0); - for (index = 0; bullet.sprites[index]; index++) - bullet.sprites[index].SetOpacity(0); - } - -fun start_fake_progress() - { - # Don't reset if we already have progress - if (global.max_progress == 0.0) - { - global.fake_progress = 0.0; - global.real_progress = 0.0; - update_progress_bar(0.0); - } - global.fake_progress_active = 1; - global.animation_frame = 0; - } - -fun stop_fake_progress() - { - global.fake_progress_active = 0; - } - -#----------------------------------------- Dialogue -------------------------------- - -lock.image = Image("lock.png"); -entry.image = Image("entry.png"); -bullet.image = Image("bullet.png"); - -entry.sprite = Sprite(entry.image); -entry.x = Window.GetWidth()/2 - entry.image.GetWidth() / 2; -entry.y = logo.sprite.GetY() + logo.image.GetHeight() + 40; -entry.sprite.SetPosition(entry.x, entry.y, 10001); -entry.sprite.SetOpacity(0); - -# Scale lock to be slightly shorter than entry field height -# Original lock is 84x96, entry height determines scale -lock_height = entry.image.GetHeight() * 0.8; -lock_scale = lock_height / 96; -lock_width = 84 * lock_scale; - -scaled_lock = lock.image.Scale(lock_width, lock_height); -lock.sprite = Sprite(scaled_lock); -lock.x = entry.x - lock_width - 15; -lock.y = entry.y + entry.image.GetHeight()/2 - lock_height/2; -lock.sprite.SetPosition(lock.x, lock.y, 10001); -lock.sprite.SetOpacity(0); - -# Bullet array -bullet.sprites = []; - -fun display_normal_callback () - { - hide_password_dialog(); - - # Get current mode - mode = Plymouth.GetMode(); - - # Only show progress bar for boot and resume modes - if ((mode == "boot" || mode == "resume") && global.password_shown == 1) - { - show_progress_bar(); - start_fake_progress(); - } - } - -fun display_password_callback (prompt, bullets) - { - global.password_shown = 1; # Mark that password dialog has been shown - - # Reset progress when password dialog appears - stop_fake_progress(); - hide_progress_bar(); - global.max_progress = 0.0; - global.fake_progress = 0.0; - global.real_progress = 0.0; - show_password_dialog(); - - # Clear all bullets first - for (index = 0; bullet.sprites[index]; index++) - bullet.sprites[index].SetOpacity(0); - - # Create and show bullets for current password (max 21) - max_bullets = 21; - bullets_to_show = bullets; - if (bullets_to_show > max_bullets) - bullets_to_show = max_bullets; - - for (index = 0; index < bullets_to_show; index++) - { - if (!bullet.sprites[index]) - { - # Scale bullet image to 7x7 pixels - scaled_bullet = bullet.image.Scale(7, 7); - bullet.sprites[index] = Sprite(scaled_bullet); - bullet.x = entry.x + 20 + index * (7 + 5); - bullet.y = entry.y + entry.image.GetHeight() / 2 - 3.5; - bullet.sprites[index].SetPosition(bullet.x, bullet.y, 10002); - } - bullet.sprites[index].SetOpacity(1); - } - } - -Plymouth.SetDisplayNormalFunction(display_normal_callback); -Plymouth.SetDisplayPasswordFunction(display_password_callback); - -#----------------------------------------- Progress Bar -------------------------------- - -progress_box.image = Image("progress_box.png"); -progress_box.sprite = Sprite(progress_box.image); - -progress_box.x = Window.GetWidth() / 2 - progress_box.image.GetWidth() / 2; -progress_box.y = entry.y + entry.image.GetHeight() / 2 - progress_box.image.GetHeight() / 2; -progress_box.sprite.SetPosition(progress_box.x, progress_box.y, 0); -progress_box.sprite.SetOpacity(0); - -progress_bar.original_image = Image("progress_bar.png"); -progress_bar.sprite = Sprite(); -progress_bar.image = progress_bar.original_image.Scale(1, progress_bar.original_image.GetHeight()); - -progress_bar.x = Window.GetWidth() / 2 - progress_bar.original_image.GetWidth() / 2; -progress_bar.y = progress_box.y + (progress_box.image.GetHeight() - progress_bar.original_image.GetHeight()) / 2; -progress_bar.sprite.SetPosition(progress_bar.x, progress_bar.y, 1); -progress_bar.sprite.SetOpacity(0); - -fun progress_callback (duration, progress) - { - global.real_progress = progress; - - # If real progress is above limit, stop fake progress and use real progress - if (progress > global.fake_progress_limit) - { - stop_fake_progress(); - update_progress_bar(progress); - } - } - -Plymouth.SetBootProgressFunction(progress_callback); - -#----------------------------------------- Quit -------------------------------- - -fun quit_callback () -{ - logo.sprite.SetOpacity (1); -} - -Plymouth.SetQuitFunction(quit_callback); - -#----------------------------------------- Message -------------------------------- - -message_sprite = Sprite(); -message_sprite.SetPosition(10, 10, 10000); - -fun display_message_callback (text) -{ - my_image = Image.Text(text, 1, 1, 1); - message_sprite.SetImage(my_image); -} - -fun hide_message_callback (text) -{ - message_sprite.SetOpacity(0); -} - -Plymouth.SetDisplayMessageFunction (display_message_callback); -Plymouth.SetHideMessageFunction (hide_message_callback); diff --git a/default/plymouth/progress_bar.png b/default/plymouth/progress_bar.png deleted file mode 100644 index dbb9fd7..0000000 Binary files a/default/plymouth/progress_bar.png and /dev/null differ diff --git a/default/plymouth/progress_box.png b/default/plymouth/progress_box.png deleted file mode 100644 index 6a263f2..0000000 Binary files a/default/plymouth/progress_box.png and /dev/null differ diff --git a/default/walker/themes/dmenu_150.css b/default/walker/themes/dmenu_150.css deleted file mode 100644 index 14bafe7..0000000 --- a/default/walker/themes/dmenu_150.css +++ /dev/null @@ -1,2 +0,0 @@ -@import url("file://~/.local/share/omarchy/default/walker/themes/omarchy-default.css"); -@import url("file://~/.config/omarchy/current/theme/walker.css"); diff --git a/default/walker/themes/dmenu_150.toml b/default/walker/themes/dmenu_150.toml deleted file mode 100644 index 3c13997..0000000 --- a/default/walker/themes/dmenu_150.toml +++ /dev/null @@ -1,10 +0,0 @@ -[ui.window.box] -width = 150 - -[ui.window.box.scroll.list] -max_width = 150 -min_width = 150 -width = 150 - -[ui.window.box.search] -hide = false diff --git a/default/walker/themes/dmenu_250.css b/default/walker/themes/dmenu_250.css deleted file mode 100644 index 14bafe7..0000000 --- a/default/walker/themes/dmenu_250.css +++ /dev/null @@ -1,2 +0,0 @@ -@import url("file://~/.local/share/omarchy/default/walker/themes/omarchy-default.css"); -@import url("file://~/.config/omarchy/current/theme/walker.css"); diff --git a/default/walker/themes/dmenu_250.toml b/default/walker/themes/dmenu_250.toml deleted file mode 100644 index b9ffc1e..0000000 --- a/default/walker/themes/dmenu_250.toml +++ /dev/null @@ -1,11 +0,0 @@ -[ui.window.box] -width = 250 - -[ui.window.box.scroll.list] -max_width = 250 -min_width = 250 -width = 250 -max_height = 600 - -[ui.window.box.search] -hide = false diff --git a/default/walker/themes/keybindings.css b/default/walker/themes/keybindings.css deleted file mode 100644 index 14bafe7..0000000 --- a/default/walker/themes/keybindings.css +++ /dev/null @@ -1,2 +0,0 @@ -@import url("file://~/.local/share/omarchy/default/walker/themes/omarchy-default.css"); -@import url("file://~/.config/omarchy/current/theme/walker.css"); diff --git a/default/walker/themes/keybindings.toml b/default/walker/themes/keybindings.toml deleted file mode 100644 index c5d1b78..0000000 --- a/default/walker/themes/keybindings.toml +++ /dev/null @@ -1,48 +0,0 @@ -[ui.window.box] -width = 964 -min_width = 964 -max_width = 964 - -height = 664 -min_height = 664 -max_height = 664 - -[ui.window.box.search] -hide = false - -[ui.window.box.scroll] -v_align = "fill" -h_align = "fill" -min_width = 964 -width = 964 -max_width = 964 -min_height = 664 -height = 664 -max_height = 664 - -[ui.window.box.scroll.list] -v_align = "fill" -h_align = "fill" -min_width = 900 -width = 900 -max_width = 900 -min_height = 600 -height = 600 -max_height = 600 - -[ui.window.box.scroll.list.item] -h_align = "fill" -min_width = 900 -width = 900 -max_width = 900 - -[ui.window.box.scroll.list.item.activation_label] -hide = true - -[ui.window.box.scroll.list.placeholder] -v_align = "start" -h_align = "fill" -hide = false -min_width = 900 -width = 900 -max_width = 900 diff --git a/default/walker/themes/omarchy-default.css b/default/walker/themes/omarchy-default.css deleted file mode 100644 index 6e453b6..0000000 --- a/default/walker/themes/omarchy-default.css +++ /dev/null @@ -1,169 +0,0 @@ -/* Reset all elements */ -#window, -#box, -#search, -#password, -#input, -#prompt, -#clear, -#typeahead, -#list, -child, -scrollbar, -slider, -#item, -#text, -#label, -#sub, -#activationlabel { - all: unset; -} - -* { - font-family: monospace; - font-size: 18px; -} - -/* Window */ -#window { - background: transparent; - color: @text; -} - -/* Main box container */ -#box { - background: alpha(@base, 0.95); - padding: 20px; - border: 2px solid @border; - border-radius: 0px; -} - -/* Search container */ -#search { - background: @base; - padding: 10px; - margin-bottom: 0; -} - -/* Hide prompt icon */ -#prompt { - opacity: 0; - min-width: 0; - margin: 0; -} - -/* Hide clear button */ -#clear { - opacity: 0; - min-width: 0; -} - -/* Input field */ -#input { - background: none; - color: @text; - padding: 0; -} - -#input placeholder { - opacity: 0.5; - color: @text; -} - -/* Hide typeahead */ -#typeahead { - opacity: 0; -} - -/* List */ -#list { - background: transparent; -} - -/* List items */ -child { - padding: 0px 12px; - background: transparent; - border-radius: 0; -} - -child:selected, -child:hover { - background: transparent; -} - -/* Item layout */ -#item { - padding: 0; -} - -#item.active { - font-style: italic; -} - -/* Icon */ -#icon { - margin-right: 10px; - -gtk-icon-transform: scale(0.7); -} - -/* Text */ -#text { - color: @text; - padding: 14px 0; -} - -#label { - font-weight: normal; -} - -/* Selected state */ -child:selected #text, -child:selected #label, -child:hover #text, -child:hover #label { - color: @selected-text; -} - -/* Hide sub text */ -#sub { - opacity: 0; - font-size: 0; - min-height: 0; -} - -/* Hide activation label */ -#activationlabel { - opacity: 0; - min-width: 0; -} - -/* Scrollbar styling */ -scrollbar { - opacity: 0; -} - -/* Hide spinner */ -#spinner { - opacity: 0; -} - -/* Hide AI elements */ -#aiScroll, -#aiList, -.aiItem { - opacity: 0; - min-height: 0; -} - -/* Bar entry (switcher) */ -#bar { - opacity: 0; - min-height: 0; -} - -.barentry { - opacity: 0; -} - -@import url("file://~/.config/omarchy/current/theme/walker.css"); diff --git a/default/walker/themes/omarchy-default.toml b/default/walker/themes/omarchy-default.toml deleted file mode 100644 index 9abc5d8..0000000 --- a/default/walker/themes/omarchy-default.toml +++ /dev/null @@ -1,16 +0,0 @@ -[ui.window.box] -width = 664 -min_width = 664 -max_width = 664 -height = 396 -min_height = 396 -max_height = 396 - -# List constraints are critical - without these, the window shrinks when empty -[ui.window.box.scroll.list] -height = 300 -min_height = 300 -max_height = 300 - -[ui.window.box.scroll.list.item.icon] -pixel_size = 40 diff --git a/default/waybar/indicators/screen-recording.sh b/default/waybar/indicators/screen-recording.sh deleted file mode 100755 index d0d0082..0000000 --- a/default/waybar/indicators/screen-recording.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -if pgrep -x wl-screenrec >/dev/null || pgrep -x wf-recorder >/dev/null; then - echo '{"text": "๓ฐป‚", "tooltip": "Stop recording", "class": "active"}' -else - echo '{"text": ""}' -fi diff --git a/default/xcompose b/default/xcompose deleted file mode 100644 index a45c5be..0000000 --- a/default/xcompose +++ /dev/null @@ -1,29 +0,0 @@ -include "%L" - -# Emoji - : "๐Ÿ˜„" # smile - : "๐Ÿ˜‚" # cry - : "๐Ÿ˜" # love - : "โœŒ๏ธ" # victory - : "โค๏ธ" # heart - : "๐Ÿ‘" # yes - : "๐Ÿ‘Ž" # no - : "๐Ÿ–•" # fuck - : "๐Ÿคž" # wish - : "๐Ÿค˜" # rock - : "๐Ÿ˜˜" # kiss - : "๐Ÿ™„" # eyeroll - : "๐Ÿคค" # droll - : "๐Ÿ’ฐ" # money - : "๐ŸŽ‰" # xellebrate - <1> : "๐Ÿ’ฏ" # 100% - : "๐Ÿฅ‚" # toast -

: "๐Ÿ™" # pray - : "๐Ÿ˜‰" # wink - : "๐Ÿ‘Œ" # OK - : "๐Ÿ‘‹" # greeting - : "๐Ÿ’ช" # arm - : "๐Ÿคฏ" # blowing - -# Typography - : "โ€”" diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..faeb3dd --- /dev/null +++ b/flake.nix @@ -0,0 +1,237 @@ +{ + description = "Omarchy - NixOS configuration for modern development"; + + inputs = { + # Nixpkgs + nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.05"; + + # Home manager + home-manager = { + url = "github:nix-community/home-manager"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + # Hyprland + hyprland = { + url = "github:hyprwm/Hyprland"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + # Hyprland plugins + hyprland-plugins = { + url = "github:hyprwm/hyprland-plugins"; + inputs.hyprland.follows = "hyprland"; + }; + + # Stylix for theming + stylix = { + url = "github:danth/stylix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + # Nix colors + nix-colors.url = "github:misterio77/nix-colors"; + + # Neovim nightly + neovim-nightly-overlay = { + url = "github:nix-community/neovim-nightly-overlay"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + + # NUR for additional packages + nur.url = "github:nix-community/NUR"; + }; + + outputs = { self, nixpkgs, home-manager, ... }@inputs: + let + system = "x86_64-linux"; + + pkgs = import nixpkgs { + inherit system; + config = { + allowUnfree = true; + }; + overlays = [ + inputs.nur.overlay + inputs.neovim-nightly-overlay.overlay + ]; + }; + in + { + # NixOS configuration + nixosConfigurations = { + omarchy = nixpkgs.lib.nixosSystem { + inherit system; + specialArgs = { inherit inputs; }; + modules = [ + ./configuration.nix + home-manager.nixosModules.home-manager + { + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + extraSpecialArgs = { inherit inputs; }; + users = { + # Replace with your username + user = import ./home.nix; + }; + }; + } + ]; + }; + }; + + # Development shells + devShells.${system} = { + default = pkgs.mkShell { + packages = with pkgs; [ + # Development tools + git + neovim + ripgrep + fd + bat + eza + fzf + zoxide + starship + lazygit + gh + + # Language servers and formatters + nil # Nix LSP + nixpkgs-fmt + statix + deadnix + + # Build tools + gnumake + gcc + nodejs_20 + python3 + rustc + cargo + go + ]; + + shellHook = '' + echo "๐Ÿš€ Welcome to Omarchy development environment!" + echo "" + echo "Available commands:" + echo " omarchy-rebuild - Rebuild system configuration" + echo " omarchy-update - Update flake inputs" + echo " omarchy-clean - Garbage collect nix store" + echo "" + + # Setup aliases + alias omarchy-rebuild="sudo nixos-rebuild switch --flake .#omarchy" + alias omarchy-update="nix flake update" + alias omarchy-clean="nix-collect-garbage -d" + + # Initialize starship prompt + eval "$(starship init bash)" + ''; + }; + + # Python development + python = pkgs.mkShell { + packages = with pkgs; [ + python3 + python3Packages.pip + python3Packages.virtualenv + python3Packages.ipython + python3Packages.black + python3Packages.pylint + python3Packages.pytest + ruff + ]; + }; + + # Node.js development + node = pkgs.mkShell { + packages = with pkgs; [ + nodejs_20 + nodePackages.npm + nodePackages.pnpm + nodePackages.yarn + nodePackages.typescript + nodePackages.eslint + nodePackages.prettier + ]; + }; + + # Rust development + rust = pkgs.mkShell { + packages = with pkgs; [ + rustc + cargo + rustfmt + rust-analyzer + clippy + ]; + }; + }; + + # Packages that can be built + packages.${system} = { + # Omarchy scripts as packages + omarchy-scripts = pkgs.callPackage ./packages/scripts.nix {}; + + # Plymouth theme + plymouth-theme-omarchy = pkgs.callPackage ./packages/plymouth-theme.nix {}; + }; + + # Apps that can be run + apps.${system} = { + # Installer + installer = { + type = "app"; + program = "${pkgs.writeShellScriptBin "omarchy-install" '' + #!/usr/bin/env bash + set -e + + echo "๐Ÿš€ Omarchy NixOS Installer" + echo "=========================" + echo "" + + # Check if running on NixOS + if [ ! -f /etc/nixos/configuration.nix ]; then + echo "Error: This installer must be run on a NixOS system" + exit 1 + fi + + echo "This will install Omarchy configuration to your NixOS system." + read -p "Continue? (y/n) " -n 1 -r + echo + + if [[ ! $REPLY =~ ^[Yy]$ ]]; then + exit 1 + fi + + # Backup existing configuration + echo "๐Ÿ“ฆ Backing up existing configuration..." + sudo cp -r /etc/nixos /etc/nixos.backup.$(date +%Y%m%d-%H%M%S) + + # Copy new configuration + echo "๐Ÿ“ Installing Omarchy configuration..." + sudo cp -r ${self}/* /etc/nixos/ + + # Initialize flake + echo "๐Ÿ”ง Initializing flake..." + cd /etc/nixos + sudo git init + sudo git add -A + + # Rebuild + echo "๐Ÿ—๏ธ Rebuilding system..." + sudo nixos-rebuild switch --flake /etc/nixos#omarchy + + echo "" + echo "โœ… Installation complete!" + echo "๐ŸŽ‰ Welcome to Omarchy!" + ''}/bin/omarchy-install"; + }; + }; + }; +} \ No newline at end of file diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..90290a6 --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,39 @@ +# Do not modify this file! It was generated by 'nixos-generate-config' +# and may be overwritten by future invocations. Please make changes +# to /etc/nixos/configuration.nix instead. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + # This is a template hardware configuration + # Replace with your actual hardware configuration generated by nixos-generate-config + + boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ "kvm-intel" ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/replace-with-your-root-uuid"; + fsType = "ext4"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/replace-with-your-boot-uuid"; + fsType = "vfat"; + }; + + swapDevices = [ ]; + + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # still possible to use this option, but it's recommended to use it in conjunction + # with explicit per-interface declarations with `networking.interfaces..useDHCP`. + networking.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} \ No newline at end of file diff --git a/home.nix b/home.nix new file mode 100644 index 0000000..8255614 --- /dev/null +++ b/home.nix @@ -0,0 +1,397 @@ +{ config, pkgs, lib, inputs, ... }: + +{ + # Home Manager needs a bit of information about you and the paths it should manage + home.username = "user"; # Change this to your username + home.homeDirectory = "/home/user"; # Change this to your home directory + + # This value determines the Home Manager release that your configuration is + # compatible with. This helps avoid breakage when a new Home Manager release + # introduces backwards incompatible changes. + home.stateVersion = "24.05"; + + # Let Home Manager install and manage itself + programs.home-manager.enable = true; + + # Packages to install + home.packages = with pkgs; [ + # Terminal utilities + alacritty + kitty + wezterm + starship + + # File management + ranger + yazi + xplr + + # Development tools + neovim + vscode + lazygit + gh + git-lfs + delta + + # System monitoring + btop + htop + nvtop + + # Media + mpv + imv + ffmpeg + + # Browsers + firefox + chromium + brave + + # Communication + discord + slack + telegram-desktop + + # Productivity + obsidian + zathura + libreoffice + + # CLI tools + ripgrep + fd + bat + eza + fzf + zoxide + jq + yq + httpie + curl + wget + + # Screenshot and recording + grim + slurp + wf-recorder + swappy + + # Wayland tools + wl-clipboard + wlr-randr + wev + + # Fonts + (nerdfonts.override { fonts = [ "JetBrainsMono" "FiraCode" "Hack" ]; }) + noto-fonts + noto-fonts-emoji + liberation_ttf + ]; + + # Git configuration + programs.git = { + enable = true; + userName = "Your Name"; # Change this + userEmail = "your.email@example.com"; # Change this + + delta = { + enable = true; + options = { + features = "decorations"; + side-by-side = true; + navigate = true; + }; + }; + + aliases = { + st = "status"; + co = "checkout"; + br = "branch"; + cm = "commit -m"; + lg = "log --graph --oneline --decorate"; + unstage = "reset HEAD --"; + last = "log -1 HEAD"; + }; + + extraConfig = { + init.defaultBranch = "main"; + pull.rebase = false; + push.autoSetupRemote = true; + merge.conflictStyle = "diff3"; + diff.colorMoved = "default"; + }; + }; + + # Bash configuration + programs.bash = { + enable = true; + + shellAliases = { + ll = "eza -la"; + ls = "eza"; + l = "eza -lah"; + tree = "eza --tree"; + + ".." = "cd .."; + "..." = "cd ../.."; + + g = "git"; + lg = "lazygit"; + + cat = "bat"; + grep = "rg"; + find = "fd"; + + # NixOS specific + rebuild = "sudo nixos-rebuild switch --flake /etc/nixos#omarchy"; + update = "nix flake update"; + clean = "nix-collect-garbage -d"; + + # Omarchy specific + omarchy-theme = "omarchy-theme-set"; + omarchy-update = "omarchy-update"; + }; + + initExtra = '' + # Initialize starship prompt + eval "$(starship init bash)" + + # Initialize zoxide + eval "$(zoxide init bash)" + + # Set up fzf + source ${pkgs.fzf}/share/fzf/key-bindings.bash + source ${pkgs.fzf}/share/fzf/completion.bash + + # Custom prompt for nix-shell + if [ -n "$IN_NIX_SHELL" ]; then + export PS1="[nix-shell] $PS1" + fi + ''; + }; + + # Starship prompt + programs.starship = { + enable = true; + settings = { + format = '' + [โ•ญโ”€](bold green)$username[@](bold yellow)$hostname [in ](bold white)$directory$git_branch$git_status$cmd_duration + [โ•ฐโ”€](bold green)$character + ''; + + character = { + success_symbol = "[โžœ](bold green)"; + error_symbol = "[โžœ](bold red)"; + }; + + directory = { + truncation_length = 3; + truncate_to_repo = true; + style = "bold cyan"; + }; + + git_branch = { + style = "bold purple"; + symbol = " "; + }; + + git_status = { + style = "bold red"; + ahead = "โ‡ก\${count}"; + diverged = "โ‡•โ‡ก\${ahead_count}โ‡ฃ\${behind_count}"; + behind = "โ‡ฃ\${count}"; + }; + + cmd_duration = { + min_time = 500; + format = " took [$duration](bold yellow)"; + }; + }; + }; + + # Alacritty terminal + programs.alacritty = { + enable = true; + settings = { + window = { + padding = { x = 10; y = 10; }; + opacity = 0.95; + decorations = "none"; + }; + + font = { + normal = { + family = "JetBrainsMono Nerd Font"; + style = "Regular"; + }; + size = 12.0; + }; + + cursor = { + style = "Block"; + unfocused_hollow = true; + }; + }; + }; + + # Neovim configuration + programs.neovim = { + enable = true; + defaultEditor = true; + viAlias = true; + vimAlias = true; + + plugins = with pkgs.vimPlugins; [ + # LazyVim will handle most plugins + lazy-nvim + ]; + + extraConfig = '' + " Bootstrap LazyVim + lua require("config.lazy") + ''; + }; + + # Firefox + programs.firefox = { + enable = true; + + profiles.default = { + settings = { + "browser.startup.homepage" = "https://omarchy.org"; + "privacy.donottrackheader.enabled" = true; + "privacy.trackingprotection.enabled" = true; + "privacy.trackingprotection.socialtracking.enabled" = true; + }; + }; + }; + + # VS Code + programs.vscode = { + enable = true; + + extensions = with pkgs.vscode-extensions; [ + # Themes + pkief.material-icon-theme + zhuangtongfa.material-theme + + # Language support + rust-lang.rust-analyzer + golang.go + ms-python.python + ms-vscode.cpptools + + # Web development + dbaeumer.vscode-eslint + esbenp.prettier-vscode + bradlc.vscode-tailwindcss + + # Utilities + eamodio.gitlens + vscodevim.vim + yzhang.markdown-all-in-one + + # Nix + jnoortheen.nix-ide + ]; + + userSettings = { + "workbench.colorTheme" = "One Dark Pro"; + "workbench.iconTheme" = "material-icon-theme"; + "editor.fontFamily" = "'JetBrainsMono Nerd Font', monospace"; + "editor.fontSize" = 14; + "editor.fontLigatures" = true; + "editor.formatOnSave" = true; + "editor.minimap.enabled" = false; + "editor.rulers" = [ 80 120 ]; + "terminal.integrated.fontFamily" = "'JetBrainsMono Nerd Font'"; + "vim.enableNeovim" = true; + }; + }; + + # Direnv for development environments + programs.direnv = { + enable = true; + nix-direnv.enable = true; + enableBashIntegration = true; + }; + + # Zoxide for smart cd + programs.zoxide = { + enable = true; + enableBashIntegration = true; + }; + + # Bat (better cat) + programs.bat = { + enable = true; + config = { + theme = "TwoDark"; + pager = "less -FR"; + }; + }; + + # fzf + programs.fzf = { + enable = true; + enableBashIntegration = true; + defaultCommand = "fd --type f --hidden --follow --exclude .git"; + defaultOptions = [ + "--height 40%" + "--layout reverse" + "--border" + "--inline-info" + "--color 'fg:#bbccdd,fg+:#ddeeff,bg:#334455,preview-bg:#223344,border:#778899'" + ]; + }; + + # btop + programs.btop = { + enable = true; + settings = { + color_theme = "tokyo-night"; + theme_background = false; + update_ms = 1000; + }; + }; + + # GPG + programs.gpg.enable = true; + services.gpg-agent = { + enable = true; + pinentryPackage = pkgs.pinentry-gtk2; + }; + + # XDG directories + xdg = { + enable = true; + userDirs = { + enable = true; + createDirectories = true; + }; + }; + + # Gtk theme + gtk = { + enable = true; + theme = { + name = "Catppuccin-Mocha-Standard-Blue-dark"; + package = pkgs.catppuccin-gtk.override { + variant = "mocha"; + }; + }; + iconTheme = { + name = "Papirus-Dark"; + package = pkgs.papirus-icon-theme; + }; + }; + + # Qt theme + qt = { + enable = true; + platformTheme.name = "gtk3"; + style.name = "gtk2"; + }; +} \ No newline at end of file diff --git a/install.sh b/install.sh old mode 100644 new mode 100755 index 5b1b6bd..9c6145b --- a/install.sh +++ b/install.sh @@ -1,18 +1,248 @@ -#!/bin/bash +#!/usr/bin/env bash -# Exit immediately if a command exits with a non-zero status -set -eEo pipefail +# Omarchy NixOS Installation Script +# This script helps install Omarchy on an existing NixOS system -# Define Omarchy locations -export OMARCHY_PATH="$HOME/.local/share/omarchy" -export OMARCHY_INSTALL="$OMARCHY_PATH/install" -export OMARCHY_INSTALL_LOG_FILE="/var/log/omarchy-install.log" -export PATH="$OMARCHY_PATH/bin:$PATH" +set -e -# Install -source "$OMARCHY_INSTALL/helpers/all.sh" -source "$OMARCHY_INSTALL/preflight/all.sh" -source "$OMARCHY_INSTALL/packaging/all.sh" -source "$OMARCHY_INSTALL/config/all.sh" -source "$OMARCHY_INSTALL/login/all.sh" -source "$OMARCHY_INSTALL/post-install/all.sh" +# Colors for output +RED='\033[0;31m' +GREEN='\033[0;32m' +YELLOW='\033[1;33m' +BLUE='\033[0;34m' +NC='\033[0m' # No Color + +# ASCII Art +show_banner() { + echo -e "${BLUE}" + cat << 'EOF' + โ–„โ–„โ–„ + โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–„ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–„โ–ˆ โ–ˆโ–„ โ–„โ–ˆ โ–ˆโ–„ +โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ +โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ +โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–ˆโ–„ โ–ˆโ–ˆโ–ˆโ–„โ–„โ–„โ–ˆโ–ˆโ–ˆ +โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–ˆโ–ˆโ–ˆ โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–€ โ–ˆโ–ˆโ–ˆ โ–€โ–€โ–ˆโ–ˆโ–ˆโ–€โ–€โ–€โ–ˆโ–ˆโ–ˆ โ–€โ–€โ–€โ–€โ–€โ–€โ–ˆโ–ˆโ–ˆ +โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–„ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–„โ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ +โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ + โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–€โ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ โ–€โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–€ + โ–ˆโ–ˆโ–ˆ โ–ˆโ–€ + + NixOS Edition +EOF + echo -e "${NC}" +} + +# Check if running on NixOS +check_nixos() { + if [ ! -f /etc/NIXOS ]; then + echo -e "${RED}Error: This installer must be run on a NixOS system${NC}" + echo "Please install NixOS first: https://nixos.org/download.html" + exit 1 + fi +} + +# Check for root/sudo +check_permissions() { + if [ "$EUID" -eq 0 ]; then + echo -e "${YELLOW}Warning: Running as root. It's recommended to run as a regular user with sudo access.${NC}" + read -p "Continue anyway? (y/n) " -n 1 -r + echo + if [[ ! $REPLY =~ ^[Yy]$ ]]; then + exit 1 + fi + fi +} + +# Backup existing configuration +backup_config() { + if [ -d /etc/nixos ]; then + BACKUP_DIR="/etc/nixos.backup.$(date +%Y%m%d-%H%M%S)" + echo -e "${BLUE}๐Ÿ“ฆ Backing up existing configuration to $BACKUP_DIR...${NC}" + sudo cp -r /etc/nixos "$BACKUP_DIR" + echo -e "${GREEN}โœ“ Backup complete${NC}" + fi +} + +# Install Omarchy configuration +install_config() { + echo -e "${BLUE}๐Ÿ“ Installing Omarchy configuration...${NC}" + + # Create nixos directory if it doesn't exist + sudo mkdir -p /etc/nixos + + # Copy configuration files + echo "Copying configuration files..." + sudo cp -r ./* /etc/nixos/ + + # Ensure proper permissions + sudo chown -R root:root /etc/nixos + sudo chmod 755 /etc/nixos + + echo -e "${GREEN}โœ“ Configuration files installed${NC}" +} + +# Update user in configuration +update_user() { + read -p "Enter your username (default: user): " USERNAME + USERNAME=${USERNAME:-user} + + echo -e "${BLUE}๐Ÿ‘ค Configuring for user: $USERNAME${NC}" + + # Update configuration files with username + sudo sed -i "s/user = \"user\"/user = \"$USERNAME\"/" /etc/nixos/configuration.nix + sudo sed -i "s/home.username = \"user\"/home.username = \"$USERNAME\"/" /etc/nixos/home.nix + sudo sed -i "s|home.homeDirectory = \"/home/user\"|home.homeDirectory = \"/home/$USERNAME\"|" /etc/nixos/home.nix + + echo -e "${GREEN}โœ“ User configuration updated${NC}" +} + +# Select theme +select_theme() { + echo -e "${BLUE}๐ŸŽจ Select a theme:${NC}" + echo "1) Tokyo Night (default)" + echo "2) Catppuccin" + echo "3) Gruvbox" + echo "4) Nord" + echo "5) Everforest" + echo "6) Rose Pine" + echo "7) Kanagawa" + + read -p "Enter choice (1-7): " THEME_CHOICE + + case $THEME_CHOICE in + 2) THEME="catppuccin" ;; + 3) THEME="gruvbox" ;; + 4) THEME="nord" ;; + 5) THEME="everforest" ;; + 6) THEME="rose-pine" ;; + 7) THEME="kanagawa" ;; + *) THEME="tokyo-night" ;; + esac + + echo -e "${BLUE}Setting theme to: $THEME${NC}" + sudo sed -i "s/currentTheme = \".*\"/currentTheme = \"$THEME\"/" /etc/nixos/configuration.nix + + echo -e "${GREEN}โœ“ Theme configured${NC}" +} + +# Enable features +configure_features() { + echo -e "${BLUE}๐Ÿš€ Configure features:${NC}" + + read -p "Enable Docker support? (y/n): " -n 1 -r + echo + if [[ $REPLY =~ ^[Yy]$ ]]; then + sudo sed -i 's/docker = false/docker = true/' /etc/nixos/configuration.nix + fi + + read -p "Enable gaming support (Steam, Wine)? (y/n): " -n 1 -r + echo + if [[ $REPLY =~ ^[Yy]$ ]]; then + sudo sed -i 's/gaming = false/gaming = true/' /etc/nixos/configuration.nix + fi + + echo -e "${GREEN}โœ“ Features configured${NC}" +} + +# Generate hardware configuration if needed +generate_hardware_config() { + if [ ! -f /etc/nixos/hardware-configuration.nix ]; then + echo -e "${BLUE}๐Ÿ”ง Generating hardware configuration...${NC}" + sudo nixos-generate-config --root / + echo -e "${GREEN}โœ“ Hardware configuration generated${NC}" + else + echo -e "${YELLOW}Hardware configuration already exists, skipping...${NC}" + fi +} + +# Initialize git repository +init_git() { + echo -e "${BLUE}๐Ÿ“š Initializing git repository...${NC}" + + cd /etc/nixos + + if [ ! -d .git ]; then + sudo git init + sudo git add . + sudo git commit -m "Initial Omarchy configuration" + fi + + echo -e "${GREEN}โœ“ Git repository initialized${NC}" +} + +# Build and switch to new configuration +build_system() { + echo -e "${BLUE}๐Ÿ—๏ธ Building system configuration...${NC}" + echo "This may take a while on first run..." + + # Build the system + sudo nixos-rebuild switch --flake /etc/nixos#omarchy + + echo -e "${GREEN}โœ“ System built successfully!${NC}" +} + +# Post-installation message +show_complete() { + echo + echo -e "${GREEN}โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ${NC}" + echo -e "${GREEN}โ”‚ ๐ŸŽ‰ Omarchy Installation Complete! โ”‚${NC}" + echo -e "${GREEN}โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ${NC}" + echo + echo -e "${BLUE}Quick Start Guide:${NC}" + echo " โ€ข Run 'omarchy help' for available commands" + echo " โ€ข Run 'omarchy-theme-list' to see available themes" + echo " โ€ข Run 'omarchy update' to update your system" + echo + echo -e "${BLUE}Key Bindings (Hyprland):${NC}" + echo " โ€ข Super + Return: Open terminal" + echo " โ€ข Super + B: Open browser" + echo " โ€ข Super + D: Application launcher" + echo " โ€ข Super + Q: Close window" + echo + echo -e "${YELLOW}Note: You may need to reboot for all changes to take effect.${NC}" + echo + echo "For more information, visit: https://omarchy.org" +} + +# Main installation flow +main() { + show_banner + + echo -e "${BLUE}Welcome to Omarchy NixOS Installer!${NC}" + echo "This will install Omarchy configuration on your NixOS system." + echo + + check_nixos + check_permissions + + read -p "Continue with installation? (y/n) " -n 1 -r + echo + if [[ ! $REPLY =~ ^[Yy]$ ]]; then + echo "Installation cancelled." + exit 0 + fi + + backup_config + install_config + generate_hardware_config + update_user + select_theme + configure_features + init_git + + echo + echo -e "${YELLOW}Ready to build the system. This may take 10-30 minutes.${NC}" + read -p "Continue? (y/n) " -n 1 -r + echo + + if [[ $REPLY =~ ^[Yy]$ ]]; then + build_system + show_complete + else + echo -e "${YELLOW}Installation paused. To complete, run:${NC}" + echo " sudo nixos-rebuild switch --flake /etc/nixos#omarchy" + fi +} + +# Run main function +main "$@" \ No newline at end of file diff --git a/install/config/all.sh b/install/config/all.sh deleted file mode 100644 index 1336dee..0000000 --- a/install/config/all.sh +++ /dev/null @@ -1,29 +0,0 @@ -run_logged $OMARCHY_INSTALL/config/config.sh -run_logged $OMARCHY_INSTALL/config/theme.sh -run_logged $OMARCHY_INSTALL/config/branding.sh -run_logged $OMARCHY_INSTALL/config/git.sh -run_logged $OMARCHY_INSTALL/config/gpg.sh -run_logged $OMARCHY_INSTALL/config/timezones.sh -run_logged $OMARCHY_INSTALL/config/increase-sudo-tries.sh -run_logged $OMARCHY_INSTALL/config/increase-lockout-limit.sh -run_logged $OMARCHY_INSTALL/config/ssh-flakiness.sh -run_logged $OMARCHY_INSTALL/config/detect-keyboard-layout.sh -run_logged $OMARCHY_INSTALL/config/xcompose.sh -run_logged $OMARCHY_INSTALL/config/mise-work.sh -run_logged $OMARCHY_INSTALL/config/fix-powerprofilesctl-shebang.sh -run_logged $OMARCHY_INSTALL/config/docker.sh -run_logged $OMARCHY_INSTALL/config/mimetypes.sh -run_logged $OMARCHY_INSTALL/config/localdb.sh -run_logged $OMARCHY_INSTALL/config/sudoless-asdcontrol.sh -run_logged $OMARCHY_INSTALL/config/hardware/network.sh -run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh -run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh -run_logged $OMARCHY_INSTALL/config/hardware/bluetooth.sh -run_logged $OMARCHY_INSTALL/config/hardware/printer.sh -run_logged $OMARCHY_INSTALL/config/hardware/usb-autosuspend.sh -run_logged $OMARCHY_INSTALL/config/hardware/ignore-power-button.sh -run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh -run_logged $OMARCHY_INSTALL/config/hardware/fix-f13-amd-audio-input.sh -run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-bcm4360.sh -run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-spi-keyboard.sh -run_logged $OMARCHY_INSTALL/config/hardware/fix-apple-t2.sh diff --git a/install/config/branding.sh b/install/config/branding.sh deleted file mode 100644 index bad55f0..0000000 --- a/install/config/branding.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Allow the user to change the branding for fastfetch and screensaver -mkdir -p ~/.config/omarchy/branding -cp ~/.local/share/omarchy/icon.txt ~/.config/omarchy/branding/about.txt -cp ~/.local/share/omarchy/logo.txt ~/.config/omarchy/branding/screensaver.txt diff --git a/install/config/config.sh b/install/config/config.sh deleted file mode 100644 index 62f1417..0000000 --- a/install/config/config.sh +++ /dev/null @@ -1,6 +0,0 @@ -# Copy over Omarchy configs -mkdir -p ~/.config -cp -R ~/.local/share/omarchy/config/* ~/.config/ - -# Use default bashrc from Omarchy -cp ~/.local/share/omarchy/default/bashrc ~/.bashrc diff --git a/install/config/detect-keyboard-layout.sh b/install/config/detect-keyboard-layout.sh deleted file mode 100644 index aaaee4f..0000000 --- a/install/config/detect-keyboard-layout.sh +++ /dev/null @@ -1,13 +0,0 @@ -# Copy over the keyboard layout that's been set in Arch during install to Hyprland -conf="/etc/vconsole.conf" -hyprconf="$HOME/.config/hypr/input.conf" - -if grep -q '^XKBLAYOUT=' "$conf"; then - layout=$(grep '^XKBLAYOUT=' "$conf" | cut -d= -f2 | tr -d '"') - sed -i "/^[[:space:]]*kb_options *=/i\ kb_layout = $layout" "$hyprconf" -fi - -if grep -q '^XKBVARIANT=' "$conf"; then - variant=$(grep '^XKBVARIANT=' "$conf" | cut -d= -f2 | tr -d '"') - sed -i "/^[[:space:]]*kb_options *=/i\ kb_variant = $variant" "$hyprconf" -fi diff --git a/install/config/docker.sh b/install/config/docker.sh deleted file mode 100644 index 9909624..0000000 --- a/install/config/docker.sh +++ /dev/null @@ -1,32 +0,0 @@ -# Configure Docker daemon: -# - limit log size to avoid running out of disk -# - use host's DNS resolver -sudo mkdir -p /etc/docker -sudo tee /etc/docker/daemon.json >/dev/null <<'EOF' -{ - "log-driver": "json-file", - "log-opts": { "max-size": "10m", "max-file": "5" }, - "dns": ["172.17.0.1"], - "bip": "172.17.0.1/16" -} -EOF - -# Expose systemd-resolved to our Docker network -sudo mkdir -p /etc/systemd/resolved.conf.d -echo -e '[Resolve]\nDNSStubListenerExtra=172.17.0.1' | sudo tee /etc/systemd/resolved.conf.d/20-docker-dns.conf >/dev/null -sudo systemctl restart systemd-resolved - -# Start Docker automatically -sudo systemctl enable docker - -# Give this user privileged Docker access -sudo usermod -aG docker ${USER} - -# Prevent Docker from preventing boot for network-online.target -sudo mkdir -p /etc/systemd/system/docker.service.d -sudo tee /etc/systemd/system/docker.service.d/no-block-boot.conf <<'EOF' -[Unit] -DefaultDependencies=no -EOF - -sudo systemctl daemon-reload diff --git a/install/config/fix-powerprofilesctl-shebang.sh b/install/config/fix-powerprofilesctl-shebang.sh deleted file mode 100644 index 61cac43..0000000 --- a/install/config/fix-powerprofilesctl-shebang.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Ensure we use system python3 and not mise's python3 -sudo sed -i '/env python3/ c\#!/bin/python3' /usr/bin/powerprofilesctl diff --git a/install/config/git.sh b/install/config/git.sh deleted file mode 100644 index 39f77ed..0000000 --- a/install/config/git.sh +++ /dev/null @@ -1,20 +0,0 @@ -# Ensure git settings live under ~/.config -mkdir -p ~/.config/git -touch ~/.config/git/config - -# Set common git aliases -git config --global alias.co checkout -git config --global alias.br branch -git config --global alias.ci commit -git config --global alias.st status -git config --global pull.rebase true -git config --global init.defaultBranch master - -# Set identification from install inputs -if [[ -n "${OMARCHY_USER_NAME//[[:space:]]/}" ]]; then - git config --global user.name "$OMARCHY_USER_NAME" -fi - -if [[ -n "${OMARCHY_USER_EMAIL//[[:space:]]/}" ]]; then - git config --global user.email "$OMARCHY_USER_EMAIL" -fi diff --git a/install/config/gpg.sh b/install/config/gpg.sh deleted file mode 100644 index 7e209f6..0000000 --- a/install/config/gpg.sh +++ /dev/null @@ -1,6 +0,0 @@ -# Setup GPG configuration with multiple keyservers for better reliability -sudo mkdir -p /etc/gnupg -sudo cp ~/.local/share/omarchy/default/gpg/dirmngr.conf /etc/gnupg/ -sudo chmod 644 /etc/gnupg/dirmngr.conf -sudo gpgconf --kill dirmngr || true -sudo gpgconf --launch dirmngr || true diff --git a/install/config/hardware/bluetooth.sh b/install/config/hardware/bluetooth.sh deleted file mode 100644 index 65fc90d..0000000 --- a/install/config/hardware/bluetooth.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Turn on bluetooth by default -chrootable_systemctl_enable bluetooth.service diff --git a/install/config/hardware/fix-apple-bcm4360.sh b/install/config/hardware/fix-apple-bcm4360.sh deleted file mode 100644 index f7d6d32..0000000 --- a/install/config/hardware/fix-apple-bcm4360.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Install wifi drivers for 2013-2015 MacBooks using the BCM4360 chip -if lspci -nnv | grep -A2 "14e4:43a0" | grep -q "106b:"; then - echo "Apple BCM4360 detected" - sudo pacman -S --noconfirm --needed broadcom-wl dkms linux-headers -fi diff --git a/install/config/hardware/fix-apple-spi-keyboard.sh b/install/config/hardware/fix-apple-spi-keyboard.sh deleted file mode 100644 index f549669..0000000 --- a/install/config/hardware/fix-apple-spi-keyboard.sh +++ /dev/null @@ -1,7 +0,0 @@ -# Detect MacBook models that need SPI keyboard modules -if [[ "$(cat /sys/class/dmi/id/product_name 2>/dev/null)" =~ MacBook12,1|MacBookPro13,[123]|MacBookPro14,[123] ]]; then - echo "Detected MacBook with SPI keyboard" - - sudo pacman -S --noconfirm --needed macbook12-spi-driver-dkms - echo "MODULES=(applespi intel_lpss_pci spi_pxa2xx_platform)" | sudo tee /etc/mkinitcpio.conf.d/macbook_spi_modules.conf >/dev/null -fi diff --git a/install/config/hardware/fix-apple-t2.sh b/install/config/hardware/fix-apple-t2.sh deleted file mode 100644 index 51273f2..0000000 --- a/install/config/hardware/fix-apple-t2.sh +++ /dev/null @@ -1,28 +0,0 @@ -# Detect T2 MacBook models using PCI IDs -# Vendor: 106b (Apple), Device IDs: 1801 or 1802 (T2 Security Chip) -if lspci -nn | grep -q "106b:180[12]"; then - echo "Detected MacBook with T2 chip. Installing support items..." - - sudo pacman -S --noconfirm --needed \ - linux-t2 \ - linux-t2-headers \ - apple-t2-audio-config \ - apple-bcm-firmware \ - t2fanrd \ - tiny-dfr - - echo "apple-bce" | sudo tee /etc/modules-load.d/t2.conf >/dev/null - - echo "MODULES+=(apple-bce usbhid hid_apple hid_generic xhci_pci xhci_hcd)" | sudo tee /etc/mkinitcpio.conf.d/apple-t2.conf >/dev/null - - cat </dev/null -# Fix for T2 MacBook WiFi connectivity issues -options brcmfmac feature_disable=0x82000 -EOF - - sudo mkdir -p /etc/limine-entry-tool.d - cat </dev/null -# Generated by Omarchy installer for T2 Mac support -KERNEL_CMDLINE[default]+="intel_iommu=on iommu=pt pcie_ports=compat" -EOF -fi diff --git a/install/config/hardware/fix-f13-amd-audio-input.sh b/install/config/hardware/fix-f13-amd-audio-input.sh deleted file mode 100644 index f443659..0000000 --- a/install/config/hardware/fix-f13-amd-audio-input.sh +++ /dev/null @@ -1,5 +0,0 @@ -AMD_AUDIO_CARD=$(pactl list cards 2>/dev/null | grep -B20 "Family 17h/19h" | grep "Name: " | awk '{print $2}' || true) - -if [[ -n $AMD_AUDIO_CARD ]]; then - pactl set-card-profile "$AMD_AUDIO_CARD" "HiFi (Mic1, Mic2, Speaker)" 2>/dev/null || true -fi diff --git a/install/config/hardware/fix-fkeys.sh b/install/config/hardware/fix-fkeys.sh deleted file mode 100644 index d0b4315..0000000 --- a/install/config/hardware/fix-fkeys.sh +++ /dev/null @@ -1,4 +0,0 @@ -# Ensure that F-keys on Apple-like keyboards (such as Lofree Flow84) are always F-keys -if [[ ! -f /etc/modprobe.d/hid_apple.conf ]]; then - echo "options hid_apple fnmode=2" | sudo tee /etc/modprobe.d/hid_apple.conf -fi diff --git a/install/config/hardware/ignore-power-button.sh b/install/config/hardware/ignore-power-button.sh deleted file mode 100644 index 8e514f6..0000000 --- a/install/config/hardware/ignore-power-button.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Disable shutting system down on power button to bind it to power menu afterwards -sudo sed -i 's/.*HandlePowerKey=.*/HandlePowerKey=ignore/' /etc/systemd/logind.conf diff --git a/install/config/hardware/intel.sh b/install/config/hardware/intel.sh deleted file mode 100644 index 546fe47..0000000 --- a/install/config/hardware/intel.sh +++ /dev/null @@ -1,11 +0,0 @@ -# This installs hardware video acceleration for Intel GPUs -# Check if we have an Intel GPU at all -if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then - # HD Graphics and newer uses intel-media-driver - if [[ "${INTEL_GPU,,}" =~ "hd graphics"|"xe"|"iris" ]]; then - sudo pacman -S --needed --noconfirm intel-media-driver - elif [[ "${INTEL_GPU,,}" =~ "gma" ]]; then - # Older generations from 2008 to ~2014-2017 use libva-intel-driver - sudo pacman -S --needed --noconfirm libva-intel-driver - fi -fi diff --git a/install/config/hardware/network.sh b/install/config/hardware/network.sh deleted file mode 100644 index 65f9fdb..0000000 --- a/install/config/hardware/network.sh +++ /dev/null @@ -1,6 +0,0 @@ -# Ensure iwd service will be started -sudo systemctl enable iwd.service - -# Prevent systemd-networkd-wait-online timeout on boot -sudo systemctl disable systemd-networkd-wait-online.service -sudo systemctl mask systemd-networkd-wait-online.service diff --git a/install/config/hardware/nvidia.sh b/install/config/hardware/nvidia.sh deleted file mode 100644 index 494390b..0000000 --- a/install/config/hardware/nvidia.sh +++ /dev/null @@ -1,80 +0,0 @@ -# ============================================================================== -# Hyprland NVIDIA Setup Script for Arch Linux -# ============================================================================== -# This script automates the installation and configuration of NVIDIA drivers -# for use with Hyprland on Arch Linux, following the official Hyprland wiki. -# -# Author: https://github.com/Kn0ax -# -# ============================================================================== - -# --- GPU Detection --- -if [ -n "$(lspci | grep -i 'nvidia')" ]; then - # --- Driver Selection --- - # Turing (16xx, 20xx), Ampere (30xx), Ada (40xx), and newer recommend the open-source kernel modules - if echo "$(lspci | grep -i 'nvidia')" | grep -q -E "RTX [2-9][0-9]|GTX 16"; then - NVIDIA_DRIVER_PACKAGE="nvidia-open-dkms" - else - NVIDIA_DRIVER_PACKAGE="nvidia-dkms" - fi - - # Check which kernel is installed and set appropriate headers package - KERNEL_HEADERS="linux-headers" # Default - if pacman -Q linux-zen &>/dev/null; then - KERNEL_HEADERS="linux-zen-headers" - elif pacman -Q linux-lts &>/dev/null; then - KERNEL_HEADERS="linux-lts-headers" - elif pacman -Q linux-hardened &>/dev/null; then - KERNEL_HEADERS="linux-hardened-headers" - fi - - # force package database refresh - sudo pacman -Syu --noconfirm - - # Install packages - PACKAGES_TO_INSTALL=( - "${KERNEL_HEADERS}" - "${NVIDIA_DRIVER_PACKAGE}" - "nvidia-utils" - "lib32-nvidia-utils" - "egl-wayland" - "libva-nvidia-driver" # For VA-API hardware acceleration - "qt5-wayland" - "qt6-wayland" - ) - - sudo pacman -S --needed --noconfirm "${PACKAGES_TO_INSTALL[@]}" - - # Configure modprobe for early KMS - echo "options nvidia_drm modeset=1" | sudo tee /etc/modprobe.d/nvidia.conf >/dev/null - - # Configure mkinitcpio for early loading - MKINITCPIO_CONF="/etc/mkinitcpio.conf" - - # Define modules - NVIDIA_MODULES="nvidia nvidia_modeset nvidia_uvm nvidia_drm" - - # Create backup - sudo cp "$MKINITCPIO_CONF" "${MKINITCPIO_CONF}.backup" - - # Remove any old nvidia modules to prevent duplicates - sudo sed -i -E 's/ nvidia_drm//g; s/ nvidia_uvm//g; s/ nvidia_modeset//g; s/ nvidia//g;' "$MKINITCPIO_CONF" - # Add the new modules at the start of the MODULES array - sudo sed -i -E "s/^(MODULES=\\()/\\1${NVIDIA_MODULES} /" "$MKINITCPIO_CONF" - # Clean up potential double spaces - sudo sed -i -E 's/ +/ /g' "$MKINITCPIO_CONF" - - sudo mkinitcpio -P - - # Add NVIDIA environment variables to hyprland.conf - HYPRLAND_CONF="$HOME/.config/hypr/hyprland.conf" - if [ -f "$HYPRLAND_CONF" ]; then - cat >>"$HYPRLAND_CONF" <<'EOF' - -# NVIDIA environment variables -env = NVD_BACKEND,direct -env = LIBVA_DRIVER_NAME,nvidia -env = __GLX_VENDOR_LIBRARY_NAME,nvidia -EOF - fi -fi diff --git a/install/config/hardware/printer.sh b/install/config/hardware/printer.sh deleted file mode 100644 index 781a987..0000000 --- a/install/config/hardware/printer.sh +++ /dev/null @@ -1,16 +0,0 @@ -chrootable_systemctl_enable cups.service - -# Disable multicast dns in resolved. Avahi will provide this for better network printer discovery -sudo mkdir -p /etc/systemd/resolved.conf.d -echo -e "[Resolve]\nMulticastDNS=no" | sudo tee /etc/systemd/resolved.conf.d/10-disable-multicast.conf -chrootable_systemctl_enable avahi-daemon.service - -# Enable mDNS resolution for .local domains -sudo sed -i 's/^hosts:.*/hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns/' /etc/nsswitch.conf - -# Enable automatically adding remote printers -if ! grep -q '^CreateRemotePrinters Yes' /etc/cups/cups-browsed.conf; then - echo 'CreateRemotePrinters Yes' | sudo tee -a /etc/cups/cups-browsed.conf -fi - -chrootable_systemctl_enable cups-browsed.service diff --git a/install/config/hardware/set-wireless-regdom.sh b/install/config/hardware/set-wireless-regdom.sh deleted file mode 100644 index 8f28407..0000000 --- a/install/config/hardware/set-wireless-regdom.sh +++ /dev/null @@ -1,33 +0,0 @@ -# First check that wireless-regdb is there -if [ -f "/etc/conf.d/wireless-regdom" ]; then - unset WIRELESS_REGDOM - . /etc/conf.d/wireless-regdom -fi - -# If the region is already set, we're done -if [ ! -n "${WIRELESS_REGDOM}" ]; then - # Get the current timezone - if [ -e "/etc/localtime" ]; then - TIMEZONE=$(readlink -f /etc/localtime) - TIMEZONE=${TIMEZONE#/usr/share/zoneinfo/} - - # Some timezones are formatted with the two letter country code at the start - COUNTRY="${TIMEZONE%%/*}" - - # If we don't have a two letter country, get it from the timezone table - if [[ ! "$COUNTRY" =~ ^[A-Z]{2}$ ]] && [ -f "/usr/share/zoneinfo/zone.tab" ]; then - COUNTRY=$(awk -v tz="$TIMEZONE" '$3 == tz {print $1; exit}' /usr/share/zoneinfo/zone.tab) - fi - - # Check if we have a two letter country code - if [[ "$COUNTRY" =~ ^[A-Z]{2}$ ]]; then - # Append it to the wireless-regdom conf file that is used at boot - echo "WIRELESS_REGDOM=\"$COUNTRY\"" | sudo tee -a /etc/conf.d/wireless-regdom >/dev/null - - # Also set it one off now - if command -v iw &>/dev/null; then - sudo iw reg set ${COUNTRY} - fi - fi - fi -fi diff --git a/install/config/hardware/usb-autosuspend.sh b/install/config/hardware/usb-autosuspend.sh deleted file mode 100644 index 9132384..0000000 --- a/install/config/hardware/usb-autosuspend.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Disable USB autosuspend to prevent peripheral disconnection issues -if [[ ! -f /etc/modprobe.d/disable-usb-autosuspend.conf ]]; then - echo "options usbcore autosuspend=-1" | sudo tee /etc/modprobe.d/disable-usb-autosuspend.conf -fi - diff --git a/install/config/increase-lockout-limit.sh b/install/config/increase-lockout-limit.sh deleted file mode 100644 index 522deb7..0000000 --- a/install/config/increase-lockout-limit.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Increase lockout limit to 10 and decrease timeout to 2 minutes -sudo sed -i 's|^\(auth\s\+required\s\+pam_faillock.so\)\s\+preauth.*$|\1 preauth silent deny=10 unlock_time=120|' "/etc/pam.d/system-auth" -sudo sed -i 's|^\(auth\s\+\[default=die\]\s\+pam_faillock.so\)\s\+authfail.*$|\1 authfail deny=10 unlock_time=120|' "/etc/pam.d/system-auth" diff --git a/install/config/increase-sudo-tries.sh b/install/config/increase-sudo-tries.sh deleted file mode 100644 index 5b64b86..0000000 --- a/install/config/increase-sudo-tries.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Give the user 10 instead of 3 tries to fat finger their password before lockout -echo "Defaults passwd_tries=10" | sudo tee /etc/sudoers.d/passwd-tries -sudo chmod 440 /etc/sudoers.d/passwd-tries diff --git a/install/config/lazyvim.sh b/install/config/lazyvim.sh deleted file mode 100644 index 325f631..0000000 --- a/install/config/lazyvim.sh +++ /dev/null @@ -1 +0,0 @@ -omarchy-lazyvim-setup diff --git a/install/config/localdb.sh b/install/config/localdb.sh deleted file mode 100644 index 7372148..0000000 --- a/install/config/localdb.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Update localdb so that locate will find everything installed -sudo updatedb diff --git a/install/config/mimetypes.sh b/install/config/mimetypes.sh deleted file mode 100644 index 48bb8cf..0000000 --- a/install/config/mimetypes.sh +++ /dev/null @@ -1,35 +0,0 @@ -omarchy-refresh-applications -update-desktop-database ~/.local/share/applications - -# Open all images with imv -xdg-mime default imv.desktop image/png -xdg-mime default imv.desktop image/jpeg -xdg-mime default imv.desktop image/gif -xdg-mime default imv.desktop image/webp -xdg-mime default imv.desktop image/bmp -xdg-mime default imv.desktop image/tiff - -# Open PDFs with the Document Viewer -xdg-mime default org.gnome.Evince.desktop application/pdf - -# Use Chromium as the default browser -xdg-settings set default-web-browser chromium.desktop -xdg-mime default chromium.desktop x-scheme-handler/http -xdg-mime default chromium.desktop x-scheme-handler/https - -# Open video files with mpv -xdg-mime default mpv.desktop video/mp4 -xdg-mime default mpv.desktop video/x-msvideo -xdg-mime default mpv.desktop video/x-matroska -xdg-mime default mpv.desktop video/x-flv -xdg-mime default mpv.desktop video/x-ms-wmv -xdg-mime default mpv.desktop video/mpeg -xdg-mime default mpv.desktop video/ogg -xdg-mime default mpv.desktop video/webm -xdg-mime default mpv.desktop video/quicktime -xdg-mime default mpv.desktop video/3gpp -xdg-mime default mpv.desktop video/3gpp2 -xdg-mime default mpv.desktop video/x-ms-asf -xdg-mime default mpv.desktop video/x-ogm+ogg -xdg-mime default mpv.desktop video/x-theora+ogg -xdg-mime default mpv.desktop application/ogg diff --git a/install/config/mise-work.sh b/install/config/mise-work.sh deleted file mode 100644 index 15d7192..0000000 --- a/install/config/mise-work.sh +++ /dev/null @@ -1,9 +0,0 @@ -# Add ./bin to path for all items in ~/Work -mkdir -p "$HOME/Work" - -cat >"$HOME/Work/.mise.toml" <<'EOF' -[env] -_.path = "{{ cwd }}/bin" -EOF - -mise trust ~/Work/.mise.toml diff --git a/install/config/ssh-flakiness.sh b/install/config/ssh-flakiness.sh deleted file mode 100644 index 906e68a..0000000 --- a/install/config/ssh-flakiness.sh +++ /dev/null @@ -1,2 +0,0 @@ -# Solve common flakiness with SSH -echo "net.ipv4.tcp_mtu_probing=1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf diff --git a/install/config/sudoless-asdcontrol.sh b/install/config/sudoless-asdcontrol.sh deleted file mode 100644 index 120c6fc..0000000 --- a/install/config/sudoless-asdcontrol.sh +++ /dev/null @@ -1,3 +0,0 @@ -# Setup sudo-less controls for controlling brightness on Apple Displays -echo "$USER ALL=(ALL) NOPASSWD: /usr/local/bin/asdcontrol" | sudo tee /etc/sudoers.d/asdcontrol -sudo chmod 440 /etc/sudoers.d/asdcontrol diff --git a/install/config/theme.sh b/install/config/theme.sh deleted file mode 100644 index a0a6a69..0000000 --- a/install/config/theme.sh +++ /dev/null @@ -1,31 +0,0 @@ -# Set links for Nautilius action icons -sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-previous-symbolic.svg -sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-next-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-next-symbolic.svg - -# Setup theme links -mkdir -p ~/.config/omarchy/themes -for f in ~/.local/share/omarchy/themes/*; do ln -nfs "$f" ~/.config/omarchy/themes/; done - -# Set initial theme -mkdir -p ~/.config/omarchy/current -ln -snf ~/.config/omarchy/themes/tokyo-night ~/.config/omarchy/current/theme -ln -snf ~/.config/omarchy/current/theme/backgrounds/1-scenery-pink-lakeside-sunset-lake-landscape-scenic-panorama-7680x3215-144.png ~/.config/omarchy/current/background - -# Set specific app links for current theme -ln -snf ~/.config/omarchy/current/theme/neovim.lua ~/.config/nvim/lua/plugins/theme.lua - -mkdir -p ~/.config/btop/themes -ln -snf ~/.config/omarchy/current/theme/btop.theme ~/.config/btop/themes/current.theme - -mkdir -p ~/.config/mako -ln -snf ~/.config/omarchy/current/theme/mako.ini ~/.config/mako/config - -mkdir -p ~/.config/eza -ln -snf ~/.config/omarchy/current/theme/eza.yml ~/.config/eza/theme.yml - -# Add managed policy directories for Chromium and Brave for theme changes -sudo mkdir -p /etc/chromium/policies/managed -sudo chmod a+rw /etc/chromium/policies/managed - -sudo mkdir -p /etc/brave/policies/managed -sudo chmod a+rw /etc/brave/policies/managed diff --git a/install/config/timezones.sh b/install/config/timezones.sh deleted file mode 100644 index 24e96a0..0000000 --- a/install/config/timezones.sh +++ /dev/null @@ -1,5 +0,0 @@ -# Ensure timezone can be updated without needing to sudo -sudo tee /etc/sudoers.d/omarchy-tzupdate >/dev/null </dev/null < : "$OMARCHY_USER_NAME" - : "$OMARCHY_USER_EMAIL" -EOF diff --git a/install/first-run/battery-monitor.sh b/install/first-run/battery-monitor.sh deleted file mode 100644 index 89e0ed9..0000000 --- a/install/first-run/battery-monitor.sh +++ /dev/null @@ -1,10 +0,0 @@ -if ls /sys/class/power_supply/BAT* &>/dev/null; then - # This computer runs on a battery - powerprofilesctl set balanced || true - - # Enable battery monitoring timer for low battery notifications - systemctl --user enable --now omarchy-battery-monitor.timer -else - # This computer runs on power outlet - powerprofilesctl set performance || true -fi diff --git a/install/first-run/firewall.sh b/install/first-run/firewall.sh deleted file mode 100644 index a38f5a5..0000000 --- a/install/first-run/firewall.sh +++ /dev/null @@ -1,23 +0,0 @@ -# Allow nothing in, everything out -sudo ufw default deny incoming -sudo ufw default allow outgoing - -# Allow ports for LocalSend -sudo ufw allow 53317/udp -sudo ufw allow 53317/tcp - -# Allow SSH in -sudo ufw allow 22/tcp - -# Allow Docker containers to use DNS on host -sudo ufw allow in proto udp from 172.16.0.0/12 to 172.17.0.1 port 53 comment 'allow-docker-dns' - -# Turn on the firewall -sudo ufw --force enable - -# Enable UFW systemd service to start on boot -sudo systemctl enable ufw - -# Turn on Docker protections -sudo ufw-docker install -sudo ufw reload diff --git a/install/first-run/gnome-theme.sh b/install/first-run/gnome-theme.sh deleted file mode 100644 index 2936312..0000000 --- a/install/first-run/gnome-theme.sh +++ /dev/null @@ -1,5 +0,0 @@ -gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark" -gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" -gsettings set org.gnome.desktop.interface icon-theme "Yaru-blue" - -sudo gtk-update-icon-cache /usr/share/icons/Yaru diff --git a/install/first-run/welcome.sh b/install/first-run/welcome.sh deleted file mode 100644 index 3b84661..0000000 --- a/install/first-run/welcome.sh +++ /dev/null @@ -1,2 +0,0 @@ -notify-send "๏€ก Update System" "When you have internet, click to update the system." -u critical -notify-send "๐Ÿ‘‹ Welcome to Omarchy" "You're in for a great computing adventure. Have fun!" -t 30000 diff --git a/install/first-run/wifi.sh b/install/first-run/wifi.sh deleted file mode 100644 index 9d391f1..0000000 --- a/install/first-run/wifi.sh +++ /dev/null @@ -1,3 +0,0 @@ -if ! ping -c3 -W1 1.1.1.1 >/dev/null 2>&1; then - notify-send "๓ฐ–ฉ Click to Setup Wi-Fi" "Tab between sections, space selects, ? for help." -u critical -t 30000 -fi diff --git a/install/helpers/all.sh b/install/helpers/all.sh deleted file mode 100644 index 0fc4810..0000000 --- a/install/helpers/all.sh +++ /dev/null @@ -1,4 +0,0 @@ -source $OMARCHY_INSTALL/helpers/chroot.sh -source $OMARCHY_INSTALL/helpers/presentation.sh -source $OMARCHY_INSTALL/helpers/errors.sh -source $OMARCHY_INSTALL/helpers/logging.sh diff --git a/install/helpers/chroot.sh b/install/helpers/chroot.sh deleted file mode 100644 index ab61972..0000000 --- a/install/helpers/chroot.sh +++ /dev/null @@ -1,11 +0,0 @@ -# Starting the installer with OMARCHY_CHROOT_INSTALL=1 will put it into chroot mode -chrootable_systemctl_enable() { - if [ -n "${OMARCHY_CHROOT_INSTALL:-}" ]; then - sudo systemctl enable $1 - else - sudo systemctl enable --now $1 - fi -} - -# Export the function so it's available in subshells -export -f chrootable_systemctl_enable diff --git a/install/helpers/errors.sh b/install/helpers/errors.sh deleted file mode 100644 index 2b63409..0000000 --- a/install/helpers/errors.sh +++ /dev/null @@ -1,163 +0,0 @@ -# Directs user to Omarchy Discord -QR_CODE=' -โ–ˆโ–€โ–€โ–€โ–€โ–€โ–ˆ โ–„ โ–„ โ–€โ–„โ–„โ–„โ–ˆ โ–ˆโ–€โ–€โ–€โ–€โ–€โ–ˆ -โ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆ โ–„โ–„โ–„โ–„โ–€โ–„โ–€โ–„โ–€ โ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆ -โ–ˆ โ–€โ–€โ–€ โ–ˆ โ–„โ–ˆ โ–„โ–ˆโ–„โ–„โ–€ โ–ˆ โ–€โ–€โ–€ โ–ˆ -โ–€โ–€โ–€โ–€โ–€โ–€โ–€ โ–€โ–„โ–ˆ โ–ˆ โ–ˆ โ–ˆ โ–€โ–€โ–€โ–€โ–€โ–€โ–€ -โ–€โ–€โ–ˆโ–€โ–€โ–„โ–€โ–€โ–€โ–€โ–„โ–ˆโ–€โ–€โ–ˆ โ–€ โ–ˆ โ–€ โ–ˆ -โ–ˆโ–„โ–ˆ โ–„โ–„โ–€โ–„โ–„ โ–€ โ–„ โ–€โ–ˆโ–„โ–„โ–„โ–„ โ–€ โ–€โ–ˆ -โ–„ โ–„โ–€โ–ˆ โ–€โ–„โ–€โ–€โ–€โ–„ โ–„โ–ˆโ–€โ–„โ–ˆโ–€โ–„โ–€โ–„โ–€โ–ˆโ–€ -โ–ˆ โ–„โ–„โ–ˆโ–„โ–€โ–„โ–ˆ โ–„โ–„โ–„ โ–€ โ–„โ–€โ–ˆโ–ˆโ–€ โ–€โ–ˆ -โ–€ โ–€ โ–€ โ–ˆ โ–€โ–„ โ–€โ–€โ–ˆโ–€โ–€โ–€โ–ˆโ–„โ–€ -โ–ˆโ–€โ–€โ–€โ–€โ–€โ–ˆ โ–€โ–ˆ โ–„โ–€โ–€ โ–ˆ โ–€ โ–ˆโ–„โ–€โ–ˆโ–ˆ -โ–ˆ โ–ˆโ–ˆโ–ˆ โ–ˆ โ–ˆโ–€โ–„โ–„โ–€ โ–ˆโ–€โ–ˆโ–ˆโ–ˆโ–€โ–ˆโ–„โ–ˆโ–ˆโ–„ -โ–ˆ โ–€โ–€โ–€ โ–ˆ โ–ˆโ–ˆ โ–€ โ–ˆโ–„โ–ˆ โ–„โ–„โ–„โ–ˆโ–€ โ–ˆ -โ–€โ–€โ–€โ–€โ–€โ–€โ–€ โ–€ โ–€ โ–€โ–€โ–€ โ–€ โ–€โ–€โ–€โ–€โ–€โ–€' - -# Track if we're already handling an error to prevent double-trapping -ERROR_HANDLING=false - -# Cursor is usually hidden while we install -show_cursor() { - printf "\033[?25h" -} - -# Display truncated log lines from the install log -show_log_tail() { - if [[ -f $OMARCHY_INSTALL_LOG_FILE ]]; then - local log_lines=$(($TERM_HEIGHT - $LOGO_HEIGHT - 35)) - local max_line_width=$((LOGO_WIDTH - 4)) - - tail -n $log_lines "$OMARCHY_INSTALL_LOG_FILE" | while IFS= read -r line; do - if ((${#line} > max_line_width)); then - local truncated_line="${line:0:$max_line_width}..." - else - local truncated_line="$line" - fi - - gum style "$truncated_line" - done - - echo - fi -} - -# Display the failed command or script name -show_failed_script_or_command() { - if [[ -n ${CURRENT_SCRIPT:-} ]]; then - gum style "Failed script: $CURRENT_SCRIPT" - else - # Truncate long command lines to fit the display - local cmd="$BASH_COMMAND" - local max_cmd_width=$((LOGO_WIDTH - 4)) - - if ((${#cmd} > max_cmd_width)); then - cmd="${cmd:0:$max_cmd_width}..." - fi - - gum style "$cmd" - fi -} - -# Save original stdout and stderr for trap to use -save_original_outputs() { - exec 3>&1 4>&2 -} - -# Restore stdout and stderr to original (saved in FD 3 and 4) -# This ensures output goes to screen, not log file -restore_outputs() { - if [ -e /proc/self/fd/3 ] && [ -e /proc/self/fd/4 ]; then - exec 1>&3 2>&4 - fi -} - -# Error handler -catch_errors() { - # Prevent recursive error handling - if [[ $ERROR_HANDLING == true ]]; then - return - else - ERROR_HANDLING=true - fi - - # Store exit code immediately before it gets overwritten - local exit_code=$? - - stop_log_output - restore_outputs - - clear_logo - show_cursor - - gum style --foreground 1 --padding "1 0 1 $PADDING_LEFT" "Omarchy installation stopped!" - show_log_tail - - gum style "This command halted with exit code $exit_code:" - show_failed_script_or_command - - gum style "$QR_CODE" - echo - gum style "Get help from the community via QR code or at https://discord.gg/tXFUdasqhY" - - # Offer options menu - while true; do - options=() - - # If online install, show retry first - if [[ -n ${OMARCHY_ONLINE_INSTALL:-} ]]; then - options+=("Retry installation") - fi - - # Add upload option if internet is available - if ping -c 1 -W 1 1.1.1.1 >/dev/null 2>&1; then - options+=("Upload log for support") - fi - - # Add remaining options - options+=("View full log") - options+=("Exit") - - choice=$(gum choose "${options[@]}" --header "What would you like to do?" --height 6 --padding "1 $PADDING_LEFT") - - case "$choice" in - "Retry installation") - bash ~/.local/share/omarchy/install.sh - break - ;; - "View full log") - if command -v less &>/dev/null; then - less "$OMARCHY_INSTALL_LOG_FILE" - else - tail "$OMARCHY_INSTALL_LOG_FILE" - fi - ;; - "Upload log for support") - omarchy-upload-install-log - ;; - "Exit" | "") - exit 1 - ;; - esac - done -} - -# Exit handler - ensures cleanup happens on any exit -exit_handler() { - local exit_code=$? - - # Only run if we're exiting with an error and haven't already handled it - if [[ $exit_code -ne 0 && $ERROR_HANDLING != true ]]; then - catch_errors - else - stop_log_output - show_cursor - fi -} - -# Set up traps -trap catch_errors ERR INT TERM -trap exit_handler EXIT - -# Save original outputs in case we trap -save_original_outputs diff --git a/install/helpers/logging.sh b/install/helpers/logging.sh deleted file mode 100644 index 4ebe2a9..0000000 --- a/install/helpers/logging.sh +++ /dev/null @@ -1,134 +0,0 @@ -start_log_output() { - local ANSI_SAVE_CURSOR="\033[s" - local ANSI_RESTORE_CURSOR="\033[u" - local ANSI_CLEAR_LINE="\033[2K" - local ANSI_HIDE_CURSOR="\033[?25l" - local ANSI_RESET="\033[0m" - local ANSI_GRAY="\033[90m" - - # Save cursor position and hide cursor - printf $ANSI_SAVE_CURSOR - printf $ANSI_HIDE_CURSOR - - ( - local log_lines=20 - local max_line_width=$((LOGO_WIDTH - 4)) - - while true; do - # Read the last N lines into an array - mapfile -t current_lines < <(tail -n $log_lines "$OMARCHY_INSTALL_LOG_FILE" 2>/dev/null) - - # Build complete output buffer with escape sequences - output="" - for ((i = 0; i < log_lines; i++)); do - line="${current_lines[i]:-}" - - # Truncate if needed - if [ ${#line} -gt $max_line_width ]; then - line="${line:0:$max_line_width}..." - fi - - # Add clear line escape and formatted output for each line - if [ -n "$line" ]; then - output+="${ANSI_CLEAR_LINE}${ANSI_GRAY}${PADDING_LEFT_SPACES} โ†’ ${line}${ANSI_RESET}\n" - else - output+="${ANSI_CLEAR_LINE}${PADDING_LEFT_SPACES}\n" - fi - done - - printf "${ANSI_RESTORE_CURSOR}%b" "$output" - - sleep 0.1 - done - ) & - monitor_pid=$! -} - -stop_log_output() { - if [ -n "${monitor_pid:-}" ]; then - kill $monitor_pid 2>/dev/null || true - wait $monitor_pid 2>/dev/null || true - unset monitor_pid - fi -} - -start_install_log() { - sudo touch "$OMARCHY_INSTALL_LOG_FILE" - sudo chmod 666 "$OMARCHY_INSTALL_LOG_FILE" - - export OMARCHY_START_TIME=$(date '+%Y-%m-%d %H:%M:%S') - - echo "=== Omarchy Installation Started: $OMARCHY_START_TIME ===" >>"$OMARCHY_INSTALL_LOG_FILE" - start_log_output -} - -stop_install_log() { - stop_log_output - show_cursor - - if [[ -n ${OMARCHY_INSTALL_LOG_FILE:-} ]]; then - OMARCHY_END_TIME=$(date '+%Y-%m-%d %H:%M:%S') - echo "=== Omarchy Installation Completed: $OMARCHY_END_TIME ===" >>"$OMARCHY_INSTALL_LOG_FILE" - echo "" >>"$OMARCHY_INSTALL_LOG_FILE" - echo "=== Installation Time Summary ===" >>"$OMARCHY_INSTALL_LOG_FILE" - - if [ -f "/var/log/archinstall/install.log" ]; then - ARCHINSTALL_START=$(grep -m1 '^\[' /var/log/archinstall/install.log 2>/dev/null | sed 's/^\[\([^]]*\)\].*/\1/' || true) - ARCHINSTALL_END=$(grep 'Installation completed without any errors' /var/log/archinstall/install.log 2>/dev/null | sed 's/^\[\([^]]*\)\].*/\1/' || true) - - if [ -n "$ARCHINSTALL_START" ] && [ -n "$ARCHINSTALL_END" ]; then - ARCH_START_EPOCH=$(date -d "$ARCHINSTALL_START" +%s) - ARCH_END_EPOCH=$(date -d "$ARCHINSTALL_END" +%s) - ARCH_DURATION=$((ARCH_END_EPOCH - ARCH_START_EPOCH)) - - ARCH_MINS=$((ARCH_DURATION / 60)) - ARCH_SECS=$((ARCH_DURATION % 60)) - - echo "Archinstall: ${ARCH_MINS}m ${ARCH_SECS}s" >>"$OMARCHY_INSTALL_LOG_FILE" - fi - fi - - if [ -n "$OMARCHY_START_TIME" ]; then - OMARCHY_START_EPOCH=$(date -d "$OMARCHY_START_TIME" +%s) - OMARCHY_END_EPOCH=$(date -d "$OMARCHY_END_TIME" +%s) - OMARCHY_DURATION=$((OMARCHY_END_EPOCH - OMARCHY_START_EPOCH)) - - OMARCHY_MINS=$((OMARCHY_DURATION / 60)) - OMARCHY_SECS=$((OMARCHY_DURATION % 60)) - - echo "Omarchy: ${OMARCHY_MINS}m ${OMARCHY_SECS}s" >>"$OMARCHY_INSTALL_LOG_FILE" - - if [ -n "$ARCH_DURATION" ]; then - TOTAL_DURATION=$((ARCH_DURATION + OMARCHY_DURATION)) - TOTAL_MINS=$((TOTAL_DURATION / 60)) - TOTAL_SECS=$((TOTAL_DURATION % 60)) - echo "Total: ${TOTAL_MINS}m ${TOTAL_SECS}s" >>"$OMARCHY_INSTALL_LOG_FILE" - fi - fi - echo "=================================" >>"$OMARCHY_INSTALL_LOG_FILE" - - echo "Rebooting system..." >>"$OMARCHY_INSTALL_LOG_FILE" - fi -} - -run_logged() { - local script="$1" - - export CURRENT_SCRIPT="$script" - - echo "[$(date '+%Y-%m-%d %H:%M:%S')] Starting: $script" >>"$OMARCHY_INSTALL_LOG_FILE" - - # Use bash -c to create a clean subshell - bash -c "source '$script'" >"$OMARCHY_INSTALL_LOG_FILE" 2>&1 - - local exit_code=$? - - if [ $exit_code -eq 0 ]; then - echo "[$(date '+%Y-%m-%d %H:%M:%S')] Completed: $script" >>"$OMARCHY_INSTALL_LOG_FILE" - unset CURRENT_SCRIPT - else - echo "[$(date '+%Y-%m-%d %H:%M:%S')] Failed: $script (exit code: $exit_code)" >>"$OMARCHY_INSTALL_LOG_FILE" - fi - - return $exit_code -} diff --git a/install/helpers/presentation.sh b/install/helpers/presentation.sh deleted file mode 100644 index 70cab2e..0000000 --- a/install/helpers/presentation.sh +++ /dev/null @@ -1,48 +0,0 @@ -# Ensure we have gum available -if ! command -v gum &>/dev/null; then - sudo pacman -S --needed --noconfirm gum -fi - -# Get terminal size from /dev/tty (works in all scenarios: direct, sourced, or piped) -if [ -e /dev/tty ]; then - TERM_SIZE=$(stty size 2>/dev/null max) max = length } END { print max+0 }' "$LOGO_PATH" 2>/dev/null || echo 0) -export LOGO_HEIGHT=$(wc -l <"$LOGO_PATH" 2>/dev/null || echo 0) - -export PADDING_LEFT=$((($TERM_WIDTH - $LOGO_WIDTH) / 2)) -export PADDING_LEFT_SPACES=$(printf "%*s" $PADDING_LEFT "") - -# Tokyo Night theme for gum confirm -export GUM_CONFIRM_PROMPT_FOREGROUND="6" # Cyan for prompt -export GUM_CONFIRM_SELECTED_FOREGROUND="0" # Black text on selected -export GUM_CONFIRM_SELECTED_BACKGROUND="2" # Green background for selected -export GUM_CONFIRM_UNSELECTED_FOREGROUND="7" # White for unselected -export GUM_CONFIRM_UNSELECTED_BACKGROUND="0" # Black background for unselected -export PADDING="0 0 0 $PADDING_LEFT" # Gum Style -export GUM_CHOOSE_PADDING="$PADDING" -export GUM_FILTER_PADDING="$PADDING" -export GUM_INPUT_PADDING="$PADDING" -export GUM_SPIN_PADDING="$PADDING" -export GUM_TABLE_PADDING="$PADDING" -export GUM_CONFIRM_PADDING="$PADDING" - -clear_logo() { - printf "\033[H\033[2J" # Clear screen and move cursor to top-left - gum style --foreground 2 --padding "1 0 0 $PADDING_LEFT" "$(<"$LOGO_PATH")" -} diff --git a/install/iso.sh b/install/iso.sh deleted file mode 100644 index 7676ccc..0000000 --- a/install/iso.sh +++ /dev/null @@ -1,14 +0,0 @@ -# Called by Omarchy ISO setup before starting configurator and archinstall - -source "$OMARCHY_INSTALL/preflight/set-size-vars.sh" -source "$OMARCHY_INSTALL/helpers/logo.sh" -source "$OMARCHY_INSTALL/preflight/gum.sh" -source "$OMARCHY_INSTALL/helpers/tail-log-output.sh" -source "$OMARCHY_INSTALL/helpers/trap-errors.sh" - -source $OMARCHY_INSTALL/helpers/chroot.sh -source $OMARCHY_INSTALL/helpers/logo.sh -source $OMARCHY_INSTALL/helpers/gum.sh -source $OMARCHY_INSTALL/helpers/errors.sh -source $OMARCHY_INSTALL/helpers/logging.sh -source $OMARCHY_INSTALL/helpers/layout.sh diff --git a/install/login/all.sh b/install/login/all.sh deleted file mode 100644 index e4be282..0000000 --- a/install/login/all.sh +++ /dev/null @@ -1,4 +0,0 @@ -run_logged $OMARCHY_INSTALL/login/plymouth.sh -run_logged $OMARCHY_INSTALL/login/limine-snapper.sh -run_logged $OMARCHY_INSTALL/login/enable-mkinitcpio.sh -run_logged $OMARCHY_INSTALL/login/alt-bootloaders.sh diff --git a/install/login/alt-bootloaders.sh b/install/login/alt-bootloaders.sh deleted file mode 100644 index bb35d9b..0000000 --- a/install/login/alt-bootloaders.sh +++ /dev/null @@ -1,115 +0,0 @@ -if ! command -v limine &>/dev/null; then - # Add kernel hooks - if ! grep -Eq '^HOOKS=.*plymouth' /etc/mkinitcpio.conf; then - # Backup original mkinitcpio.conf just in case - backup_timestamp=$(date +"%Y%m%d%H%M%S") - sudo cp /etc/mkinitcpio.conf "/etc/mkinitcpio.conf.bak.${backup_timestamp}" - - # Add plymouth to HOOKS array after 'base udev' or 'base systemd' - if grep "^HOOKS=" /etc/mkinitcpio.conf | grep -q "base systemd"; then - sudo sed -i '/^HOOKS=/s/base systemd/base systemd plymouth/' /etc/mkinitcpio.conf - elif grep "^HOOKS=" /etc/mkinitcpio.conf | grep -q "base udev"; then - sudo sed -i '/^HOOKS=/s/base udev/base udev plymouth/' /etc/mkinitcpio.conf - else - echo "Couldn't add the Plymouth hook" - fi - - # Regenerate initramfs - sudo mkinitcpio -P - fi - - # Add kernel parameters for Plymouth - if [ -d "/boot/loader/entries" ]; then # systemd-boot - echo "Detected systemd-boot" - - for entry in /boot/loader/entries/*.conf; do - if [ -f "$entry" ]; then - # Skip fallback entries - if [[ "$(basename "$entry")" == *"fallback"* ]]; then - echo "Skipped: $(basename "$entry") (fallback entry)" - continue - fi - - # Skip if splash it already present for some reason - if ! grep -q "splash" "$entry"; then - sudo sed -i '/^options/ s/$/ splash quiet/' "$entry" - else - echo "Skipped: $(basename "$entry") (splash already present)" - fi - fi - done - elif [ -f "/etc/default/grub" ]; then # Grub - echo "Detected grub" - - # Backup GRUB config before modifying - backup_timestamp=$(date +"%Y%m%d%H%M%S") - sudo cp /etc/default/grub "/etc/default/grub.bak.${backup_timestamp}" - - # Check if splash is already in GRUB_CMDLINE_LINUX_DEFAULT - if ! grep -q "GRUB_CMDLINE_LINUX_DEFAULT.*splash" /etc/default/grub; then - # Get current GRUB_CMDLINE_LINUX_DEFAULT value - current_cmdline=$(grep "^GRUB_CMDLINE_LINUX_DEFAULT=" /etc/default/grub | cut -d'"' -f2) - - # Add splash and quiet if not present - new_cmdline="$current_cmdline" - if [[ ! "$current_cmdline" =~ splash ]]; then - new_cmdline="$new_cmdline splash" - fi - if [[ ! "$current_cmdline" =~ quiet ]]; then - new_cmdline="$new_cmdline quiet" - fi - - # Trim any leading/trailing spaces - new_cmdline=$(echo "$new_cmdline" | xargs) - - sudo sed -i "s/^GRUB_CMDLINE_LINUX_DEFAULT=\".*\"/GRUB_CMDLINE_LINUX_DEFAULT=\"$new_cmdline\"/" /etc/default/grub - - # Regenerate grub config - sudo grub-mkconfig -o /boot/grub/grub.cfg - else - echo "GRUB already configured with splash kernel parameters" - fi - elif [ -d "/etc/cmdline.d" ]; then # UKI - echo "Detected a UKI setup" - # Relying on mkinitcpio to assemble a UKI - # https://wiki.archlinux.org/title/Unified_kernel_image - if ! grep -q splash /etc/cmdline.d/*.conf; then - # Need splash, create the omarchy file - echo "splash" | sudo tee -a /etc/cmdline.d/omarchy.conf - fi - if ! grep -q quiet /etc/cmdline.d/*.conf; then - # Need quiet, create or append the omarchy file - echo "quiet" | sudo tee -a /etc/cmdline.d/omarchy.conf - fi - elif [ -f "/etc/kernel/cmdline" ]; then # UKI Alternate - # Alternate UKI kernel cmdline location - echo "Detected a UKI setup" - - # Backup kernel cmdline config before modifying - backup_timestamp=$(date +"%Y%m%d%H%M%S") - sudo cp /etc/kernel/cmdline "/etc/kernel/cmdline.bak.${backup_timestamp}" - - current_cmdline=$(cat /etc/kernel/cmdline) - - # Add splash and quiet if not present - new_cmdline="$current_cmdline" - if [[ ! "$current_cmdline" =~ splash ]]; then - new_cmdline="$new_cmdline splash" - fi - if [[ ! "$current_cmdline" =~ quiet ]]; then - new_cmdline="$new_cmdline quiet" - fi - - # Trim any leading/trailing spaces - new_cmdline=$(echo "$new_cmdline" | xargs) - - # Write new file - echo $new_cmdline | sudo tee /etc/kernel/cmdline - else - echo "" - echo " None of systemd-boot, GRUB, or UKI detected. Please manually add these kernel parameters:" - echo " - splash (to see the graphical splash screen)" - echo " - quiet (for silent boot)" - echo "" - fi -fi diff --git a/install/login/enable-mkinitcpio.sh b/install/login/enable-mkinitcpio.sh deleted file mode 100644 index 7422d8d..0000000 --- a/install/login/enable-mkinitcpio.sh +++ /dev/null @@ -1,18 +0,0 @@ -echo "Re-enabling mkinitcpio hooks..." - -# Restore the specific mkinitcpio pacman hooks -if [ -f /usr/share/libalpm/hooks/90-mkinitcpio-install.hook.disabled ]; then - sudo mv /usr/share/libalpm/hooks/90-mkinitcpio-install.hook.disabled /usr/share/libalpm/hooks/90-mkinitcpio-install.hook -fi - -if [ -f /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook.disabled ]; then - sudo mv /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook.disabled /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook -fi - -echo "mkinitcpio hooks re-enabled" - -if command -v limine &>/dev/null; then - sudo limine-update -else - sudo mkinitcpio -P -fi diff --git a/install/login/limine-snapper.sh b/install/login/limine-snapper.sh deleted file mode 100644 index 2d9dc29..0000000 --- a/install/login/limine-snapper.sh +++ /dev/null @@ -1,108 +0,0 @@ -if command -v limine &>/dev/null; then - sudo tee /etc/mkinitcpio.conf.d/omarchy_hooks.conf </dev/null -HOOKS=(base udev plymouth keyboard autodetect microcode modconf kms keymap consolefont block encrypt filesystems fsck btrfs-overlayfs) -EOF - - [[ -f /boot/EFI/limine/limine.conf ]] || [[ -f /boot/EFI/BOOT/limine.conf ]] && EFI=true - - # Conf location is different between EFI and BIOS - if [[ -n "$EFI" ]]; then - # Check USB location first, then regular EFI location - if [[ -f /boot/EFI/BOOT/limine.conf ]]; then - limine_config="/boot/EFI/BOOT/limine.conf" - else - limine_config="/boot/EFI/limine/limine.conf" - fi - else - limine_config="/boot/limine/limine.conf" - fi - - # Double-check and exit if we don't have a config file for some reason - if [[ ! -f $limine_config ]]; then - echo "Error: Limine config not found at $limine_config" >&2 - exit 1 - fi - - CMDLINE=$(grep "^[[:space:]]*cmdline:" "$limine_config" | head -1 | sed 's/^[[:space:]]*cmdline:[[:space:]]*//') - - sudo tee /etc/default/limine </dev/null -TARGET_OS_NAME="Omarchy" - -ESP_PATH="/boot" - -KERNEL_CMDLINE[default]="$CMDLINE" -KERNEL_CMDLINE[default]+="quiet splash" - -ENABLE_UKI=yes - -ENABLE_LIMINE_FALLBACK=yes - -# Find and add other bootloaders -FIND_BOOTLOADERS=yes - -BOOT_ORDER="*, *fallback, Snapshots" - -MAX_SNAPSHOT_ENTRIES=5 - -SNAPSHOT_FORMAT_CHOICE=5 -EOF - - # UKI and EFI fallback are EFI only - if [[ -z $EFI ]]; then - sudo sed -i '/^ENABLE_UKI=/d; /^ENABLE_LIMINE_FALLBACK=/d' /etc/default/limine - fi - - # We overwrite the whole thing knowing the limine-update will add the entries for us - sudo tee /boot/limine.conf </dev/null -### Read more at config document: https://github.com/limine-bootloader/limine/blob/trunk/CONFIG.md -#timeout: 3 -default_entry: 2 -interface_branding: Omarchy Bootloader -interface_branding_color: 2 -hash_mismatch_panic: no - -term_background: 1a1b26 -backdrop: 1a1b26 - -# Terminal colors (Tokyo Night palette) -term_palette: 15161e;f7768e;9ece6a;e0af68;7aa2f7;bb9af7;7dcfff;a9b1d6 -term_palette_bright: 414868;f7768e;9ece6a;e0af68;7aa2f7;bb9af7;7dcfff;c0caf5 - -# Text colors -term_foreground: c0caf5 -term_foreground_bright: c0caf5 -term_background_bright: 24283b - -EOF - - sudo pacman -S --noconfirm --needed limine-snapper-sync limine-mkinitcpio-hook - - # Match Snapper configs if not installing from the ISO - if [[ -z ${OMARCHY_CHROOT_INSTALL:-} ]]; then - if ! sudo snapper list-configs 2>/dev/null | grep -q "root"; then - sudo snapper -c root create-config / - fi - - if ! sudo snapper list-configs 2>/dev/null | grep -q "home"; then - sudo snapper -c home create-config /home - fi - fi - - # Tweak default Snapper configs - sudo sed -i 's/^TIMELINE_CREATE="yes"/TIMELINE_CREATE="no"/' /etc/snapper/configs/{root,home} - sudo sed -i 's/^NUMBER_LIMIT="50"/NUMBER_LIMIT="5"/' /etc/snapper/configs/{root,home} - sudo sed -i 's/^NUMBER_LIMIT_IMPORTANT="10"/NUMBER_LIMIT_IMPORTANT="5"/' /etc/snapper/configs/{root,home} - - chrootable_systemctl_enable limine-snapper-sync.service -fi - -# Add UKI entry to UEFI machines to skip bootloader showing on normal boot -if [[ -n $EFI ]] && efibootmgr &>/dev/null && ! efibootmgr | grep -q Omarchy && - ! cat /sys/class/dmi/id/bios_vendor 2>/dev/null | grep -qi "American Megatrends" && - ! cat /sys/class/dmi/id/bios_vendor 2>/dev/null | grep -qi "Apple"; then - sudo efibootmgr --create \ - --disk "$(findmnt -n -o SOURCE /boot | sed 's/p\?[0-9]*$//')" \ - --part "$(findmnt -n -o SOURCE /boot | grep -o 'p\?[0-9]*$' | sed 's/^p//')" \ - --label "Omarchy" \ - --loader "\\EFI\\Linux\\$(cat /etc/machine-id)_linux.efi" -fi diff --git a/install/login/plymouth.sh b/install/login/plymouth.sh deleted file mode 100644 index 72102f2..0000000 --- a/install/login/plymouth.sh +++ /dev/null @@ -1,151 +0,0 @@ -# Hyprland launched via UWSM and login directly as user, rely on disk encryption + hyprlock for security - -# ============================================================================== -# PLYMOUTH SETUP -# ============================================================================== - -if [ "$(plymouth-set-default-theme)" != "omarchy" ]; then - sudo cp -r "$HOME/.local/share/omarchy/default/plymouth" /usr/share/plymouth/themes/omarchy/ - sudo plymouth-set-default-theme omarchy -fi - -# ============================================================================== -# SEAMLESS LOGIN -# ============================================================================== - -if [ ! -x /usr/local/bin/seamless-login ]; then - # Compile the seamless login helper -- needed to prevent seeing terminal between loader and desktop - cat <<'CCODE' >/tmp/seamless-login.c -/* -* Seamless Login - Minimal SDDM-style Plymouth transition -* Replicates SDDM's VT management for seamless auto-login -*/ -#include -#include -#include -#include -#include -#include -#include -#include -#include - -int main(int argc, char *argv[]) { - int vt_fd; - int vt_num = 1; // TTY1 - char vt_path[32]; - - if (argc < 2) { - fprintf(stderr, "Usage: %s \n", argv[0]); - return 1; - } - - // Open the VT (simple approach like SDDM) - snprintf(vt_path, sizeof(vt_path), "/dev/tty%d", vt_num); - vt_fd = open(vt_path, O_RDWR); - if (vt_fd < 0) { - perror("Failed to open VT"); - return 1; - } - - // Activate the VT - if (ioctl(vt_fd, VT_ACTIVATE, vt_num) < 0) { - perror("VT_ACTIVATE failed"); - close(vt_fd); - return 1; - } - - // Wait for VT to be active - if (ioctl(vt_fd, VT_WAITACTIVE, vt_num) < 0) { - perror("VT_WAITACTIVE failed"); - close(vt_fd); - return 1; - } - - // Critical: Set graphics mode to prevent console text - if (ioctl(vt_fd, KDSETMODE, KD_GRAPHICS) < 0) { - perror("KDSETMODE KD_GRAPHICS failed"); - close(vt_fd); - return 1; - } - - // Clear VT and close (like SDDM does) - const char *clear_seq = "\33[H\33[2J"; - if (write(vt_fd, clear_seq, strlen(clear_seq)) < 0) { - perror("Failed to clear VT"); - } - - close(vt_fd); - - // Set working directory to user's home - const char *home = getenv("HOME"); - if (home) chdir(home); - - // Now execute the session command - execvp(argv[1], &argv[1]); - perror("Failed to exec session"); - return 1; -} -CCODE - - gcc -o /tmp/seamless-login /tmp/seamless-login.c - sudo mv /tmp/seamless-login /usr/local/bin/seamless-login - sudo chmod +x /usr/local/bin/seamless-login - rm /tmp/seamless-login.c -fi - -if [ ! -f /etc/systemd/system/omarchy-seamless-login.service ]; then - cat </dev/null; then - echo - TOTAL_TIME=$(tail -n 20 "$OMARCHY_INSTALL_LOG_FILE" | grep "^Total:" | sed 's/^Total:[[:space:]]*//') - if [ -n "$TOTAL_TIME" ]; then - echo_in_style "Installed in $TOTAL_TIME" - fi -else - echo_in_style "Finished installing" -fi - -if sudo test -f /etc/sudoers.d/99-omarchy-installer; then - sudo rm -f /etc/sudoers.d/99-omarchy-installer &>/dev/null - echo - echo_in_style "Remember to remove USB installer!" -fi - -# Exit gracefully if user chooses not to reboot -if gum confirm --padding "0 0 0 $((PADDING_LEFT + 32))" --show-help=false --default --affirmative "Reboot Now" --negative "" ""; then - # Clear screen to hide any shutdown messages - clear - - # Use systemctl if available, otherwise fallback to reboot command - if command -v systemctl &>/dev/null; then - systemctl reboot --no-wall 2>/dev/null - else - reboot 2>/dev/null - fi -fi diff --git a/install/post-install/pacman.sh b/install/post-install/pacman.sh deleted file mode 100644 index c91a2c9..0000000 --- a/install/post-install/pacman.sh +++ /dev/null @@ -1,12 +0,0 @@ -# Configure pacman -sudo cp -f ~/.local/share/omarchy/default/pacman/pacman.conf /etc/pacman.conf -sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist - -if lspci -nn | grep -q "106b:180[12]"; then - cat </dev/null - -[arch-mact2] -Server = https://github.com/NoaHimesaka1873/arch-mact2-mirror/releases/download/release -SigLevel = Never -EOF -fi diff --git a/install/preflight/all.sh b/install/preflight/all.sh deleted file mode 100644 index 8835465..0000000 --- a/install/preflight/all.sh +++ /dev/null @@ -1,7 +0,0 @@ -source $OMARCHY_INSTALL/preflight/guard.sh -source $OMARCHY_INSTALL/preflight/begin.sh -run_logged $OMARCHY_INSTALL/preflight/show-env.sh -run_logged $OMARCHY_INSTALL/preflight/pacman.sh -run_logged $OMARCHY_INSTALL/preflight/migrations.sh -run_logged $OMARCHY_INSTALL/preflight/first-run-mode.sh -run_logged $OMARCHY_INSTALL/preflight/disable-mkinitcpio.sh diff --git a/install/preflight/begin.sh b/install/preflight/begin.sh deleted file mode 100644 index f83a7c3..0000000 --- a/install/preflight/begin.sh +++ /dev/null @@ -1,4 +0,0 @@ -clear_logo -gum style --foreground 3 --padding "1 0 0 $PADDING_LEFT" "Installing..." -echo -start_install_log diff --git a/install/preflight/disable-mkinitcpio.sh b/install/preflight/disable-mkinitcpio.sh deleted file mode 100644 index a1979c8..0000000 --- a/install/preflight/disable-mkinitcpio.sh +++ /dev/null @@ -1,16 +0,0 @@ -# Temporarily disable mkinitcpio hooks to prevent multiple regenerations during package installation -# This speeds up installation significantly - -echo "Temporarily disabling mkinitcpio hooks during installation..." - -# Move the specific mkinitcpio pacman hooks out of the way if they exist -if [ -f /usr/share/libalpm/hooks/90-mkinitcpio-install.hook ]; then - sudo mv /usr/share/libalpm/hooks/90-mkinitcpio-install.hook /usr/share/libalpm/hooks/90-mkinitcpio-install.hook.disabled -fi - -if [ -f /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook ]; then - sudo mv /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook /usr/share/libalpm/hooks/60-mkinitcpio-remove.hook.disabled -fi - -echo "mkinitcpio hooks disabled" - diff --git a/install/preflight/first-run-mode.sh b/install/preflight/first-run-mode.sh deleted file mode 100644 index 4464949..0000000 --- a/install/preflight/first-run-mode.sh +++ /dev/null @@ -1,13 +0,0 @@ -# Set first-run mode marker so we can install stuff post-installation -mkdir -p ~/.local/state/omarchy -touch ~/.local/state/omarchy/first-run.mode - -# Setup sudo-less access for first-run -sudo tee /etc/sudoers.d/first-run >/dev/null </dev/null && abort "Fresh + Vanilla Arch" -pacman -Qe plasma-desktop &>/dev/null && abort "Fresh + Vanilla Arch" - -# Cleared all guards -echo "Guards: OK" diff --git a/install/preflight/migrations.sh b/install/preflight/migrations.sh deleted file mode 100644 index 27819d1..0000000 --- a/install/preflight/migrations.sh +++ /dev/null @@ -1,6 +0,0 @@ -OMARCHY_MIGRATIONS_STATE_PATH=~/.local/state/omarchy/migrations -mkdir -p $OMARCHY_MIGRATIONS_STATE_PATH - -for file in ~/.local/share/omarchy/migrations/*.sh; do - touch "$OMARCHY_MIGRATIONS_STATE_PATH/$(basename "$file")" -done diff --git a/install/preflight/pacman.sh b/install/preflight/pacman.sh deleted file mode 100644 index 1d9a2f2..0000000 --- a/install/preflight/pacman.sh +++ /dev/null @@ -1,11 +0,0 @@ -if [[ -n ${OMARCHY_ONLINE_INSTALL:-} ]]; then - # Install build tools - sudo pacman -S --needed --noconfirm base-devel - - # Configure pacman - sudo cp -f ~/.local/share/omarchy/default/pacman/pacman.conf /etc/pacman.conf - sudo cp -f ~/.local/share/omarchy/default/pacman/mirrorlist /etc/pacman.d/mirrorlist - - # Refresh all repos - sudo pacman -Syu --noconfirm -fi diff --git a/install/preflight/show-env.sh b/install/preflight/show-env.sh deleted file mode 100644 index 1a9319d..0000000 --- a/install/preflight/show-env.sh +++ /dev/null @@ -1,6 +0,0 @@ -# Show installation environment variables -gum log --level info "Installation Environment:" - -env | grep -E "^(OMARCHY_CHROOT_INSTALL|OMARCHY_ONLINE_INSTALL|OMARCHY_USER_NAME|OMARCHY_USER_EMAIL|USER|HOME|OMARCHY_REPO|OMARCHY_REF|OMARCHY_PATH)=" | sort | while IFS= read -r var; do - gum log --level info " $var" -done diff --git a/migrations/1751134560.sh b/migrations/1751134560.sh deleted file mode 100644 index d34a2b6..0000000 --- a/migrations/1751134560.sh +++ /dev/null @@ -1,15 +0,0 @@ -echo "Add UWSM env" - -export OMARCHY_PATH="$HOME/.local/share/omarchy" -export PATH="$OMARCHY_PATH/bin:$PATH" - -mkdir -p "$HOME/.config/uwsm/" -omarchy-refresh-config uwsm/env - -echo -e "\n\e[31mOmarchy bins have been added to PATH (and OMARCHY_PATH is now system-wide).\nYou must immediately relaunch Hyprland or most Omarchy cmds won't work.\nPlease run Omarchy > Update again after the quick relaunch is complete.\e[0m" -echo - -mkdir -p ~/.local/state/omarchy/migrations -gum confirm "Ready to relaunch Hyprland? (All applications will be closed)" && - touch ~/.local/state/omarchy/migrations/1751134560.sh && - uwsm stop diff --git a/migrations/1751134561.sh b/migrations/1751134561.sh deleted file mode 100644 index 46a7ebf..0000000 --- a/migrations/1751134561.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Add Omarchy Package Repository" - -omarchy-refresh-pacman-mirrorlist - -if ! grep -q "omarchy" /etc/pacman.conf; then - sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\n' /etc/pacman.conf - sudo systemctl restart systemd-timesyncd - sudo pacman -Syu --noconfirm -fi diff --git a/migrations/1751134568.sh b/migrations/1751134568.sh deleted file mode 100644 index 14c8f41..0000000 --- a/migrations/1751134568.sh +++ /dev/null @@ -1,8 +0,0 @@ -# Turn on bluetooth service so blueberry works out the box -echo "Let's turn on Bluetooth service so the controls work" -if systemctl is-enabled --quiet bluetooth.service && systemctl is-active --quiet bluetooth.service; then - # Bluetooth is already enabled, nothing to change - : -else - sudo systemctl enable --now bluetooth.service -fi diff --git a/migrations/1751135253.sh b/migrations/1751135253.sh deleted file mode 100644 index c076657..0000000 --- a/migrations/1751135253.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add missing installation of bat (used by the ff alias)" - -omarchy-pkg-add bat diff --git a/migrations/1751225707.sh b/migrations/1751225707.sh deleted file mode 100644 index 1638777..0000000 --- a/migrations/1751225707.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Fixing persistent workspaces in waybar config" - -if [[ -f ~/.config/waybar/config ]]; then - sed -i 's/"persistent_workspaces":/"persistent-workspaces":/' ~/.config/waybar/config - omarchy-restart-waybar -fi diff --git a/migrations/1751510848.sh b/migrations/1751510848.sh deleted file mode 100644 index 6b289d4..0000000 --- a/migrations/1751510848.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Installing missing fd terminal tool for finding files" - -omarchy-pkg-add fd diff --git a/migrations/1751667620.sh b/migrations/1751667620.sh deleted file mode 100644 index d93c600..0000000 --- a/migrations/1751667620.sh +++ /dev/null @@ -1,22 +0,0 @@ -echo "Switching from vlc to mpv for the default video player" -if omarchy-cmd-missing mpv; then - omarchy-pkg-drop vlc - rm ~/.local/share/applications/vlc.desktop - - omarchy-pkg-add mpv - xdg-mime default mpv.desktop video/mp4 - xdg-mime default mpv.desktop video/x-msvideo - xdg-mime default mpv.desktop video/x-matroska - xdg-mime default mpv.desktop video/x-flv - xdg-mime default mpv.desktop video/x-ms-wmv - xdg-mime default mpv.desktop video/mpeg - xdg-mime default mpv.desktop video/ogg - xdg-mime default mpv.desktop video/webm - xdg-mime default mpv.desktop video/quicktime - xdg-mime default mpv.desktop video/3gpp - xdg-mime default mpv.desktop video/3gpp2 - xdg-mime default mpv.desktop video/x-ms-asf - xdg-mime default mpv.desktop video/x-ogm+ogg - xdg-mime default mpv.desktop video/x-theora+ogg - xdg-mime default mpv.desktop application/ogg -fi diff --git a/migrations/1751669258.sh b/migrations/1751669258.sh deleted file mode 100644 index fc83f3a..0000000 --- a/migrations/1751669258.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Ensure Docker config is set" -if [[ ! -f /etc/docker/daemon.json ]]; then - sudo mkdir -p /etc/docker - echo '{"log-driver":"json-file","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json -fi diff --git a/migrations/1751672984.sh b/migrations/1751672984.sh deleted file mode 100644 index b2d9ecb..0000000 --- a/migrations/1751672984.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add LocalSend as new default application" - -omarchy-pkg-add localsend diff --git a/migrations/1751679069.sh b/migrations/1751679069.sh deleted file mode 100644 index abe68a4..0000000 --- a/migrations/1751679069.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Install ffmpegthumbnailer for video thumbnails in the file manager" - -omarchy-pkg-add ffmpegthumbnailer diff --git a/migrations/1751821819.sh b/migrations/1751821819.sh deleted file mode 100644 index dc282c2..0000000 --- a/migrations/1751821819.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Install bash-completion" - -omarchy-pkg-add bash-completion diff --git a/migrations/1751887718.sh b/migrations/1751887718.sh deleted file mode 100644 index 3d3f401..0000000 --- a/migrations/1751887718.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Install Impala as new wifi selection TUI" - -if omarchy-cmd-missing impala; then - omarchy-pkg-add impala - omarchy-refresh-waybar -fi diff --git a/migrations/1752081088.sh b/migrations/1752081088.sh deleted file mode 100644 index 727988f..0000000 --- a/migrations/1752081088.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Permanently fix F-keys on Apple-mode keyboards (like Lofree Flow84)" - -source $OMARCHY_PATH/install/config/hardware/fix-fkeys.sh diff --git a/migrations/1752082381.sh b/migrations/1752082381.sh deleted file mode 100644 index e351fd9..0000000 --- a/migrations/1752082381.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Adding gnome-keyring to make 1password work with 2FA codes" - -omarchy-pkg-add gnome-keyring diff --git a/migrations/1752091783.sh b/migrations/1752091783.sh deleted file mode 100644 index b8b5306..0000000 --- a/migrations/1752091783.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Install Plymouth splash screen" - -omarchy-pkg-add uwsm plymouth -source "$OMARCHY_PATH/install/login/plymouth.sh" diff --git a/migrations/1752104271.sh b/migrations/1752104271.sh deleted file mode 100644 index dcbda81..0000000 --- a/migrations/1752104271.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Switching to polkit-gnome for better fingerprint authentication compatibility" - -if ! command -v /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &>/dev/null; then - sudo pacman -S --noconfirm --needed polkit-gnome - systemctl --user stop hyprpolkitagent - systemctl --user disable hyprpolkitagent - sudo pacman -Rns --noconfirm hyprpolkitagent - setsid /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & -fi diff --git a/migrations/1752153188.sh b/migrations/1752153188.sh deleted file mode 100644 index ec4beea..0000000 --- a/migrations/1752153188.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Migrate to the modular implementation of hyprlock" - -if [ -L ~/.config/hypr/hyprlock.conf ]; then - rm ~/.config/hypr/hyprlock.conf - cp ~/.local/share/omarchy/config/hypr/hyprlock.conf ~/.config/hypr/hyprlock.conf -fi diff --git a/migrations/1752168292.sh b/migrations/1752168292.sh deleted file mode 100644 index 0f52913..0000000 --- a/migrations/1752168292.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Enable battery low notifications for laptops" - -if ls /sys/class/power_supply/BAT* &>/dev/null && [[ ! -f ~/.local/share/omarchy/config/systemd/user/omarchy-battery-monitor.service ]]; then - mkdir -p ~/.config/systemd/user - - cp ~/.local/share/omarchy/config/systemd/user/omarchy-battery-monitor.* ~/.config/systemd/user/ - - systemctl --user daemon-reload - systemctl --user enable --now omarchy-battery-monitor.timer || true -fi diff --git a/migrations/1752188554.sh b/migrations/1752188554.sh deleted file mode 100644 index 13c5d54..0000000 --- a/migrations/1752188554.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Update chromium.desktop to ensure we are always using wayland" - -xdg-settings set default-web-browser chromium.desktop -xdg-mime default chromium.desktop x-scheme-handler/http -xdg-mime default chromium.desktop x-scheme-handler/https diff --git a/migrations/1752251002.sh b/migrations/1752251002.sh deleted file mode 100644 index cea7a61..0000000 --- a/migrations/1752251002.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Migrate to the modular, variable-based implementation of waybar style.css" - -if [ -L ~/.config/waybar/style.css ]; then - rm ~/.config/waybar/style.css - cp ~/.local/share/omarchy/config/waybar/style.css ~/.config/waybar/style.css -fi diff --git a/migrations/1752292967.sh b/migrations/1752292967.sh deleted file mode 100644 index d587fc4..0000000 --- a/migrations/1752292967.sh +++ /dev/null @@ -1,19 +0,0 @@ -echo "Update to use UWSM and seamless login" - -if omarchy-cmd-missing uwsm; then - sudo rm -f /etc/systemd/system/getty@tty1.service.d/override.conf - sudo rmdir /etc/systemd/system/getty@tty1.service.d/ 2>/dev/null || true - - if [ -f "$HOME/.bash_profile" ]; then - # Remove the specific line - sed -i '/^\[\[ -z \$DISPLAY && \$(tty) == \/dev\/tty1 \]\] && exec Hyprland$/d' "$HOME/.bash_profile" - echo "Cleaned up .bash_profile" - fi - - if [ -f "$HOME/.config/environment.d/fcitx.conf" ]; then - echo "Removing GTK_IM_MODULE from fcitx config for Wayland..." - sed -i 's/^GTK_IM_MODULE=fcitx$//' "$HOME/.config/environment.d/fcitx.conf" - fi - - source $OMARCHY_PATH/install/login/plymouth.sh -fi diff --git a/migrations/1752365998.sh b/migrations/1752365998.sh deleted file mode 100644 index 5b759f6..0000000 --- a/migrations/1752365998.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Add override to only require one network interface to be online" - -if [[ ! -f /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf ]]; then - sudo mkdir -p /etc/systemd/system/systemd-networkd-wait-online.service.d - sudo tee /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf >/dev/null </dev/null & -fi diff --git a/migrations/1753176520.sh b/migrations/1753176520.sh deleted file mode 100644 index 186b8a7..0000000 --- a/migrations/1753176520.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Install wf-recorder for screen recording for nvidia" - -omarchy-pkg-add wf-recorder diff --git a/migrations/1753224615.sh b/migrations/1753224615.sh deleted file mode 100644 index cd6c797..0000000 --- a/migrations/1753224615.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Adding SwayOSD theming" - -if [[ ! -d ~/.config/swayosd ]]; then - mkdir -p ~/.config/swayosd - cp -r ~/.local/share/omarchy/config/swayosd/* ~/.config/swayosd/ - - pkill swayosd-server - setsid uwsm app -- swayosd-server &>/dev/null & -fi diff --git a/migrations/1753286633.sh b/migrations/1753286633.sh deleted file mode 100644 index 5c7f2cf..0000000 --- a/migrations/1753286633.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Increase lockout limit to 10, decrease timeout to 2 minutes" - -if ! grep -q 'deny=10' /etc/pam.d/system-auth; then - sudo sed -i 's|^\(auth\s\+required\s\+pam_faillock.so\)\s\+preauth.*$|\1 preauth silent deny=10 unlock_time=120|' "/etc/pam.d/system-auth" - sudo sed -i 's|^\(auth\s\+\[default=die\]\s\+pam_faillock.so\)\s\+authfail.*$|\1 authfail deny=10 unlock_time=120|' "/etc/pam.d/system-auth" -fi diff --git a/migrations/1753302134.sh b/migrations/1753302134.sh deleted file mode 100644 index 022ce56..0000000 --- a/migrations/1753302134.sh +++ /dev/null @@ -1,8 +0,0 @@ -echo "Reload Waybar on unlock to prevent stacking" - -if ! grep -q 'on_unlock_cmd *= *pkill -SIGUSR2 waybar' ~/.config/hypr/hypridle.conf; then - sed -i '/^general[[:space:]]*{/,/^}/ { - /on_unlock_cmd *=/d - /^}$/ i\ on_unlock_cmd = pkill -SIGUSR2 waybar # prevent stacking of waybar when waking - }' ~/.config/hypr/hypridle.conf -fi diff --git a/migrations/1753495989.sh b/migrations/1753495989.sh deleted file mode 100644 index 119b432..0000000 --- a/migrations/1753495989.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Allow updating of timezone by right-clicking on the clock (or running omarchy-cmd-tzupdate)" - -if omarchy-cmd-missing tzupdate; then - bash "$OMARCHY_PATH/install/config/timezones.sh" - omarchy-refresh-waybar -fi diff --git a/migrations/1753683888.sh b/migrations/1753683888.sh deleted file mode 100644 index ca08d7b..0000000 --- a/migrations/1753683888.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Adding Omarchy version info to fastfetch" -if ! grep -q "omarchy" ~/.config/fastfetch/config.jsonc; then - cp ~/.local/share/omarchy/config/fastfetch/config.jsonc ~/.config/fastfetch/ -fi - diff --git a/migrations/1753689791.sh b/migrations/1753689791.sh deleted file mode 100644 index d7c3145..0000000 --- a/migrations/1753689791.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Add the new ristretto theme as an option" - -if [[ ! -L ~/.config/omarchy/themes/ristretto ]]; then - ln -nfs ~/.local/share/omarchy/themes/ristretto ~/.config/omarchy/themes/ -fi diff --git a/migrations/1753908454.sh b/migrations/1753908454.sh deleted file mode 100644 index 8b60324..0000000 --- a/migrations/1753908454.sh +++ /dev/null @@ -1,12 +0,0 @@ -echo "Migrate from manually downloaded fonts to font packages" -if ! pacman -Q ttf-cascadia-mono-nerd &>/dev/null; then - sudo pacman -S --noconfirm ttf-cascadia-mono-nerd - rm -rf ~/.local/share/fonts/Caskaydia* - fc-cache -fi - -if ! pacman -Q ttf-ia-writer &>/dev/null; then - sudo pacman -S --noconfirm ttf-ia-writer - rm -rf ~/.local/share/fonts/iAWriterMonoS* - fc-cache -fi diff --git a/migrations/1754047941.sh b/migrations/1754047941.sh deleted file mode 100644 index 2e51f3e..0000000 --- a/migrations/1754047941.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Add icon theme coloring" - -if ! pacman -Q yaru-icon-theme &>/dev/null; then - sudo pacman -S --noconfirm yaru-icon-theme - - if [[ -f ~/.config/omarchy/current/theme/icons.theme ]]; then - gsettings set org.gnome.desktop.interface icon-theme "$(<~/.config/omarchy/current/theme/icons.theme)" - fi -fi diff --git a/migrations/1754108993.sh b/migrations/1754108993.sh deleted file mode 100644 index 59531e7..0000000 --- a/migrations/1754108993.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo "Fix Plymouth login positioning in multi-monitor setups + limit password from overflowing" -omarchy-refresh-plymouth diff --git a/migrations/1754109724.sh b/migrations/1754109724.sh deleted file mode 100644 index dc39bbd..0000000 --- a/migrations/1754109724.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Add hyprsunset blue light filter" -if ! command -v hyprsunset &>/dev/null; then - sudo pacman -S --noconfirm --needed hyprsunset -fi - -omarchy-refresh-hyprsunset diff --git a/migrations/1754113760.sh b/migrations/1754113760.sh deleted file mode 100644 index f66c1a4..0000000 --- a/migrations/1754113760.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Change reload Waybar on unlock command to prevent stacking" - -if ! grep -q 'on_unlock_cmd *= *omarchy-restart-waybar' ~/.config/hypr/hypridle.conf; then - sed -i \ - '/^ on_unlock_cmd = pkill -SIGUSR2 waybar[[:space:]]*# prevent stacking of waybar when waking$/c\ - on_unlock_cmd = omarchy-restart-waybar # prevent stacking of waybar when waking' \ - ~/.config/hypr/hypridle.conf - - omarchy-restart-waybar -fi diff --git a/migrations/1754133148.sh b/migrations/1754133148.sh deleted file mode 100644 index 30294ab..0000000 --- a/migrations/1754133148.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Update Waybar CSS to dim unused workspaces" - -if ! grep -q "#workspaces button\.empty" ~/.config/waybar/style.css; then - omarchy-refresh-config waybar/style.css - omarchy-restart-waybar -fi diff --git a/migrations/1754136581.sh b/migrations/1754136581.sh deleted file mode 100644 index d2c78b9..0000000 --- a/migrations/1754136581.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Start screensaver automatically after 1 minute and stop before locking" - -if ! grep -q "omarchy-launch-screensaver" ~/.config/hypr/hypridle.conf; then - omarchy-refresh-hypridle - omarchy-refresh-hyprlock -fi diff --git a/migrations/1754215533.sh b/migrations/1754215533.sh deleted file mode 100644 index 2657b62..0000000 --- a/migrations/1754215533.sh +++ /dev/null @@ -1,17 +0,0 @@ -echo "Enable auto-discovery of network printers" - -if [[ ! -f /etc/systemd/resolved.conf.d/10-disable-multicast.conf ]]; then - omarchy-pkg-add avahi nss-mdns - - # Disable multicast dns in resolved. Avahi will provide this for better network printer discovery - sudo mkdir -p /etc/systemd/resolved.conf.d - echo "[Resolve]\nMulticastDNS=no" | sudo tee /etc/systemd/resolved.conf.d/10-disable-multicast.conf - sudo systemctl enable --now avahi-daemon.service -fi - -if ! grep -q '^CreateRemotePrinters Yes' /etc/cups/cups-browsed.conf; then - omarchy-pkg-add cups-browsed - # Enable automatically adding remote printers - echo 'CreateRemotePrinters Yes' | sudo tee -a /etc/cups/cups-browsed.conf - sudo systemctl enable --now cups-browsed.service -fi diff --git a/migrations/1754221967.sh b/migrations/1754221967.sh deleted file mode 100644 index b1e42b7..0000000 --- a/migrations/1754221967.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add support for accessing Android phone data via file manager" - -omarchy-pkg-add gvfs-mtp diff --git a/migrations/1754228071.sh b/migrations/1754228071.sh deleted file mode 100644 index e7b69b1..0000000 --- a/migrations/1754228071.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Add auto-update icon to waybar when update available" - -if ! grep -q "custom/update" ~/.config/waybar/config.jsonc; then - omarchy-refresh-waybar -fi diff --git a/migrations/1754302123.sh b/migrations/1754302123.sh deleted file mode 100644 index b9b72ee..0000000 --- a/migrations/1754302123.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Change update-available icon in top bar from ๎Œป to ๏€ก" - -if grep -q '"format": "๎Œป",' ~/.config/waybar/config.jsonc; then - sed -i 's/"format": "๎Œป"/"format": "๏€ก"/' ~/.config/waybar/config.jsonc -fi diff --git a/migrations/1754331529.sh b/migrations/1754331529.sh deleted file mode 100644 index ae92aae..0000000 --- a/migrations/1754331529.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Update Waybar for new Omarchy menu" - -if ! grep -q "๏‡Ž" ~/.config/waybar/config.jsonc; then - omarchy-refresh-waybar -fi diff --git a/migrations/1754332200.sh b/migrations/1754332200.sh deleted file mode 100644 index 4e92daa..0000000 --- a/migrations/1754332200.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Remove old Omarchy TUI app now that we have the Omarchy Menu" - -rm -f ~/.local/share/applications/omarchy.desktop diff --git a/migrations/1754389057.sh b/migrations/1754389057.sh deleted file mode 100644 index cd591fc..0000000 --- a/migrations/1754389057.sh +++ /dev/null @@ -1,11 +0,0 @@ -echo "Offer to reorganize hyprland.conf as per new defaults" - -if [[ ! -f ~/.config/hypr/autostarts.conf ]]; then - echo -e "\nOmarchy now splits default .config/hypr/hyprland.conf into sub-configs." - echo -e "Resetting to defaults will overwrite your configuration, but save it as .bak.\n" - if gum confirm "Use new default hyprland.conf config?"; then - omarchy-refresh-hyprland || true - else - echo "Left your existing configuration in place!" - fi -fi diff --git a/migrations/1754390772.sh b/migrations/1754390772.sh deleted file mode 100644 index 86c95d6..0000000 --- a/migrations/1754390772.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Set SwayOSD max volume back to 100" - -if ! grep -q "max_volume = 100" ~/.config/swayosd/config.toml; then - sed -i 's/max_volume = 150/max_volume = 100/' ~/.config/swayosd/config.toml - omarchy-restart-swayosd -fi diff --git a/migrations/1754509222.sh b/migrations/1754509222.sh deleted file mode 100644 index 48f3c85..0000000 --- a/migrations/1754509222.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add xmlstarlet needed for updating fonts via Omarchy menu" - -omarchy-pkg-add xmlstarlet diff --git a/migrations/1754514972.sh b/migrations/1754514972.sh deleted file mode 100644 index 787d8bc..0000000 --- a/migrations/1754514972.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Fix multicast dns config for printers" - -echo -e "[Resolve]\nMulticastDNS=no" | sudo tee /etc/systemd/resolved.conf.d/10-disable-multicast.conf diff --git a/migrations/1754515289.sh b/migrations/1754515289.sh deleted file mode 100644 index 23f4db5..0000000 --- a/migrations/1754515289.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Update and restart Walker to resolve stuck Omarchy menu" - -sudo pacman -Syu --noconfirm walker-bin -omarchy-restart-walker diff --git a/migrations/1754566681.sh b/migrations/1754566681.sh deleted file mode 100644 index 56d54af..0000000 --- a/migrations/1754566681.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "Make new Osaka Jade theme available as new default" - -if [[ ! -L ~/.config/omarchy/themes/osaka-jade ]]; then - rm -rf ~/.config/omarchy/themes/osaka-jade - git -C ~/.local/share/omarchy checkout -f themes/osaka-jade - ln -nfs ~/.local/share/omarchy/themes/osaka-jade ~/.config/omarchy/themes/osaka-jade -fi diff --git a/migrations/1754568612.sh b/migrations/1754568612.sh deleted file mode 100644 index 827eee0..0000000 --- a/migrations/1754568612.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Update Waybar config to fix path issue with update-available icon click" - -if grep -q "alacritty --class Omarchy --title Omarchy -e omarchy-update" ~/.config/waybar/config.jsonc; then - sed -i 's|\("on-click": "alacritty --class Omarchy --title Omarchy -e \)omarchy-update"|\1omarchy-update"|' ~/.config/waybar/config.jsonc - omarchy-restart-waybar -fi diff --git a/migrations/1754652760.sh b/migrations/1754652760.sh deleted file mode 100644 index 0f62a5f..0000000 --- a/migrations/1754652760.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Fix the expand icon margin in the Waybar style" - -omarchy-refresh-config waybar/style.css diff --git a/migrations/1754668999.sh b/migrations/1754668999.sh deleted file mode 100644 index 7361dcd..0000000 --- a/migrations/1754668999.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Tune MTU probing for more reliable SSH" - -echo "net.ipv4.tcp_mtu_probing=1" | sudo tee -a /etc/sysctl.d/99-sysctl.conf diff --git a/migrations/1754856741.sh b/migrations/1754856741.sh deleted file mode 100644 index e6ef2be..0000000 --- a/migrations/1754856741.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Disable systemd-networkd-wait-online" - -sudo rm -rf /etc/systemd/system/systemd-networkd-wait-online.service.d/wait-for-only-one-interface.conf -sudo systemctl disable systemd-networkd-wait-online.service -sudo systemctl mask systemd-networkd-wait-online.service diff --git a/migrations/1754860578.sh b/migrations/1754860578.sh deleted file mode 100644 index c384c7a..0000000 --- a/migrations/1754860578.sh +++ /dev/null @@ -1,27 +0,0 @@ -echo "Update polkit policy to yield to fingerprint and fido2" - -# If fprint exists in polkit, it was wrong and needs reset -if [ -f /etc/pam.d/polkit-1 ] && grep -Fq 'pam_fprintd.so' /etc/pam.d/polkit-1; then - sudo tee /etc/pam.d/polkit-1 >/dev/null <<'EOF' -auth sufficient pam_fprintd.so -auth required pam_unix.so - -account required pam_unix.so -password required pam_unix.so -session required pam_unix.so -EOF -fi - -# If fido2 is in sudo, it won't be in polkit either way -if grep -q pam_u2f.so /etc/pam.d/sudo && [ -f /etc/pam.d/polkit-1 ] && ! grep -q 'pam_u2f.so' /etc/pam.d/polkit-1; then - sudo sed -i '1i auth sufficient pam_u2f.so cue authfile=/etc/fido2/fido2' /etc/pam.d/polkit-1 -elif grep -q pam_u2f.so /etc/pam.d/sudo && [ ! -f /etc/pam.d/polkit-1 ]; then - sudo tee /etc/pam.d/polkit-1 >/dev/null <<'EOF' -auth sufficient pam_u2f.so cue authfile=/etc/fido2/fido2 -auth required pam_unix.so - -account required pam_unix.so -password required pam_unix.so -session required pam_unix.so -EOF -fi diff --git a/migrations/1754919057.sh b/migrations/1754919057.sh deleted file mode 100644 index b065bbc..0000000 --- a/migrations/1754919057.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Improve tooltip for Omarchy menu icon" - -if grep -q "SUPER + ALT + SPACE" ~/.config/waybar/config.jsonc; then - sed -i 's/SUPER + ALT + SPACE/Omarchy Menu\\n\\nSuper + Alt + Space/' ~/.config/waybar/config.jsonc -fi diff --git a/migrations/1754929475.sh b/migrations/1754929475.sh deleted file mode 100644 index ac4f650..0000000 --- a/migrations/1754929475.sh +++ /dev/null @@ -1,32 +0,0 @@ -echo "Add start burst limit to login" - -if [ -f /etc/systemd/system/omarchy-seamless-login.service ]; then - cat </dev/null; then - echo "$NEW_CONFIG" | sudo tee /etc/docker/daemon.json >/dev/null - fi - - # Expose systemd-resolved to our Docker network - echo -e '[Resolve]\nDNSStubListenerExtra=172.17.0.1' | sudo tee /etc/systemd/resolved.conf.d/20-docker-dns.conf >/dev/null - - sudo systemctl restart systemd-resolved - sudo systemctl restart docker -fi diff --git a/migrations/1754996869.sh b/migrations/1754996869.sh deleted file mode 100644 index d2be16b..0000000 --- a/migrations/1754996869.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Increase sudo attempts limit to 10" - -source $OMARCHY_PATH/install/config/increase-sudo-tries.sh diff --git a/migrations/1755109182.sh b/migrations/1755109182.sh deleted file mode 100644 index 1908b94..0000000 --- a/migrations/1755109182.sh +++ /dev/null @@ -1,31 +0,0 @@ -echo "Reset DNS configuration to DHCP (remove forced Cloudflare DNS)" - -# Reset DNS to use DHCP by default instead of forcing Cloudflare -# This preserves local development environments (.local domains, etc.) -# Users can still opt-in to Cloudflare DNS using: omarchy-setup-dns cloudflare - -if [ -f /etc/systemd/resolved.conf ]; then - # Backup current config with timestamp - backup_timestamp=$(date +"%Y%m%d%H%M%S") - sudo cp /etc/systemd/resolved.conf "/etc/systemd/resolved.conf.bak.${backup_timestamp}" - - # Remove explicit DNS entries to use DHCP - sudo sed -i '/^DNS=/d' /etc/systemd/resolved.conf - sudo sed -i '/^FallbackDNS=/d' /etc/systemd/resolved.conf - - # Add empty DNS entries to ensure DHCP is used - echo "DNS=" | sudo tee -a /etc/systemd/resolved.conf >/dev/null - echo "FallbackDNS=" | sudo tee -a /etc/systemd/resolved.conf >/dev/null - - # Remove any forced DNS config from systemd-networkd - if [ -f /etc/systemd/network/99-omarchy-dns.network ]; then - sudo rm -f /etc/systemd/network/99-omarchy-dns.network - sudo systemctl restart systemd-networkd - fi - - # Restart systemd-resolved to apply changes - sudo systemctl restart systemd-resolved - - echo "DNS configuration reset to use DHCP (router DNS)" - echo "To use Cloudflare DNS, run: omarchy-setup-dns Cloudflare" -fi \ No newline at end of file diff --git a/migrations/1755139080.sh b/migrations/1755139080.sh deleted file mode 100644 index 7632570..0000000 --- a/migrations/1755139080.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Ensure fcitx5 does not overwrite xkb layout" - -FCITX5_CONF_DIR="$HOME/.config/fcitx5/conf" -FCITX5_XCB_CONF="$FCITX5_CONF_DIR/xcb.conf" - -if [[ ! -f $FCITX5_XCB_CONF ]]; then - mkdir -p "$FCITX5_CONF_DIR" - cp "$OMARCHY_PATH/config/fcitx5/conf/xcb.conf" "$FCITX5_XCB_CONF" -fi diff --git a/migrations/1755164105.sh b/migrations/1755164105.sh deleted file mode 100644 index e4a3f38..0000000 --- a/migrations/1755164105.sh +++ /dev/null @@ -1,24 +0,0 @@ -echo "Switch to Omarchy Chromium for synchronized theme switching" - -if omarchy-cmd-present chromium; then - set_theme_colors() { - if [[ -f ~/.config/omarchy/current/theme/chromium.theme ]]; then - chromium --no-startup-window --set-theme-color="$(<~/.config/omarchy/current/theme/chromium.theme)" - else - # Use a default, neutral grey if theme doesn't have a color - chromium --no-startup-window --set-theme-color="28,32,39" - fi - } - - omarchy-pkg-drop chromium - omarchy-pkg-add omarchy-chromium - - if pgrep -x chromium; then - if gum confirm "Chromium must be restarted. Ready?"; then - pkill -x chromium - set_theme_colors - fi - else - set_theme_colors - fi -fi diff --git a/migrations/1755208929.sh b/migrations/1755208929.sh deleted file mode 100644 index 527f7c0..0000000 --- a/migrations/1755208929.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Change behaviour of XF86PowerOff button to show omarchy system menu insead of shutting down immediately" - -source $OMARCHY_PATH/install/config/hardware/ignore-power-button.sh -setsid systemd-inhibit --what=handle-power-key --why="Temporary disable power button before restart" sleep infinity & diff --git a/migrations/1755340533.sh b/migrations/1755340533.sh deleted file mode 100644 index b94ec59..0000000 --- a/migrations/1755340533.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Add .config/brave-flags.conf by default to ensure Brave runs under Wayland" - -if [[ ! -f ~/.config/brave-flags.conf ]]; then - cp $OMARCHY_PATH/config/brave-flags.conf ~/.config/ -fi diff --git a/migrations/1755436367.sh b/migrations/1755436367.sh deleted file mode 100644 index e7c8970..0000000 --- a/migrations/1755436367.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Add minimal starship prompt to terminal" - -if omarchy-cmd-missing starship; then - omarchy-pkg-add starship - cp $OMARCHY_PATH/config/starship.toml ~/.config/starship.toml -fi diff --git a/migrations/1755455095.sh b/migrations/1755455095.sh deleted file mode 100644 index 2a929fe..0000000 --- a/migrations/1755455095.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Ensure TTE and dependencies are installed" - -omarchy-pkg-add python-poetry-core python-terminaltexteffects diff --git a/migrations/1755459930.sh b/migrations/1755459930.sh deleted file mode 100644 index 73af324..0000000 --- a/migrations/1755459930.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add potentially missing dependency for power profile controls" - -omarchy-pkg-add python-gobject diff --git a/migrations/1755494432.sh b/migrations/1755494432.sh deleted file mode 100644 index ae6cbc4..0000000 --- a/migrations/1755494432.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Disable USB autosuspend" - -bash "$OMARCHY_PATH/install/config/hardware/usb-autosuspend.sh" diff --git a/migrations/1755507891.sh b/migrations/1755507891.sh deleted file mode 100644 index 2811440..0000000 --- a/migrations/1755507891.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -echo "Migrating to use omarchy-launch-webapp and omarchy-launch-browser" -for desktop_file in ~/.local/share/applications/*.desktop; do - if grep -q 'Exec=chromium --new-window --ozone-platform=wayland --app=' "$desktop_file"; then - url=$(grep '^Exec=' "$desktop_file" | sed -n 's/.*--app="\?\([^"]*\)"\?.*/\1/p') - - if [[ -n "$url" ]]; then - sed -i "s|^Exec=.*|Exec=omarchy-launch-webapp \"$url\"|" "$desktop_file" - fi - fi -done - -echo "Updating Hyprland bindings" -HYPR_BINDINGS_FILE="$HOME/.config/hypr/bindings.conf" -if [ -f "$HYPR_BINDINGS_FILE" ]; then - sed -i 's/\$browser =.*chromium.*$/\$browser = omarchy-launch-browser/' "$HYPR_BINDINGS_FILE" - sed -i 's/\$webapp="/omarchy-launch-webapp "/g' "$HYPR_BINDINGS_FILE" - sed -i '/^\$webapp = \$browser --app/d' "$HYPR_BINDINGS_FILE" -fi - diff --git a/migrations/1755548643.sh b/migrations/1755548643.sh deleted file mode 100644 index f98b730..0000000 --- a/migrations/1755548643.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Install wf-recorder for intel based device" - -omarchy-pkg-add wf-recorder diff --git a/migrations/1755795450.sh b/migrations/1755795450.sh deleted file mode 100644 index 3e2b3e6..0000000 --- a/migrations/1755795450.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Ensure latest uwsm is installed" - -sudo pacman -Syu --noconfirm uwsm diff --git a/migrations/1755865046.sh b/migrations/1755865046.sh deleted file mode 100644 index c48962e..0000000 --- a/migrations/1755865046.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Switch from lazydocker-bin to lazydocker official" - -omarchy-pkg-drop lazydocker-bin -omarchy-pkg-add lazydocker diff --git a/migrations/1755867743.sh b/migrations/1755867743.sh deleted file mode 100644 index 4da313a..0000000 --- a/migrations/1755867743.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Copy Omarchy logo to ~/.config/omarchy/branding/screensaver.txt so screensaver can be personalized" - -mkdir -p ~/.config/omarchy/branding -cp $OMARCHY_PATH/logo.txt ~/.config/omarchy/branding/screensaver.txt diff --git a/migrations/1755870033.sh b/migrations/1755870033.sh deleted file mode 100644 index fde865b..0000000 --- a/migrations/1755870033.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Use current terminal shell cwd for new terminal working directories" - -if ! grep -q "working-directory" ~/.config/hypr/bindings.conf; then - sed -i '/bindd = SUPER, return, Terminal, exec, \$terminal/ s|$| --working-directory=$(omarchy-cmd-terminal-cwd)|' ~/.config/hypr/bindings.conf -fi diff --git a/migrations/1755904244.sh b/migrations/1755904244.sh deleted file mode 100644 index 4d935cf..0000000 --- a/migrations/1755904244.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Update fastfetch config with new Omarchy logo" - -omarchy-refresh-config fastfetch/config.jsonc - -mkdir -p ~/.config/omarchy/branding -cp $OMARCHY_PATH/icon.txt ~/.config/omarchy/branding/about.txt diff --git a/migrations/1755920552.sh b/migrations/1755920552.sh deleted file mode 100644 index 665da17..0000000 --- a/migrations/1755920552.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Use verbose package lists for pacman" - -sudo sed -i '/^ILoveCandy$/a VerbosePkgLists' /etc/pacman.conf diff --git a/migrations/1755930114.sh b/migrations/1755930114.sh deleted file mode 100644 index fd491d6..0000000 --- a/migrations/1755930114.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Add new Omarchy Menu icon to Waybar" - -mkdir -p ~/.local/share/fonts -cp ~/.local/share/omarchy/config/omarchy.ttf ~/.local/share/fonts/ -fc-cache diff --git a/migrations/1756060611.sh b/migrations/1756060611.sh deleted file mode 100644 index b1bc95d..0000000 --- a/migrations/1756060611.sh +++ /dev/null @@ -1,21 +0,0 @@ -echo "Migrate AUR packages to official repos where possible" - -reinstall_package_opr() { - if omarchy-pkg-present $1; then - sudo pacman -Rns --noconfirm $1 - sudo pacman -S --noconfirm ${2:-$1} - fi -} - -omarchy-pkg-drop yay-bin-debug - -reinstall_package_opr yay-bin yay -reinstall_package_opr obsidian-bin obsidian -reinstall_package_opr localsend-bin localsend -reinstall_package_opr omarchy-chromium-bin omarchy-chromium -reinstall_package_opr walker-bin -reinstall_package_opr wl-screenrec -reinstall_package_opr python-terminaltexteffects -reinstall_package_opr tzupdate -reinstall_package_opr typora -reinstall_package_opr ttf-ia-writer diff --git a/migrations/1756115364.sh b/migrations/1756115364.sh deleted file mode 100644 index a7c3925..0000000 --- a/migrations/1756115364.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Replace buggy native Zoom client with webapp" - -if omarchy-pkg-present zoom; then - omarchy-pkg-drop zoom - omarchy-webapp-install "Zoom" https://app.zoom.us/wc/home https://cdn.jsdelivr.net/gh/homarr-labs/dashboard-icons/png/zoom.png -fi diff --git a/migrations/1756153445.sh b/migrations/1756153445.sh deleted file mode 100644 index 63441e2..0000000 --- a/migrations/1756153445.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Checking and correcting Snapper configs if needed" -if command -v snapper &>/dev/null; then - if ! sudo snapper list-configs 2>/dev/null | grep -q "root"; then - sudo snapper -c root create-config / - fi - - if ! sudo snapper list-configs 2>/dev/null | grep -q "home"; then - sudo snapper -c home create-config /home - fi -fi diff --git a/migrations/1756203383.sh b/migrations/1756203383.sh deleted file mode 100644 index a21e2aa..0000000 --- a/migrations/1756203383.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Remove old About, Activity, Audio Settings apps that are in Omarchy Menu or hotkey" - -rm -f ~/.local/share/applications/About.desktop -rm -f ~/.local/share/applications/Activity.desktop -rm -f ~/.local/share/applications/wiremix.desktop diff --git a/migrations/1756205202.sh b/migrations/1756205202.sh deleted file mode 100644 index 8d8cc73..0000000 --- a/migrations/1756205202.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "Symlink files needed for Nautilus navigation icons" - -sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-previous-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-previous-symbolic.svg -sudo ln -snf /usr/share/icons/Adwaita/symbolic/actions/go-next-symbolic.svg /usr/share/icons/Yaru/scalable/actions/go-next-symbolic.svg -sudo gtk-update-icon-cache /usr/share/icons/Yaru -pkill -x nautilus || true - diff --git a/migrations/1756300740.sh b/migrations/1756300740.sh deleted file mode 100644 index adfcf60..0000000 --- a/migrations/1756300740.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Remove no-longer-needed sudoless package listing updates" - -sudo rm -f /etc/sudoers.d/repositories diff --git a/migrations/1756360552.sh b/migrations/1756360552.sh deleted file mode 100644 index 056853d..0000000 --- a/migrations/1756360552.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "Move Omarchy Package Repository after Arch core/extra/multilib and remove AUR" - -sudo cp /etc/pacman.conf /etc/pacman.conf.bak -sudo sed -i '/\[omarchy\]/,+2 d' /etc/pacman.conf -sudo sed -i '/\[chaotic-aur\]/,+2 d' /etc/pacman.conf -sudo bash -c 'echo -e "\n[omarchy]\nSigLevel = Optional TrustAll\nServer = https://pkgs.omarchy.org/\$arch" >> /etc/pacman.conf' -sudo pacman -Syu --noconfirm diff --git a/migrations/1756371020.sh b/migrations/1756371020.sh deleted file mode 100644 index f629b59..0000000 --- a/migrations/1756371020.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Stop restarting waybar on unlock to see if we have solved the stacking problem for good" - -omarchy-refresh-hypridle diff --git a/migrations/1756372498.sh b/migrations/1756372498.sh deleted file mode 100644 index 40ba5ad..0000000 --- a/migrations/1756372498.sh +++ /dev/null @@ -1,8 +0,0 @@ -echo "Add eza themeing" - -mkdir -p ~/.config/eza - -if [ -f ~/.config/omarchy/current/theme/eza.yml ]; then - ln -snf ~/.config/omarchy/current/theme/eza.yml ~/.config/eza/theme.yml -fi - diff --git a/migrations/1756410649.sh b/migrations/1756410649.sh deleted file mode 100644 index 7347f9b..0000000 --- a/migrations/1756410649.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "Remove any Chaotic-AUR infrastructure packages" - -omarchy-pkg-drop chaotic-keyring chaotic-mirrorlist - -if sudo pacman-key --list-keys 3056513887B78AEB >/dev/null 2>&1; then - sudo pacman-key --delete 3056513887B78AEB -fi diff --git a/migrations/1756411333.sh b/migrations/1756411333.sh deleted file mode 100644 index c44e9ce..0000000 --- a/migrations/1756411333.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Use new Omarchy mirror as default" - -omarchy-refresh-pacman-mirrorlist diff --git a/migrations/1756411865.sh b/migrations/1756411865.sh deleted file mode 100644 index 8dcf8ef..0000000 --- a/migrations/1756411865.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add back ttf-ia-writer if it was missing" - -omarchy-pkg-add ttf-ia-writer diff --git a/migrations/1756491748.sh b/migrations/1756491748.sh deleted file mode 100644 index 801f82a..0000000 --- a/migrations/1756491748.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Removing UseDNS=no from network files to fix DNS issue" - -for file in /etc/systemd/network/*.network; do - [[ -f "$file" ]] || continue - sudo sed -i '/^UseDNS=no/d' "$file" -done \ No newline at end of file diff --git a/migrations/1756494998.sh b/migrations/1756494998.sh deleted file mode 100644 index 1ffe1e8..0000000 --- a/migrations/1756494998.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Remove opacity from alacritty.toml so Hyprland can control fully" - -if [[ -f ~/.config/alacritty/alacritty.toml ]]; then - sed -i '/opacity = 0.98/d' ~/.config/alacritty/alacritty.toml -fi diff --git a/migrations/1756507384.sh b/migrations/1756507384.sh deleted file mode 100644 index 77c640e..0000000 --- a/migrations/1756507384.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "Replace JetBrains Mono font with the Nerd Font edition" - -omarchy-pkg-add ttf-jetbrains-mono-nerd -omarchy-pkg-drop ttf-jetbrains-mono diff --git a/migrations/1756556731.sh b/migrations/1756556731.sh deleted file mode 100644 index 477b754..0000000 --- a/migrations/1756556731.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add Samba network drive support to the file manager" - -omarchy-pkg-add gvfs-smb diff --git a/migrations/1756627168.sh b/migrations/1756627168.sh deleted file mode 100644 index 751cd19..0000000 --- a/migrations/1756627168.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Include OS Age and Uptime icons in About" - -omarchy-refresh-fastfetch diff --git a/migrations/1756629295.sh b/migrations/1756629295.sh deleted file mode 100644 index 8f0bea6..0000000 --- a/migrations/1756629295.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Ensure qt5-wayland is installed so KeepassXC, Nextcloud, Sqlite Browser, and other apps display correctly" - -omarchy-pkg-add qt5-wayland diff --git a/migrations/1756642681.sh b/migrations/1756642681.sh deleted file mode 100644 index d0117d2..0000000 --- a/migrations/1756642681.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Fix audio input on AMD Framework laptops" - -source $OMARCHY_PATH/install/config/hardware/fix-f13-amd-audio-input.sh || true diff --git a/migrations/1756650507.sh b/migrations/1756650507.sh deleted file mode 100644 index 7ed6cec..0000000 --- a/migrations/1756650507.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Fix JetBrains font setting" - -if [[ $(omarchy-font-current) == JetBrains* ]]; then - omarchy-font-set "JetBrainsMono Nerd Font" -fi diff --git a/migrations/1756911131.sh b/migrations/1756911131.sh deleted file mode 100644 index 6747ab0..0000000 --- a/migrations/1756911131.sh +++ /dev/null @@ -1,11 +0,0 @@ -echo "Enable UFW systemd service for existing installations" - -if omarchy-cmd-present ufw; then - if sudo ufw status | grep -q "Status: active\|22/tcp\|53317"; then - if ! systemctl is-enabled ufw >/dev/null 2>&1; then - sudo systemctl enable ufw --now - echo "UFW systemd service enabled" - fi - fi -fi - diff --git a/migrations/1757021485.sh b/migrations/1757021485.sh deleted file mode 100644 index cb8f4c4..0000000 --- a/migrations/1757021485.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Install Copy URL extension for Chromium" - -omarchy-refresh-config chromium-flags.conf diff --git a/migrations/1757147211.sh b/migrations/1757147211.sh deleted file mode 100644 index f74afe5..0000000 --- a/migrations/1757147211.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "Create managed policy directories for Chromium and Brave for theme switching" - -sudo mkdir -p /etc/chromium/policies/managed -sudo chmod a+rw /etc/chromium/policies/managed - -sudo mkdir -p /etc/brave/policies/managed -sudo chmod a+rw /etc/brave/policies/managed diff --git a/migrations/1757279511.sh b/migrations/1757279511.sh deleted file mode 100644 index dc4588c..0000000 --- a/migrations/1757279511.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Add locale to the waybar clock format" - -sed -i \ - -e 's/{:%A %H:%M}/{:L%A %H:%M}/' \ - -e 's/{:%d %B W%V %Y}/{:L%d %B W%V %Y}/' \ - "$HOME/.config/waybar/config.jsonc" \ No newline at end of file diff --git a/migrations/1757361127.sh b/migrations/1757361127.sh deleted file mode 100644 index 5c23e00..0000000 --- a/migrations/1757361127.sh +++ /dev/null @@ -1,8 +0,0 @@ -echo "Fix DHCP DNS to allow VPN DNS override" - -if [ -f /etc/systemd/resolved.conf ]; then - if grep -q "^DNS=$" /etc/systemd/resolved.conf && grep -q "^FallbackDNS=$" /etc/systemd/resolved.conf; then - sudo sed -i '/^DNS=$/d; /^FallbackDNS=$/d' /etc/systemd/resolved.conf - sudo systemctl restart systemd-resolved - fi -fi \ No newline at end of file diff --git a/migrations/1757361128.sh b/migrations/1757361128.sh deleted file mode 100644 index b6c8413..0000000 --- a/migrations/1757361128.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "Enable mDNS resolution for existing Avahi installations" - -if systemctl is-enabled avahi-daemon.service >/dev/null 2>&1; then - if ! grep -q "mdns_minimal" /etc/nsswitch.conf; then - sudo sed -i 's/^hosts:.*/hosts: mymachines mdns_minimal [NOTFOUND=return] resolve [!UNAVAIL=return] files myhostname dns/' /etc/nsswitch.conf - fi -fi \ No newline at end of file diff --git a/migrations/1757435811.sh b/migrations/1757435811.sh deleted file mode 100644 index 8961559..0000000 --- a/migrations/1757435811.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Copy Omarchy default app icons to .local/share/icons" - -source $OMARCHY_PATH/install/packaging/icons.sh diff --git a/migrations/1757435812.sh b/migrations/1757435812.sh deleted file mode 100644 index 14b308a..0000000 --- a/migrations/1757435812.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Update Zoom webapp to handle zoommtg:// and zoomus:// protocol links" - -if [[ -f ~/.local/share/applications/Zoom.desktop ]]; then - omarchy-webapp-remove Zoom - omarchy-webapp-install Zoom https://app.zoom.us/wc/home Zoom.png "omarchy-webapp-handler-zoom %u" "x-scheme-handler/zoommtg;x-scheme-handler/zoomus" -fi diff --git a/migrations/1757483378.sh b/migrations/1757483378.sh deleted file mode 100644 index 999e4f0..0000000 --- a/migrations/1757483378.sh +++ /dev/null @@ -1,4 +0,0 @@ -echo "6Ghz Wi-Fi + Intel graphics acceleration for existing installations" - -bash "$OMARCHY_PATH/install/config/hardware/set-wireless-regdom.sh" -bash "$OMARCHY_PATH/install/config/hardware/intel.sh" diff --git a/migrations/1757511571.sh b/migrations/1757511571.sh deleted file mode 100644 index 7753a28..0000000 --- a/migrations/1757511571.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add screen recording indicator to Waybar" - -gum confirm "Replace current Waybar config (backup will be made)?" && omarchy-refresh-waybar diff --git a/migrations/1757512135.sh b/migrations/1757512135.sh deleted file mode 100644 index a7314f6..0000000 --- a/migrations/1757512135.sh +++ /dev/null @@ -1,5 +0,0 @@ -echo "Make it possible to remove update-available icon with signal in Waybar" - -if ! grep -q '"signal": 7' ~/.config/waybar/config.jsonc; then - sed -i '/"tooltip-format": "Omarchy update available",/a\ "signal": 7,' ~/.config/waybar/config.jsonc -fi diff --git a/migrations/1757515650.sh b/migrations/1757515650.sh deleted file mode 100644 index 0087257..0000000 --- a/migrations/1757515650.sh +++ /dev/null @@ -1,2 +0,0 @@ -echo "Update plymouth theme to avoid freetype2 issue that broke the styled login screen" -omarchy-refresh-plymouth diff --git a/migrations/1757783204.sh b/migrations/1757783204.sh deleted file mode 100644 index e5cc9b9..0000000 --- a/migrations/1757783204.sh +++ /dev/null @@ -1,9 +0,0 @@ -echo "Create ~/Work with ./bin in the path for contained projects" - -mise_config="$HOME/Work/.mise.toml" - -if [[ -f $mise_config ]]; then - cp $mise_config "$mise_config.bak.$(date +%s)" -fi - -source "$OMARCHY_PATH/install/config/mise-work.sh" diff --git a/migrations/1757861484.sh b/migrations/1757861484.sh deleted file mode 100644 index fa4cec9..0000000 --- a/migrations/1757861484.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Add a blurred background to the lock screen" - -omarchy-refresh-hyprlock diff --git a/migrations/1757866485.sh b/migrations/1757866485.sh deleted file mode 100644 index ed0905e..0000000 --- a/migrations/1757866485.sh +++ /dev/null @@ -1,6 +0,0 @@ -echo "Add SUPER + SHIFT + B to start browser in private mode" - -if [[ -f ~/.config/hypr/bindings.conf ]] && grep -q "SUPER, B, Browser, exec" ~/.config/hypr/bindings.conf; then - sed -i '/^bindd = SUPER, B, Browser, exec, \$browser$/a\ -bindd = SUPER SHIFT, B, Browser (private), exec, $browser --private' ~/.config/hypr/bindings.conf -fi diff --git a/migrations/1757877123.sh b/migrations/1757877123.sh deleted file mode 100644 index 0a0f3ab..0000000 --- a/migrations/1757877123.sh +++ /dev/null @@ -1,7 +0,0 @@ -echo "Obsidian should be using Wayland IME for better compatibility with fcitx5 and other languages" - -if [[ -f ~/.config/hypr/bindings.conf ]]; then - sed -i '/^bindd = SUPER, O, Obsidian, exec, uwsm app -- obsidian -disable-gpu/{ - /--enable-wayland-ime/! s/$/ --enable-wayland-ime/ - }' ~/.config/hypr/bindings.conf -fi diff --git a/migrations/1757877852.sh b/migrations/1757877852.sh deleted file mode 100644 index a0b88bd..0000000 --- a/migrations/1757877852.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Switch select bindings to launch or focus mode" - -if [[ -f ~/.config/hypr/bindings.conf ]]; then - sed -i '/SUPER, M, Music, exec/ c\bindd = SUPER, M, Music, exec, omarchy-launch-or-focus spotify' ~/.config/hypr/bindings.conf - sed -i '/SUPER, O, Obsidian, exec/ c\bindd = SUPER, O, Obsidian, exec, omarchy-launch-or-focus obsidian "uwsm app -- obsidian -disable-gpu --enable-wayland-ime"' ~/.config/hypr/bindings.conf - - sed -i '/SUPER, G, Signal, exec/ c\bindd = SUPER, G, Signal, exec, omarchy-launch-or-focus signal "uwsm app -- signal-desktop"' ~/.config/hypr/bindings.conf - sed -i '/SUPER SHIFT, G, WhatsApp, exec/ c\bindd = SUPER SHIFT, G, WhatsApp, exec, omarchy-launch-or-focus-webapp WhatsApp "https://web.whatsapp.com/"' ~/.config/hypr/bindings.conf - sed -i '/SUPER ALT, G, Google Messages, exec/ c\bindd = SUPER ALT, G, Google Messages, exec, omarchy-launch-or-focus-webapp "Google Messages" "https://messages.google.com/web/conversations"' ~/.config/hypr/bindings.conf -fi diff --git a/migrations/1757879836.sh b/migrations/1757879836.sh deleted file mode 100644 index e15c441..0000000 --- a/migrations/1757879836.sh +++ /dev/null @@ -1,10 +0,0 @@ -echo "Ensure .config/hypr/looknfeel.conf is available and included" - -if [[ ! -f ~/.config/hypr/looknfeel.conf ]]; then - cp $OMARCHY_PATH/config/hypr/looknfeel.conf ~/.config/hypr/looknfeel.conf -fi - -if [[ -f ~/.config/hypr/hyprland.conf ]]; then - grep -qx 'source = ~/.config/hypr/looknfeel.conf' ~/.config/hypr/hyprland.conf || - sed -i '/^source = ~\/.config\/hypr\/envs\.conf$/a source = ~/.config/hypr/looknfeel.conf' ~/.config/hypr/hyprland.conf -fi diff --git a/migrations/1758019332.sh b/migrations/1758019332.sh deleted file mode 100644 index 003acd5..0000000 --- a/migrations/1758019332.sh +++ /dev/null @@ -1,21 +0,0 @@ -echo "Set \$TERMINAL and \$EDITOR in ~/.config/uwsm/default so entire system can rely on it" - -# Set terminal and editor default in uwsm -omarchy-refresh-config uwsm/default -omarchy-refresh-config uwsm/env -omarchy-state set relaunch-required - -# Ensure scrolltouchpad setting applies to all terminals -if grep -q "scrolltouchpad 1.5, class:Alacritty" ~/.config/hypr/input.conf; then - sed -i 's/windowrule = scrolltouchpad 1\.5, class:Alacritty/windowrule = scrolltouchpad 1.5, tag:terminal/' ~/.config/hypr/input.conf -fi - -# Use default editor for keybinding -if grep -q "bindd = SUPER, N, Neovim" ~/.config/hypr/bindings.conf; then - sed -i '/SUPER, N, Neovim, exec/ c\bindd = SUPER, N, Editor, exec, omarchy-launch-editor' ~/.config/hypr/bindings.conf -fi - -# Use default terminal for keybinding -if grep -q "terminal = uwsm app" ~/.config/hypr/bindings.conf; then - sed -i '/terminal = uwsm app -- alacritty/ c\$terminal = uwsm app -- $TERMINAL' ~/.config/hypr/bindings.conf -fi diff --git a/migrations/1758051607.sh b/migrations/1758051607.sh deleted file mode 100644 index e30cae7..0000000 --- a/migrations/1758051607.sh +++ /dev/null @@ -1,11 +0,0 @@ -echo "Copy configs for ghostty + kitty so they're available as alternative terminal options" - -if [[ ! -f ~/.config/ghostty/config ]]; then - mkdir -p ~/.config/ghostty - cp -Rpf $OMARCHY_PATH/config/ghostty/config ~/.config/ghostty/config -fi - -if [[ ! -f ~/.config/kitty/kitty.conf ]]; then - mkdir -p ~/.config/kitty - cp -Rpf $OMARCHY_PATH/config/kitty/kitty.conf ~/.config/kitty/kitty.conf -fi diff --git a/migrations/1758104201.sh b/migrations/1758104201.sh deleted file mode 100644 index 18ac701..0000000 --- a/migrations/1758104201.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Prevent powerprofilesctl from using Mise python and not working" - -bash $OMARCHY_PATH/install/config/fix-powerprofilesctl-shebang.sh diff --git a/migrations/1758111304.sh b/migrations/1758111304.sh deleted file mode 100644 index 75f4dbb..0000000 --- a/migrations/1758111304.sh +++ /dev/null @@ -1,3 +0,0 @@ -echo "Remove Ruby build options to force GCC14 now that GCC15 is compatible" - -mise settings unset ruby.ruby_build_opts diff --git a/modules/core.nix b/modules/core.nix new file mode 100644 index 0000000..862fe74 --- /dev/null +++ b/modules/core.nix @@ -0,0 +1,310 @@ +{ config, pkgs, lib, ... }: + +with lib; + +let + cfg = config.omarchy; +in +{ + options.omarchy = { + enable = mkEnableOption "Omarchy system configuration"; + + user = mkOption { + type = types.str; + default = "user"; + description = "Primary user for the system"; + }; + + theme = mkOption { + type = types.enum [ "tokyo-night" "catppuccin" "gruvbox" "nord" "everforest" "rose-pine" "kanagawa" ]; + default = "tokyo-night"; + description = "System theme"; + }; + + features = { + docker = mkEnableOption "Docker container support"; + development = mkEnableOption "Development tools and environments"; + gaming = mkEnableOption "Gaming support (Steam, Wine, etc.)"; + multimedia = mkEnableOption "Multimedia applications"; + }; + }; + + config = mkIf cfg.enable { + # Basic system configuration + system.autoUpgrade = { + enable = true; + flake = "/etc/nixos#omarchy"; + flags = [ "--update-input" "nixpkgs" "--commit-lock-file" ]; + dates = "weekly"; + }; + + # Enable documentation + documentation = { + enable = true; + man.enable = true; + dev.enable = cfg.features.development; + }; + + # Security settings + security = { + sudo = { + enable = true; + wheelNeedsPassword = true; + extraRules = [ + { + groups = [ "wheel" ]; + commands = [ + { + command = "/run/current-system/sw/bin/nixos-rebuild"; + options = [ "NOPASSWD" ]; + } + ]; + } + ]; + }; + + polkit.enable = true; + }; + + # System services + services = { + # Enable SSH daemon + openssh = { + enable = true; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; + }; + + # Enable fstrim for SSD + fstrim.enable = true; + + # Enable thermald for thermal management + thermald.enable = true; + + # Enable power management + power-profiles-daemon.enable = true; + upower.enable = true; + + # Enable bluetooth + blueman.enable = true; + + # Enable GVFS for mounting + gvfs.enable = true; + + # Enable Avahi for network discovery + avahi = { + enable = true; + nssmdns4 = true; + publish = { + enable = true; + addresses = true; + domain = true; + userServices = true; + }; + }; + + # Enable flatpak support + flatpak.enable = true; + + # System monitoring + smartd = { + enable = true; + autodetect = true; + }; + }; + + # Hardware support + hardware = { + bluetooth = { + enable = true; + powerOnBoot = true; + }; + + # OpenGL support + opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + extraPackages = with pkgs; [ + intel-media-driver + vaapiIntel + vaapiVdpau + libvdpau-va-gl + ]; + }; + }; + + # Docker configuration + virtualisation = mkIf cfg.features.docker { + docker = { + enable = true; + enableOnBoot = true; + autoPrune = { + enable = true; + dates = "weekly"; + }; + }; + }; + + # Development configuration + programs = mkIf cfg.features.development { + git = { + enable = true; + lfs.enable = true; + }; + + npm.enable = true; + }; + + # Gaming configuration + programs.steam = mkIf cfg.features.gaming { + enable = true; + remotePlay.openFirewall = true; + dedicatedServer.openFirewall = true; + }; + + # Environment variables + environment.variables = { + EDITOR = "nvim"; + VISUAL = "nvim"; + BROWSER = "firefox"; + TERM = "xterm-256color"; + + # Development + CARGO_HOME = "$HOME/.cargo"; + GOPATH = "$HOME/go"; + NPM_CONFIG_PREFIX = "$HOME/.npm"; + + # Omarchy specific + OMARCHY_ROOT = "/etc/nixos"; + OMARCHY_VERSION = "1.0.0"; + }; + + # Shell configuration + programs.bash = { + interactiveShellInit = '' + # Omarchy bash initialization + export PATH="$HOME/.local/bin:$HOME/.cargo/bin:$HOME/go/bin:$HOME/.npm/bin:$PATH" + + # Aliases + alias ll='eza -la' + alias ls='eza' + alias cat='bat' + alias grep='rg' + alias find='fd' + alias vim='nvim' + alias vi='nvim' + + # Omarchy specific aliases + alias omarchy-rebuild='sudo nixos-rebuild switch --flake /etc/nixos#omarchy' + alias omarchy-update='nix flake update --flake /etc/nixos' + alias omarchy-clean='sudo nix-collect-garbage -d' + alias omarchy-search='nix search nixpkgs' + + # Functions + omarchy-theme() { + local theme=$1 + if [ -z "$theme" ]; then + echo "Available themes: tokyo-night, catppuccin, gruvbox, nord, everforest, rose-pine, kanagawa" + return 1 + fi + + echo "Switching to theme: $theme" + # This would need to update the configuration and rebuild + sudo sed -i "s/currentTheme = \".*\"/currentTheme = \"$theme\"/" /etc/nixos/configuration.nix + omarchy-rebuild + } + + omarchy-help() { + cat << EOF + Omarchy Commands: + ================ + omarchy-rebuild - Rebuild system configuration + omarchy-update - Update flake inputs + omarchy-clean - Garbage collect nix store + omarchy-search - Search for packages + omarchy-theme - Change system theme + omarchy-help - Show this help message + + Key Bindings (Hyprland): + ======================= + Super + Return - Open terminal + Super + B - Open browser + Super + E - Open file manager + Super + D - Application launcher + Super + Q - Close window + Super + F - Fullscreen + Super + Space - Toggle floating + + For more information, visit: https://omarchy.org + EOF + } + + # Welcome message + if [ -z "$IN_NIX_SHELL" ]; then + echo "Welcome to Omarchy! Type 'omarchy-help' for available commands." + fi + ''; + + promptInit = '' + # Starship prompt + if command -v starship &> /dev/null; then + eval "$(starship init bash)" + fi + ''; + }; + + # System-wide packages + environment.systemPackages = with pkgs; [ + # Core utilities + coreutils + findutils + gnugrep + gnused + gawk + + # System tools + htop + neofetch + tree + wget + curl + + # Text editors + vim + nano + + # Development basics + git + make + gcc + + # Nix tools + nix-prefetch-git + nixpkgs-fmt + nil + + # Custom Omarchy scripts + (writeShellScriptBin "omarchy-info" '' + #!/usr/bin/env bash + echo "Omarchy NixOS" + echo "=============" + echo "Version: ${config.omarchy.version or "1.0.0"}" + echo "Theme: ${cfg.theme}" + echo "User: ${cfg.user}" + echo "" + echo "Features:" + echo " Docker: ${if cfg.features.docker then "โœ“" else "โœ—"}" + echo " Development: ${if cfg.features.development then "โœ“" else "โœ—"}" + echo " Gaming: ${if cfg.features.gaming then "โœ“" else "โœ—"}" + echo " Multimedia: ${if cfg.features.multimedia then "โœ“" else "โœ—"}" + echo "" + echo "System Info:" + nixos-version + '') + ]; + }; +} \ No newline at end of file diff --git a/modules/desktop/hyprland.nix b/modules/desktop/hyprland.nix new file mode 100644 index 0000000..99eee78 --- /dev/null +++ b/modules/desktop/hyprland.nix @@ -0,0 +1,536 @@ +{ config, pkgs, lib, inputs, ... }: + +with lib; + +let + cfg = config.omarchy.desktop; +in +{ + options.omarchy.desktop = { + enable = mkEnableOption "Omarchy Hyprland desktop environment"; + + monitors = mkOption { + type = types.listOf types.str; + default = [ ]; + example = [ "DP-1,1920x1080@144,0x0,1" ]; + description = "Monitor configuration for Hyprland"; + }; + + defaultTerminal = mkOption { + type = types.str; + default = "alacritty"; + description = "Default terminal emulator"; + }; + + defaultBrowser = mkOption { + type = types.str; + default = "firefox"; + description = "Default web browser"; + }; + + wallpaper = mkOption { + type = types.path; + default = ./wallpapers/default.jpg; + description = "Path to wallpaper image"; + }; + }; + + config = mkIf (cfg.enable or true) { + # Enable Hyprland + programs.hyprland = { + enable = true; + xwayland.enable = true; + package = inputs.hyprland.packages.${pkgs.system}.hyprland; + }; + + # XDG portal for Wayland + xdg.portal = { + enable = true; + extraPortals = with pkgs; [ + xdg-desktop-portal-hyprland + xdg-desktop-portal-gtk + ]; + config.common.default = "*"; + }; + + # Session variables + environment.sessionVariables = { + # Wayland specific + NIXOS_OZONE_WL = "1"; + MOZ_ENABLE_WAYLAND = "1"; + QT_QPA_PLATFORM = "wayland"; + QT_WAYLAND_DISABLE_WINDOWDECORATION = "1"; + GDK_BACKEND = "wayland"; + WLR_NO_HARDWARE_CURSORS = "1"; + + # Default applications + TERMINAL = cfg.defaultTerminal; + BROWSER = cfg.defaultBrowser; + EDITOR = "nvim"; + }; + + # Essential packages for Hyprland + environment.systemPackages = with pkgs; [ + # Core Wayland utilities + wayland + wayland-protocols + wayland-utils + wlroots + + # Hyprland ecosystem + hyprland-protocols + hyprpaper + hyprlock + hypridle + hyprpicker + + # Status bar and launcher + waybar + wofi + rofi-wayland + walker + + # Notification daemon + mako + libnotify + + # Clipboard + wl-clipboard + cliphist + copyq + + # Screen management + wlr-randr + kanshi + nwg-displays + + # Screenshots and recording + grim + slurp + swappy + wf-recorder + + # System tray and applets + networkmanagerapplet + blueman + pasystray + + # Wallpaper managers + swww + swaybg + wpaperd + + # File managers + nautilus + thunar + pcmanfm + ranger + yazi + + # Polkit agent + polkit_gnome + + # Themes and cursors + gnome.adwaita-icon-theme + papirus-icon-theme + bibata-cursors + capitaine-cursors + ]; + + # Create Hyprland config directory structure + system.activationScripts.hyprlandConfig = '' + mkdir -p /etc/omarchy/hyprland + + # Main Hyprland configuration + cat > /etc/omarchy/hyprland/hyprland.conf <<'EOF' + # Omarchy Hyprland Configuration + # See https://wiki.hyprland.org/Configuring/ + + # Monitor configuration + ${concatStringsSep "\n" (map (m: "monitor = ${m}") cfg.monitors)} + monitor = ,preferred,auto,1 + + # Execute on startup + exec-once = waybar + exec-once = mako + exec-once = swww init + exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 + exec-once = wl-paste --type text --watch cliphist store + exec-once = wl-paste --type image --watch cliphist store + exec-once = nm-applet --indicator + exec-once = blueman-applet + + # Set wallpaper + exec = swww img ${toString cfg.wallpaper} --transition-type wipe + + # Input configuration + input { + kb_layout = us + kb_variant = + kb_model = + kb_options = caps:escape + kb_rules = + + follow_mouse = 1 + mouse_refocus = false + + touchpad { + natural_scroll = true + disable_while_typing = true + tap-to-click = true + scroll_factor = 0.5 + } + + sensitivity = 0 # -1.0 - 1.0, 0 means no modification + } + + # General configuration + general { + gaps_in = 5 + gaps_out = 10 + border_size = 2 + col.active_border = rgba(7aa2f7ee) rgba(c4a7e7ee) 45deg + col.inactive_border = rgba(595959aa) + + layout = dwindle + allow_tearing = false + } + + # Decoration + decoration { + rounding = 10 + + blur { + enabled = true + size = 6 + passes = 2 + new_optimizations = true + ignore_opacity = true + } + + drop_shadow = true + shadow_range = 20 + shadow_render_power = 3 + col.shadow = rgba(1a1a1aee) + + dim_inactive = false + dim_strength = 0.1 + } + + # Animations + animations { + enabled = true + + bezier = overshot, 0.05, 0.9, 0.1, 1.05 + bezier = smoothOut, 0.5, 0, 0.99, 0.99 + bezier = smoothIn, 0.5, -0.5, 0.68, 1.5 + + animation = windows, 1, 5, overshot, slide + animation = windowsOut, 1, 4, smoothOut, slide + animation = windowsIn, 1, 4, smoothIn, slide + animation = windowsMove, 1, 4, default + animation = border, 1, 10, default + animation = borderangle, 1, 8, default + animation = fade, 1, 7, default + animation = workspaces, 1, 6, default + } + + # Layouts + dwindle { + pseudotile = true + preserve_split = true + force_split = 2 + } + + master { + new_is_master = true + } + + # Gestures + gestures { + workspace_swipe = true + workspace_swipe_fingers = 3 + workspace_swipe_distance = 300 + workspace_swipe_invert = true + } + + # Misc + misc { + force_default_wallpaper = 0 + disable_hyprland_logo = true + disable_splash_rendering = true + mouse_move_enables_dpms = true + key_press_enables_dpms = true + enable_swallow = true + swallow_regex = ^(alacritty|kitty|footclient)$ + } + + # Window rules + windowrulev2 = opacity 0.9 override 0.9 override, class:^(Alacritty|kitty)$ + windowrulev2 = opacity 0.9 override 0.9 override, class:^(Code|code-oss)$ + windowrulev2 = float, class:^(pavucontrol|nm-connection-editor|blueman-manager)$ + windowrulev2 = float, class:^(org.gnome.Calculator|gnome-calculator)$ + windowrulev2 = float, title:^(Picture-in-Picture)$ + windowrulev2 = pin, title:^(Picture-in-Picture)$ + windowrulev2 = float, class:^(imv|mpv|vlc)$ + windowrulev2 = center, class:^(imv|mpv|vlc)$ + + # Workspace rules + workspace = 1, monitor:DP-1, default:true + workspace = 2, monitor:DP-1 + workspace = 3, monitor:DP-1 + workspace = 4, monitor:DP-1 + workspace = 5, monitor:DP-1 + workspace = 6, monitor:HDMI-A-1 + workspace = 7, monitor:HDMI-A-1 + workspace = 8, monitor:HDMI-A-1 + workspace = 9, monitor:HDMI-A-1 + workspace = 10, monitor:HDMI-A-1 + + # Key bindings + $mainMod = SUPER + + # Application shortcuts + bind = $mainMod, Return, exec, ${cfg.defaultTerminal} + bind = $mainMod, B, exec, ${cfg.defaultBrowser} + bind = $mainMod, E, exec, nautilus + bind = $mainMod, D, exec, walker + bind = $mainMod SHIFT, D, exec, wofi --show drun + bind = $mainMod, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy + + # Window management + bind = $mainMod, Q, killactive + bind = $mainMod, F, fullscreen, 1 + bind = $mainMod SHIFT, F, fullscreen, 0 + bind = $mainMod, Space, togglefloating + bind = $mainMod, P, pseudo + bind = $mainMod, J, togglesplit + bind = $mainMod, G, togglegroup + bind = $mainMod, Tab, changegroupactive + + # Focus movement + bind = $mainMod, h, movefocus, l + bind = $mainMod, l, movefocus, r + bind = $mainMod, k, movefocus, u + bind = $mainMod, j, movefocus, d + + # Window movement + bind = $mainMod SHIFT, h, movewindow, l + bind = $mainMod SHIFT, l, movewindow, r + bind = $mainMod SHIFT, k, movewindow, u + bind = $mainMod SHIFT, j, movewindow, d + + # Workspace switching + bind = $mainMod, 1, workspace, 1 + bind = $mainMod, 2, workspace, 2 + bind = $mainMod, 3, workspace, 3 + bind = $mainMod, 4, workspace, 4 + bind = $mainMod, 5, workspace, 5 + bind = $mainMod, 6, workspace, 6 + bind = $mainMod, 7, workspace, 7 + bind = $mainMod, 8, workspace, 8 + bind = $mainMod, 9, workspace, 9 + bind = $mainMod, 0, workspace, 10 + + # Move to workspace + bind = $mainMod SHIFT, 1, movetoworkspace, 1 + bind = $mainMod SHIFT, 2, movetoworkspace, 2 + bind = $mainMod SHIFT, 3, movetoworkspace, 3 + bind = $mainMod SHIFT, 4, movetoworkspace, 4 + bind = $mainMod SHIFT, 5, movetoworkspace, 5 + bind = $mainMod SHIFT, 6, movetoworkspace, 6 + bind = $mainMod SHIFT, 7, movetoworkspace, 7 + bind = $mainMod SHIFT, 8, movetoworkspace, 8 + bind = $mainMod SHIFT, 9, movetoworkspace, 9 + bind = $mainMod SHIFT, 0, movetoworkspace, 10 + + # Scroll through workspaces + bind = $mainMod, mouse_down, workspace, e+1 + bind = $mainMod, mouse_up, workspace, e-1 + + # Resize mode + bind = $mainMod, R, submap, resize + submap = resize + binde = , h, resizeactive, -10 0 + binde = , l, resizeactive, 10 0 + binde = , k, resizeactive, 0 -10 + binde = , j, resizeactive, 0 10 + bind = , escape, submap, reset + submap = reset + + # Screenshot bindings + bind = , Print, exec, grim -g "$(slurp)" - | swappy -f - + bind = SHIFT, Print, exec, grim - | swappy -f - + bind = $mainMod, Print, exec, grim -g "$(slurp)" - | wl-copy + + # Media keys + binde = , XF86AudioRaiseVolume, exec, wpctl set-volume -l 1.5 @DEFAULT_AUDIO_SINK@ 5%+ + binde = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- + bind = , XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle + bind = , XF86AudioPlay, exec, playerctl play-pause + bind = , XF86AudioNext, exec, playerctl next + bind = , XF86AudioPrev, exec, playerctl previous + bind = , XF86MonBrightnessUp, exec, brightnessctl set +5% + bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%- + + # System control + bind = $mainMod SHIFT, Q, exit + bind = $mainMod SHIFT, R, exec, hyprctl reload + bind = $mainMod SHIFT, L, exec, hyprlock + bind = $mainMod SHIFT, P, exec, systemctl poweroff + bind = $mainMod SHIFT, B, exec, systemctl reboot + + # Mouse bindings + bindm = $mainMod, mouse:272, movewindow + bindm = $mainMod, mouse:273, resizewindow + EOF + ''; + + # Waybar configuration + home-manager.users.${config.omarchy.user or "user"} = { + programs.waybar = { + enable = true; + systemd.enable = true; + settings = [{ + layer = "top"; + position = "top"; + height = 30; + + modules-left = [ "hyprland/workspaces" "hyprland/window" ]; + modules-center = [ "clock" ]; + modules-right = [ "network" "bluetooth" "pulseaudio" "backlight" "battery" "tray" ]; + + "hyprland/workspaces" = { + format = "{icon}"; + on-click = "activate"; + format-icons = { + "1" = ""; + "2" = ""; + "3" = ""; + "4" = ""; + "5" = ""; + urgent = ""; + default = ""; + }; + }; + + "hyprland/window" = { + max-length = 50; + separate-outputs = true; + }; + + clock = { + format = " {:%H:%M}"; + format-alt = " {:%A, %B %d, %Y (%R)}"; + tooltip-format = "{calendar}"; + }; + + network = { + format-wifi = " {essid}"; + format-ethernet = " {ifname}"; + format-disconnected = "โš  Disconnected"; + tooltip-format = "{ifname}: {ipaddr}/{cidr}"; + }; + + bluetooth = { + format = " {status}"; + format-connected = " {device_alias}"; + format-connected-battery = " {device_alias} {device_battery_percentage}%"; + tooltip-format = "{controller_alias}\t{controller_address}\n\n{num_connections} connected"; + tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}"; + tooltip-format-enumerate-connected = "{device_alias}\t{device_address}"; + tooltip-format-enumerate-connected-battery = "{device_alias}\t{device_address}\t{device_battery_percentage}%"; + }; + + pulseaudio = { + format = "{icon} {volume}%"; + format-muted = ""; + format-icons = { + default = [ "" "" "" ]; + }; + on-click = "pavucontrol"; + }; + + backlight = { + format = "{icon} {percent}%"; + format-icons = [ "" "" "" "" "" "" "" "" "" ]; + }; + + battery = { + states = { + warning = 30; + critical = 15; + }; + format = "{icon} {capacity}%"; + format-charging = " {capacity}%"; + format-plugged = " {capacity}%"; + format-icons = [ "" "" "" "" "" ]; + }; + + tray = { + icon-size = 16; + spacing = 10; + }; + }]; + + style = '' + * { + font-family: "JetBrainsMono Nerd Font"; + font-size: 13px; + } + + window#waybar { + background: rgba(30, 30, 46, 0.9); + color: #cdd6f4; + } + + #workspaces button { + padding: 0 5px; + background: transparent; + color: #cdd6f4; + border-bottom: 3px solid transparent; + } + + #workspaces button.active { + background: rgba(203, 166, 247, 0.2); + border-bottom: 3px solid #cba6f7; + } + + #clock, + #battery, + #cpu, + #memory, + #temperature, + #backlight, + #network, + #pulseaudio, + #tray, + #bluetooth { + padding: 0 10px; + margin: 0 5px; + } + + #battery.charging { + color: #a6e3a1; + } + + #battery.warning:not(.charging) { + color: #fab387; + } + + #battery.critical:not(.charging) { + color: #f38ba8; + animation: blink 0.5s linear infinite alternate; + } + + @keyframes blink { + to { + background-color: #f38ba8; + color: #1e1e2e; + } + } + ''; + }; + }; + }; +} \ No newline at end of file diff --git a/modules/development.nix b/modules/development.nix new file mode 100644 index 0000000..ca77160 --- /dev/null +++ b/modules/development.nix @@ -0,0 +1,475 @@ +{ config, pkgs, lib, ... }: + +with lib; + +let + cfg = config.omarchy.features.development; +in +{ + config = mkIf cfg { + # Development tools + environment.systemPackages = with pkgs; [ + # Version control + git + git-lfs + lazygit + gh + gitlab + hub + + # Editors and IDEs + neovim + vscode + vim + emacs + + # Language servers and tools + # Nix + nil + nixpkgs-fmt + statix + deadnix + nixd + alejandra + + # Rust + rustc + cargo + rustfmt + rust-analyzer + clippy + cargo-watch + cargo-edit + cargo-audit + bacon + + # Go + go + gopls + gotools + go-tools + golangci-lint + delve + gomodifytags + gotests + impl + + # Python + python3 + python3Packages.pip + python3Packages.virtualenv + python3Packages.black + python3Packages.pylint + python3Packages.pytest + python3Packages.ipython + pyright + ruff + + # Node.js + nodejs_20 + nodePackages.npm + nodePackages.pnpm + nodePackages.yarn + nodePackages.typescript + nodePackages.typescript-language-server + nodePackages.eslint + nodePackages.prettier + nodePackages.nodemon + deno + bun + + # C/C++ + gcc + clang + cmake + gnumake + gdb + lldb + clang-tools + ccls + bear + valgrind + + # Java + jdk + maven + gradle + jdt-language-server + + # Database tools + postgresql + mysql80 + sqlite + redis + mongodb + dbeaver + + # Container tools + docker + docker-compose + podman + buildah + skopeo + dive + lazydocker + + # Kubernetes tools + kubectl + kubernetes-helm + k9s + kind + minikube + kustomize + kubectx + stern + kubecolor + + # Cloud tools + awscli2 + google-cloud-sdk + azure-cli + terraform + terragrunt + ansible + vagrant + packer + + # API development + httpie + curl + postman + insomnia + grpcurl + evans + + # Build tools + bazel + meson + ninja + scons + + # Documentation tools + mdbook + hugo + mkdocs + sphinx + + # Performance tools + hyperfine + flamegraph + perf-tools + heaptrack + + # Network tools + wireshark + tcpdump + nmap + netcat + socat + mtr + + # Misc development utilities + jq + yq-go + fx + direnv + watchexec + entr + tmux + tmuxinator + asciinema + tokei + loc + cloc + tree-sitter + ]; + + # Docker daemon + virtualisation.docker = { + enable = true; + enableOnBoot = true; + daemon.settings = { + features = { buildkit = true; }; + registry-mirrors = [ "https://mirror.gcr.io" ]; + }; + + autoPrune = { + enable = true; + dates = "weekly"; + flags = [ "--all" ]; + }; + }; + + # Podman as Docker alternative + virtualisation.podman = { + enable = true; + dockerCompat = true; + defaultNetwork.settings.dns_enabled = true; + }; + + # Development services + services = { + # PostgreSQL + postgresql = { + enable = false; # Set to true to enable + package = pkgs.postgresql_15; + dataDir = "/var/lib/postgresql/15"; + authentication = '' + local all all trust + host all all 127.0.0.1/32 trust + host all all ::1/128 trust + ''; + }; + + # Redis + redis.servers."" = { + enable = false; # Set to true to enable + port = 6379; + bind = "127.0.0.1"; + }; + + # MySQL/MariaDB + mysql = { + enable = false; # Set to true to enable + package = pkgs.mariadb; + settings = { + mysqld = { + bind-address = "127.0.0.1"; + port = 3306; + }; + }; + }; + }; + + # VSCode settings + environment.variables = { + # Enable VSCode to use Wayland + NIXOS_OZONE_WL = "1"; + }; + + # Development shell environments + programs.direnv = { + enable = true; + nix-direnv.enable = true; + }; + + # Git configuration + programs.git = { + enable = true; + lfs.enable = true; + config = { + init.defaultBranch = "main"; + core = { + editor = "nvim"; + autocrlf = "input"; + }; + pull.rebase = false; + push.autoSetupRemote = true; + }; + }; + + # Enable lorri for automatic nix-shell + services.lorri.enable = true; + + # Add custom development scripts + environment.systemPackages = with pkgs; [ + (writeShellScriptBin "dev-postgres" '' + #!/usr/bin/env bash + echo "Starting PostgreSQL development container..." + docker run --rm -d \ + --name dev-postgres \ + -e POSTGRES_PASSWORD=postgres \ + -p 5432:5432 \ + postgres:15-alpine + echo "PostgreSQL running on localhost:5432" + echo "Username: postgres, Password: postgres" + echo "Stop with: docker stop dev-postgres" + '') + + (writeShellScriptBin "dev-redis" '' + #!/usr/bin/env bash + echo "Starting Redis development container..." + docker run --rm -d \ + --name dev-redis \ + -p 6379:6379 \ + redis:alpine + echo "Redis running on localhost:6379" + echo "Stop with: docker stop dev-redis" + '') + + (writeShellScriptBin "dev-mysql" '' + #!/usr/bin/env bash + echo "Starting MySQL development container..." + docker run --rm -d \ + --name dev-mysql \ + -e MYSQL_ROOT_PASSWORD=mysql \ + -p 3306:3306 \ + mysql:8 + echo "MySQL running on localhost:3306" + echo "Username: root, Password: mysql" + echo "Stop with: docker stop dev-mysql" + '') + + (writeShellScriptBin "dev-mongodb" '' + #!/usr/bin/env bash + echo "Starting MongoDB development container..." + docker run --rm -d \ + --name dev-mongodb \ + -p 27017:27017 \ + mongo:latest + echo "MongoDB running on localhost:27017" + echo "Stop with: docker stop dev-mongodb" + '') + + (writeShellScriptBin "dev-env" '' + #!/usr/bin/env bash + # Create a development shell for a specific language + + case "$1" in + rust) + nix-shell -p rustc cargo rustfmt rust-analyzer clippy + ;; + go) + nix-shell -p go gopls gotools + ;; + python) + nix-shell -p python3 python3Packages.pip python3Packages.virtualenv + ;; + node) + nix-shell -p nodejs_20 nodePackages.npm nodePackages.pnpm + ;; + c|cpp) + nix-shell -p gcc cmake gnumake gdb + ;; + *) + echo "Usage: dev-env " + echo "Supported languages: rust, go, python, node, c, cpp" + exit 1 + ;; + esac + '') + + (writeShellScriptBin "dev-project" '' + #!/usr/bin/env bash + # Initialize a new development project + + PROJECT_NAME="$1" + PROJECT_TYPE="$2" + + if [ -z "$PROJECT_NAME" ] || [ -z "$PROJECT_TYPE" ]; then + echo "Usage: dev-project " + echo "Types: rust, go, python, node, nix" + exit 1 + fi + + mkdir -p "$PROJECT_NAME" + cd "$PROJECT_NAME" + + case "$PROJECT_TYPE" in + rust) + cargo init + echo "use flake" > .envrc + cat > flake.nix << 'EOF' + { + description = "Rust development environment"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + devShells.x86_64-linux.default = pkgs.mkShell { + packages = with pkgs; [ rustc cargo rustfmt rust-analyzer clippy ]; + }; + }; + } + EOF + ;; + + go) + go mod init "$PROJECT_NAME" + echo "use flake" > .envrc + cat > flake.nix << 'EOF' + { + description = "Go development environment"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + devShells.x86_64-linux.default = pkgs.mkShell { + packages = with pkgs; [ go gopls gotools ]; + }; + }; + } + EOF + ;; + + python) + echo "use flake" > .envrc + cat > flake.nix << 'EOF' + { + description = "Python development environment"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + devShells.x86_64-linux.default = pkgs.mkShell { + packages = with pkgs; [ + python3 python3Packages.pip python3Packages.virtualenv + ]; + shellHook = "python -m venv .venv && source .venv/bin/activate"; + }; + }; + } + EOF + ;; + + node) + npm init -y + echo "use flake" > .envrc + cat > flake.nix << 'EOF' + { + description = "Node.js development environment"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + devShells.x86_64-linux.default = pkgs.mkShell { + packages = with pkgs; [ nodejs_20 nodePackages.pnpm ]; + }; + }; + } + EOF + ;; + + nix) + echo "use flake" > .envrc + cat > flake.nix << 'EOF' + { + description = "Nix development environment"; + inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + outputs = { self, nixpkgs }: + let pkgs = nixpkgs.legacyPackages.x86_64-linux; + in { + packages.x86_64-linux.default = pkgs.hello; + devShells.x86_64-linux.default = pkgs.mkShell { + packages = with pkgs; [ nixpkgs-fmt nil ]; + }; + }; + } + EOF + ;; + + *) + echo "Unknown project type: $PROJECT_TYPE" + exit 1 + ;; + esac + + git init + direnv allow + + echo "Project '$PROJECT_NAME' created with $PROJECT_TYPE template" + echo "Run 'direnv allow' to activate the development environment" + '') + ]; + }; +} \ No newline at end of file diff --git a/modules/hardware/default.nix b/modules/hardware/default.nix new file mode 100644 index 0000000..7a8a2c5 --- /dev/null +++ b/modules/hardware/default.nix @@ -0,0 +1,170 @@ +{ config, lib, pkgs, ... }: + +with lib; + +{ + imports = [ + ./nvidia.nix + ./amd.nix + ./intel.nix + ./audio.nix + ./bluetooth.nix + ./touchpad.nix + ]; + + # Common hardware support + hardware = { + # Enable all firmware + enableAllFirmware = true; + enableRedistributableFirmware = true; + + # CPU microcode updates + cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + + # OpenGL/Graphics + opengl = { + enable = true; + driSupport = true; + driSupport32Bit = true; + + # Common OpenGL packages + extraPackages = with pkgs; [ + intel-media-driver # Intel VAAPI + vaapiIntel + vaapiVdpau + libvdpau-va-gl + intel-compute-runtime # Intel OpenCL + ]; + + extraPackages32 = with pkgs.pkgsi686Linux; [ + vaapiIntel + vaapiVdpau + libvdpau-va-gl + ]; + }; + + # USB support + usb-modeswitch.enable = true; + + # Sensor support (for laptops) + sensor.iio.enable = true; + + # Firmware updater + fwupd.enable = true; + }; + + # Kernel modules + boot.kernelModules = [ + # Virtualization + "kvm-intel" + "kvm-amd" + + # USB + "usbhid" + + # Network + "iwlwifi" + ]; + + # Power management + powerManagement = { + enable = true; + cpuFreqGovernor = lib.mkDefault "powersave"; + }; + + services = { + # Thermal management + thermald.enable = mkDefault true; + + # Power profiles daemon (modern power management) + power-profiles-daemon.enable = true; + + # Firmware update service + fwupd.enable = true; + + # Hardware monitoring + smartd = { + enable = true; + autodetect = true; + }; + + # Automatic CPU frequency scaling + auto-cpufreq = { + enable = false; # Disabled by default, conflicts with power-profiles-daemon + settings = { + battery = { + governor = "powersave"; + turbo = "never"; + }; + charger = { + governor = "performance"; + turbo = "auto"; + }; + }; + }; + }; + + # Additional hardware-specific packages + environment.systemPackages = with pkgs; [ + # Hardware info + lshw + hwinfo + inxi + dmidecode + lscpu + lsusb + lspci + pciutils + usbutils + + # Disk tools + smartmontools + hdparm + nvme-cli + + # CPU tools + cpufrequtils + cpupower-gui + + # GPU tools + glxinfo + vulkan-tools + + # Sensors + lm_sensors + + # Power management + powertop + acpi + + # Benchmarking + stress + stress-ng + s-tui + ]; + + # Udev rules for hardware + services.udev = { + enable = true; + + extraRules = '' + # Allow users in wheel group to control backlight + ACTION=="add", SUBSYSTEM=="backlight", KERNEL=="*", GROUP="wheel", MODE="0664" + + # Allow users in wheel group to control LEDs + ACTION=="add", SUBSYSTEM=="leds", KERNEL=="*", GROUP="wheel", MODE="0664" + + # Gaming controllers + SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="028e", GROUP="wheel", MODE="0664" + SUBSYSTEM=="usb", ATTRS{idVendor}=="045e", ATTRS{idProduct}=="028f", GROUP="wheel", MODE="0664" + ''; + }; + + # Virtual console configuration + console = { + earlySetup = true; + font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz"; + packages = [ pkgs.terminus_font ]; + }; +} \ No newline at end of file diff --git a/modules/packages.nix b/modules/packages.nix new file mode 100644 index 0000000..90f336d --- /dev/null +++ b/modules/packages.nix @@ -0,0 +1,360 @@ +{ config, pkgs, lib, ... }: + +with lib; + +let + cfg = config.omarchy; +in +{ + options.omarchy.packages = { + enable = mkEnableOption "Omarchy packages"; + + categories = { + base = mkEnableOption "Base system packages" // { default = true; }; + development = mkEnableOption "Development packages" // { default = true; }; + multimedia = mkEnableOption "Multimedia packages" // { default = true; }; + productivity = mkEnableOption "Productivity packages" // { default = true; }; + gaming = mkEnableOption "Gaming packages" // { default = false; }; + }; + }; + + config = mkIf (cfg.enable or true) { + environment.systemPackages = with pkgs; + # Base system packages (always installed) + [ + # Core utilities + coreutils + util-linux + binutils + pciutils + usbutils + lshw + + # File management + file + tree + ncdu + duf + dust + + # Networking + iproute2 + iputils + dnsutils + nettools + nmap + wget + curl + aria2 + + # Archives + zip + unzip + p7zip + rar + unrar + xz + + # System monitoring + btop + htop + iotop + iftop + nethogs + lsof + sysstat + + # Text processing + vim + nano + sed + gawk + jq + yq-go + ripgrep + fd + bat + eza + fzf + zoxide + + # Version control + git + git-lfs + lazygit + gh + + # Terminal multiplexers + tmux + screen + + # System tools + rsync + rclone + age + sops + gnupg + pass + pwgen + + # Shell and prompts + bash + zsh + fish + starship + oh-my-posh + + # Package management helpers + nix-index + nix-tree + nix-diff + nixpkgs-fmt + nil + statix + deadnix + cachix + lorri + direnv + ] + + # Development packages + ++ optionals cfg.packages.categories.development [ + # Editors and IDEs + neovim + emacs + vscode + jetbrains.idea-community + + # Language servers + nodePackages.typescript-language-server + nodePackages.vscode-langservers-extracted + rust-analyzer + gopls + pyright + lua-language-server + clang-tools + + # Debuggers + gdb + lldb + delve + + # Build tools + gnumake + cmake + meson + ninja + autoconf + automake + libtool + pkg-config + + # Compilers and interpreters + gcc + clang + rustc + cargo + go + python3 + nodejs_20 + deno + bun + + # Container tools + docker + docker-compose + podman + buildah + skopeo + kind + kubectl + kubernetes-helm + k9s + + # Database clients + postgresql + mysql80 + sqlite + redis + mongodb-tools + dbeaver + + # API testing + httpie + curl + postman + insomnia + + # Cloud tools + awscli2 + google-cloud-sdk + azure-cli + terraform + ansible + + # Documentation + mdbook + hugo + zola + ] + + # Multimedia packages + ++ optionals cfg.packages.categories.multimedia [ + # Audio + pipewire + pulseaudio + pavucontrol + easyeffects + spotify + spotifyd + spotify-tui + cmus + mpd + ncmpcpp + + # Video + mpv + vlc + obs-studio + kdenlive + handbrake + ffmpeg-full + + # Images + imv + feh + gimp + inkscape + krita + imagemagick + graphicsmagick + + # Screen capture + grim + slurp + wf-recorder + flameshot + peek + + # PDF + zathura + evince + okular + mupdf + ] + + # Productivity packages + ++ optionals cfg.packages.categories.productivity [ + # Browsers + firefox + chromium + brave + qutebrowser + + # Communication + discord + slack + telegram-desktop + signal-desktop + element-desktop + zoom-us + teams + + # Office + libreoffice + onlyoffice-bin + wpsoffice + + # Note taking + obsidian + logseq + joplin-desktop + zettlr + + # Email + thunderbird + aerc + neomutt + + # Calendar + calcurse + khal + + # Password managers + bitwarden + keepassxc + pass + + # Sync and backup + syncthing + nextcloud-client + rclone + restic + borgbackup + ] + + # Gaming packages + ++ optionals cfg.packages.categories.gaming [ + steam + lutris + wine + winetricks + proton-ge-bin + mangohud + gamemode + discord + obs-studio + ]; + + # Font packages + fonts.packages = with pkgs; [ + # Nerd fonts (for icons in terminal) + (nerdfonts.override { + fonts = [ + "JetBrainsMono" + "FiraCode" + "Hack" + "Iosevka" + "Meslo" + "SourceCodePro" + "UbuntuMono" + "DroidSansMono" + "RobotoMono" + "Inconsolata" + ]; + }) + + # System fonts + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + liberation_ttf + ubuntu_font_family + roboto + open-sans + lato + + # Programming fonts + jetbrains-mono + fira-code + hasklig + victor-mono + + # Icon fonts + font-awesome + material-icons + material-design-icons + ]; + + # Enable font configuration + fonts.fontconfig = { + enable = true; + defaultFonts = { + serif = [ "Noto Serif" "Liberation Serif" ]; + sansSerif = [ "Noto Sans" "Liberation Sans" ]; + monospace = [ "JetBrainsMono Nerd Font" "Noto Sans Mono" ]; + emoji = [ "Noto Color Emoji" ]; + }; + }; + }; +} \ No newline at end of file diff --git a/modules/services.nix b/modules/services.nix new file mode 100644 index 0000000..5e7db8b --- /dev/null +++ b/modules/services.nix @@ -0,0 +1,323 @@ +{ config, pkgs, lib, ... }: + +with lib; + +let + cfg = config.omarchy; +in +{ + # System services configuration + services = { + # Display server + xserver = { + enable = true; + + # Display Manager + displayManager = { + gdm = { + enable = true; + wayland = true; + }; + + defaultSession = "hyprland"; + }; + + # Touchpad support + libinput = { + enable = true; + touchpad = { + naturalScrolling = true; + tapping = true; + clickMethod = "clickfinger"; + }; + }; + + # Keyboard layout + xkb = { + layout = "us"; + variant = ""; + options = "caps:escape,compose:ralt"; + }; + }; + + # Printing support + printing = { + enable = true; + drivers = with pkgs; [ + gutenprint + gutenprintBin + hplip + epson-escpr + epson-escpr2 + ]; + }; + + # Scanner support + sane = { + enable = true; + extraBackends = with pkgs; [ + sane-airscan + epkowa + ]; + }; + + # Sound + pipewire = { + enable = true; + alsa = { + enable = true; + support32Bit = true; + }; + pulse.enable = true; + jack.enable = true; + wireplumber.enable = true; + }; + + # Network + resolved = { + enable = true; + dnssec = "true"; + domains = [ "~." ]; + fallbackDns = [ + "1.1.1.1" + "8.8.8.8" + "1.0.0.1" + "8.8.4.4" + ]; + }; + + # Bluetooth + blueman.enable = true; + + # Power management + power-profiles-daemon.enable = true; + thermald.enable = true; + upower = { + enable = true; + percentageLow = 15; + percentageCritical = 5; + percentageAction = 3; + }; + + # System monitoring + smartd = { + enable = true; + autodetect = true; + }; + + # File indexing and search + locate = { + enable = true; + interval = "daily"; + package = pkgs.plocate; + localuser = null; + }; + + # Backup service (optional) + restic = { + backups = { + # Example backup configuration + # home = { + # paths = [ "/home/${cfg.user}" ]; + # repository = "/backup/restic"; + # passwordFile = "/etc/restic/password"; + # timerConfig = { + # OnCalendar = "daily"; + # Persistent = true; + # }; + # pruneOpts = [ + # "--keep-daily 7" + # "--keep-weekly 4" + # "--keep-monthly 12" + # ]; + # }; + }; + }; + + # SSH daemon + openssh = { + enable = true; + settings = { + PermitRootLogin = "no"; + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + X11Forwarding = false; + }; + }; + + # Firewall + fail2ban = { + enable = true; + maxretry = 3; + bantime = "1h"; + bantime-increment.enable = true; + }; + + # System maintenance + fstrim = { + enable = true; + interval = "weekly"; + }; + + # Scheduled tasks + cron = { + enable = true; + systemCronJobs = [ + # Example: Update system database daily + # "0 3 * * * root ${pkgs.nix-index}/bin/nix-index" + ]; + }; + + # Syncthing for file synchronization + syncthing = { + enable = false; # Set to true to enable + user = cfg.user; + dataDir = "/home/${cfg.user}/Documents"; + configDir = "/home/${cfg.user}/.config/syncthing"; + }; + + # Tailscale VPN + tailscale = { + enable = false; # Set to true to enable + useRoutingFeatures = "client"; + }; + + # Flatpak support + flatpak.enable = true; + + # GVFS for mounting and trash support + gvfs.enable = true; + + # Thumbnail generation + tumbler.enable = true; + + # Notification daemon is handled by mako in Hyprland config + + # System daemons + dbus = { + enable = true; + packages = with pkgs; [ dconf ]; + }; + + # Avahi for network discovery + avahi = { + enable = true; + nssmdns4 = true; + publish = { + enable = true; + addresses = true; + workstation = true; + }; + }; + + # ACPI daemon for power management + acpid.enable = true; + + # Automatic upgrades (disabled by default) + # system.autoUpgrade = { + # enable = true; + # allowReboot = false; + # dates = "04:00"; + # flake = "/etc/nixos#omarchy"; + # }; + + # Earlyoom - out of memory killer + earlyoom = { + enable = true; + freeMemThreshold = 5; + freeSwapThreshold = 10; + }; + + # Logrotate + logrotate = { + enable = true; + settings = { + "/var/log/omarchy/*.log" = { + frequency = "weekly"; + rotate = 4; + compress = true; + delaycompress = true; + notifempty = true; + create = "644 root root"; + }; + }; + }; + }; + + # Systemd services + systemd = { + # User session environment + user.extraConfig = '' + DefaultEnvironment="PATH=/run/wrappers/bin:/home/${cfg.user}/.nix-profile/bin:/etc/profiles/per-user/${cfg.user}/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin" + ''; + + # Automatic cleanup + timers.clear-tmp = { + description = "Clear /tmp weekly"; + wantedBy = [ "timers.target" ]; + timerConfig = { + OnCalendar = "weekly"; + Persistent = true; + }; + }; + + services.clear-tmp = { + description = "Clear /tmp directory"; + serviceConfig = { + Type = "oneshot"; + ExecStart = "${pkgs.coreutils}/bin/find /tmp -type f -atime +7 -delete"; + }; + }; + + # Custom Omarchy services + services.omarchy-init = { + description = "Omarchy initialization service"; + wantedBy = [ "multi-user.target" ]; + after = [ "network.target" ]; + serviceConfig = { + Type = "oneshot"; + RemainAfterExit = true; + ExecStart = pkgs.writeShellScript "omarchy-init" '' + #!/usr/bin/env bash + echo "Initializing Omarchy..." + + # Create necessary directories + mkdir -p /var/log/omarchy + mkdir -p /var/lib/omarchy + mkdir -p /etc/omarchy + + # Set up initial configuration + if [ ! -f /etc/omarchy/initialized ]; then + echo "$(date): Omarchy initialized" > /etc/omarchy/initialized + echo "Welcome to Omarchy!" > /etc/motd + fi + ''; + }; + }; + }; + + # Security policies + security = { + polkit = { + enable = true; + extraConfig = '' + /* Allow members of wheel group to manage systemd services without password */ + polkit.addRule(function(action, subject) { + if (action.id == "org.freedesktop.systemd1.manage-units" && + subject.isInGroup("wheel")) { + return polkit.Result.YES; + } + }); + ''; + }; + + # AppArmor + apparmor = { + enable = true; + packages = with pkgs; [ + apparmor-utils + apparmor-profiles + ]; + }; + }; +} \ No newline at end of file diff --git a/modules/themes/catppuccin.nix b/modules/themes/catppuccin.nix new file mode 100644 index 0000000..202b680 --- /dev/null +++ b/modules/themes/catppuccin.nix @@ -0,0 +1,198 @@ +{ config, pkgs, lib, ... }: + +{ + # Catppuccin Mocha theme configuration + config = { + # Color palette + environment.variables = { + OMARCHY_THEME = "catppuccin"; + OMARCHY_THEME_BG = "#1e1e2e"; + OMARCHY_THEME_FG = "#cdd6f4"; + OMARCHY_THEME_ACCENT = "#cba6f7"; + }; + + # Home-manager theme configuration + home-manager.users.${config.omarchy.user or "user"} = { + # Alacritty theme + programs.alacritty.settings.colors = { + primary = { + background = "#1e1e2e"; + foreground = "#cdd6f4"; + dim_foreground = "#a6adc8"; + bright_foreground = "#cdd6f4"; + }; + + cursor = { + text = "#1e1e2e"; + cursor = "#f5e0dc"; + }; + + vi_mode_cursor = { + text = "#1e1e2e"; + cursor = "#b4befe"; + }; + + search = { + matches = { + foreground = "#1e1e2e"; + background = "#a6adc8"; + }; + focused_match = { + foreground = "#1e1e2e"; + background = "#a6e3a1"; + }; + }; + + hints = { + start = { + foreground = "#1e1e2e"; + background = "#f9e2af"; + }; + end = { + foreground = "#1e1e2e"; + background = "#a6adc8"; + }; + }; + + selection = { + text = "#1e1e2e"; + background = "#f5e0dc"; + }; + + normal = { + black = "#45475a"; + red = "#f38ba8"; + green = "#a6e3a1"; + yellow = "#f9e2af"; + blue = "#89b4fa"; + magenta = "#f5c2e7"; + cyan = "#94e2d5"; + white = "#bac2de"; + }; + + bright = { + black = "#585b70"; + red = "#f38ba8"; + green = "#a6e3a1"; + yellow = "#f9e2af"; + blue = "#89b4fa"; + magenta = "#f5c2e7"; + cyan = "#94e2d5"; + white = "#a6adc8"; + }; + + dim = { + black = "#45475a"; + red = "#f38ba8"; + green = "#a6e3a1"; + yellow = "#f9e2af"; + blue = "#89b4fa"; + magenta = "#f5c2e7"; + cyan = "#94e2d5"; + white = "#bac2de"; + }; + }; + + # GTK theme + gtk = { + theme = { + name = "Catppuccin-Mocha-Standard-Lavender-Dark"; + package = pkgs.catppuccin-gtk.override { + accents = ["lavender"]; + size = "standard"; + variant = "mocha"; + }; + }; + iconTheme = { + name = "Papirus-Dark"; + package = pkgs.catppuccin-papirus-folders.override { + flavor = "mocha"; + accent = "lavender"; + }; + }; + }; + + # Starship theme + programs.starship.settings = { + palette = "catppuccin_mocha"; + + palettes.catppuccin_mocha = { + rosewater = "#f5e0dc"; + flamingo = "#f2cdcd"; + pink = "#f5c2e7"; + mauve = "#cba6f7"; + red = "#f38ba8"; + maroon = "#eba0ac"; + peach = "#fab387"; + yellow = "#f9e2af"; + green = "#a6e3a1"; + teal = "#94e2d5"; + sky = "#89dceb"; + sapphire = "#74c7ec"; + blue = "#89b4fa"; + lavender = "#b4befe"; + text = "#cdd6f4"; + subtext1 = "#bac2de"; + subtext0 = "#a6adc8"; + overlay2 = "#9399b2"; + overlay1 = "#7f849c"; + overlay0 = "#6c7086"; + surface2 = "#585b70"; + surface1 = "#45475a"; + surface0 = "#313244"; + base = "#1e1e2e"; + mantle = "#181825"; + crust = "#11111b"; + }; + + format = '' + [โ•ญโ”€](surface2)$username[@](yellow)$hostname [in ](text)$directory$git_branch$git_status$cmd_duration + [โ•ฐโ”€](surface2)$character + ''; + + character = { + success_symbol = "[โžœ](green)"; + error_symbol = "[โžœ](red)"; + }; + + directory = { + style = "blue"; + }; + + git_branch = { + style = "mauve"; + symbol = " "; + }; + + git_status = { + style = "red"; + }; + }; + + # Mako notification theme + services.mako = { + backgroundColor = "#1e1e2e"; + textColor = "#cdd6f4"; + borderColor = "#cba6f7"; + progressColor = "#cba6f7"; + defaultTimeout = 5000; + borderRadius = 10; + borderSize = 2; + font = "JetBrainsMono Nerd Font 10"; + padding = "10"; + margin = "20"; + }; + }; + + # Hyprland theme colors + environment.systemPackages = with pkgs; [ + (writeShellScriptBin "set-catppuccin-colors" '' + #!/usr/bin/env bash + # Set Catppuccin Mocha colors in Hyprland + hyprctl keyword general:col.active_border "rgba(cba6f7ee) rgba(89b4faee) 45deg" + hyprctl keyword general:col.inactive_border "rgba(585b70aa)" + hyprctl keyword decoration:col.shadow "rgba(1e1e2eee)" + '') + ]; + }; +} \ No newline at end of file diff --git a/modules/themes/tokyo-night.nix b/modules/themes/tokyo-night.nix new file mode 100644 index 0000000..1e0ede0 --- /dev/null +++ b/modules/themes/tokyo-night.nix @@ -0,0 +1,257 @@ +{ config, pkgs, lib, ... }: + +{ + # Tokyo Night theme configuration + config = { + # Color palette + environment.variables = { + OMARCHY_THEME = "tokyo-night"; + OMARCHY_THEME_BG = "#1a1b26"; + OMARCHY_THEME_FG = "#c0caf5"; + OMARCHY_THEME_ACCENT = "#7aa2f7"; + }; + + # Home-manager theme configuration + home-manager.users.${config.omarchy.user or "user"} = { + # Alacritty theme + programs.alacritty.settings.colors = { + primary = { + background = "#1a1b26"; + foreground = "#c0caf5"; + }; + + normal = { + black = "#15161e"; + red = "#f7768e"; + green = "#9ece6a"; + yellow = "#e0af68"; + blue = "#7aa2f7"; + magenta = "#bb9af7"; + cyan = "#7dcfff"; + white = "#a9b1d6"; + }; + + bright = { + black = "#414868"; + red = "#f7768e"; + green = "#9ece6a"; + yellow = "#e0af68"; + blue = "#7aa2f7"; + magenta = "#bb9af7"; + cyan = "#7dcfff"; + white = "#c0caf5"; + }; + + indexed_colors = [ + { index = 16; color = "#ff9e64"; } + { index = 17; color = "#db4b4b"; } + ]; + }; + + # Kitty theme + programs.kitty = { + theme = "Tokyo Night"; + settings = { + background = "#1a1b26"; + foreground = "#c0caf5"; + + selection_background = "#33467c"; + selection_foreground = "#c0caf5"; + + cursor = "#c0caf5"; + cursor_text_color = "#1a1b26"; + + # Black + color0 = "#15161e"; + color8 = "#414868"; + + # Red + color1 = "#f7768e"; + color9 = "#f7768e"; + + # Green + color2 = "#9ece6a"; + color10 = "#9ece6a"; + + # Yellow + color3 = "#e0af68"; + color11 = "#e0af68"; + + # Blue + color4 = "#7aa2f7"; + color12 = "#7aa2f7"; + + # Magenta + color5 = "#bb9af7"; + color13 = "#bb9af7"; + + # Cyan + color6 = "#7dcfff"; + color14 = "#7dcfff"; + + # White + color7 = "#a9b1d6"; + color15 = "#c0caf5"; + }; + }; + + # VS Code theme + programs.vscode.userSettings = { + "workbench.colorTheme" = "Tokyo Night"; + "editor.tokenColorCustomizations" = { + "[Tokyo Night]" = { + "textMateRules" = []; + }; + }; + "workbench.colorCustomizations" = { + "[Tokyo Night]" = { + "editor.background" = "#1a1b26"; + "editor.foreground" = "#c0caf5"; + "sideBar.background" = "#16161e"; + "sideBar.foreground" = "#a9b1d6"; + "activityBar.background" = "#16161e"; + "activityBar.foreground" = "#c0caf5"; + }; + }; + }; + + # GTK theme + gtk = { + theme = { + name = "Tokyo-Night"; + package = pkgs.tokyo-night-gtk or (pkgs.adw-gtk3.overrideAttrs (oldAttrs: { + pname = "tokyo-night-gtk"; + postInstall = (oldAttrs.postInstall or "") + '' + # Customize colors for Tokyo Night + sed -i 's/#1e1e2e/#1a1b26/g' $out/share/themes/*/gtk-3.0/gtk.css + sed -i 's/#cdd6f4/#c0caf5/g' $out/share/themes/*/gtk-3.0/gtk.css + ''; + })); + }; + }; + + # Rofi/Wofi theme + programs.rofi = { + theme = let + inherit (config.lib.formats.rasi) mkLiteral; + in { + "*" = { + background = mkLiteral "#1a1b26"; + foreground = mkLiteral "#c0caf5"; + selected = mkLiteral "#33467c"; + active = mkLiteral "#7aa2f7"; + urgent = mkLiteral "#f7768e"; + }; + }; + }; + + # Starship theme adjustments + programs.starship.settings = { + palette = "tokyo-night"; + + palettes.tokyo-night = { + bg = "#1a1b26"; + fg = "#c0caf5"; + black = "#15161e"; + red = "#f7768e"; + green = "#9ece6a"; + yellow = "#e0af68"; + blue = "#7aa2f7"; + magenta = "#bb9af7"; + cyan = "#7dcfff"; + white = "#a9b1d6"; + }; + + character = { + success_symbol = "[โžœ](green)"; + error_symbol = "[โžœ](red)"; + }; + + directory = { + style = "blue"; + truncation_length = 3; + }; + + git_branch = { + style = "magenta"; + symbol = " "; + }; + + git_status = { + style = "red"; + }; + }; + + # Neovim theme + programs.neovim.plugins = with pkgs.vimPlugins; [ + { + plugin = tokyonight-nvim; + type = "lua"; + config = '' + vim.cmd[[colorscheme tokyonight-night]] + ''; + } + ]; + + # Bat theme + programs.bat.config.theme = "TwoDark"; # Close to Tokyo Night + + # btop theme + programs.btop.settings.color_theme = "tokyo-night"; + + # Lazygit theme + programs.lazygit.settings = { + gui.theme = { + activeBorderColor = [ "#7aa2f7" "bold" ]; + inactiveBorderColor = [ "#414868" ]; + selectedLineBgColor = [ "#33467c" ]; + selectedRangeBgColor = [ "#33467c" ]; + cherryPickedCommitBgColor = [ "#33467c" ]; + cherryPickedCommitFgColor = [ "#7aa2f7" ]; + unstagedChangesColor = [ "#f7768e" ]; + defaultFgColor = [ "#c0caf5" ]; + }; + }; + + # Firefox theme + programs.firefox.profiles.default = { + userChrome = '' + /* Tokyo Night theme for Firefox */ + :root { + --toolbar-bgcolor: #1a1b26 !important; + --toolbar-color: #c0caf5 !important; + --toolbarbutton-hover-background: #33467c !important; + --toolbarbutton-active-background: #414868 !important; + --urlbar-focused-bg-color: #1a1b26 !important; + --urlbar-focused-color: #c0caf5 !important; + --tab-selected-bgcolor: #33467c !important; + --tab-selected-color: #c0caf5 !important; + } + ''; + }; + + # Mako notification theme + services.mako = { + backgroundColor = "#1a1b26"; + textColor = "#c0caf5"; + borderColor = "#7aa2f7"; + progressColor = "#7aa2f7"; + defaultTimeout = 5000; + borderRadius = 10; + borderSize = 2; + font = "JetBrainsMono Nerd Font 10"; + padding = "10"; + margin = "20"; + }; + }; + + # Wallpaper + environment.systemPackages = with pkgs; [ + (writeShellScriptBin "set-wallpaper" '' + #!/usr/bin/env bash + # Set Tokyo Night themed wallpaper + swww img ${./wallpapers/tokyo-night.jpg} --transition-type wipe --transition-angle 30 --transition-step 90 + '') + ]; + }; +} \ No newline at end of file diff --git a/modules/users.nix b/modules/users.nix new file mode 100644 index 0000000..8378574 --- /dev/null +++ b/modules/users.nix @@ -0,0 +1,122 @@ +{ config, pkgs, lib, ... }: + +with lib; + +let + cfg = config.omarchy; +in +{ + # User account configuration + users.users.${cfg.user} = { + isNormalUser = true; + description = "Omarchy User"; + extraGroups = [ + "wheel" + "networkmanager" + "audio" + "video" + "docker" + "libvirtd" + "input" + "dialout" + ]; + shell = pkgs.bash; + + # Set initial password (should be changed on first login) + initialPassword = "omarchy"; + + # SSH keys (add your SSH public keys here) + openssh.authorizedKeys.keys = [ + # "ssh-ed25519 AAAAC3... user@example.com" + ]; + }; + + # Additional user-related configurations + users = { + # Allow users in wheel group to use sudo + mutableUsers = true; + + # Default shell + defaultUserShell = pkgs.bash; + }; + + # Security settings for users + security.pam.services = { + # Enable fingerprint authentication + login.fprintAuth = false; + sudo.fprintAuth = false; + + # Enable U2F authentication (for YubiKey etc.) + login.u2fAuth = false; + sudo.u2fAuth = false; + }; + + # Home directory encryption (optional) + # security.pam.enableEcryptfs = true; + + # Automatic login (disable for production) + services.xserver.displayManager.autoLogin = { + enable = false; + user = cfg.user; + }; + + # User environment + environment.systemPackages = with pkgs; [ + # User management tools + shadow + passwd + + # Session management + loginctl + + # User info + finger_bsd + id-utils + ]; + + # User-specific services + systemd.user.services = { + # Example: Syncthing for the user + # syncthing = { + # description = "Syncthing for ${cfg.user}"; + # wantedBy = [ "default.target" ]; + # serviceConfig = { + # ExecStart = "${pkgs.syncthing}/bin/syncthing serve --no-browser --no-restart --logflags=0"; + # Restart = "on-failure"; + # RestartSec = 10; + # }; + # }; + }; + + # Shell initialization for all users + programs.bash.interactiveShellInit = '' + # User-specific aliases + alias profile='nvim ~/.bashrc' + alias reload='source ~/.bashrc' + + # Safety aliases + alias rm='rm -i' + alias cp='cp -i' + alias mv='mv -i' + + # Directory shortcuts + alias home='cd ~' + alias downloads='cd ~/Downloads' + alias documents='cd ~/Documents' + alias projects='cd ~/Projects' + + # Create standard directories if they don't exist + mkdir -p ~/Downloads ~/Documents ~/Projects ~/Pictures ~/Videos ~/Music + ''; + + # XDG Base Directory specification + environment.variables = { + XDG_CACHE_HOME = "$HOME/.cache"; + XDG_CONFIG_HOME = "$HOME/.config"; + XDG_DATA_HOME = "$HOME/.local/share"; + XDG_STATE_HOME = "$HOME/.local/state"; + }; + + # User quotas (optional) + # fileSystems."/home".options = [ "usrquota" ]; +} \ No newline at end of file diff --git a/packages/scripts.nix b/packages/scripts.nix new file mode 100644 index 0000000..fd92acd --- /dev/null +++ b/packages/scripts.nix @@ -0,0 +1,393 @@ +{ pkgs, lib, ... }: + +# Omarchy utility scripts as a Nix package +pkgs.stdenv.mkDerivation rec { + pname = "omarchy-scripts"; + version = "1.0.0"; + + # No source needed for script-only package + dontUnpack = true; + + buildInputs = with pkgs; [ + bash + coreutils + gnugrep + gnused + gawk + jq + curl + wget + git + fzf + ripgrep + ]; + + installPhase = '' + mkdir -p $out/bin + + # Theme management + cat > $out/bin/omarchy-theme-set << 'EOF' + #!/usr/bin/env bash + set -e + + THEME="$1" + AVAILABLE_THEMES="tokyo-night catppuccin gruvbox nord everforest rose-pine kanagawa" + + if [ -z "$THEME" ]; then + echo "Usage: omarchy-theme-set " + echo "Available themes: $AVAILABLE_THEMES" + exit 1 + fi + + if ! echo "$AVAILABLE_THEMES" | grep -qw "$THEME"; then + echo "Error: Unknown theme '$THEME'" + echo "Available themes: $AVAILABLE_THEMES" + exit 1 + fi + + echo "Switching to theme: $THEME" + + # Update configuration + sudo sed -i "s/currentTheme = \".*\"/currentTheme = \"$THEME\"/" /etc/nixos/configuration.nix + + # Rebuild system + sudo nixos-rebuild switch --flake /etc/nixos#omarchy + + echo "Theme switched to $THEME successfully!" + EOF + chmod +x $out/bin/omarchy-theme-set + + cat > $out/bin/omarchy-theme-list << 'EOF' + #!/usr/bin/env bash + echo "Available Omarchy themes:" + echo "========================" + echo " โ€ข tokyo-night (default)" + echo " โ€ข catppuccin" + echo " โ€ข gruvbox" + echo " โ€ข nord" + echo " โ€ข everforest" + echo " โ€ข rose-pine" + echo " โ€ข kanagawa" + echo "" + echo "Current theme: $(grep currentTheme /etc/nixos/configuration.nix | cut -d'"' -f2)" + echo "" + echo "To change theme, run: omarchy-theme-set " + EOF + chmod +x $out/bin/omarchy-theme-list + + # System management + cat > $out/bin/omarchy-update << 'EOF' + #!/usr/bin/env bash + set -e + + echo "๐Ÿ”„ Updating Omarchy system..." + echo "" + + # Update flake inputs + echo "๐Ÿ“ฆ Updating flake inputs..." + cd /etc/nixos + sudo nix flake update + + # Show what changed + echo "" + echo "๐Ÿ“Š Changes:" + git diff flake.lock | grep -E "^\+" | head -20 + + # Rebuild system + echo "" + echo "๐Ÿ—๏ธ Rebuilding system..." + sudo nixos-rebuild switch --flake .#omarchy + + echo "" + echo "โœ… System updated successfully!" + EOF + chmod +x $out/bin/omarchy-update + + cat > $out/bin/omarchy-clean << 'EOF' + #!/usr/bin/env bash + set -e + + echo "๐Ÿงน Cleaning Omarchy system..." + echo "" + + # Show current store size + echo "Current store size:" + du -sh /nix/store 2>/dev/null || echo "Unable to calculate" + echo "" + + # Run garbage collection + echo "Running garbage collection..." + sudo nix-collect-garbage -d + + # Optimize store + echo "Optimizing Nix store..." + sudo nix-store --optimise + + # Show new size + echo "" + echo "New store size:" + du -sh /nix/store 2>/dev/null || echo "Unable to calculate" + + echo "" + echo "โœ… Cleanup complete!" + EOF + chmod +x $out/bin/omarchy-clean + + # Package management + cat > $out/bin/omarchy-search << 'EOF' + #!/usr/bin/env bash + + QUERY="$1" + + if [ -z "$QUERY" ]; then + echo "Usage: omarchy-search " + exit 1 + fi + + echo "Searching for '$QUERY'..." + nix search nixpkgs "$QUERY" 2>/dev/null | head -50 + EOF + chmod +x $out/bin/omarchy-search + + cat > $out/bin/omarchy-install << 'EOF' + #!/usr/bin/env bash + set -e + + PACKAGES="$*" + + if [ -z "$PACKAGES" ]; then + echo "Usage: omarchy-install [package-name...]" + exit 1 + fi + + echo "๐Ÿ“ฆ Installing packages: $PACKAGES" + echo "" + + # Add packages to configuration + CONFIG="/etc/nixos/configuration.nix" + + for PKG in $PACKAGES; do + echo "Adding $PKG to configuration..." + # This would need more sophisticated editing + echo "Package $PKG needs to be manually added to $CONFIG" + done + + echo "" + echo "Please edit $CONFIG and add the packages to environment.systemPackages" + echo "Then run: omarchy-rebuild" + EOF + chmod +x $out/bin/omarchy-install + + # Development helpers + cat > $out/bin/omarchy-dev-shell << 'EOF' + #!/usr/bin/env bash + + LANG="$1" + + case "$LANG" in + rust) + echo "Starting Rust development shell..." + nix-shell -p rustc cargo rust-analyzer rustfmt clippy + ;; + go) + echo "Starting Go development shell..." + nix-shell -p go gopls gotools golangci-lint + ;; + python) + echo "Starting Python development shell..." + nix-shell -p python3 python3Packages.pip python3Packages.virtualenv python3Packages.ipython + ;; + node|js) + echo "Starting Node.js development shell..." + nix-shell -p nodejs_20 nodePackages.pnpm nodePackages.typescript + ;; + c|cpp) + echo "Starting C/C++ development shell..." + nix-shell -p gcc cmake gnumake gdb clang-tools + ;; + *) + echo "Usage: omarchy-dev-shell " + echo "Supported languages: rust, go, python, node/js, c/cpp" + exit 1 + ;; + esac + EOF + chmod +x $out/bin/omarchy-dev-shell + + # Screenshot utility + cat > $out/bin/omarchy-screenshot << 'EOF' + #!/usr/bin/env bash + + MODE="''${1:-region}" + OUTPUT_DIR="$HOME/Pictures/Screenshots" + mkdir -p "$OUTPUT_DIR" + FILENAME="$OUTPUT_DIR/screenshot-$(date +%Y%m%d-%H%M%S).png" + + case "$MODE" in + region|area) + grim -g "$(slurp)" "$FILENAME" + ;; + full|screen) + grim "$FILENAME" + ;; + window) + grim -g "$(hyprctl activewindow -j | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" "$FILENAME" + ;; + *) + echo "Usage: omarchy-screenshot [region|full|window]" + exit 1 + ;; + esac + + if [ -f "$FILENAME" ]; then + wl-copy < "$FILENAME" + notify-send "Screenshot saved" "$FILENAME" -i "$FILENAME" + echo "$FILENAME" + fi + EOF + chmod +x $out/bin/omarchy-screenshot + + # System info + cat > $out/bin/omarchy-info << 'EOF' + #!/usr/bin/env bash + + echo "โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ" + echo "โ”‚ OMARCHY NIXOS โ”‚" + echo "โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ" + echo "" + echo "System Information:" + echo "===================" + echo "Version: $(nixos-version)" + echo "Kernel: $(uname -r)" + echo "Theme: $(grep currentTheme /etc/nixos/configuration.nix 2>/dev/null | cut -d'"' -f2 || echo "default")" + echo "User: $USER" + echo "Shell: $SHELL" + echo "Terminal: $TERM" + echo "" + echo "Hardware:" + echo "=========" + echo "CPU: $(lscpu | grep 'Model name' | cut -d':' -f2 | xargs)" + echo "Memory: $(free -h | awk '/^Mem:/ {print $2}')" + echo "Disk: $(df -h / | awk 'NR==2 {print $2}')" + echo "" + echo "Quick Commands:" + echo "==============" + echo " omarchy-help - Show help" + echo " omarchy-update - Update system" + echo " omarchy-clean - Clean system" + echo " omarchy-theme - Change theme" + EOF + chmod +x $out/bin/omarchy-info + + # Help command + cat > $out/bin/omarchy-help << 'EOF' + #!/usr/bin/env bash + + cat << HELP + Omarchy NixOS - Command Reference + ================================== + + System Management: + ------------------ + omarchy-update Update system and flake inputs + omarchy-clean Clean and optimize Nix store + omarchy-rebuild Rebuild system configuration + omarchy-info Show system information + + Package Management: + ------------------- + omarchy-search Search for packages + omarchy-install Install packages (guide) + + Theme Management: + ----------------- + omarchy-theme-list List available themes + omarchy-theme-set Set system theme + + Development: + ------------ + omarchy-dev-shell Start language-specific shell + dev-postgres Start PostgreSQL container + dev-redis Start Redis container + dev-mysql Start MySQL container + dev-mongodb Start MongoDB container + + Utilities: + ---------- + omarchy-screenshot Take screenshots + + Hyprland Keybindings: + --------------------- + Super + Return Open terminal + Super + B Open browser + Super + E Open file manager + Super + D Application launcher + Super + Q Close window + Super + F Fullscreen + Super + Space Toggle floating + Super + 1-9 Switch workspace + Super + Shift + 1-9 Move to workspace + Print Screenshot region + Shift + Print Screenshot full + + For more information: https://omarchy.org + HELP + EOF + chmod +x $out/bin/omarchy-help + + # Main omarchy command + cat > $out/bin/omarchy << 'EOF' + #!/usr/bin/env bash + + CMD="''${1:-help}" + shift || true + + case "$CMD" in + update|upgrade) + omarchy-update "$@" + ;; + clean|gc) + omarchy-clean "$@" + ;; + theme) + if [ -n "$1" ]; then + omarchy-theme-set "$@" + else + omarchy-theme-list + fi + ;; + search) + omarchy-search "$@" + ;; + install) + omarchy-install "$@" + ;; + info|status) + omarchy-info "$@" + ;; + help|--help|-h) + omarchy-help "$@" + ;; + *) + echo "Unknown command: $CMD" + echo "Run 'omarchy help' for available commands" + exit 1 + ;; + esac + EOF + chmod +x $out/bin/omarchy + + # Create rebuild alias + cat > $out/bin/omarchy-rebuild << 'EOF' + #!/usr/bin/env bash + sudo nixos-rebuild switch --flake /etc/nixos#omarchy "$@" + EOF + chmod +x $out/bin/omarchy-rebuild + ''; + + meta = with lib; { + description = "Omarchy utility scripts for NixOS"; + license = licenses.mit; + platforms = platforms.linux; + }; +} \ No newline at end of file diff --git a/themes/catppuccin-latte/alacritty.toml b/themes/catppuccin-latte/alacritty.toml deleted file mode 100644 index 3fcf61e..0000000 --- a/themes/catppuccin-latte/alacritty.toml +++ /dev/null @@ -1,67 +0,0 @@ -# https://raw.githubusercontent.com/catppuccin/alacritty/main/catppuccin-latte.toml - -[colors.primary] -background = "#eff1f5" -foreground = "#4c4f69" -dim_foreground = "#8c8fa1" -bright_foreground = "#4c4f69" - -[colors.cursor] -text = "#eff1f5" -cursor = "#dc8a78" - -[colors.vi_mode_cursor] -text = "#eff1f5" -cursor = "#7287fd" - -[colors.search.matches] -foreground = "#eff1f5" -background = "#6c6f85" - -[colors.search.focused_match] -foreground = "#eff1f5" -background = "#40a02b" - -[colors.footer_bar] -foreground = "#eff1f5" -background = "#6c6f85" - -[colors.hints.start] -foreground = "#eff1f5" -background = "#df8e1d" - -[colors.hints.end] -foreground = "#eff1f5" -background = "#6c6f85" - -[colors.selection] -text = "#eff1f5" -background = "#dc8a78" - -[colors.normal] -black = "#bcc0cc" -red = "#d20f39" -green = "#40a02b" -yellow = "#df8e1d" -blue = "#1e66f5" -magenta = "#ea76cb" -cyan = "#179299" -white = "#5c5f77" - -[colors.bright] -black = "#acb0be" -red = "#d20f39" -green = "#40a02b" -yellow = "#df8e1d" -blue = "#1e66f5" -magenta = "#ea76cb" -cyan = "#179299" -white = "#6c6f85" - -[[colors.indexed_colors]] -index = 16 -color = "#fe640b" - -[[colors.indexed_colors]] -index = 17 -color = "#dc8a78" diff --git a/themes/catppuccin-latte/backgrounds/1-catppuccin-latte.png b/themes/catppuccin-latte/backgrounds/1-catppuccin-latte.png deleted file mode 100644 index ee0cd94..0000000 Binary files a/themes/catppuccin-latte/backgrounds/1-catppuccin-latte.png and /dev/null differ diff --git a/themes/catppuccin-latte/btop.theme b/themes/catppuccin-latte/btop.theme deleted file mode 100644 index 87ed181..0000000 --- a/themes/catppuccin-latte/btop.theme +++ /dev/null @@ -1,84 +0,0 @@ -# https://github.com/catppuccin/btop/blob/main/themes/catppuccin_latte.theme -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="#eff1f5" - -# Main text color -theme[main_fg]="#4c4f69" - -# Title color for boxes -theme[title]="#4c4f69" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#1e66f5" - -# Background color of selected item in processes box -theme[selected_bg]="#bcc0cc" - -# Foreground color of selected item in processes box -theme[selected_fg]="#1e66f5" - -# Color of inactive/disabled text -theme[inactive_fg]="#8c8fa1" - -# Color of text appearing on top of graphs, i.e uptime and current network graph scaling -theme[graph_text]="#dc8a78" - -# Background color of the percentage meters -theme[meter_bg]="#bcc0cc" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#dc8a78" - -# CPU, Memory, Network, Proc box outline colors -theme[cpu_box]="#8839ef" #Mauve -theme[mem_box]="#40a02b" #Green -theme[net_box]="#e64553" #Maroon -theme[proc_box]="#1e66f5" #Blue - -# Box divider line and small boxes line color -theme[div_line]="#9ca0b0" - -# Temperature graph color (Green -> Yellow -> Red) -theme[temp_start]="#40a02b" -theme[temp_mid]="#df8e1d" -theme[temp_end]="#d20f39" - -# CPU graph colors (Teal -> Lavender) -theme[cpu_start]="#179299" -theme[cpu_mid]="#209fb5" -theme[cpu_end]="#7287fd" - -# Mem/Disk free meter (Mauve -> Lavender -> Blue) -theme[free_start]="#8839ef" -theme[free_mid]="#7287fd" -theme[free_end]="#1e66f5" - -# Mem/Disk cached meter (Sapphire -> Lavender) -theme[cached_start]="#209fb5" -theme[cached_mid]="#1e66f5" -theme[cached_end]="#7287fd" - -# Mem/Disk available meter (Peach -> Red) -theme[available_start]="#fe640b" -theme[available_mid]="#e64553" -theme[available_end]="#d20f39" - -# Mem/Disk used meter (Green -> Sky) -theme[used_start]="#40a02b" -theme[used_mid]="#179299" -theme[used_end]="#04a5e5" - -# Download graph colors (Peach -> Red) -theme[download_start]="#fe640b" -theme[download_mid]="#e64553" -theme[download_end]="#d20f39" - -# Upload graph colors (Green -> Sky) -theme[upload_start]="#40a02b" -theme[upload_mid]="#179299" -theme[upload_end]="#04a5e5" - -# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve) -theme[process_start]="#209fb5" -theme[process_mid]="#7287fd" -theme[process_end]="#8839ef" diff --git a/themes/catppuccin-latte/chromium.theme b/themes/catppuccin-latte/chromium.theme deleted file mode 100644 index 8bd675b..0000000 --- a/themes/catppuccin-latte/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -239,241,245 diff --git a/themes/catppuccin-latte/ghostty.conf b/themes/catppuccin-latte/ghostty.conf deleted file mode 100644 index e56f4ea..0000000 --- a/themes/catppuccin-latte/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Catppuccin Latte diff --git a/themes/catppuccin-latte/hyprland.conf b/themes/catppuccin-latte/hyprland.conf deleted file mode 100644 index afc429d..0000000 --- a/themes/catppuccin-latte/hyprland.conf +++ /dev/null @@ -1,4 +0,0 @@ -general { - col.active_border = rgb(1e66f5) -} - diff --git a/themes/catppuccin-latte/hyprlock.conf b/themes/catppuccin-latte/hyprlock.conf deleted file mode 100644 index c47e518..0000000 --- a/themes/catppuccin-latte/hyprlock.conf +++ /dev/null @@ -1,6 +0,0 @@ -$color = rgba(239,241,245,1.0) -$inner_color = rgba(239,241,245,0.8) -$outer_color = rgba(30,102,245,1.0) -$font_color = rgba(76,79,105,1.0) -$check_color = rgba(4,165,229,1.0) - diff --git a/themes/catppuccin-latte/icons.theme b/themes/catppuccin-latte/icons.theme deleted file mode 100644 index 6ce2f14..0000000 --- a/themes/catppuccin-latte/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-blue diff --git a/themes/catppuccin-latte/kitty.conf b/themes/catppuccin-latte/kitty.conf deleted file mode 100644 index 43cba92..0000000 --- a/themes/catppuccin-latte/kitty.conf +++ /dev/null @@ -1,78 +0,0 @@ -## name: Catppuccin Latte ๐Ÿ‘ -## author: Pocco81 (https://github.com/Pocco81) -## license: MIT -## upstream: https://github.com/catppuccin/kitty/blob/main/latte.conf -## blurb: Soothing pastel theme for the high-spirited! - - - -# The basic colors -foreground #4C4F69 -background #EFF1F5 -selection_foreground #EFF1F5 -selection_background #DC8A78 - -# Cursor colors -cursor #DC8A78 -cursor_text_color #EFF1F5 - -# URL underline color when hovering with mouse -url_color #7287FD - -# Kitty window border colors -active_border_color #8839EF -inactive_border_color #7C7F93 -bell_border_color #E64553 - -# OS Window titlebar colors -wayland_titlebar_color system -macos_titlebar_color system - -# Tab bar colors -active_tab_foreground #EFF1F5 -active_tab_background #8839EF -inactive_tab_foreground #4C4F69 -inactive_tab_background #9CA0B0 -tab_bar_background #BCC0CC - -# Colors for marks (marked text in the terminal) -mark1_foreground #EFF1F5 -mark1_background #1E66F5 -mark2_foreground #EFF1F5 -mark2_background #8839EF -mark3_foreground #EFF1F5 -mark3_background #209FB5 - -# The 16 terminal colors - -# black -color0 #4C4F69 -color8 #6C6F85 - -# red -color1 #D20F39 -color9 #D20F39 - -# green -color2 #40A02B -color10 #40A02B - -# yellow -color3 #DF8E1D -color11 #DF8E1D - -# blue -color4 #1E66F5 -color12 #1E66F5 - -# magenta -color5 #EA76CB -color13 #EA76CB - -# cyan -color6 #179299 -color14 #179299 - -# white -color7 #ACB0BE -color15 #ACB0BE diff --git a/themes/catppuccin-latte/light.mode b/themes/catppuccin-latte/light.mode deleted file mode 100644 index 66bb2d0..0000000 --- a/themes/catppuccin-latte/light.mode +++ /dev/null @@ -1 +0,0 @@ -# This will set "prefer-light" and use "Adwaita" as the theme diff --git a/themes/catppuccin-latte/mako.ini b/themes/catppuccin-latte/mako.ini deleted file mode 100644 index 6461da0..0000000 --- a/themes/catppuccin-latte/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#4c4f69 -border-color=#1e66f5 -background-color=#eff1f5 -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/catppuccin-latte/neovim.lua b/themes/catppuccin-latte/neovim.lua deleted file mode 100644 index 07a53cf..0000000 --- a/themes/catppuccin-latte/neovim.lua +++ /dev/null @@ -1,19 +0,0 @@ -return { - { - "catppuccin/nvim", - name = "catppuccin", - priority = 1000, - config = function() - require("catppuccin").setup({ - flavour = "latte", -- other options: "mocha", "frappe", "macchiato" - }) - vim.cmd.colorscheme("catppuccin-latte") - end, - }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "catppuccin-latte", - }, - }, -} diff --git a/themes/catppuccin-latte/preview.png b/themes/catppuccin-latte/preview.png deleted file mode 100644 index 4c594da..0000000 Binary files a/themes/catppuccin-latte/preview.png and /dev/null differ diff --git a/themes/catppuccin-latte/swayosd.css b/themes/catppuccin-latte/swayosd.css deleted file mode 100644 index c5f23aa..0000000 --- a/themes/catppuccin-latte/swayosd.css +++ /dev/null @@ -1,5 +0,0 @@ -@define-color background-color #eff1f5; -@define-color border-color #1e66f5; -@define-color label #4c4f69; -@define-color image #4c4f69; -@define-color progress #4c4f69; diff --git a/themes/catppuccin-latte/vscode.json b/themes/catppuccin-latte/vscode.json deleted file mode 100644 index 98d1113..0000000 --- a/themes/catppuccin-latte/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Catppuccin Latte", - "extension": "catppuccin.catppuccin-vsc" -} diff --git a/themes/catppuccin-latte/walker.css b/themes/catppuccin-latte/walker.css deleted file mode 100644 index 30e54bd..0000000 --- a/themes/catppuccin-latte/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #1e66f5; -@define-color text #4c4f69; -@define-color base #eff1f5; -@define-color border #dce0e8; -@define-color foreground #4c4f69; -@define-color background #eff1f5; diff --git a/themes/catppuccin-latte/waybar.css b/themes/catppuccin-latte/waybar.css deleted file mode 100644 index 5918ec6..0000000 --- a/themes/catppuccin-latte/waybar.css +++ /dev/null @@ -1,4 +0,0 @@ -@define-color foreground #4c4f69; /* text */ -@define-color background #eff1f5; /* base */ -@define-color border #dce0e8; /* crust */ -@define-color accent #1e66f5; /* blue */ diff --git a/themes/catppuccin/alacritty.toml b/themes/catppuccin/alacritty.toml deleted file mode 100644 index bfa455a..0000000 --- a/themes/catppuccin/alacritty.toml +++ /dev/null @@ -1,76 +0,0 @@ -[colors.primary] -background = "#24273a" -foreground = "#cad3f5" -dim_foreground = "#8087a2" -bright_foreground = "#cad3f5" - -[colors.cursor] -text = "#24273a" -cursor = "#f4dbd6" - -[colors.vi_mode_cursor] -text = "#24273a" -cursor = "#b7bdf8" - -[colors.search.matches] -foreground = "#24273a" -background = "#a5adcb" - -[colors.search.focused_match] -foreground = "#24273a" -background = "#a6da95" - -[colors.footer_bar] -foreground = "#24273a" -background = "#a5adcb" - -[colors.hints.start] -foreground = "#24273a" -background = "#eed49f" - -[colors.hints.end] -foreground = "#24273a" -background = "#a5adcb" - -[colors.selection] -text = "#24273a" -background = "#f4dbd6" - -[colors.normal] -black = "#494d64" -red = "#ed8796" -green = "#a6da95" -yellow = "#eed49f" -blue = "#8aadf4" -magenta = "#f5bde6" -cyan = "#8bd5ca" -white = "#b8c0e0" - -[colors.bright] -black = "#5b6078" -red = "#ed8796" -green = "#a6da95" -yellow = "#eed49f" -blue = "#8aadf4" -magenta = "#f5bde6" -cyan = "#8bd5ca" -white = "#a5adcb" - -[colors.dim] -black = "#494d64" -red = "#ed8796" -green = "#a6da95" -yellow = "#eed49f" -blue = "#8aadf4" -magenta = "#f5bde6" -cyan = "#8bd5ca" -white = "#b8c0e0" - -[[colors.indexed_colors]] -index = 16 -color = "#f5a97f" - -[[colors.indexed_colors]] -index = 17 -color = "#f4dbd6" - diff --git a/themes/catppuccin/backgrounds/1-catppuccin.png b/themes/catppuccin/backgrounds/1-catppuccin.png deleted file mode 100644 index 5fbcebc..0000000 Binary files a/themes/catppuccin/backgrounds/1-catppuccin.png and /dev/null differ diff --git a/themes/catppuccin/backgrounds/2-cat-waves-mocha.png b/themes/catppuccin/backgrounds/2-cat-waves-mocha.png deleted file mode 100644 index a0b5325..0000000 Binary files a/themes/catppuccin/backgrounds/2-cat-waves-mocha.png and /dev/null differ diff --git a/themes/catppuccin/backgrounds/3-cat-blue-eye-mocha.png b/themes/catppuccin/backgrounds/3-cat-blue-eye-mocha.png deleted file mode 100644 index 30b5963..0000000 Binary files a/themes/catppuccin/backgrounds/3-cat-blue-eye-mocha.png and /dev/null differ diff --git a/themes/catppuccin/btop.theme b/themes/catppuccin/btop.theme deleted file mode 100644 index 18a4ff6..0000000 --- a/themes/catppuccin/btop.theme +++ /dev/null @@ -1,83 +0,0 @@ -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="#24273a" - -# Main text color -theme[main_fg]="#c6d0f5" - -# Title color for boxes -theme[title]="#c6d0f5" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#8caaee" - -# Background color of selected item in processes box -theme[selected_bg]="#51576d" - -# Foreground color of selected item in processes box -theme[selected_fg]="#8caaee" - -# Color of inactive/disabled text -theme[inactive_fg]="#838ba7" - -# Color of text appearing on top of graphs, i.e uptime and current network graph scaling -theme[graph_text]="#f2d5cf" - -# Background color of the percentage meters -theme[meter_bg]="#51576d" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#f2d5cf" - -# CPU, Memory, Network, Proc box outline colors -theme[cpu_box]="#ca9ee6" #Mauve -theme[mem_box]="#a6d189" #Green -theme[net_box]="#ea999c" #Maroon -theme[proc_box]="#8caaee" #Blue - -# Box divider line and small boxes line color -theme[div_line]="#737994" - -# Temperature graph color (Green -> Yellow -> Red) -theme[temp_start]="#a6d189" -theme[temp_mid]="#e5c890" -theme[temp_end]="#e78284" - -# CPU graph colors (Teal -> Lavender) -theme[cpu_start]="#81c8be" -theme[cpu_mid]="#85c1dc" -theme[cpu_end]="#babbf1" - -# Mem/Disk free meter (Mauve -> Lavender -> Blue) -theme[free_start]="#ca9ee6" -theme[free_mid]="#babbf1" -theme[free_end]="#8caaee" - -# Mem/Disk cached meter (Sapphire -> Lavender) -theme[cached_start]="#85c1dc" -theme[cached_mid]="#8caaee" -theme[cached_end]="#babbf1" - -# Mem/Disk available meter (Peach -> Red) -theme[available_start]="#ef9f76" -theme[available_mid]="#ea999c" -theme[available_end]="#e78284" - -# Mem/Disk used meter (Green -> Sky) -theme[used_start]="#a6d189" -theme[used_mid]="#81c8be" -theme[used_end]="#99d1db" - -# Download graph colors (Peach -> Red) -theme[download_start]="#ef9f76" -theme[download_mid]="#ea999c" -theme[download_end]="#e78284" - -# Upload graph colors (Green -> Sky) -theme[upload_start]="#a6d189" -theme[upload_mid]="#81c8be" -theme[upload_end]="#99d1db" - -# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve) -theme[process_start]="#85c1dc" -theme[process_mid]="#babbf1" -theme[process_end]="#ca9ee6" diff --git a/themes/catppuccin/chromium.theme b/themes/catppuccin/chromium.theme deleted file mode 100644 index 1d96599..0000000 --- a/themes/catppuccin/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -24,24,36 diff --git a/themes/catppuccin/eza.yml b/themes/catppuccin/eza.yml deleted file mode 100644 index 198febc..0000000 --- a/themes/catppuccin/eza.yml +++ /dev/null @@ -1,104 +0,0 @@ -# see https://github.com/eza-community/eza-themes/blob/main/themes/catppuccin.yml - -colourful: true - -filekinds: - normal: {foreground: "#BAC2DE"} - directory: {foreground: "#89B4FA"} - symlink: {foreground: "#89DCEB"} - pipe: {foreground: "#7F849C"} - block_device: {foreground: "#EBA0AC"} - char_device: {foreground: "#EBA0AC"} - socket: {foreground: "#585B70"} - special: {foreground: "#CBA6F7"} - executable: {foreground: "#A6E3A1"} - mount_point: {foreground: "#74C7EC"} - -perms: - user_read: {foreground: "#CDD6F4"} - user_write: {foreground: "#F9E2AF"} - user_execute_file: {foreground: "#A6E3A1"} - user_execute_other: {foreground: "#A6E3A1"} - group_read: {foreground: "#BAC2DE"} - group_write: {foreground: "#F9E2AF"} - group_execute: {foreground: "#A6E3A1"} - other_read: {foreground: "#A6ADC8"} - other_write: {foreground: "#F9E2AF"} - other_execute: {foreground: "#A6E3A1"} - special_user_file: {foreground: "#CBA6F7"} - special_other: {foreground: "#585B70"} - attribute: {foreground: "#A6ADC8"} - -size: - major: {foreground: "#A6ADC8"} - minor: {foreground: "#89DCEB"} - number_byte: {foreground: "#CDD6F4"} - number_kilo: {foreground: "#BAC2DE"} - number_mega: {foreground: "#89B4FA"} - number_giga: {foreground: "#CBA6F7"} - number_huge: {foreground: "#CBA6F7"} - unit_byte: {foreground: "#A6ADC8"} - unit_kilo: {foreground: "#89B4FA"} - unit_mega: {foreground: "#CBA6F7"} - unit_giga: {foreground: "#CBA6F7"} - unit_huge: {foreground: "#74C7EC"} - -users: - user_you: {foreground: "#CDD6F4"} - user_root: {foreground: "#F38BA8"} - user_other: {foreground: "#CBA6F7"} - group_yours: {foreground: "#BAC2DE"} - group_other: {foreground: "#7F849C"} - group_root: {foreground: "#F38BA8"} - -links: - normal: {foreground: "#89DCEB"} - multi_link_file: {foreground: "#74C7EC"} - -git: - new: {foreground: "#A6E3A1"} - modified: {foreground: "#F9E2AF"} - deleted: {foreground: "#F38BA8"} - renamed: {foreground: "#94E2D5"} - typechange: {foreground: "#F5C2E7"} - ignored: {foreground: "#7F849C"} - conflicted: {foreground: "#EBA0AC"} - -git_repo: - branch_main: {foreground: "#CDD6F4"} - branch_other: {foreground: "#CBA6F7"} - git_clean: {foreground: "#A6E3A1"} - git_dirty: {foreground: "#F38BA8"} - -security_context: - colon: {foreground: "#7F849C"} - user: {foreground: "#BAC2DE"} - role: {foreground: "#CBA6F7"} - typ: {foreground: "#585B70"} - range: {foreground: "#CBA6F7"} - -file_type: - image: {foreground: "#F9E2AF"} - video: {foreground: "#F38BA8"} - music: {foreground: "#A6E3A1"} - lossless: {foreground: "#94E2D5"} - crypto: {foreground: "#585B70"} - document: {foreground: "#CDD6F4"} - compressed: {foreground: "#F5C2E7"} - temp: {foreground: "#EBA0AC"} - compiled: {foreground: "#74C7EC"} - build: {foreground: "#585B70"} - source: {foreground: "#89B4FA"} - -punctuation: {foreground: "#7F849C"} -date: {foreground: "#F9E2AF"} -inode: {foreground: "#A6ADC8"} -blocks: {foreground: "#9399B2"} -header: {foreground: "#CDD6F4"} -octal: {foreground: "#94E2D5"} -flags: {foreground: "#CBA6F7"} - -symlink_path: {foreground: "#89DCEB"} -control_char: {foreground: "#74C7EC"} -broken_symlink: {foreground: "#F38BA8"} -broken_path_overlay: {foreground: "#585B70"} diff --git a/themes/catppuccin/ghostty.conf b/themes/catppuccin/ghostty.conf deleted file mode 100644 index fe0502b..0000000 --- a/themes/catppuccin/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Catppuccin Mocha diff --git a/themes/catppuccin/hyprland.conf b/themes/catppuccin/hyprland.conf deleted file mode 100644 index 46ff7e6..0000000 --- a/themes/catppuccin/hyprland.conf +++ /dev/null @@ -1,3 +0,0 @@ -general { - col.active_border = rgb(c6d0f5) -} diff --git a/themes/catppuccin/hyprlock.conf b/themes/catppuccin/hyprlock.conf deleted file mode 100644 index 4bd905b..0000000 --- a/themes/catppuccin/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(24,24,36,1.0) -$inner_color = rgba(24,24,36,0.8) -$outer_color = rgba(205,214,244,1.0) -$font_color = rgba(205,214,244,1.0) -$check_color = rgba(68, 157, 171, 1.0) diff --git a/themes/catppuccin/icons.theme b/themes/catppuccin/icons.theme deleted file mode 100644 index 24a4551..0000000 --- a/themes/catppuccin/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-purple diff --git a/themes/catppuccin/kitty.conf b/themes/catppuccin/kitty.conf deleted file mode 100644 index e8ee9a1..0000000 --- a/themes/catppuccin/kitty.conf +++ /dev/null @@ -1,78 +0,0 @@ -## name: Catppuccin Mocha ๐ŸŒฟ -## author: Pocco81 (https://github.com/Pocco81) -## license: MIT -## upstream: https://github.com/catppuccin/kitty/blob/main/mocha.conf -## blurb: Soothing pastel theme for the high-spirited! - - - -# The basic colors -foreground #CDD6F4 -background #1E1E2E -selection_foreground #1E1E2E -selection_background #F5E0DC - -# Cursor colors -cursor #F5E0DC -cursor_text_color #1E1E2E - -# URL underline color when hovering with mouse -url_color #B4BEFE - -# Kitty window border colors -active_border_color #CBA6F7 -inactive_border_color #8E95B3 -bell_border_color #EBA0AC - -# OS Window titlebar colors -wayland_titlebar_color system -macos_titlebar_color system - -# Tab bar colors -active_tab_foreground #11111B -active_tab_background #CBA6F7 -inactive_tab_foreground #CDD6F4 -inactive_tab_background #181825 -tab_bar_background #11111B - -# Colors for marks (marked text in the terminal) -mark1_foreground #1E1E2E -mark1_background #87B0F9 -mark2_foreground #1E1E2E -mark2_background #CBA6F7 -mark3_foreground #1E1E2E -mark3_background #74C7EC - -# The 16 terminal colors - -# black -color0 #43465A -color8 #43465A - -# red -color1 #F38BA8 -color9 #F38BA8 - -# green -color2 #A6E3A1 -color10 #A6E3A1 - -# yellow -color3 #F9E2AF -color11 #F9E2AF - -# blue -color4 #87B0F9 -color12 #87B0F9 - -# magenta -color5 #F5C2E7 -color13 #F5C2E7 - -# cyan -color6 #94E2D5 -color14 #94E2D5 - -# white -color7 #CDD6F4 -color15 #A1A8C9 diff --git a/themes/catppuccin/mako.ini b/themes/catppuccin/mako.ini deleted file mode 100644 index dc5f9c6..0000000 --- a/themes/catppuccin/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#cad3f5 -border-color=#c6d0f5 -background-color=#24273a -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/catppuccin/neovim.lua b/themes/catppuccin/neovim.lua deleted file mode 100644 index dbe34f5..0000000 --- a/themes/catppuccin/neovim.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - { - "LazyVim/LazyVim", - opts = { - colorscheme = "catppuccin", - }, - }, -} diff --git a/themes/catppuccin/preview.png b/themes/catppuccin/preview.png deleted file mode 100644 index 019de1d..0000000 Binary files a/themes/catppuccin/preview.png and /dev/null differ diff --git a/themes/catppuccin/swayosd.css b/themes/catppuccin/swayosd.css deleted file mode 100644 index 0ff80d2..0000000 --- a/themes/catppuccin/swayosd.css +++ /dev/null @@ -1,5 +0,0 @@ -@define-color background-color #24273a; -@define-color border-color #c6d0f5; -@define-color label #cad3f5; -@define-color image #cad3f5; -@define-color progress #cad3f5; diff --git a/themes/catppuccin/vscode.json b/themes/catppuccin/vscode.json deleted file mode 100644 index 26e1188..0000000 --- a/themes/catppuccin/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Catppuccin Macchiato", - "extension": "catppuccin.catppuccin-vsc" -} diff --git a/themes/catppuccin/walker.css b/themes/catppuccin/walker.css deleted file mode 100644 index 4b0d346..0000000 --- a/themes/catppuccin/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #8caaee; -@define-color text #c6d0f5; -@define-color base #24273a; -@define-color border #c6d0f5; -@define-color foreground #c6d0f5; -@define-color background #24273a; diff --git a/themes/catppuccin/waybar.css b/themes/catppuccin/waybar.css deleted file mode 100644 index bf35a40..0000000 --- a/themes/catppuccin/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #cdd6f4; -@define-color background #181824; diff --git a/themes/everforest/alacritty.toml b/themes/everforest/alacritty.toml deleted file mode 100644 index faf62fa..0000000 --- a/themes/everforest/alacritty.toml +++ /dev/null @@ -1,24 +0,0 @@ -[colors] -[colors.primary] -background = '#2d353b' -foreground = '#d3c6aa' - -[colors.normal] -black = '#475258' -red = '#e67e80' -green = '#a7c080' -yellow = '#dbbc7f' -blue = '#7fbbb3' -magenta = '#d699b6' -cyan = '#83c092' -white = '#d3c6aa' - -[colors.bright] -black = '#475258' -red = '#e67e80' -green = '#a7c080' -yellow = '#dbbc7f' -blue = '#7fbbb3' -magenta = '#d699b6' -cyan = '#83c092' -white = '#d3c6aa' diff --git a/themes/everforest/backgrounds/1-everforest.jpg b/themes/everforest/backgrounds/1-everforest.jpg deleted file mode 100644 index 6d75259..0000000 Binary files a/themes/everforest/backgrounds/1-everforest.jpg and /dev/null differ diff --git a/themes/everforest/btop.theme b/themes/everforest/btop.theme deleted file mode 100644 index f6aeadf..0000000 --- a/themes/everforest/btop.theme +++ /dev/null @@ -1,92 +0,0 @@ -# All graphs and meters can be gradients -# For single color graphs leave "mid" and "end" variable empty. -# Use "start" and "end" variables for two color gradient -# Use "start", "mid" and "end" for three color gradient - -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="#2d353b" - -# Main text color -theme[main_fg]="#d3c6aa" - -# Title color for boxes -theme[title]="#d3c6aa" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#e67e80" - -# Background color of selected items -theme[selected_bg]="#3d484d" - -# Foreground color of selected items -theme[selected_fg]="#dbbc7f" - -# Color of inactive/disabled text -theme[inactive_fg]="#2d353b" - -# Color of text appearing on top of graphs, i.e uptime and current network graph scaling -theme[graph_text]="#d3c6aa" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#a7c080" - -# Cpu box outline color -theme[cpu_box]="#3d484d" - -# Memory/disks box outline color -theme[mem_box]="#3d484d" - -# Net up/down box outline color -theme[net_box]="#3d484d" - -# Processes box outline color -theme[proc_box]="#3d484d" - -# Box divider line and small boxes line color -theme[div_line]="#3d484d" - -# Temperature graph colors -theme[temp_start]="#a7c080" -theme[temp_mid]="#dbbc7f" -theme[temp_end]="#f85552" - -# CPU graph colors -theme[cpu_start]="#a7c080" -theme[cpu_mid]="#dbbc7f" -theme[cpu_end]="#f85552" - -# Mem/Disk free meter -theme[free_start]="#f85552" -theme[free_mid]="#dbbc7f" -theme[free_end]="#a7c080" - -# Mem/Disk cached meter -theme[cached_start]="#7fbbb3" -theme[cached_mid]="#83c092" -theme[cached_end]="#a7c080" - -# Mem/Disk available meter -theme[available_start]="#f85552" -theme[available_mid]="#dbbc7f" -theme[available_end]="#a7c080" - -# Mem/Disk used meter -theme[used_start]="#a7c080" -theme[used_mid]="#dbbc7f" -theme[used_end]="#f85552" - -# Download graph colors -theme[download_start]="#a7c080" -theme[download_mid]="#83c092" -theme[download_end]="#7fbbb3" - -# Upload graph colors -theme[upload_start]="#dbbc7f" -theme[upload_mid]="#e69875" -theme[upload_end]="#e67e80" - -# Process box color gradient for threads, mem and cpu usage -theme[process_start]="#a7c080" -theme[process_mid]="#e67e80" -theme[process_end]="#f85552" - diff --git a/themes/everforest/chromium.theme b/themes/everforest/chromium.theme deleted file mode 100644 index 381b5ba..0000000 --- a/themes/everforest/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -45,53,59 diff --git a/themes/everforest/ghostty.conf b/themes/everforest/ghostty.conf deleted file mode 100644 index c3b0aad..0000000 --- a/themes/everforest/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Everforest Dark Hard diff --git a/themes/everforest/hyprland.conf b/themes/everforest/hyprland.conf deleted file mode 100644 index e88f030..0000000 --- a/themes/everforest/hyprland.conf +++ /dev/null @@ -1,3 +0,0 @@ -general { - col.active_border = rgb(d3c6aa) -} diff --git a/themes/everforest/hyprlock.conf b/themes/everforest/hyprlock.conf deleted file mode 100644 index 1135952..0000000 --- a/themes/everforest/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(45,53,59,1.0) -$inner_color = rgba(45,53,59,0.8) -$outer_color = rgba(211,198,170,1.0) -$font_color = rgba(211,198,170,1.0) -$check_color = rgba(131, 192, 146, 1.0) diff --git a/themes/everforest/icons.theme b/themes/everforest/icons.theme deleted file mode 100644 index 140e422..0000000 --- a/themes/everforest/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-sage diff --git a/themes/everforest/kitty.conf b/themes/everforest/kitty.conf deleted file mode 100644 index 07cea61..0000000 --- a/themes/everforest/kitty.conf +++ /dev/null @@ -1,69 +0,0 @@ -## name: Everforest Dark Hard -## author: Sainnhe Park -## license: MIT -## upstream: https://github.com/ewal/kitty-everforest/blob/master/themes/everforest_dark_hard.conf -## blurb: A green based color scheme designed to be warm and soft - -foreground #d3c6aa -background #272e33 -selection_foreground #9da9a0 -selection_background #464e53 - -cursor #d3c6aa -cursor_text_color #2e383c - -url_color #7fbbb3 - -active_border_color #a7c080 -inactive_border_color #4f5b58 -bell_border_color #e69875 -visual_bell_color none - -wayland_titlebar_color system -macos_titlebar_color system - -active_tab_background #272e33 -active_tab_foreground #d3c6aa -inactive_tab_background #374145 -inactive_tab_foreground #9da9a0 -tab_bar_background #2e383c -tab_bar_margin_color none - -mark1_foreground #272e33 -mark1_background #7fbbb3 -mark2_foreground #272e33 -mark2_background #d3c6aa -mark3_foreground #272e33 -mark3_background #d699b6 - -#: black -color0 #343f44 -color8 #868d80 - -#: red -color1 #e67e80 -color9 #e67e80 - -#: green -color2 #a7c080 -color10 #a7c080 - -#: yellow -color3 #dbbc7f -color11 #dbbc7f - -#: blue -color4 #7fbbb3 -color12 #7fbbb3 - -#: magenta -color5 #d699b6 -color13 #d699b6 - -#: cyan -color6 #83c092 -color14 #83c092 - -#: white -color7 #859289 -color15 #9da9a0 diff --git a/themes/everforest/mako.ini b/themes/everforest/mako.ini deleted file mode 100644 index 05b50e8..0000000 --- a/themes/everforest/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#d3c6aa -border-color=#d3c6aa -background-color=#2d353b -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/everforest/neovim.lua b/themes/everforest/neovim.lua deleted file mode 100644 index 80551c7..0000000 --- a/themes/everforest/neovim.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - { "neanias/everforest-nvim" }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "everforest", - background = "soft", - }, - }, -} diff --git a/themes/everforest/preview.png b/themes/everforest/preview.png deleted file mode 100644 index 113396c..0000000 Binary files a/themes/everforest/preview.png and /dev/null differ diff --git a/themes/everforest/swayosd.css b/themes/everforest/swayosd.css deleted file mode 100644 index f0bff40..0000000 --- a/themes/everforest/swayosd.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color background-color #2d353b; -@define-color border-color #d3c6aa; -@define-color label #d3c6aa; -@define-color image #d3c6aa; -@define-color progress #d3c6aa; - diff --git a/themes/everforest/vscode.json b/themes/everforest/vscode.json deleted file mode 100644 index 02b107d..0000000 --- a/themes/everforest/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Everforest Dark", - "extension": "sainnhe.everforest" -} diff --git a/themes/everforest/walker.css b/themes/everforest/walker.css deleted file mode 100644 index 56d6e56..0000000 --- a/themes/everforest/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #dbbc7f; -@define-color text #d3c6aa; -@define-color base #2d353b; -@define-color border #d3c6aa; -@define-color foreground #d3c6aa; -@define-color background #2d353b; diff --git a/themes/everforest/waybar.css b/themes/everforest/waybar.css deleted file mode 100644 index e8249f7..0000000 --- a/themes/everforest/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #d3c6aa; -@define-color background #2d353b; diff --git a/themes/gruvbox/alacritty.toml b/themes/gruvbox/alacritty.toml deleted file mode 100644 index 03f4b61..0000000 --- a/themes/gruvbox/alacritty.toml +++ /dev/null @@ -1,24 +0,0 @@ -[colors] -[colors.primary] -background = "0x282828" -foreground = "0xd4be98" - -[colors.normal] -black = "0x3c3836" -red = "0xea6962" -green = "0xa9b665" -yellow = "0xd8a657" -blue = "0x7daea3" -magenta = "0xd3869b" -cyan = "0x89b482" -white = "0xd4be98" - -[colors.bright] -black = "0x3c3836" -red = "0xea6962" -green = "0xa9b665" -yellow = "0xd8a657" -blue = "0x7daea3" -magenta = "0xd3869b" -cyan = "0x89b482" -white = "0xd4be98" diff --git a/themes/gruvbox/backgrounds/1-grubox.jpg b/themes/gruvbox/backgrounds/1-grubox.jpg deleted file mode 100644 index fd31869..0000000 Binary files a/themes/gruvbox/backgrounds/1-grubox.jpg and /dev/null differ diff --git a/themes/gruvbox/btop.theme b/themes/gruvbox/btop.theme deleted file mode 100644 index 0584954..0000000 --- a/themes/gruvbox/btop.theme +++ /dev/null @@ -1,92 +0,0 @@ -#Bashtop gruvbox (https://github.com/morhetz/gruvbox) theme -#by BachoSeven - -# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" -# example for white: "#FFFFFF", "#ff" or "255 255 255". - -# All graphs and meters can be gradients -# For single color graphs leave "mid" and "end" variable empty. -# Use "start" and "end" variables for two color gradient -# Use "start", "mid" and "end" for three color gradient - -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="#282828" - -# Main text color -theme[main_fg]="#a89984" - -# Title color for boxes -theme[title]="#ebdbb2" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#d79921" - -# Background color of selected items -theme[selected_bg]="#282828" - -# Foreground color of selected items -theme[selected_fg]="#fabd2f" - -# Color of inactive/disabled text -theme[inactive_fg]="#282828" - -# Color of text appearing on top of graphs, i.e uptime and current network graph scaling -theme[graph_text]="#585858" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#98971a" - -# Cpu box outline color -theme[cpu_box]="#a89984" - -# Memory/disks box outline color -theme[mem_box]="#a89984" - -# Net up/down box outline color -theme[net_box]="#a89984" - -# Processes box outline color -theme[proc_box]="#a89984" - -# Box divider line and small boxes line color -theme[div_line]="#a89984" - -# Temperature graph colors -theme[temp_start]="#458588" -theme[temp_mid]="#d3869b" -theme[temp_end]="#fb4394" - -# CPU graph colors -theme[cpu_start]="#b8bb26" -theme[cpu_mid]="#d79921" -theme[cpu_end]="#fb4934" - -# Mem/Disk free meter -theme[free_start]="#4e5900" -theme[free_mid]="" -theme[free_end]="#98971a" - -# Mem/Disk cached meter -theme[cached_start]="#458588" -theme[cached_mid]="" -theme[cached_end]="#83a598" - -# Mem/Disk available meter -theme[available_start]="#d79921" -theme[available_mid]="" -theme[available_end]="#fabd2f" - -# Mem/Disk used meter -theme[used_start]="#cc241d" -theme[used_mid]="" -theme[used_end]="#fb4934" - -# Download graph colors -theme[download_start]="#3d4070" -theme[download_mid]="#6c71c4" -theme[download_end]="#a3a8f7" - -# Upload graph colors -theme[upload_start]="#701c45" -theme[upload_mid]="#b16286" -theme[upload_end]="#d3869b" diff --git a/themes/gruvbox/chromium.theme b/themes/gruvbox/chromium.theme deleted file mode 100644 index 40520c9..0000000 --- a/themes/gruvbox/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -40,40,40 diff --git a/themes/gruvbox/eza.yml b/themes/gruvbox/eza.yml deleted file mode 100644 index 68d126d..0000000 --- a/themes/gruvbox/eza.yml +++ /dev/null @@ -1,104 +0,0 @@ -# see https://github.com/eza-community/eza-themes/blob/main/themes/gruvbox-dark.yml - -colourful: true - -filekinds: - normal: {foreground: "#ebdbb2"} - directory: {foreground: "#83a598"} - symlink: {foreground: "#8ec07c"} - pipe: {foreground: "#928374"} - block_device: {foreground: "#fb4934"} - char_device: {foreground: "#fb4934"} - socket: {foreground: "#665c54"} - special: {foreground: "#d3869b"} - executable: {foreground: "#b8bb26"} - mount_point: {foreground: "#fe8019"} - -perms: - user_read: {foreground: "#ebdbb2"} - user_write: {foreground: "#fabd2f"} - user_execute_file: {foreground: "#b8bb26"} - user_execute_other: {foreground: "#b8bb26"} - group_read: {foreground: "#ebdbb2"} - group_write: {foreground: "#fabd2f"} - group_execute: {foreground: "#b8bb26"} - other_read: {foreground: "#bdae93"} - other_write: {foreground: "#fabd2f"} - other_execute: {foreground: "#b8bb26"} - special_user_file: {foreground: "#d3869b"} - special_other: {foreground: "#928374"} - attribute: {foreground: "#bdae93"} - -size: - major: {foreground: "#bdae93"} - minor: {foreground: "#8ec07c"} - number_byte: {foreground: "#ebdbb2"} - number_kilo: {foreground: "#ebdbb2"} - number_mega: {foreground: "#83a598"} - number_giga: {foreground: "#d3869b"} - number_huge: {foreground: "#d3869b"} - unit_byte: {foreground: "#bdae93"} - unit_kilo: {foreground: "#83a598"} - unit_mega: {foreground: "#d3869b"} - unit_giga: {foreground: "#d3869b"} - unit_huge: {foreground: "#fe8019"} - -users: - user_you: {foreground: "#ebdbb2"} - user_root: {foreground: "#fb4934"} - user_other: {foreground: "#d3869b"} - group_yours: {foreground: "#ebdbb2"} - group_other: {foreground: "#928374"} - group_root: {foreground: "#fb4934"} - -links: - normal: {foreground: "#8ec07c"} - multi_link_file: {foreground: "#fe8019"} - -git: - new: {foreground: "#b8bb26"} - modified: {foreground: "#fabd2f"} - deleted: {foreground: "#fb4934"} - renamed: {foreground: "#8ec07c"} - typechange: {foreground: "#d3869b"} - ignored: {foreground: "#928374"} - conflicted: {foreground: "#cc241d"} - -git_repo: - branch_main: {foreground: "#ebdbb2"} - branch_other: {foreground: "#d3869b"} - git_clean: {foreground: "#b8bb26"} - git_dirty: {foreground: "#fb4934"} - -security_context: - colon: {foreground: "#928374"} - user: {foreground: "#ebdbb2"} - role: {foreground: "#d3869b"} - typ: {foreground: "#665c54"} - range: {foreground: "#d3869b"} - -file_type: - image: {foreground: "#fabd2f"} - video: {foreground: "#fb4934"} - music: {foreground: "#b8bb26"} - lossless: {foreground: "#8ec07c"} - crypto: {foreground: "#928374"} - document: {foreground: "#ebdbb2"} - compressed: {foreground: "#d3869b"} - temp: {foreground: "#cc241d"} - compiled: {foreground: "#83a598"} - build: {foreground: "#928374"} - source: {foreground: "#83a598"} - -punctuation: {foreground: "#928374"} -date: {foreground: "#fabd2f"} -inode: {foreground: "#bdae93"} -blocks: {foreground: "#a89984"} -header: {foreground: "#ebdbb2"} -octal: {foreground: "#8ec07c"} -flags: {foreground: "#d3869b"} - -symlink_path: {foreground: "#8ec07c"} -control_char: {foreground: "#83a598"} -broken_symlink: {foreground: "#fb4934"} -broken_path_overlay: {foreground: "#928374"} diff --git a/themes/gruvbox/ghostty.conf b/themes/gruvbox/ghostty.conf deleted file mode 100644 index dbb7464..0000000 --- a/themes/gruvbox/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Gruvbox Dark diff --git a/themes/gruvbox/hyprland.conf b/themes/gruvbox/hyprland.conf deleted file mode 100644 index 85dbf14..0000000 --- a/themes/gruvbox/hyprland.conf +++ /dev/null @@ -1,3 +0,0 @@ -general { - col.active_border = rgb(a89984) -} diff --git a/themes/gruvbox/hyprlock.conf b/themes/gruvbox/hyprlock.conf deleted file mode 100644 index 1d18e4f..0000000 --- a/themes/gruvbox/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(40,40,40,1.0) -$inner_color = rgba(40,40,40,0.8) -$outer_color = rgba(212,190,152,1.0) -$font_color = rgba(212,190,152,1.0) -$check_color = rgba(214, 153, 92, 1.0) diff --git a/themes/gruvbox/icons.theme b/themes/gruvbox/icons.theme deleted file mode 100644 index 7bb20fc..0000000 --- a/themes/gruvbox/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-olive diff --git a/themes/gruvbox/kitty.conf b/themes/gruvbox/kitty.conf deleted file mode 100644 index 38b015c..0000000 --- a/themes/gruvbox/kitty.conf +++ /dev/null @@ -1,40 +0,0 @@ -## name: Gruvbox Dark -## author: Pavel Pertsev -## license: MIT/X11 -## upstream: https://raw.githubusercontent.com/gruvbox-community/gruvbox-contrib/master/kitty/gruvbox-dark.conf - -selection_foreground #ebdbb2 -selection_background #d65d0e - -background #282828 -foreground #ebdbb2 - -color0 #3c3836 -color1 #cc241d -color2 #98971a -color3 #d79921 -color4 #458588 -color5 #b16286 -color6 #689d6a -color7 #a89984 -color8 #928374 -color9 #fb4934 -color10 #b8bb26 -color11 #fabd2f -color12 #83a598 -color13 #d3869b -color14 #8ec07c -color15 #fbf1c7 - -cursor #bdae93 -cursor_text_color #665c54 - -url_color #458588 - -# START_AUTOGENERATED_TAB_STYLE -# Feel free to update these colors manually and remove these comments. -active_tab_foreground #eeeeee -active_tab_background #d65d0e -inactive_tab_foreground #ebdbb2 -inactive_tab_background #202020 -# END_AUTOGENERATED_TAB_STYLE diff --git a/themes/gruvbox/mako.ini b/themes/gruvbox/mako.ini deleted file mode 100644 index 669c6f5..0000000 --- a/themes/gruvbox/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#d4be98 -border-color=#a89984 -background-color=#282828 -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/gruvbox/neovim.lua b/themes/gruvbox/neovim.lua deleted file mode 100644 index edaf0d5..0000000 --- a/themes/gruvbox/neovim.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - { "ellisonleao/gruvbox.nvim" }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "gruvbox", - }, - }, -} diff --git a/themes/gruvbox/preview.png b/themes/gruvbox/preview.png deleted file mode 100644 index 61d13c3..0000000 Binary files a/themes/gruvbox/preview.png and /dev/null differ diff --git a/themes/gruvbox/swayosd.css b/themes/gruvbox/swayosd.css deleted file mode 100644 index 16240ae..0000000 --- a/themes/gruvbox/swayosd.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color background-color #282828; -@define-color border-color #a89984; -@define-color label #ebdbb2; -@define-color image #ebdbb2; -@define-color progress #ebdbb2; - diff --git a/themes/gruvbox/vscode.json b/themes/gruvbox/vscode.json deleted file mode 100644 index e75a9b9..0000000 --- a/themes/gruvbox/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Gruvbox Dark Medium", - "extension": "jdinhlife.gruvbox" -} diff --git a/themes/gruvbox/walker.css b/themes/gruvbox/walker.css deleted file mode 100644 index 6192cd6..0000000 --- a/themes/gruvbox/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #fabd2f; -@define-color text #ebdbb2; -@define-color base #282828; -@define-color border #ebdbb2; -@define-color foreground #ebdbb2; -@define-color background #282828; diff --git a/themes/gruvbox/waybar.css b/themes/gruvbox/waybar.css deleted file mode 100644 index 598de57..0000000 --- a/themes/gruvbox/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #d4be98; -@define-color background #282828; diff --git a/themes/kanagawa/alacritty.toml b/themes/kanagawa/alacritty.toml deleted file mode 100644 index 341965c..0000000 --- a/themes/kanagawa/alacritty.toml +++ /dev/null @@ -1,36 +0,0 @@ -[colors] -[colors.primary] -background = '#1f1f28' -foreground = '#dcd7ba' - -[colors.normal] -black = '#090618' -red = '#c34043' -green = '#76946a' -yellow = '#c0a36e' -blue = '#7e9cd8' -magenta = '#957fb8' -cyan = '#6a9589' -white = '#c8c093' - -[colors.bright] -black = '#727169' -red = '#e82424' -green = '#98bb6c' -yellow = '#e6c384' -blue = '#7fb4ca' -magenta = '#938aa9' -cyan = '#7aa89f' -white = '#dcd7ba' - -[colors.selection] -background = '#2d4f67' -foreground = '#c8c093' - -[[colors.indexed_colors]] -index = 16 -color = '#ffa066' - -[[colors.indexed_colors]] -index = 17 -color = '#ff5d62' diff --git a/themes/kanagawa/backgrounds/1-kanagawa.jpg b/themes/kanagawa/backgrounds/1-kanagawa.jpg deleted file mode 100644 index 197c48d..0000000 Binary files a/themes/kanagawa/backgrounds/1-kanagawa.jpg and /dev/null differ diff --git a/themes/kanagawa/btop.theme b/themes/kanagawa/btop.theme deleted file mode 100644 index 5202748..0000000 --- a/themes/kanagawa/btop.theme +++ /dev/null @@ -1,86 +0,0 @@ -# Bashtop Kanagawa-wave (https://github.com/rebelot/kanagawa.nvim) theme -# By: philikarus - -# Main bg -theme[main_bg]="#1f1f28" - -# Main text color -theme[main_fg]="#dcd7ba" - -# Title color for boxes -theme[title]="#dcd7ba" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#C34043" - -# Background color of selected item in processes box -theme[selected_bg]="#223249" - -# Foreground color of selected item in processes box -theme[selected_fg]="#dca561" - -# Color of inactive/disabled text -theme[inactive_fg]="#727169" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#7aa89f" - -# Cpu box outline color -theme[cpu_box]="#727169" - -# Memory/disks box outline color -theme[mem_box]="#727169" - -# Net up/down box outline color -theme[net_box]="#727169" - -# Processes box outline color -theme[proc_box]="#727169" - -# Box divider line and small boxes line color -theme[div_line]="#727169" - -# Temperature graph colors -theme[temp_start]="#98BB6C" -theme[temp_mid]="#DCA561" -theme[temp_end]="#E82424" - -# CPU graph colors -theme[cpu_start]="#98BB6C" -theme[cpu_mid]="#DCA561" -theme[cpu_end]="#E82424" - -# Mem/Disk free meter -theme[free_start]="#E82424" -theme[free_mid]="#C34043" -theme[free_end]="#FF5D62" - -# Mem/Disk cached meter -theme[cached_start]="#C0A36E" -theme[cached_mid]="#DCA561" -theme[cached_end]="#FF9E3B" - -# Mem/Disk available meter -theme[available_start]="#938AA9" -theme[available_mid]="#957FBB" -theme[available_end]="#9CABCA" - -# Mem/Disk used meter -theme[used_start]="#658594" -theme[used_mid]="#7E9CDB" -theme[used_end]="#7FB4CA" - -# Download graph colors -theme[download_start]="#7E9CDB" -theme[download_mid]="#938AA9" -theme[download_end]="#957FBB" - -# Upload graph colors -theme[upload_start]="#DCA561" -theme[upload_mid]="#E6C384" -theme[upload_end]="#E82424" - -# Process box color gradient for threads, mem and cpu usage -theme[process_start]="#98BB6C" -theme[process_mid]="#DCA561" -theme[process_end]="#C34043" diff --git a/themes/kanagawa/chromium.theme b/themes/kanagawa/chromium.theme deleted file mode 100644 index ca40205..0000000 --- a/themes/kanagawa/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -31,31,40 diff --git a/themes/kanagawa/ghostty.conf b/themes/kanagawa/ghostty.conf deleted file mode 100644 index 4e26c72..0000000 --- a/themes/kanagawa/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Kanagawa Wave diff --git a/themes/kanagawa/hyprland.conf b/themes/kanagawa/hyprland.conf deleted file mode 100644 index 5153e8a..0000000 --- a/themes/kanagawa/hyprland.conf +++ /dev/null @@ -1,6 +0,0 @@ -general { - col.active_border = rgb(dcd7ba) -} - -# Kanagawa backdrop is too strong for detault opacity -windowrule = opacity 0.98 0.95, tag:terminal diff --git a/themes/kanagawa/hyprlock.conf b/themes/kanagawa/hyprlock.conf deleted file mode 100644 index 7608b2c..0000000 --- a/themes/kanagawa/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(31,31,40,1.0) -$inner_color = rgba(31,31,40,0.8) -$outer_color = rgba(220,215,186,1.0) -$font_color = rgba(220,215,186,1.0) -$check_color = rgba(126, 156, 216, 1.0) diff --git a/themes/kanagawa/icons.theme b/themes/kanagawa/icons.theme deleted file mode 100644 index 6ce2f14..0000000 --- a/themes/kanagawa/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-blue diff --git a/themes/kanagawa/kitty.conf b/themes/kanagawa/kitty.conf deleted file mode 100644 index 7122cea..0000000 --- a/themes/kanagawa/kitty.conf +++ /dev/null @@ -1,68 +0,0 @@ -## name: Kanagawa -## author: Tommaso Laurenzi -## license: MIT -## upstream: https://github.com/rebelot/kanagawa.nvim/ -## blurb: NeoVim dark colorscheme inspired by the colors of the famous painting -## by Katsushika Hokusai. - -#: The basic colors - -foreground #dcd7ba -background #1f1f28 -selection_foreground #c8c093 -selection_background #2d4f67 - -#: Cursor colors - -cursor #c8c093 - -#: URL underline color when overing with mouse - -url_color #72a7bc - -#: Tab bar colors - -active_tab_foreground #c8c093 -active_tab_background #1f1f28 -inactive_tab_foreground #727169 -inactive_tab_background #1f1f28 - -#: The basic 16 colors - -#: black -color0 #16161d -color8 #727169 - -#: red -color1 #c34043 -color9 #e82424 - -#: green -color2 #76946a -color10 #98bb6c - -#: yellow -color3 #c0a36e -color11 #e6c384 - -#: blue -color4 #7e9cd8 -color12 #7fb4ca - -#: magenta -color5 #957fb8 -color13 #938aa9 - -#: cyan -color6 #6a9589 -color14 #7aa89f - -#: white -color7 #c8c093 -color15 #dcd7ba - - -#: You can set the remaining 240 colors as color16 to color255. - -color16 #ffa066 -color17 #ff5d62 diff --git a/themes/kanagawa/mako.ini b/themes/kanagawa/mako.ini deleted file mode 100644 index fe944d8..0000000 --- a/themes/kanagawa/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#dcd7ba -border-color=#dcd7ba -background-color=#1f1f28 -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/kanagawa/neovim.lua b/themes/kanagawa/neovim.lua deleted file mode 100644 index b31e9e5..0000000 --- a/themes/kanagawa/neovim.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - { "rebelot/kanagawa.nvim" }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "kanagawa", - }, - }, -} diff --git a/themes/kanagawa/preview.png b/themes/kanagawa/preview.png deleted file mode 100644 index e75e118..0000000 Binary files a/themes/kanagawa/preview.png and /dev/null differ diff --git a/themes/kanagawa/swayosd.css b/themes/kanagawa/swayosd.css deleted file mode 100644 index 1eb5c85..0000000 --- a/themes/kanagawa/swayosd.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color background-color #1f1f28; -@define-color border-color #dcd7ba; -@define-color label #dcd7ba; -@define-color image #dcd7ba; -@define-color progress #dcd7ba; - diff --git a/themes/kanagawa/vscode.json b/themes/kanagawa/vscode.json deleted file mode 100644 index 91f7539..0000000 --- a/themes/kanagawa/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Kanagawa", - "extension": "qufiwefefwoyn.kanagawa" -} diff --git a/themes/kanagawa/walker.css b/themes/kanagawa/walker.css deleted file mode 100644 index 8284746..0000000 --- a/themes/kanagawa/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #dca561; -@define-color text #dcd7ba; -@define-color base #1f1f28; -@define-color border #dcd7ba; -@define-color foreground #dcd7ba; -@define-color background #1f1f28; diff --git a/themes/kanagawa/waybar.css b/themes/kanagawa/waybar.css deleted file mode 100644 index 029cc07..0000000 --- a/themes/kanagawa/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #dcd7ba; -@define-color background #1f1f28; diff --git a/themes/matte-black/alacritty.toml b/themes/matte-black/alacritty.toml deleted file mode 100644 index 2082409..0000000 --- a/themes/matte-black/alacritty.toml +++ /dev/null @@ -1,53 +0,0 @@ -# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ -# Omarchy Matte Black Theme for Alacritty -# By tahayvr -# https://github.com/tahayvr -# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ - -[window] -# window padding {px} -padding.x = 12 -padding.y = 12 - -[font] -size = 12.0 - - - -[colors] -[colors.primary] -background = "#121212" -foreground = "#bebebe" -dim_foreground = "#8a8a8d" - -[colors.cursor] -text = "#121212" -cursor = "#eaeaea" - -[colors.vi_mode_cursor] -text = "#121212" -cursor = "#eaeaea" - -[colors.selection] -text = "CellForeground" -background = "#333333" - -[colors.normal] -black = "#333333" -red = "#D35F5F" -green = "#FFC107" -yellow = "#b91c1c" -blue = "#e68e0d" -magenta = "#D35F5F" -cyan = "#bebebe" -white = "#bebebe" - -[colors.bright] -black = "#8a8a8d" -red = "#B91C1C" -green = "#FFC107" -yellow = "#b90a0a" -blue = "#f59e0b" -magenta = "#B91C1C" -cyan = "#eaeaea" -white = "#ffffff" \ No newline at end of file diff --git a/themes/matte-black/backgrounds/0-ship-at-sea.jpg b/themes/matte-black/backgrounds/0-ship-at-sea.jpg deleted file mode 100644 index 4375ee2..0000000 Binary files a/themes/matte-black/backgrounds/0-ship-at-sea.jpg and /dev/null differ diff --git a/themes/matte-black/backgrounds/1-matte-black.jpg b/themes/matte-black/backgrounds/1-matte-black.jpg deleted file mode 100644 index 2afb1bc..0000000 Binary files a/themes/matte-black/backgrounds/1-matte-black.jpg and /dev/null differ diff --git a/themes/matte-black/btop.theme b/themes/matte-black/btop.theme deleted file mode 100644 index c8cdcd0..0000000 --- a/themes/matte-black/btop.theme +++ /dev/null @@ -1,92 +0,0 @@ -# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ -# Bashtop theme - Omarchy Matte Black -# by tahayvr -# https://github.com/tahayvr -# โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ - -# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" -# example for white: "#ffffff", "#ff" or "255 255 255". - -# All graphs and meters can be gradients -# For single color graphs leave "mid" and "end" variable empty. -# Use "start" and "end" variables for two color gradient -# Use "start", "mid" and "end" for three color gradient - -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="" - -# Main text color -theme[main_fg]="#EAEAEA" - -# Title color for boxes -theme[title]="#8a8a8d" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#f59e0b" - -# Background color of selected item in processes box -theme[selected_bg]="#f59e0b" - -# Foreground color of selected item in processes box -theme[selected_fg]="#EAEAEA" - -# Color of inactive/disabled text -theme[inactive_fg]="#333333" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#8a8a8d" - -# Cpu box outline color -theme[cpu_box]="#8a8a8d" - -# Memory/disks box outline color -theme[mem_box]="#8a8a8d" - -# Net up/down box outline color -theme[net_box]="#8a8a8d" - -# Processes box outline color -theme[proc_box]="#8a8a8d" - -# Box divider line and small boxes line color -theme[div_line]="#8a8a8d" - -# Temperature graph colors -theme[temp_start]="#8a8a8d" -theme[temp_mid]="#f59e0b" -theme[temp_end]="#b91c1c" - -# CPU graph colors -theme[cpu_start]="#8a8a8d" -theme[cpu_mid]="#f59e0b" -theme[cpu_end]="#b91c1c" - -# Mem/Disk free meter -theme[free_start]="#8a8a8d" -theme[free_mid]="#f59e0b" -theme[free_end]="#b91c1c" - -# Mem/Disk cached meter -theme[cached_start]="#8a8a8d" -theme[cached_mid]="#f59e0b" -theme[cached_end]="#b91c1c" - -# Mem/Disk available meter -theme[available_start]="#8a8a8d" -theme[available_mid]="#f59e0b" -theme[available_end]="#b91c1c" - -# Mem/Disk used meter -theme[used_start]="#8a8a8d" -theme[used_mid]="#f59e0b" -theme[used_end]="#b91c1c" - -# Download graph colors -theme[download_start]="#8a8a8d" -theme[download_mid]="#f59e0b" -theme[download_end]="#b91c1c" - -# Upload graph colors -theme[upload_start]="#8a8a8d" -theme[upload_mid]="#f59e0b" -theme[upload_end]="#b91c1c" diff --git a/themes/matte-black/chromium.theme b/themes/matte-black/chromium.theme deleted file mode 100644 index 6e77e85..0000000 --- a/themes/matte-black/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -30,30,30 diff --git a/themes/matte-black/ghostty.conf b/themes/matte-black/ghostty.conf deleted file mode 100644 index 574e657..0000000 --- a/themes/matte-black/ghostty.conf +++ /dev/null @@ -1,19 +0,0 @@ -# normal colors -palette = 0=#333333 -palette = 1=#D35F5F -palette = 2=#FFC107 -palette = 3=#B91C1C -palette = 4=#E68E0D -palette = 5=#D35F5F -palette = 6=#BEBEBE -palette = 7=#BEBEBE - -# bright colors -palette = 8=#8A8A8D -palette = 9=#B91C1C -palette = 10=#FFC107 -palette = 11=#B90A0A -palette = 12=#F59E0B -palette = 13=#B91C1C -palette = 14=#EAEAEA -palette = 15=#FFFFFF diff --git a/themes/matte-black/hyprland.conf b/themes/matte-black/hyprland.conf deleted file mode 100644 index bb90b38..0000000 --- a/themes/matte-black/hyprland.conf +++ /dev/null @@ -1,3 +0,0 @@ -general { - col.active_border = rgb(8A8A8D) -} diff --git a/themes/matte-black/hyprlock.conf b/themes/matte-black/hyprlock.conf deleted file mode 100644 index 54f4947..0000000 --- a/themes/matte-black/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(12,12,12,1.0) -$inner_color = rgba(138,138,141,0.3) -$outer_color = rgba(234,234,234,0.5) -$font_color = rgba(234,234,234,1.0) -$check_color = rgba(245,158,11,1.0) diff --git a/themes/matte-black/icons.theme b/themes/matte-black/icons.theme deleted file mode 100644 index a3c0a4c..0000000 --- a/themes/matte-black/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-red diff --git a/themes/matte-black/kitty.conf b/themes/matte-black/kitty.conf deleted file mode 100644 index b5ee1da..0000000 --- a/themes/matte-black/kitty.conf +++ /dev/null @@ -1,54 +0,0 @@ -## name: Matte Black - -foreground #bebebe -background #121212 -selection_foreground #121212 -selection_background #333333 - -cursor #eaeaea -cursor_text_color #121212 - -# URL underline color when hovering with mouse -url_color #bebebe - -# Kitty window border colors -active_border_color #595959 -inactive_border_color #595959 -bell_border_color #595959 - -# OS Window titlebar colors -wayland_titlebar_color system -macos_titlebar_color system - -# Tab bar colors -active_tab_foreground #bebebe -active_tab_background #121212 -inactive_tab_foreground #bebebe -inactive_tab_background #121212 -tab_bar_background #bebebe - -# Colors for marks (marked text in the terminal) -mark1_foreground #121212 -mark1_background #404040 -mark2_foreground #121212 -mark2_background #121212 -mark3_foreground #121212 -mark3_background #a6a6a6 - -color0 #333333 -color8 #8a8a8d -color1 #D35F5F -color9 #B91C1C -color2 #FFC107 -color10 #FFC107 -color3 #b91c1c -color11 #b90a0a -color4 #e68e0d -color12 #f59e0b -color5 #D35F5F -color13 #B91C1C -color6 #bebebe -color14 #eaeaea -color7 #bebebe -color15 #ffffff - diff --git a/themes/matte-black/mako.ini b/themes/matte-black/mako.ini deleted file mode 100644 index a0e6653..0000000 --- a/themes/matte-black/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#8a8a8d -border-color=#8A8A8D -background-color=#1e1e1e -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 diff --git a/themes/matte-black/neovim.lua b/themes/matte-black/neovim.lua deleted file mode 100644 index 7b3f72b..0000000 --- a/themes/matte-black/neovim.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - { "tahayvr/matteblack.nvim", lazy = false, priority = 1000 }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "matteblack", - }, - }, -} \ No newline at end of file diff --git a/themes/matte-black/preview.png b/themes/matte-black/preview.png deleted file mode 100644 index 63a7cea..0000000 Binary files a/themes/matte-black/preview.png and /dev/null differ diff --git a/themes/matte-black/swayosd.css b/themes/matte-black/swayosd.css deleted file mode 100644 index 3f24dbb..0000000 --- a/themes/matte-black/swayosd.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color background-color #121212; -@define-color border-color #8A8A8D; -@define-color label #8A8A8D; -@define-color image #8A8A8D; -@define-color progress #8A8A8D; - diff --git a/themes/matte-black/vscode.json b/themes/matte-black/vscode.json deleted file mode 100644 index ac592f5..0000000 --- a/themes/matte-black/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "MatteBlack", - "extension": "TahaYVR.matteblack" -} diff --git a/themes/matte-black/walker.css b/themes/matte-black/walker.css deleted file mode 100644 index d3d606b..0000000 --- a/themes/matte-black/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #B91C1C; -@define-color text #EAEAEA; -@define-color base #121212; -@define-color border #EAEAEA88; -@define-color foreground #EAEAEA; -@define-color background #121212; diff --git a/themes/matte-black/waybar.css b/themes/matte-black/waybar.css deleted file mode 100644 index 1b8bb7f..0000000 --- a/themes/matte-black/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #8a8a8d; -@define-color background #1e1e1e; diff --git a/themes/nord/alacritty.toml b/themes/nord/alacritty.toml deleted file mode 100644 index 4a08789..0000000 --- a/themes/nord/alacritty.toml +++ /dev/null @@ -1,47 +0,0 @@ -[colors] -[colors.primary] -background = "#2e3440" -foreground = "#d8dee9" -dim_foreground = "#a5abb6" - -[colors.cursor] -text = "#2e3440" -cursor = "#d8dee9" - -[colors.vi_mode_cursor] -text = "#2e3440" -cursor = "#d8dee9" - -[colors.selection] -text = "CellForeground" -background = "#4c566a" - -[colors.normal] -black = "#3b4252" -red = "#bf616a" -green = "#a3be8c" -yellow = "#ebcb8b" -blue = "#81a1c1" -magenta = "#b48ead" -cyan = "#88c0d0" -white = "#e5e9f0" - -[colors.bright] -black = "#4c566a" -red = "#bf616a" -green = "#a3be8c" -yellow = "#ebcb8b" -blue = "#81a1c1" -magenta = "#b48ead" -cyan = "#8fbcbb" -white = "#eceff4" - -[colors.dim] -black = "#373e4d" -red = "#94545d" -green = "#809575" -yellow = "#b29e75" -blue = "#68809a" -magenta = "#8c738c" -cyan = "#6d96a5" -white = "#aeb3bb" diff --git a/themes/nord/backgrounds/1-nord.png b/themes/nord/backgrounds/1-nord.png deleted file mode 100644 index 56dbc1d..0000000 Binary files a/themes/nord/backgrounds/1-nord.png and /dev/null differ diff --git a/themes/nord/backgrounds/2-nord.png b/themes/nord/backgrounds/2-nord.png deleted file mode 100644 index 412eb52..0000000 Binary files a/themes/nord/backgrounds/2-nord.png and /dev/null differ diff --git a/themes/nord/btop.theme b/themes/nord/btop.theme deleted file mode 100644 index fbd0af1..0000000 --- a/themes/nord/btop.theme +++ /dev/null @@ -1,89 +0,0 @@ -#Bashtop theme with nord palette (https://www.nordtheme.com) -#by Justin Zobel - -# Colors should be in 6 or 2 character hexadecimal or single spaced rgb decimal: "#RRGGBB", "#BW" or "0-255 0-255 0-255" -# example for white: "#ffffff", "#ff" or "255 255 255". - -# All graphs and meters can be gradients -# For single color graphs leave "mid" and "end" variable empty. -# Use "start" and "end" variables for two color gradient -# Use "start", "mid" and "end" for three color gradient - -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="#2E3440" - -# Main text color -theme[main_fg]="#D8DEE9" - -# Title color for boxes -theme[title]="#8FBCBB" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#5E81AC" - -# Background color of selected item in processes box -theme[selected_bg]="#4C566A" - -# Foreground color of selected item in processes box -theme[selected_fg]="#ECEFF4" - -# Color of inactive/disabled text -theme[inactive_fg]="#4C566A" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#5E81AC" - -# Cpu box outline color -theme[cpu_box]="#4C566A" - -# Memory/disks box outline color -theme[mem_box]="#4C566A" - -# Net up/down box outline color -theme[net_box]="#4C566A" - -# Processes box outline color -theme[proc_box]="#4C566A" - -# Box divider line and small boxes line color -theme[div_line]="#4C566A" - -# Temperature graph colors -theme[temp_start]="#81A1C1" -theme[temp_mid]="#88C0D0" -theme[temp_end]="#ECEFF4" - -# CPU graph colors -theme[cpu_start]="#81A1C1" -theme[cpu_mid]="#88C0D0" -theme[cpu_end]="#ECEFF4" - -# Mem/Disk free meter -theme[free_start]="#81A1C1" -theme[free_mid]="#88C0D0" -theme[free_end]="#ECEFF4" - -# Mem/Disk cached meter -theme[cached_start]="#81A1C1" -theme[cached_mid]="#88C0D0" -theme[cached_end]="#ECEFF4" - -# Mem/Disk available meter -theme[available_start]="#81A1C1" -theme[available_mid]="#88C0D0" -theme[available_end]="#ECEFF4" - -# Mem/Disk used meter -theme[used_start]="#81A1C1" -theme[used_mid]="#88C0D0" -theme[used_end]="#ECEFF4" - -# Download graph colors -theme[download_start]="#81A1C1" -theme[download_mid]="#88C0D0" -theme[download_end]="#ECEFF4" - -# Upload graph colors -theme[upload_start]="#81A1C1" -theme[upload_mid]="#88C0D0" -theme[upload_end]="#ECEFF4" diff --git a/themes/nord/chromium.theme b/themes/nord/chromium.theme deleted file mode 100644 index 33a45e4..0000000 --- a/themes/nord/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -46,52,64 diff --git a/themes/nord/ghostty.conf b/themes/nord/ghostty.conf deleted file mode 100644 index a93dbc9..0000000 --- a/themes/nord/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Nord diff --git a/themes/nord/hyprland.conf b/themes/nord/hyprland.conf deleted file mode 100644 index bce729f..0000000 --- a/themes/nord/hyprland.conf +++ /dev/null @@ -1,3 +0,0 @@ -general { - col.active_border = rgb(D8DEE9) -} diff --git a/themes/nord/hyprlock.conf b/themes/nord/hyprlock.conf deleted file mode 100644 index 7726df4..0000000 --- a/themes/nord/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(46,52,64,1.0) -$inner_color = rgba(46,52,64,0.8) -$outer_color = rgba(216,222,233,1.0) -$font_color = rgba(216,222,233,1.0) -$check_color = rgba(136, 192, 208, 1.0) diff --git a/themes/nord/icons.theme b/themes/nord/icons.theme deleted file mode 100644 index 6ce2f14..0000000 --- a/themes/nord/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-blue diff --git a/themes/nord/kitty.conf b/themes/nord/kitty.conf deleted file mode 100644 index 91b570f..0000000 --- a/themes/nord/kitty.conf +++ /dev/null @@ -1,40 +0,0 @@ -# Nord Colorscheme for Kitty - -foreground #D8DEE9 -background #2E3440 -selection_foreground #000000 -selection_background #FFFACD -url_color #0087BD -cursor #81A1C1 - -# black -color0 #3B4252 -color8 #4C566A - -# red -color1 #BF616A -color9 #BF616A - -# green -color2 #A3BE8C -color10 #A3BE8C - -# yellow -color3 #EBCB8B -color11 #EBCB8B - -# blue -color4 #81A1C1 -color12 #81A1C1 - -# magenta -color5 #B48EAD -color13 #B48EAD - -# cyan -color6 #88C0D0 -color14 #8FBCBB - -# white -color7 #E5E9F0 -color15 #ECEFF4 diff --git a/themes/nord/mako.ini b/themes/nord/mako.ini deleted file mode 100644 index 2976506..0000000 --- a/themes/nord/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#d8dee9 -border-color=#D8DEE9 -background-color=#2e3440 -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/nord/neovim.lua b/themes/nord/neovim.lua deleted file mode 100644 index 27a68b1..0000000 --- a/themes/nord/neovim.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - { "EdenEast/nightfox.nvim" }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "nordfox", - }, - }, -} diff --git a/themes/nord/preview.png b/themes/nord/preview.png deleted file mode 100644 index 4e36427..0000000 Binary files a/themes/nord/preview.png and /dev/null differ diff --git a/themes/nord/swayosd.css b/themes/nord/swayosd.css deleted file mode 100644 index db1b40d..0000000 --- a/themes/nord/swayosd.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color background-color #2E3440; -@define-color border-color #D8DEE9; -@define-color label #D8DEE9; -@define-color image #D8DEE9; -@define-color progress #D8DEE9; - diff --git a/themes/nord/vscode.json b/themes/nord/vscode.json deleted file mode 100644 index 897b8ba..0000000 --- a/themes/nord/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Nord", - "extension": "arcticicestudio.nord-visual-studio-code" -} diff --git a/themes/nord/walker.css b/themes/nord/walker.css deleted file mode 100644 index 2e20d17..0000000 --- a/themes/nord/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #88C0D0; -@define-color text #D8DEE9; -@define-color base #2E3440; -@define-color border #D8DEE9; -@define-color foreground #D8DEE9; -@define-color background #2E3440; diff --git a/themes/nord/waybar.css b/themes/nord/waybar.css deleted file mode 100644 index bc2a99d..0000000 --- a/themes/nord/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #d8dee9; -@define-color background #2e3440; diff --git a/themes/osaka-jade/alacritty.toml b/themes/osaka-jade/alacritty.toml deleted file mode 100644 index 6229daa..0000000 --- a/themes/osaka-jade/alacritty.toml +++ /dev/null @@ -1,28 +0,0 @@ -[colors] -[colors.primary] -background = '#111c18' -foreground = '#C1C497' - -[colors.normal] -black = "#23372B" -red = "#FF5345" -green = "#549e6a" -yellow = "#459451" -blue = "#509475" -magenta = "#D2689C" -cyan = "#2DD5B7" -white = "#F6F5DD" - -[colors.bright] -black = "#53685B" -red = "#db9f9c" -green = "#143614" -yellow = "#E5C736" -blue = "#ACD4CF" -magenta = "#75bbb3" -cyan = "#8CD3CB" -white = "#9eebb3" - -[colors.cursor] -text = "#000000" -cursor = "#D7C995" diff --git a/themes/osaka-jade/backgrounds/1-osaka-jade-bg.jpg b/themes/osaka-jade/backgrounds/1-osaka-jade-bg.jpg deleted file mode 100644 index be7d857..0000000 Binary files a/themes/osaka-jade/backgrounds/1-osaka-jade-bg.jpg and /dev/null differ diff --git a/themes/osaka-jade/backgrounds/2-osaka-jade-bg.jpg b/themes/osaka-jade/backgrounds/2-osaka-jade-bg.jpg deleted file mode 100644 index 9b97956..0000000 Binary files a/themes/osaka-jade/backgrounds/2-osaka-jade-bg.jpg and /dev/null differ diff --git a/themes/osaka-jade/backgrounds/3-osaka-jade-bg.jpg b/themes/osaka-jade/backgrounds/3-osaka-jade-bg.jpg deleted file mode 100644 index 729ccae..0000000 Binary files a/themes/osaka-jade/backgrounds/3-osaka-jade-bg.jpg and /dev/null differ diff --git a/themes/osaka-jade/btop.theme b/themes/osaka-jade/btop.theme deleted file mode 100644 index 8e22ec9..0000000 --- a/themes/osaka-jade/btop.theme +++ /dev/null @@ -1,87 +0,0 @@ -# Main background -theme[main_bg]="#111c18" - -# Main text color -theme[main_fg]="#F7E8B2" - -# Title color for boxes -theme[title]="#D6D5BC" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#E67D64" - -# Background color of selected items -theme[selected_bg]="#364538" - -# Foreground color of selected items -theme[selected_fg]="#DEB266" - -# Color of inactive/disabled text -theme[inactive_fg]="#32473B" - -# Color of text appearing on top of graphs -theme[graph_text]="#E6D8BA" - -# Misc colors for processes box -theme[proc_misc]="#E6D8BA" - -# Cpu box outline color -theme[cpu_box]="#81B8A8" - -# Memory/disks box outline color -theme[mem_box]="#81B8A8" - -# Net up/down box outline color -theme[net_box]="#81B8A8" - -# Processes box outline color -theme[proc_box]="#81B8A8" - -# Box divider line and small boxes line color -theme[div_line]="#81B8A8" - -# Temperature graph colors -theme[temp_start]="#BFD99A" -theme[temp_mid]="#E1B55E" -theme[temp_end]="#DBB05C" - -# CPU graph colors -theme[cpu_start]="#5F8C86" -theme[cpu_mid]="#629C89" -theme[cpu_end]="#76AD98" - -# Mem/Disk free meter -theme[free_start]="#5F8C86" -theme[free_mid]="#629C89" -theme[free_end]="#76AD98" - -# Mem/Disk cached meter -theme[cached_start]="#5F8C86" -theme[cached_mid]="#629C89" -theme[cached_end]="#76AD98" - -# Mem/Disk available meter -theme[available_start]="#5F8C86" -theme[available_mid]="#629C89" -theme[available_end]="#76AD98" - -# Mem/Disk used meter -theme[used_start]="#5F8C86" -theme[used_mid]="#629C89" -theme[used_end]="#76AD98" - -# Download graph colors -theme[download_start]="#75BBB3" -theme[download_mid]="#61949A" -theme[download_end]="#215866" - -# Upload graph colors -theme[upload_start]="#215866" -theme[upload_mid]="#91C080" -theme[upload_end]="#549E6A" - -# Process box color gradient for threads, mem and cpu usage -theme[process_start]="#72CFA3" -theme[process_mid]="#D0D494" -theme[process_end]="#DB9F9C" - diff --git a/themes/osaka-jade/chromium.theme b/themes/osaka-jade/chromium.theme deleted file mode 100644 index 6524c76..0000000 --- a/themes/osaka-jade/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -17,34,28 diff --git a/themes/osaka-jade/ghostty.conf b/themes/osaka-jade/ghostty.conf deleted file mode 100644 index f26aa99..0000000 --- a/themes/osaka-jade/ghostty.conf +++ /dev/null @@ -1,25 +0,0 @@ -# primary -background = #111c18 -foreground = #C1C497 -cursor-color = #D7C995 -cursor-text = #000000 - -# normal colors -palette = 0=#23372B -palette = 1=#FF5345 -palette = 2=#549e6a -palette = 3=#459451 -palette = 4=#509475 -palette = 5=#D2689C -palette = 6=#2DD5B7 -palette = 7=#F6F5DD - -# bright colors -palette = 8=#53685B -palette = 9=#db9f9c -palette = 10=#143614 -palette = 11=#E5C736 -palette = 12=#ACD4CF -palette = 13=#75bbb3 -palette = 14=#8CD3CB -palette = 15=#9eebb3 diff --git a/themes/osaka-jade/hyprland.conf b/themes/osaka-jade/hyprland.conf deleted file mode 100644 index 1b8b0a9..0000000 --- a/themes/osaka-jade/hyprland.conf +++ /dev/null @@ -1,4 +0,0 @@ -# focus window color (border) -general { - col.active_border = rgb(71CEAD) -} diff --git a/themes/osaka-jade/hyprlock.conf b/themes/osaka-jade/hyprlock.conf deleted file mode 100644 index 885b89d..0000000 --- a/themes/osaka-jade/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgb(7, 40, 32) -$inner_color = rgb(7, 40, 32) -$outer_color = rgb(167, 172, 132) -$font_color = rgb(167, 172, 132) -$check_color = rgb(131, 162, 152) diff --git a/themes/osaka-jade/icons.theme b/themes/osaka-jade/icons.theme deleted file mode 100644 index 140e422..0000000 --- a/themes/osaka-jade/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-sage diff --git a/themes/osaka-jade/kitty.conf b/themes/osaka-jade/kitty.conf deleted file mode 100644 index 7831722..0000000 --- a/themes/osaka-jade/kitty.conf +++ /dev/null @@ -1,44 +0,0 @@ -## name :osaka-jade -foreground #C1C497 -background #111C18 -selection_foreground #111C18 -selection_background #C1C497 -cursor #D7C995 -cursor_text_color #000000 -active_tab_foreground #111C18 -active_tab_background #C1C497 -inactive_tab_foreground #C1C497 -inactive_tab_background #111C18 - -# black -color0 #23372B -color8 #53685B - -# red -color1 #FF5345 -color9 #DB9F9C - -# green -color2 #549E6A -color10 #143614 - -# yellow -color3 #459451 -color11 #E5C736 - -# blue -color4 #509475 -color12 #ACD4CF - -# magenta -color5 #D2689C -color13 #75BBB3 - -# cyan -color6 #2DD5B7 -color14 #8CD3CB - -# white -color7 #F6F5DD -color15 #9EEBB3 - diff --git a/themes/osaka-jade/mako.ini b/themes/osaka-jade/mako.ini deleted file mode 100644 index 4489799..0000000 --- a/themes/osaka-jade/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#C1C497 -border-color=#214237 -background-color=#11221C -padding=10 -border-size=2 -font=Liberation Sans 12 -max-icon-size=32 -outer-margin=5 \ No newline at end of file diff --git a/themes/osaka-jade/neovim.lua b/themes/osaka-jade/neovim.lua deleted file mode 100644 index b2bd3f2..0000000 --- a/themes/osaka-jade/neovim.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - "ribru17/bamboo.nvim", - lazy = false, - priority = 1000, - config = function() - require("bamboo").setup({}) - require("bamboo").load() - end, -} diff --git a/themes/osaka-jade/preview.png b/themes/osaka-jade/preview.png deleted file mode 100644 index bd99eed..0000000 Binary files a/themes/osaka-jade/preview.png and /dev/null differ diff --git a/themes/osaka-jade/swayosd.css b/themes/osaka-jade/swayosd.css deleted file mode 100644 index 1558ad4..0000000 --- a/themes/osaka-jade/swayosd.css +++ /dev/null @@ -1,5 +0,0 @@ -@define-color background-color #11221C; -@define-color border-color #589A5F; -@define-color label #C0C396; -@define-color image #C0C396; -@define-color progress #C0C396; diff --git a/themes/osaka-jade/vscode.json b/themes/osaka-jade/vscode.json deleted file mode 100644 index efe2d63..0000000 --- a/themes/osaka-jade/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Ocean Green: Dark", - "extension": "jovejonovski.ocean-green" -} diff --git a/themes/osaka-jade/walker.css b/themes/osaka-jade/walker.css deleted file mode 100644 index ff99bbb..0000000 --- a/themes/osaka-jade/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #e1b55e; -@define-color text #ebfff2; -@define-color base #11221C; -@define-color border #214237; -@define-color foreground #11221C; -@define-color background #11221C; diff --git a/themes/osaka-jade/waybar.css b/themes/osaka-jade/waybar.css deleted file mode 100644 index 7cfd537..0000000 --- a/themes/osaka-jade/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #e6d8ba; -@define-color background #11221C; diff --git a/themes/ristretto/alacritty.toml b/themes/ristretto/alacritty.toml deleted file mode 100644 index 45236ef..0000000 --- a/themes/ristretto/alacritty.toml +++ /dev/null @@ -1,33 +0,0 @@ -[colors] - -[colors.normal] -black = "#72696a" -red = "#fd6883" -green = "#adda78" -yellow = "#f9cc6c" -blue = "#f38d70" -magenta = "#a8a9eb" -cyan = "#85dacc" -white = "#e6d9db" - -[colors.bright] -black = "#948a8b" -red = "#ff8297" -green = "#c8e292" -yellow = "#fcd675" -blue = "#f8a788" -magenta = "#bebffd" -cyan = "#9bf1e1" -white = "#f1e5e7" - -[colors.cursor] -cursor = '#c3b7b8' -text = '#2c2525' - -[colors.primary] -background = '#2c2525' -foreground = '#e6d9db' - -[colors.selection] -background = '#403e41' -text = '#e6d9db' diff --git a/themes/ristretto/backgrounds/1-ristretto.jpg b/themes/ristretto/backgrounds/1-ristretto.jpg deleted file mode 100644 index 7618e1b..0000000 Binary files a/themes/ristretto/backgrounds/1-ristretto.jpg and /dev/null differ diff --git a/themes/ristretto/backgrounds/2-ristretto.jpg b/themes/ristretto/backgrounds/2-ristretto.jpg deleted file mode 100644 index faf63ea..0000000 Binary files a/themes/ristretto/backgrounds/2-ristretto.jpg and /dev/null differ diff --git a/themes/ristretto/backgrounds/3-ristretto.jpg b/themes/ristretto/backgrounds/3-ristretto.jpg deleted file mode 100644 index 385b01d..0000000 Binary files a/themes/ristretto/backgrounds/3-ristretto.jpg and /dev/null differ diff --git a/themes/ristretto/btop.theme b/themes/ristretto/btop.theme deleted file mode 100644 index b058a7f..0000000 --- a/themes/ristretto/btop.theme +++ /dev/null @@ -1,82 +0,0 @@ -#Btop monokai pro ristretto theme -#Reconfigured from monokai theme - -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="#2c2421" - -# Main text color -theme[main_fg]="#e6d9db" - -# Title color for boxes -theme[title]="#e6d9db" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#fd6883" - -# Background color of selected item in processes box -theme[selected_bg]="#3d2f2a" - -# Foreground color of selected item in processes box -theme[selected_fg]="#e6d9db" - -# Color of inactive/disabled text -theme[inactive_fg]="#72696a" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#adda78" - -# Cpu box outline color -theme[cpu_box]="#5b4a45" - -# Memory/disks box outline color -theme[mem_box]="#5b4a45" - -# Net up/down box outline color -theme[net_box]="#5b4a45" - -# Processes box outline color -theme[proc_box]="#5b4a45" - -# Box divider line and small boxes line color -theme[div_line]="#72696a" - -# Temperature graph colors -theme[temp_start]="#a8a9eb" -theme[temp_mid]="#f38d70" -theme[temp_end]="#fd6a85" - -# CPU graph colors -theme[cpu_start]="#adda78" -theme[cpu_mid]="#f9cc6c" -theme[cpu_end]="#fd6883" - -# Mem/Disk free meter -theme[free_start]="#5b4a45" -theme[free_mid]="#adda78" -theme[free_end]="#c5e2a3" - -# Mem/Disk cached meter -theme[cached_start]="#5b4a45" -theme[cached_mid]="#85dacc" -theme[cached_end]="#b3e8dd" - -# Mem/Disk available meter -theme[available_start]="#5b4a45" -theme[available_mid]="#f9cc6c" -theme[available_end]="#fce2a3" - -# Mem/Disk used meter -theme[used_start]="#5b4a45" -theme[used_mid]="#fd6a85" -theme[used_end]="#feb5c7" - -# Download graph colors -theme[download_start]="#3d2f2a" -theme[download_mid]="#a8a9eb" -theme[download_end]="#c5c6f0" - -# Upload graph colors -theme[upload_start]="#3d2f2a" -theme[upload_mid]="#fd6a85" -theme[upload_end]="#feb5c7" - diff --git a/themes/ristretto/chromium.theme b/themes/ristretto/chromium.theme deleted file mode 100644 index 4b5c8eb..0000000 --- a/themes/ristretto/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -37,33,30 diff --git a/themes/ristretto/ghostty.conf b/themes/ristretto/ghostty.conf deleted file mode 100644 index f4ba692..0000000 --- a/themes/ristretto/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Monokai Pro Ristretto diff --git a/themes/ristretto/hyprland.conf b/themes/ristretto/hyprland.conf deleted file mode 100644 index d81a993..0000000 --- a/themes/ristretto/hyprland.conf +++ /dev/null @@ -1,4 +0,0 @@ -general { - # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors - col.active_border = rgb(e6d9db) -} diff --git a/themes/ristretto/hyprlock.conf b/themes/ristretto/hyprlock.conf deleted file mode 100644 index 71c8b78..0000000 --- a/themes/ristretto/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(44,37,37,1.0) -$inner_color = rgba(44,37,37,0.8) -$outer_color = rgba(230,217,219,1.0) -$font_color = rgba(230,217,219,1.0) -$check_color = rgba(253,104,131,1.0) diff --git a/themes/ristretto/icons.theme b/themes/ristretto/icons.theme deleted file mode 100644 index e38b9ce..0000000 --- a/themes/ristretto/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-yellow diff --git a/themes/ristretto/kitty.conf b/themes/ristretto/kitty.conf deleted file mode 100644 index 7af9143..0000000 --- a/themes/ristretto/kitty.conf +++ /dev/null @@ -1,53 +0,0 @@ -## name : Ristretto - -foreground #e6d9db -background #2c2525 - -selection_foreground #e6d9db -selection_background #403e41 - -cursor #c3b7b8 -cursor_text_color #c3b7b8 - -url_color #e6d9db - -active_border_color #595959 -inactive_border_color #595959 -bell_border_color #595959 - -active_tab_foreground #e6d9db -active_tab_background #2c2525 -inactive_tab_foreground #e6d9db -inactive_tab_background #2c2525 -tab_bar_background #e6d9db - -mark1_foreground #2c2525 -mark1_background #404040 -mark2_foreground #2c2525 -mark2_background #2c2525 -mark3_foreground #2c2525 -mark3_background #a6a6a6 - -color0 #72696a -color8 #948a8b - -color1 #fd6883 -color9 #ff8297 - -color2 #adda78 -color10 #c8e292 - -color3 #f9cc6c -color11 #fcd675 - -color4 #f38d70 -color12 #f8a788 - -color5 #a8a9eb -color13 #bebffd - -color6 #85dacc -color14 #9bf1e1 - -color7 #e6d9db -color15 #f1e5e7 diff --git a/themes/ristretto/mako.ini b/themes/ristretto/mako.ini deleted file mode 100644 index a88e281..0000000 --- a/themes/ristretto/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#e6d9db -border-color=#e6d9db -background-color=#2c2525 -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/ristretto/neovim.lua b/themes/ristretto/neovim.lua deleted file mode 100644 index 38959d4..0000000 --- a/themes/ristretto/neovim.lua +++ /dev/null @@ -1,31 +0,0 @@ -return { - { - "gthelding/monokai-pro.nvim", - config = function() - require("monokai-pro").setup({ - filter = "ristretto", - override = function() - return { - NonText = { fg = "#948a8b" }, - MiniIconsGrey = { fg = "#948a8b" }, - MiniIconsRed = { fg = "#fd6883" }, - MiniIconsBlue = { fg = "#85dacc" }, - MiniIconsGreen = { fg = "#adda78" }, - MiniIconsYellow = { fg = "#f9cc6c" }, - MiniIconsOrange = { fg = "#f38d70" }, - MiniIconsPurple = { fg = "#a8a9eb" }, - MiniIconsAzure = { fg = "#a8a9eb" }, - MiniIconsCyan = { fg = "#85dacc" }, -- same value as MiniIconsBlue for consistency - } - end, - }) - vim.cmd([[colorscheme monokai-pro]]) - end, - }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "monokai-pro", - }, - }, -} diff --git a/themes/ristretto/preview.png b/themes/ristretto/preview.png deleted file mode 100644 index d4ab5ca..0000000 Binary files a/themes/ristretto/preview.png and /dev/null differ diff --git a/themes/ristretto/swayosd.css b/themes/ristretto/swayosd.css deleted file mode 100644 index cd9c576..0000000 --- a/themes/ristretto/swayosd.css +++ /dev/null @@ -1,5 +0,0 @@ -@define-color background-color #2c2525; -@define-color border-color #c3b7b8; -@define-color label #c3b7b8; -@define-color image #c3b7b8; -@define-color progress #c3b7b8; diff --git a/themes/ristretto/vscode.json b/themes/ristretto/vscode.json deleted file mode 100644 index 41a587e..0000000 --- a/themes/ristretto/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Monokai Pro (Filter Ristretto)", - "extension": "monokai.theme-monokai-pro-vscode" -} diff --git a/themes/ristretto/walker.css b/themes/ristretto/walker.css deleted file mode 100644 index ab2cfd8..0000000 --- a/themes/ristretto/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #fabd2f; -@define-color text #e6d9db; -@define-color base #2c2525; -@define-color border #e6d9db; -@define-color foreground #e6d9db; -@define-color background #2c2525; diff --git a/themes/ristretto/waybar.css b/themes/ristretto/waybar.css deleted file mode 100644 index a6be70a..0000000 --- a/themes/ristretto/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #e6d9db; -@define-color background #2c2525; diff --git a/themes/rose-pine/alacritty.toml b/themes/rose-pine/alacritty.toml deleted file mode 100644 index 947e42d..0000000 --- a/themes/rose-pine/alacritty.toml +++ /dev/null @@ -1,72 +0,0 @@ -[colors.primary] -foreground = "#575279" -background = "#faf4ed" -dim_foreground = "#797593" -bright_foreground = "#575279" - -[colors.cursor] -text = "#575279" -cursor = "#cecacd" - -[colors.vi_mode_cursor] -text = "#575279" -cursor = "#cecacd" - -[colors.search.matches] -foreground = "#797593" -background = "#f2e9e1" - -[colors.search.focused_match] -foreground = "#faf4ed" -background = "#d7827e" - -[colors.hints.start] -foreground = "#797593" -background = "#fffaf3" - -[colors.hints.end] -foreground = "#9893a5" -background = "#fffaf3" - -[colors.line_indicator] -foreground = "None" -background = "None" - -[colors.footer_bar] -foreground = "#575279" -background = "#fffaf3" - -[colors.selection] -text = "#575279" -background = "#dfdad9" - -[colors.normal] -black = "#f2e9e1" -red = "#b4637a" -green = "#286983" -yellow = "#ea9d34" -blue = "#56949f" -magenta = "#907aa9" -cyan = "#d7827e" -white = "#575279" - -[colors.bright] -black = "#9893a5" -red = "#b4637a" -green = "#286983" -yellow = "#ea9d34" -blue = "#56949f" -magenta = "#907aa9" -cyan = "#d7827e" -white = "#575279" - -[colors.dim] -black = "#9893a5" -red = "#b4637a" -green = "#286983" -yellow = "#ea9d34" -blue = "#56949f" -magenta = "#907aa9" -cyan = "#d7827e" -white = "#575279" - diff --git a/themes/rose-pine/backgrounds/1-rose-pine.jpg b/themes/rose-pine/backgrounds/1-rose-pine.jpg deleted file mode 100644 index adfe242..0000000 Binary files a/themes/rose-pine/backgrounds/1-rose-pine.jpg and /dev/null differ diff --git a/themes/rose-pine/backgrounds/2-wave-light.png b/themes/rose-pine/backgrounds/2-wave-light.png deleted file mode 100644 index 53e136c..0000000 Binary files a/themes/rose-pine/backgrounds/2-wave-light.png and /dev/null differ diff --git a/themes/rose-pine/backgrounds/3-leafy-dawn-omarchy.png b/themes/rose-pine/backgrounds/3-leafy-dawn-omarchy.png deleted file mode 100644 index f19c3ff..0000000 Binary files a/themes/rose-pine/backgrounds/3-leafy-dawn-omarchy.png and /dev/null differ diff --git a/themes/rose-pine/btop.theme b/themes/rose-pine/btop.theme deleted file mode 100644 index a992faa..0000000 --- a/themes/rose-pine/btop.theme +++ /dev/null @@ -1,119 +0,0 @@ -# Main background, empty for terminal default, need to be empty if you want transparent background -theme[main_bg]="#faf4ed" -# Base - -# Main text color -theme[main_fg]="#575279" -# Text - -# Title color for boxes -theme[title]="#908caa" -# Subtle - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#e0def4" -# Text - -# Background color of selected item in processes box -theme[selected_bg]="#524f67" -# HL High - -# Foreground color of selected item in processes box -theme[selected_fg]="#f6c177" -# Gold - -# Color of inactive/disabled text -theme[inactive_fg]="#403d52" -# HL Med - -# Color of text appearing on top of graphs, i.e uptime and current network graph scaling -theme[graph_text]="#9ccfd8" -# Foam - -# Background color of the percentage meters -theme[meter_bg]="#9ccfd8" -# Foam - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#c4a7e7" -# Iris - -# Cpu box outline color -theme[cpu_box]="#ebbcba" -# Rose - -# Memory/disks box outline color -theme[mem_box]="#31748f" -# Pine - -# Net up/down box outline color -theme[net_box]="#c4a7e7" -# Iris - -# Processes box outline color -theme[proc_box]="#eb6f92" -# Love - -# Box divider line and small boxes line color -theme[div_line]="#6e6a86" -# Muted - -# Temperature graph colors -theme[temp_start]="#ebbcba" -# Rose -theme[temp_mid]="#f6c177" -# Gold -theme[temp_end]="#eb6f92" -# Love - -# CPU graph colors -theme[cpu_start]="#f6c177" -# Gold -theme[cpu_mid]="#ebbcba" -# Rose -theme[cpu_end]="#eb6f92" -# Love - -# Mem/Disk free meter -# all love -theme[free_start]="#eb6f92" -theme[free_mid]="#eb6f92" -theme[free_end]="#eb6f92" - -# Mem/Disk cached meter -# all iris -theme[cached_start]="#c4a7e7" -theme[cached_mid]="#c4a7e7" -theme[cached_end]="#c4a7e7" - -# Mem/Disk available meter -# all pine -theme[available_start]="#31748f" -theme[available_mid]="#31748f" -theme[available_end]="#31748f" - -# Mem/Disk used meter -# all rose -theme[used_start]="#ebbcba" -theme[used_mid]="#ebbcba" -theme[used_end]="#ebbcba" - -# Download graph colors -# Pine for start, foam for the rest -theme[download_start]="#31748f" -theme[download_mid]="#9ccfd8" -theme[download_end]="#9ccfd8" - -# Upload graph colors -theme[upload_start]="#ebbcba" -# Rose for start -theme[upload_mid]="#eb6f92" -# Love for mid and end -theme[upload_end]="#eb6f92" - -# Process box color gradient for threads, mem and cpu usage -theme[process_start]="#31748f" -# Pine -theme[process_mid]="#9ccfd8" -# Foam for mid and end -theme[process_end]="#9ccfd8" diff --git a/themes/rose-pine/chromium.theme b/themes/rose-pine/chromium.theme deleted file mode 100644 index 072dd44..0000000 --- a/themes/rose-pine/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -210,196,219 diff --git a/themes/rose-pine/eza.yml b/themes/rose-pine/eza.yml deleted file mode 100644 index cc65ef0..0000000 --- a/themes/rose-pine/eza.yml +++ /dev/null @@ -1,123 +0,0 @@ -# see https://github.com/eza-community/eza-themes/blob/main/themes/rose-pine.yml - -colourful: true - -# Colors are in format of: -# color/paletteRef (Description) #color code - -# Gold (Terminal Yellow) #f6c177 -# Love (Terminal Red) #eb6f92 -# Rose (Terminal Cyan) #ebbcba -# Base (Primary Background) #191724 -# Iris (Terminal Magenta) #c4a7e7 -# Foam (Terminal Blue) #9ccfd8 -# Pine (Terminal Green) #31748f -# Muted (Low Contrast Foreground) #6e6a86 -# Surface (Secondary Background Atop Base) #1f1d2e -# Overlay (Tertiary Background Atop Surface) #26233a -# Subtle (Medium Contrast Foreground) #908caa -# Text (High Contrast Foreground) #e0def4 -# Highlight Low (Low Contrast Highlight) #21202e -# Highlight Med (Medium Contrast Highlight) #403d52 -# Highlight High (High Contrast Highlight) #524f67 - -filekinds: - normal: {foreground: "#e0def4"} - directory: {foreground: "#9ccfd8"} - symlink: {foreground: "#524f67"} - pipe: {foreground: "#908caa"} - block_device: {foreground: "#ebbcba"} - char_device: {foreground: "#f6c177"} - socket: {foreground: "#21202e"} - special: {foreground: "#c4a7e7"} - executable: {foreground: "#c4a7e7"} - mount_point: {foreground: "#403d52"} - -perms: - user_read: {foreground: "#908caa"} - user_write: {foreground: "#403d52"} - user_execute_file: {foreground: "#c4a7e7"} - user_execute_other: {foreground: "#c4a7e7"} - group_read: {foreground: "#908caa"} - group_write: {foreground: "#403d52"} - group_execute: {foreground: "#c4a7e7"} - other_read: {foreground: "#908caa"} - other_write: {foreground: "#403d52"} - other_execute: {foreground: "#c4a7e7"} - special_user_file: {foreground: "#c4a7e7"} - special_other: {foreground: "#403d52"} - attribute: {foreground: "#908caa"} - -size: - major: {foreground: "#908caa"} - minor: {foreground: "#9ccfd8"} - number_byte: {foreground: "#908caa"} - number_kilo: {foreground: "#524f67"} - number_mega: {foreground: "#31748f"} - number_giga: {foreground: "#c4a7e7"} - number_huge: {foreground: "#c4a7e7"} - unit_byte: {foreground: "#908caa"} - unit_kilo: {foreground: "#31748f"} - unit_mega: {foreground: "#c4a7e7"} - unit_giga: {foreground: "#c4a7e7"} - unit_huge: {foreground: "#9ccfd8"} - -users: - user_you: {foreground: "#f6c177"} - user_root: {foreground: "#eb6f92"} - user_other: {foreground: "#c4a7e7"} - group_yours: {foreground: "#524f67"} - group_other: {foreground: "#6e6a86"} - group_root: {foreground: "#eb6f92"} - -links: - normal: {foreground: "#9ccfd8"} - multi_link_file: {foreground: "#31748f"} - -git: - new: {foreground: "#9ccfd8"} - modified: {foreground: "#f6c177"} - deleted: {foreground: "#eb6f92"} - renamed: {foreground: "#31748f"} - typechange: {foreground: "#c4a7e7"} - ignored: {foreground: "#6e6a86"} - conflicted: {foreground: "#ebbcba"} - -git_repo: - branch_main: {foreground: "#908caa"} - branch_other: {foreground: "#c4a7e7"} - git_clean: {foreground: "#9ccfd8"} - git_dirty: {foreground: "#eb6f92"} - -security_context: - colon: {foreground: "#908caa"} - user: {foreground: "#9ccfd8"} - role: {foreground: "#c4a7e7"} - typ: {foreground: "#6e6a86"} - range: {foreground: "#c4a7e7"} - -file_type: - image: {foreground: "#f6c177"} - video: {foreground: "#eb6f92"} - music: {foreground: "#9ccfd8"} - lossless: {foreground: "#6e6a86"} - crypto: {foreground: "#403d52"} - document: {foreground: "#908caa"} - compressed: {foreground: "#c4a7e7"} - temp: {foreground: "#ebbcba"} - compiled: {foreground: "#31748f"} - build: {foreground: "#6e6a86"} - source: {foreground: "#ebbcba"} - -punctuation: {foreground: "#524f67"} -date: {foreground: "#31748f"} -inode: {foreground: "#908caa"} -blocks: {foreground: "#6e6a86"} -header: {foreground: "#908caa"} -octal: {foreground: "#9ccfd8"} -flags: {foreground: "#c4a7e7"} - -symlink_path: {foreground: "#9ccfd8"} -control_char: {foreground: "#31748f"} -broken_symlink: {foreground: "#eb6f92"} -broken_path_overlay: {foreground: "#524f67"} diff --git a/themes/rose-pine/ghostty.conf b/themes/rose-pine/ghostty.conf deleted file mode 100644 index 33bbaa7..0000000 --- a/themes/rose-pine/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = Rose Pine Dawn diff --git a/themes/rose-pine/hyprland.conf b/themes/rose-pine/hyprland.conf deleted file mode 100644 index ae0f2b6..0000000 --- a/themes/rose-pine/hyprland.conf +++ /dev/null @@ -1,3 +0,0 @@ -general { - col.active_border = rgb(575279) -} diff --git a/themes/rose-pine/hyprlock.conf b/themes/rose-pine/hyprlock.conf deleted file mode 100644 index 890e7e5..0000000 --- a/themes/rose-pine/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(250, 244, 237,1.0) -$inner_color = rgba(250, 244, 237,0.8) -$outer_color = rgba(57,52,79,1.0) -$font_color = rgba(57,52,79,1.0) -$check_color = rgba(136, 192, 208, 1.0) diff --git a/themes/rose-pine/icons.theme b/themes/rose-pine/icons.theme deleted file mode 100644 index 6ce2f14..0000000 --- a/themes/rose-pine/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-blue diff --git a/themes/rose-pine/kitty.conf b/themes/rose-pine/kitty.conf deleted file mode 100644 index 6c021dc..0000000 --- a/themes/rose-pine/kitty.conf +++ /dev/null @@ -1,51 +0,0 @@ -## name: Rose-Pine - -foreground #575279 -background #faf4ed - -selection_foreground #575279 -selection_background #dfdad9 - -cursor #cecacd -cursor_text_color #575279 - -url_color #575279 - -active_border_color #595959 -inactive_border_color #595959 -bell_border_color #595959 - -active_tab_foreground #575279 -active_tab_background #fffaf3 -inactive_tab_foreground #575279 -inactive_tab_background #fffaf3 -tab_bar_background #575279 - -mark1_foreground #faf4ed -mark1_background #fffaf3 -mark2_foreground #9893a5 -mark2_background #fffaf3 - -color0 #f2e9e1 -color8 #9893a5 - -color1 #b4637a -color9 #b4637a - -color2 #286983 -color10 #286983 - -color3 #ea9d34 -color11 #ea9d34 - -color4 #56949f -color12 #56949f - -color5 #907aa9 -color13 #907aa9 - -color6 #d7827e -color14 #d7827e - -color7 #575279 -color15 #575279 diff --git a/themes/rose-pine/light.mode b/themes/rose-pine/light.mode deleted file mode 100644 index 66bb2d0..0000000 --- a/themes/rose-pine/light.mode +++ /dev/null @@ -1 +0,0 @@ -# This will set "prefer-light" and use "Adwaita" as the theme diff --git a/themes/rose-pine/mako.ini b/themes/rose-pine/mako.ini deleted file mode 100644 index 10f76e5..0000000 --- a/themes/rose-pine/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#575279 -border-color=#575279 -background-color=#faf4ed -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/rose-pine/neovim.lua b/themes/rose-pine/neovim.lua deleted file mode 100644 index 591e8c7..0000000 --- a/themes/rose-pine/neovim.lua +++ /dev/null @@ -1,9 +0,0 @@ -return { - { "rose-pine/neovim", name = "rose-pine" }, - { - "LazyVim/LazyVim", - opts = { - colorscheme = "rose-pine-dawn", - }, - }, -} diff --git a/themes/rose-pine/preview.png b/themes/rose-pine/preview.png deleted file mode 100644 index 02d85d0..0000000 Binary files a/themes/rose-pine/preview.png and /dev/null differ diff --git a/themes/rose-pine/swayosd.css b/themes/rose-pine/swayosd.css deleted file mode 100644 index e58cc08..0000000 --- a/themes/rose-pine/swayosd.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color background-color #faf4ed; -@define-color border-color #575279; -@define-color label #575279; -@define-color image #575279; -@define-color progress #575279; - diff --git a/themes/rose-pine/vscode.json b/themes/rose-pine/vscode.json deleted file mode 100644 index 07e0050..0000000 --- a/themes/rose-pine/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Rosรฉ Pine Dawn", - "extension": "mvllow.rose-pine" -} diff --git a/themes/rose-pine/walker.css b/themes/rose-pine/walker.css deleted file mode 100644 index a6188c8..0000000 --- a/themes/rose-pine/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #88C0D0; -@define-color text #575279; -@define-color base #faf4ed; -@define-color border #575279; -@define-color foreground #575279; -@define-color background #faf4ed; diff --git a/themes/rose-pine/waybar.css b/themes/rose-pine/waybar.css deleted file mode 100644 index d2e5942..0000000 --- a/themes/rose-pine/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #575279; -@define-color background #faf4ed; diff --git a/themes/tokyo-night/alacritty.toml b/themes/tokyo-night/alacritty.toml deleted file mode 100644 index 19c1e22..0000000 --- a/themes/tokyo-night/alacritty.toml +++ /dev/null @@ -1,29 +0,0 @@ -[colors] -[colors.primary] -background = '#1a1b26' -foreground = '#a9b1d6' - -# Normal colors -[colors.normal] -black = '#32344a' -red = '#f7768e' -green = '#9ece6a' -yellow = '#e0af68' -blue = '#7aa2f7' -magenta = '#ad8ee6' -cyan = '#449dab' -white = '#787c99' - -# Bright colors -[colors.bright] -black = '#444b6a' -red = '#ff7a93' -green = '#b9f27c' -yellow = '#ff9e64' -blue = '#7da6ff' -magenta = '#bb9af7' -cyan = '#0db9d7' -white = '#acb0d0' - -[colors.selection] -background = '#7aa2f7' diff --git a/themes/tokyo-night/backgrounds/1-scenery-pink-lakeside-sunset-lake-landscape-scenic-panorama-7680x3215-144.png b/themes/tokyo-night/backgrounds/1-scenery-pink-lakeside-sunset-lake-landscape-scenic-panorama-7680x3215-144.png deleted file mode 100644 index d806728..0000000 Binary files a/themes/tokyo-night/backgrounds/1-scenery-pink-lakeside-sunset-lake-landscape-scenic-panorama-7680x3215-144.png and /dev/null differ diff --git a/themes/tokyo-night/backgrounds/2-Pawel-Czerwinski-Abstract-Purple-Blue.jpg b/themes/tokyo-night/backgrounds/2-Pawel-Czerwinski-Abstract-Purple-Blue.jpg deleted file mode 100644 index 2767138..0000000 Binary files a/themes/tokyo-night/backgrounds/2-Pawel-Czerwinski-Abstract-Purple-Blue.jpg and /dev/null differ diff --git a/themes/tokyo-night/backgrounds/3-Milad-Fakurian-Abstract-Purple-Blue.jpg b/themes/tokyo-night/backgrounds/3-Milad-Fakurian-Abstract-Purple-Blue.jpg deleted file mode 100644 index b9663ff..0000000 Binary files a/themes/tokyo-night/backgrounds/3-Milad-Fakurian-Abstract-Purple-Blue.jpg and /dev/null differ diff --git a/themes/tokyo-night/btop.theme b/themes/tokyo-night/btop.theme deleted file mode 100644 index 290a3c7..0000000 --- a/themes/tokyo-night/btop.theme +++ /dev/null @@ -1,82 +0,0 @@ -# Theme: tokyo-night -# By: Pascal Jaeger - -# Main bg -theme[main_bg]="#1a1b26" - -# Main text color -theme[main_fg]="#cfc9c2" - -# Title color for boxes -theme[title]="#cfc9c2" - -# Highlight color for keyboard shortcuts -theme[hi_fg]="#7dcfff" - -# Background color of selected item in processes box -theme[selected_bg]="#414868" - -# Foreground color of selected item in processes box -theme[selected_fg]="#cfc9c2" - -# Color of inactive/disabled text -theme[inactive_fg]="#565f89" - -# Misc colors for processes box including mini cpu graphs, details memory graph and details status text -theme[proc_misc]="#7dcfff" - -# Cpu box outline color -theme[cpu_box]="#565f89" - -# Memory/disks box outline color -theme[mem_box]="#565f89" - -# Net up/down box outline color -theme[net_box]="#565f89" - -# Processes box outline color -theme[proc_box]="#565f89" - -# Box divider line and small boxes line color -theme[div_line]="#565f89" - -# Temperature graph colors -theme[temp_start]="#9ece6a" -theme[temp_mid]="#e0af68" -theme[temp_end]="#f7768e" - -# CPU graph colors -theme[cpu_start]="#9ece6a" -theme[cpu_mid]="#e0af68" -theme[cpu_end]="#f7768e" - -# Mem/Disk free meter -theme[free_start]="#9ece6a" -theme[free_mid]="#e0af68" -theme[free_end]="#f7768e" - -# Mem/Disk cached meter -theme[cached_start]="#9ece6a" -theme[cached_mid]="#e0af68" -theme[cached_end]="#f7768e" - -# Mem/Disk available meter -theme[available_start]="#9ece6a" -theme[available_mid]="#e0af68" -theme[available_end]="#f7768e" - -# Mem/Disk used meter -theme[used_start]="#9ece6a" -theme[used_mid]="#e0af68" -theme[used_end]="#f7768e" - -# Download graph colors -theme[download_start]="#9ece6a" -theme[download_mid]="#e0af68" -theme[download_end]="#f7768e" - -# Upload graph colors -theme[upload_start]="#9ece6a" -theme[upload_mid]="#e0af68" -theme[upload_end]="#f7768e" - diff --git a/themes/tokyo-night/chromium.theme b/themes/tokyo-night/chromium.theme deleted file mode 100644 index bf2774d..0000000 --- a/themes/tokyo-night/chromium.theme +++ /dev/null @@ -1 +0,0 @@ -26,27,38 diff --git a/themes/tokyo-night/eza.yml b/themes/tokyo-night/eza.yml deleted file mode 100644 index c227123..0000000 --- a/themes/tokyo-night/eza.yml +++ /dev/null @@ -1,104 +0,0 @@ -# see https://github.com/eza-community/eza-themes/blob/main/themes/tokyonight.yml - -colourful: true - -filekinds: - normal: { foreground: "#c0caf5" } - directory: { foreground: "#7aa2f7" } - symlink: { foreground: "#2ac3de" } - pipe: { foreground: "#414868" } - block_device: { foreground: "#e0af68" } - char_device: { foreground: "#e0af68" } - socket: { foreground: "#414868" } - special: { foreground: "#9d7cd8" } - executable: { foreground: "#9ece6a" } - mount_point: { foreground: "#b4f9f8" } - -perms: - user_read: { foreground: "#2ac3de" } - user_write: { foreground: "#bb9af7" } - user_execute_file: { foreground: "#9ece6a" } - user_execute_other: { foreground: "#9ece6a" } - group_read: { foreground: "#2ac3de" } - group_write: { foreground: "#ff9e64" } - group_execute: { foreground: "#9ece6a" } - other_read: { foreground: "#2ac3de" } - other_write: { foreground: "#ff007c" } - other_execute: { foreground: "#9ece6a" } - special_user_file: { foreground: "#ff007c" } - special_other: { foreground: "#db4b4b" } - attribute: { foreground: "#737aa2" } - -size: - major: { foreground: "#2ac3de" } - minor: { foreground: "#9d7cd8" } - number_byte: { foreground: "#a9b1d6" } - number_kilo: { foreground: "#89ddff" } - number_mega: { foreground: "#2ac3de" } - number_giga: { foreground: "#ff9e64" } - number_huge: { foreground: "#ff007c" } - unit_byte: { foreground: "#a9b1d6" } - unit_kilo: { foreground: "#89ddff" } - unit_mega: { foreground: "#2ac3de" } - unit_giga: { foreground: "#ff9e64" } - unit_huge: { foreground: "#ff007c" } - -users: - user_you: { foreground: "#3d59a1" } - user_root: { foreground: "#bb9af7" } - user_other: { foreground: "#2ac3de" } - group_yours: { foreground: "#89ddff" } - group_root: { foreground: "#bb9af7" } - group_other: { foreground: "#c0caf5" } - -links: - normal: { foreground: "#89ddff" } - multi_link_file: { foreground: "#2ac3de" } - -git: - new: { foreground: "#9ece6a" } - modified: { foreground: "#bb9af7" } - deleted: { foreground: "#db4b4b" } - renamed: { foreground: "#2ac3de" } - typechange: { foreground: "#2ac3de" } - ignored: { foreground: "#545c7e" } - conflicted: { foreground: "#ff9e64" } - -git_repo: - branch_main: { foreground: "#737aa2" } - branch_other: { foreground: "#b4f9f8" } - git_clean: { foreground: "#292e42" } - git_dirty: { foreground: "#bb9af7" } - -security_context: - colon: { foreground: "#545c7e" } - user: { foreground: "#737aa2" } - role: { foreground: "#2ac3de" } - typ: { foreground: "#3d59a1" } - range: { foreground: "#9d7cd8" } - -file_type: - image: { foreground: "#89ddff" } - video: { foreground: "#b4f9f8" } - music: { foreground: "#73daca" } - lossless: { foreground: "#41a6b5" } - crypto: { foreground: "#db4b4b" } - document: { foreground: "#a9b1d6" } - compressed: { foreground: "#ff9e64" } - temp: { foreground: "#737aa2" } - compiled: { foreground: "#737aa2" } - build: { foreground: "#1abc9c" } - source: { foreground: "#bb9af7" } - -punctuation: { foreground: "#414868" } -date: { foreground: "#e0af68" } -inode: { foreground: "#737aa2" } -blocks: { foreground: "#737aa2" } -header: { foreground: "#a9b1d6" } -octal: { foreground: "#ff9e64" } -flags: { foreground: "#9d7cd8" } - -symlink_path: { foreground: "#89ddff" } -control_char: { foreground: "#ff9e64" } -broken_symlink: { foreground: "#ff007c" } -broken_path_overlay: { foreground: "#ff007c" } diff --git a/themes/tokyo-night/ghostty.conf b/themes/tokyo-night/ghostty.conf deleted file mode 100644 index 845659f..0000000 --- a/themes/tokyo-night/ghostty.conf +++ /dev/null @@ -1 +0,0 @@ -theme = TokyoNight diff --git a/themes/tokyo-night/hyprland.conf b/themes/tokyo-night/hyprland.conf deleted file mode 100644 index f0b824a..0000000 --- a/themes/tokyo-night/hyprland.conf +++ /dev/null @@ -1,4 +0,0 @@ -general { - col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg -} - diff --git a/themes/tokyo-night/hyprlock.conf b/themes/tokyo-night/hyprlock.conf deleted file mode 100644 index 7ef8abb..0000000 --- a/themes/tokyo-night/hyprlock.conf +++ /dev/null @@ -1,5 +0,0 @@ -$color = rgba(26,27,38,1.0) -$inner_color = rgba(26,27,38,0.8) -$outer_color = rgba(205,214,244,1.0) -$font_color = rgba(205,214,244,1.0) -$check_color = rgba(68, 157, 171, 1.0) diff --git a/themes/tokyo-night/icons.theme b/themes/tokyo-night/icons.theme deleted file mode 100644 index 5d00638..0000000 --- a/themes/tokyo-night/icons.theme +++ /dev/null @@ -1 +0,0 @@ -Yaru-magenta diff --git a/themes/tokyo-night/kitty.conf b/themes/tokyo-night/kitty.conf deleted file mode 100644 index 37a5bd2..0000000 --- a/themes/tokyo-night/kitty.conf +++ /dev/null @@ -1,48 +0,0 @@ -## name: Tokyo Night -## license: MIT -## author: Folke Lemaitre -## upstream: https://github.com/folke/tokyonight.nvim/raw/main/extras/kitty/tokyonight_night.conf - - -background #1a1b26 -foreground #c0caf5 -selection_background #283457 -selection_foreground #c0caf5 -url_color #73daca -cursor #c0caf5 -cursor_text_color #1a1b26 - -# Tabs -active_tab_background #7aa2f7 -active_tab_foreground #16161e -inactive_tab_background #292e42 -inactive_tab_foreground #545c7e -#tab_bar_background #15161e - -# Windows -active_border_color #7aa2f7 -inactive_border_color #292e42 - -# normal -color0 #15161e -color1 #f7768e -color2 #9ece6a -color3 #e0af68 -color4 #7aa2f7 -color5 #bb9af7 -color6 #7dcfff -color7 #a9b1d6 - -# bright -color8 #414868 -color9 #f7768e -color10 #9ece6a -color11 #e0af68 -color12 #7aa2f7 -color13 #bb9af7 -color14 #7dcfff -color15 #c0caf5 - -# extended colors -color16 #ff9e64 -color17 #db4b4b diff --git a/themes/tokyo-night/mako.ini b/themes/tokyo-night/mako.ini deleted file mode 100644 index c0fae2e..0000000 --- a/themes/tokyo-night/mako.ini +++ /dev/null @@ -1,10 +0,0 @@ -include=~/.local/share/omarchy/default/mako/core.ini - -text-color=#a9b1d6 -border-color=#33ccff -background-color=#1a1b26 -padding=10 -border-size=2 -font=Liberation Sans 11 -max-icon-size=32 -outer-margin=20 \ No newline at end of file diff --git a/themes/tokyo-night/neovim.lua b/themes/tokyo-night/neovim.lua deleted file mode 100644 index dad2d30..0000000 --- a/themes/tokyo-night/neovim.lua +++ /dev/null @@ -1,8 +0,0 @@ -return { - { - "LazyVim/LazyVim", - opts = { - colorscheme = "tokyonight", - }, - }, -} diff --git a/themes/tokyo-night/preview.png b/themes/tokyo-night/preview.png deleted file mode 100644 index 2c0eb4f..0000000 Binary files a/themes/tokyo-night/preview.png and /dev/null differ diff --git a/themes/tokyo-night/swayosd.css b/themes/tokyo-night/swayosd.css deleted file mode 100644 index 1300b6a..0000000 --- a/themes/tokyo-night/swayosd.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color background-color #1a1b26; -@define-color border-color #33ccff; -@define-color label #a9b1d6; -@define-color image #a9b1d6; -@define-color progress #a9b1d6; - diff --git a/themes/tokyo-night/vscode.json b/themes/tokyo-night/vscode.json deleted file mode 100644 index 89af98c..0000000 --- a/themes/tokyo-night/vscode.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "name": "Tokyo Night", - "extension": "enkia.tokyo-night" -} diff --git a/themes/tokyo-night/walker.css b/themes/tokyo-night/walker.css deleted file mode 100644 index aeb271d..0000000 --- a/themes/tokyo-night/walker.css +++ /dev/null @@ -1,6 +0,0 @@ -@define-color selected-text #7dcfff; -@define-color text #cfc9c2; -@define-color base #1a1b26; -@define-color border #33ccff; -@define-color foreground #cfc9c2; -@define-color background #1a1b26; diff --git a/themes/tokyo-night/waybar.css b/themes/tokyo-night/waybar.css deleted file mode 100644 index ecd3da0..0000000 --- a/themes/tokyo-night/waybar.css +++ /dev/null @@ -1,2 +0,0 @@ -@define-color foreground #cdd6f4; -@define-color background #1a1b26;