Compare commits
43 Commits
d0eba1c834
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| ac2ca3c8be | |||
| 9f7431bb36 | |||
| b80316267f | |||
| e64c3d1310 | |||
| 75be43140f | |||
| 38bd5b63f5 | |||
| 31de8eccb0 | |||
| cb8835bbfb | |||
| ea79663c96 | |||
| 2e9ea868b6 | |||
| f806506d9a | |||
|
62c70dab19
|
|||
|
4ee5658053
|
|||
|
f489259af9
|
|||
|
0893f80600
|
|||
|
582faec359
|
|||
|
205a1ccc8f
|
|||
|
5116faf0d3
|
|||
|
c5f771bd53
|
|||
|
0457d618e1
|
|||
|
305c0c16ba
|
|||
| 8b6bd110c1 | |||
|
f180cd6230
|
|||
|
4e4818343b
|
|||
|
70881cb0cb
|
|||
|
154486074f
|
|||
|
3ce6c956f6
|
|||
|
2ea4490891
|
|||
|
1649160981
|
|||
|
b419708566
|
|||
|
c8042ef095
|
|||
|
6a7549e025
|
|||
|
89022e0d50
|
|||
|
cd1d6de848
|
|||
|
c49ae0edc1
|
|||
|
19a88bd73a
|
|||
|
5b47311f0f
|
|||
|
b6552d60e4
|
|||
|
25eeeb2ff9
|
|||
|
e57c4dab80
|
|||
|
6d703df0d7
|
|||
|
a6fb3e0e45
|
|||
|
2d9981dec2
|
@@ -0,0 +1,66 @@
|
|||||||
|
# Source: adapted from the official cachix/install-nix-action "Flakes CI workflow" example
|
||||||
|
# https://github.com/cachix/install-nix-action
|
||||||
|
# (README: "Flakes CI workflow with nix build and flake check")
|
||||||
|
# Every action used here (actions/checkout) is from an official GitHub repo.
|
||||||
|
#
|
||||||
|
# Adaptations for Gitea Actions:
|
||||||
|
# * runs-on: native - Gitea's self-hosted native runner. cachix/install-nix-action
|
||||||
|
# explicitly supports self-hosted runners, and this runner's host already provides
|
||||||
|
# Nix (Lix), so the installer step is omitted and flakes are enabled via NIX_CONFIG
|
||||||
|
# (identical to the action's `extra_nix_config: experimental-features = nix-command flakes`).
|
||||||
|
# * The native runner only puts its `hostPackages` on PATH, which does NOT include Nix.
|
||||||
|
# Each job therefore exports the host's system Nix (/run/current-system/sw/bin) onto
|
||||||
|
# PATH before invoking `nix`. This uses the host's actual Lix rather than installing a
|
||||||
|
# second Nix client that would mismatch the running Lix daemon.
|
||||||
|
# * Gitea context vars (gitea.workflow / gitea.head_ref / gitea.sha) for concurrency.
|
||||||
|
# * matrix over x86_64-linux + aarch64-linux.
|
||||||
|
# All jobs use --no-build (eval-only) because the runner has 2 cores / 4GB RAM:
|
||||||
|
# building nix derivations would exhaust memory and crash the server.
|
||||||
|
# Pre-commit hooks run locally via git-hooks-nix on the developer's machine.
|
||||||
|
# * aarch64 builds need QEMU binfmt (boot.binfmt.emulatedSystems) + nix extra-platforms,
|
||||||
|
# which require a nixos-rebuild switch not yet applied. Flake-check for aarch64
|
||||||
|
# runs eval-only (no build) and passes.
|
||||||
|
|
||||||
|
name: CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
# Least-privilege by default; jobs opt into what they need.
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ gitea.workflow }}-${{ gitea.head_ref || gitea.sha }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
defaults:
|
||||||
|
run:
|
||||||
|
shell: bash
|
||||||
|
|
||||||
|
env:
|
||||||
|
NIX_CONFIG: |
|
||||||
|
experimental-features = nix-command flakes
|
||||||
|
extra-platforms = aarch64-linux
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
flake-check:
|
||||||
|
name: Flake check (${{ matrix.system }})
|
||||||
|
runs-on: native
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
system:
|
||||||
|
- x86_64-linux
|
||||||
|
- aarch64-linux
|
||||||
|
timeout-minutes: 30
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||||
|
with:
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Flake check (${{ matrix.system }})
|
||||||
|
run: |
|
||||||
|
export PATH=/run/current-system/sw/bin:$PATH
|
||||||
|
nix flake check --no-build --system ${{ matrix.system }}
|
||||||
@@ -1,4 +1,2 @@
|
|||||||
.direnv
|
.direnv
|
||||||
.pre-commit-config.yaml
|
.pre-commit-config.yaml
|
||||||
secrets/id_ed25519
|
|
||||||
secrets/id_ed25519.pub
|
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
creation_rules:
|
||||||
|
- path_regex: secrets/secrets\.yaml$
|
||||||
|
age: age1vtlutzzhgsy4ef8jd97jaay30zwygj68jwgn0zx64m2d5u57sqzsngy7lf
|
||||||
@@ -1,177 +1,151 @@
|
|||||||
<p align="center"><img src="https://i.imgur.com/X5zKxvp.png" width=300px></p>
|
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://hyprland.org/">
|
<a href="https://github.com/YaLTeR/niri/">
|
||||||
<img src="https://img.shields.io/static/v1?label=NIRI&message=latest&style=flat&logo=hyprland&colorA=24273A&colorB=8AADF4&logoColor=CAD3F5"/>
|
<img src="https://img.shields.io/static/v1?label=WM&message=Niri&style=flat&logo=hyprland&colorA=24273A&colorB=8AADF4&logoColor=CAD3F5"/>
|
||||||
</a>
|
|
||||||
<a href="https://github.com/zemmsoares/awesome-rices">
|
|
||||||
<img src="https://raw.githubusercontent.com/zemmsoares/awesome-rices/main/assets/awesome-rice-badge.svg" alt="awesome-rice-badge">
|
|
||||||
</a>
|
</a>
|
||||||
<a href="https://nixos.wiki/wiki/Flakes">
|
<a href="https://nixos.wiki/wiki/Flakes">
|
||||||
<img src="https://img.shields.io/static/v1?label=Nix-Flake&message=check&style=flat&logo=nixos&colorA=24273A&colorB=9173ff&logoColor=CAD3F5">
|
<img src="https://img.shields.io/static/v1?label=Nix&message=Flakes&style=flat&logo=nixos&colorA=24273A&colorB=9173ff&logoColor=CAD3F5"/>
|
||||||
</a>
|
</a>
|
||||||
<a href="https://nixos.org/">
|
<a href="https://nixos.org/">
|
||||||
<img src="https://img.shields.io/badge/NixOS-unstable-informational.svg?style=flat&logo=nixos&logoColor=CAD3F5&colorA=24273A&colorB=8AADF4">
|
<img src="https://img.shields.io/badge/NixOS-unstable-informational.svg?style=flat&logo=nixos&logoColor=CAD3F5&colorA=24273A&colorB=8AADF4"/>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<h1 align="center">芯 (Shin)</h1>
|
<h1 align="center">芯 (Shin)</h1>
|
||||||
|
|
||||||
### ⚠ <sup><sub><samp>PLEASE RESPECT THE CREDITS IF YOU USE SOMETHING FROM MY DESKTOP/SETUP.</samp></sub></sup>
|
**Personal NixOS + Home Manager flake.** Builds for `x86_64-linux` and `aarch64-linux`. Uses [flake-parts](https://flake.parts/).
|
||||||
|
|
||||||
> **Note:** This configuration has been refactored to remove Home Manager to reduce evaluation overhead. While projects like `hjem` and `hjem-rum` were considered, a pure NixOS approach was chosen for simplicity and performance.
|
| Host | Target | WM | Notes |
|
||||||
|
|------|--------|-----|-------|
|
||||||
|
| `desktop` | x86_64 | Niri | Full graphical |
|
||||||
|
| `laptop` | x86_64 | Niri | Battery, bluetooth, location |
|
||||||
|
| `tty` | x86_64 | — | Headless server |
|
||||||
|
| `hetzner` | x86_64 (24.05) | — | Isolated server, disko + sops-nix |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<pre align="center"><p align="center"><a href="#seedling--setup">SETUP</a> • <a href="#herb--guides">GUIDES</a> • <a href="#four_leaf_clover--key-bindings">KEYBINDS</a> • <a href="https://linu.dev/kaku">GALLERY</a></p></pre>
|
## Quick Install (with disko — recommended)
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
<a href="#octocat--hi-there-thanks-for-dropping-by">
|
|
||||||
<picture>
|
|
||||||
<img alt="" align="right" width="400px" src="/assets/6.png"/>
|
|
||||||
</picture>
|
|
||||||
</a>
|
|
||||||
|
|
||||||
- **Window Manager** • [Niri](https://github.com/YaLTeR/niri/)🎨 Scrolleable WM!
|
|
||||||
- **Shell** • [Fish](https://fishshell.com/) 🐟 with
|
|
||||||
[starship](https://github.com/starship/starship) Cross Shell Platform!
|
|
||||||
- **Terminal** • [Ghostty](https://ghostty.org/) 💻 Powerful Hyped term
|
|
||||||
- **Panel** • [Noctalia!](https://noctalia.dev/) 🍧 Beautiful and minimalist desktop shell
|
|
||||||
- **File Manager** • [Yazi](https://github.com/sxyazi/yazi) 🔖 Rustacean File
|
|
||||||
Manager!
|
|
||||||
- **GUI Basic-IDE** • [Helix](https://docs.helix-editor.com/) ✴️ Rustacean vim
|
|
||||||
version!
|
|
||||||
- **GTK Theme** • [GTK](https://github.com/someone/Colloid-gtk-theme) 🐾 My
|
|
||||||
Fork of colloid
|
|
||||||
|
|
||||||
## 🌼 <samp>INSTALLATION (NixOS)</samp>
|
|
||||||
|
|
||||||
> Request:
|
|
||||||
> [NixOs](https://channels.nixos.org/nixos-25.05/latest-nixos-minimal-x86_64-linux.iso)
|
|
||||||
|
|
||||||
- Download ISO.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
wget -O https://channels.nixos.org/nixos-24.05/latest-nixos-minimal-x86_64-linux.iso
|
|
||||||
```
|
|
||||||
|
|
||||||
- Boot Into the Installer.
|
|
||||||
|
|
||||||
- Switch to Root: `sudo -i`
|
|
||||||
|
|
||||||
- Partitions:
|
|
||||||
|
|
||||||
_I prefer to use 1GB on the EFI partition. Specifically because the
|
|
||||||
'generations' list may become very long, and to avoid overloading the
|
|
||||||
partition._
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Replace nvme with your disk partition
|
|
||||||
gdisk /dev/nvme0n1
|
|
||||||
```
|
|
||||||
|
|
||||||
- `o` (create new partition table)
|
|
||||||
- `n` (add partition, 512M, type ef00 EFI)
|
|
||||||
- `n` (add partition, remaining space, type 8300 Linux)
|
|
||||||
`w` (write partition table and exit)
|
|
||||||
|
|
||||||
- Format Partitions:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
mkfs.fat -F 32 -n EFI /dev/nvme0n1p1
|
|
||||||
mkfs.xfs -L NIXOS /dev/nvme0n1p2
|
|
||||||
```
|
|
||||||
|
|
||||||
- Mount Partitions:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
mount /dev/disk/by-label/NIXOS /mnt
|
|
||||||
mkdir -p /mnt/boot
|
|
||||||
mount /dev/disk/by-label/EFI /mnt/boot
|
|
||||||
```
|
|
||||||
|
|
||||||
- Enable nixFlakes
|
|
||||||
|
|
||||||
```bash
|
|
||||||
nix-shell -p nixVersions.stable git
|
|
||||||
```
|
|
||||||
|
|
||||||
- Clone my Dotfiles
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
# Boot NixOS minimal ISO, then:
|
||||||
|
sudo -i
|
||||||
git clone --depth 1 https://github.com/someone/shin /mnt/etc/nixos
|
git clone --depth 1 https://github.com/someone/shin /mnt/etc/nixos
|
||||||
```
|
|
||||||
|
|
||||||
- Generate your Own Nix Hardware Settings:
|
# Auto-partition, format, mount (replace 'laptop' with 'desktop'/'tty')
|
||||||
|
nix --extra-experimental-features "nix-command flakes" \
|
||||||
|
run github:nix-community/disko -- \
|
||||||
|
--mode destroy,format,mount /mnt/etc/nixos/hosts/aesthetic/disko-config.nix
|
||||||
|
|
||||||
### ⚠ <sup><sub><samp>DON'T FORGET IT</samp></sub></sup>
|
# Generate hardware config
|
||||||
|
nixos-generate-config --dir /mnt/etc/nixos/hosts/aesthetic
|
||||||
```bash
|
rm /mnt/etc/nixos/hosts/aesthetic/configuration.nix
|
||||||
sudo nixos-generate-config --dir /mnt/etc/nixos/hosts/aesthetic
|
|
||||||
|
|
||||||
# Remove configuration.nix
|
|
||||||
rm -rf /mnt/etc/nixos/hosts/aesthetic/configuration.nix
|
|
||||||
```
|
|
||||||
|
|
||||||
- Install Dotfiles Using Flake
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Move to folder
|
|
||||||
cd mnt/etc/nixos
|
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
nixos-install --flake .#aesthetic
|
cd /mnt/etc/nixos
|
||||||
|
nixos-install --flake .#laptop
|
||||||
```
|
```
|
||||||
|
|
||||||
- Reboot
|
**BIOS vs UEFI:** Set in `hosts/aesthetic/default.nix`:
|
||||||
|
```nix
|
||||||
|
boot.loader.limine.bootMode = "bios"; # or "uefi"
|
||||||
|
```
|
||||||
|
|
||||||
### 🐙 <sup><sub><samp>Remember <strong>Default</strong> User & password are: nixos</samp></sub></sup>
|
---
|
||||||
|
|
||||||
- Change Default password for User.
|
## Post-Install: Secrets
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
passwd YourUser
|
# Reboot into new system, then:
|
||||||
|
sops secrets/secrets.yaml
|
||||||
|
# Fill in:
|
||||||
|
# hetzner_server — SSH private key for root@severijnse.eu
|
||||||
|
# gitea_laptop — SSH private key for git@git.severijnse.eu:222
|
||||||
|
# discordo, openrouter, github, twt, gemini, context7, exa — API tokens
|
||||||
|
sudo nixos-rebuild switch --flake /etc/nixos#laptop
|
||||||
```
|
```
|
||||||
|
|
||||||
### 🌻 <samp>TODO LIST</samp>
|
---
|
||||||
|
|
||||||
### 🧩 <samp>ADDITIONAL TIPS</samp>
|
## Daily Workflow
|
||||||
|
|
||||||
If you're using this NixOS configuration flake locally, you can simplify the process of switching and managing your system using [`nh`](https://github.com/viperML/nh), a CLI helper for Nix Flakes.
|
|
||||||
|
|
||||||
To switch your system configuration with `nh`, use:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
NH_FLAKE=/home/someone/Dev/kaku/ nh os switch
|
# Rebuild after changes
|
||||||
|
sudo nixos-rebuild switch --flake /etc/nixos#laptop
|
||||||
|
|
||||||
|
# Or with nh (cleaner)
|
||||||
|
NH_FLAKE=/etc/nixos nh os switch
|
||||||
|
|
||||||
|
# Update flake inputs
|
||||||
|
nix flake update --flake /etc/nixos
|
||||||
|
|
||||||
|
# Format Nix code
|
||||||
|
alejandra /etc/nixos
|
||||||
```
|
```
|
||||||
|
|
||||||
This avoids needing to type out the full `nixos-rebuild` command manually and provides a cleaner workflow when iterating on your setup.
|
---
|
||||||
|
|
||||||
> 💡 Make sure `nh` is installed in your system environment or user profile.
|
## Key Components
|
||||||
|
|
||||||
## 🍀 <samp>KEY BINDINGS</samp>
|
| Layer | Tool | Config |
|
||||||
|
|-------|------|--------|
|
||||||
|
| WM | Niri | `home/window-managers/niri/` |
|
||||||
|
| Shell | Fish + Starship | `home/terminal/shell/` |
|
||||||
|
| Terminal | Ghostty | `home/terminal/emulators/ghostty.nix` |
|
||||||
|
| Panel | Noctalia | `home/services/wayland/noctalia.nix` |
|
||||||
|
| Files | Yazi | `home/terminal/software/yazi.nix` |
|
||||||
|
| Editor | Helix | `home/editors/helix/` |
|
||||||
|
| Secrets | sops-nix (age via SSH host key) | `secrets/secrets.yaml` |
|
||||||
|
| Boot | Limine (BIOS/UEFI) | `system/core/limine.nix` |
|
||||||
|
|
||||||
## 💐 <samp>ACKNOWLEDGEMENTS</samp>
|
---
|
||||||
|
|
||||||
| | | Inspiration and Resources | | |
|
## Flake Structure
|
||||||
| :-: | :-: | :------------------------------------------ | :-- | :-: |
|
|
||||||
| | 1 | [owl4ce](https://github.com/owl4ce) | | |
|
|
||||||
| | 2 | [Ilham25](https://github.com/ilham25) | | |
|
|
||||||
| | 3 | [Siduck](https://github.com/siduck) | | |
|
|
||||||
| | 4 | [NvChad](https://github.com/NvChad) | | |
|
|
||||||
| | 5 | [Rxyhn](https://github.com/rxyhn) | | |
|
|
||||||
| | 6 | [HeinzDev](https://github.com/HeinzDev) | | |
|
|
||||||
| | 7 | [fufexan](https://github.com/fufexan) | | |
|
|
||||||
| | 8 | [AmitGolden](https://github.com/AmitGolden) | | |
|
|
||||||
| | | | | |
|
|
||||||
|
|
||||||
## 🌳 <samp>CONTRIBUTING</samp>
|
```
|
||||||
|
├── flake.nix # Inputs, outputs, perSystem
|
||||||
|
├── hosts/
|
||||||
|
│ ├── default.nix # Host definitions (desktop, laptop, tty, hetzner)
|
||||||
|
│ └── aesthetic/ # Laptop/desktop hardware config
|
||||||
|
├── home/ # Home Manager (user config)
|
||||||
|
│ ├── terminal/ # Shell, emulators, CLI tools
|
||||||
|
│ ├── editors/ # Helix, Zed, Neovim
|
||||||
|
│ ├── window-managers/ # Niri, keybinds
|
||||||
|
│ └── services/ # User systemd services
|
||||||
|
├── system/ # NixOS modules
|
||||||
|
│ ├── core/ # Boot, kernel, security
|
||||||
|
│ └── services/ # System services
|
||||||
|
├── servers/
|
||||||
|
│ └── hetzner/ # Isolated server (24.05, disko, sops)
|
||||||
|
├── secrets/
|
||||||
|
│ ├── secrets.yaml # sops-encrypted (age via SSH host key)
|
||||||
|
│ ├── age.key # Age private key (for sops decryption)
|
||||||
|
│ └── .sops.yaml # sops creation rules
|
||||||
|
└── pkgs/ # Custom packages/overlays
|
||||||
|
```
|
||||||
|
|
||||||
WIP
|
---
|
||||||
|
|
||||||
## 🎃 <samp>SECURITY POLICY</samp>
|
## sops-nix Details
|
||||||
|
|
||||||
<pre align="center">
|
- Encrypts `secrets/secrets.yaml` with **age** using the SSH host ed25519 key (`/etc/ssh/ssh_host_ed25519_key`)
|
||||||
<a href="#readme">BACK TO TOP</a>
|
- Auto-decrypts to `/run/secrets/` at activation
|
||||||
</pre>
|
- Fish loads secrets from `/run/secrets/` via `home/terminal/shell/fish.nix`
|
||||||
|
- SSH config references `/run/secrets/hetzner_server` and `/run/secrets/gitea_laptop`
|
||||||
|
|
||||||
|
To re-encrypt for a new host key:
|
||||||
|
```bash
|
||||||
|
cd /etc/nixos
|
||||||
|
nix shell nixpkgs#sops -c sops --encrypt --age "$(nix shell nixpkgs#ssh-to-age -c ssh-to-age < /etc/ssh/ssh_host_ed25519_key.pub)" secrets/secrets.yaml > secrets/secrets.yaml.new
|
||||||
|
mv secrets/secrets.yaml.new secrets/secrets.yaml
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
|
||||||
|
Inspired by: [hjem](https://github.com/nix-community/hjem), [owl4ce](https://github.com/owl4ce), [Siduck](https://github.com/siduck), [Rxyhn](https://github.com/rxyhn).
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT — use freely, credits appreciated.
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |
@@ -1,49 +1,22 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"agenix": {
|
"disko": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"darwin": "darwin",
|
|
||||||
"home-manager": "home-manager",
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixos-24-05"
|
||||||
],
|
|
||||||
"systems": [
|
|
||||||
"systems"
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1770165109,
|
"lastModified": 1781152676,
|
||||||
"narHash": "sha256-9VnK6Oqai65puVJ4WYtCTvlJeXxMzAp/69HhQuTdl/I=",
|
"narHash": "sha256-RxWs5ND31KzTG7wvMM+PMfUjyNpmIEr999lqNARaM5o=",
|
||||||
"owner": "ryantm",
|
"owner": "nix-community",
|
||||||
"repo": "agenix",
|
"repo": "disko",
|
||||||
"rev": "b027ee29d959fda4b60b57566d64c98a202e0feb",
|
"rev": "ff8702b4de27f72b4c78573dfb89ec74e36abdf1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "ryantm",
|
"owner": "nix-community",
|
||||||
"repo": "agenix",
|
"repo": "disko",
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"darwin": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"agenix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1744478979,
|
|
||||||
"narHash": "sha256-dyN+teG9G82G+m+PX/aSAagkC+vUv0SgUw3XkPhQodQ=",
|
|
||||||
"owner": "lnl7",
|
|
||||||
"repo": "nix-darwin",
|
|
||||||
"rev": "43975d782b418ebf4969e9ccba82466728c2851b",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "lnl7",
|
|
||||||
"ref": "master",
|
|
||||||
"repo": "nix-darwin",
|
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -62,6 +35,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-compat_2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767039857,
|
||||||
|
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
@@ -69,11 +58,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772408722,
|
"lastModified": 1782949081,
|
||||||
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
|
"narHash": "sha256-vp6Y/Grm98ESt6ceOkWiHWyZRDV3J1RID4w+6NWK9yA=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
|
"rev": "17c9d6cdfc60c64f4ee8d306f9bc0b4ccb51481e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -102,34 +91,95 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"flake-utils_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"systems": "systems_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"git-hooks-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat_2",
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"agenix",
|
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745494811,
|
"lastModified": 1783008725,
|
||||||
"narHash": "sha256-YZCh2o9Ua1n9uCvrvi5pRxtuVNml8X2a03qIFfRKpFs=",
|
"narHash": "sha256-jGiy6+sxjNWXSjp25uoJuNfyH9zBK1PEDY0lVoL4ibQ=",
|
||||||
"owner": "nix-community",
|
"owner": "cachix",
|
||||||
"repo": "home-manager",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "abfad3d2958c9e6300a883bd443512c55dfeb1be",
|
"rev": "bca82caa46d5ec0f5d422c61fb1e30bc51313cbe",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "cachix",
|
||||||
"repo": "home-manager",
|
"repo": "git-hooks.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"helium": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"nixpkgs-darwin": "nixpkgs-darwin",
|
||||||
|
"utils": "utils"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783756748,
|
||||||
|
"narHash": "sha256-hB8uUHBDsaZafd19ilbNVntTzaF7Sr2zGQDDb1tk8pE=",
|
||||||
|
"owner": "schembriaiden",
|
||||||
|
"repo": "helium-browser-nix-flake",
|
||||||
|
"rev": "2efc1e5eaabb81ffcbd66ded45a18bf3aa1c21c5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "schembriaiden",
|
||||||
|
"repo": "helium-browser-nix-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"himmelblau": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783966245,
|
||||||
|
"narHash": "sha256-yFLScy0bxU6GLf4ZUoYCzZiyh5AGTT85evjw6xpG++g=",
|
||||||
|
"owner": "himmelblau-idm",
|
||||||
|
"repo": "himmelblau",
|
||||||
|
"rev": "00b27a924c2a42d54320b9ebc012c22d8dd95e28",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "himmelblau-idm",
|
||||||
|
"ref": "main",
|
||||||
|
"repo": "himmelblau",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"import-tree": {
|
"import-tree": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773693634,
|
"lastModified": 1778781969,
|
||||||
"narHash": "sha256-BtZ2dtkBdSUnFPPFc+n0kcMbgaTxzFNPv2iaO326Ffg=",
|
"narHash": "sha256-Jjuz5CmSkur8KvLDoGa+vylEp+RkQtv4mt/qcMznpH0=",
|
||||||
"owner": "vic",
|
"owner": "vic",
|
||||||
"repo": "import-tree",
|
"repo": "import-tree",
|
||||||
"rev": "c41e7d58045f9057880b0d85e1152d6a4430dbf1",
|
"rev": "d321337efd0f23a9eb14a42adb7b2c29313ab274",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -138,22 +188,24 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"mynixpkgs": {
|
"mdatp": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs",
|
"flake-utils": "flake-utils_2",
|
||||||
"systems": "systems"
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773777798,
|
"lastModified": 1747306795,
|
||||||
"narHash": "sha256-2RqnNcMmPSWvS3Dxbd2rY8pPz4gaNqnUlPaLH3VLogo=",
|
"narHash": "sha256-PF4ptTqa3gLzb9ac9SGrFyy4KHd2Z47aUUzkaYmrtvM=",
|
||||||
"owner": "linuxmobile",
|
"owner": "epetousis",
|
||||||
"repo": "mynixpkgs",
|
"repo": "nix-mdatp",
|
||||||
"rev": "5bd67d272772b698ec7f2a27babfb76df8c58774",
|
"rev": "30936772fbc654604004b7049b727f42a0da6c2f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "linuxmobile",
|
"owner": "epetousis",
|
||||||
"repo": "mynixpkgs",
|
"repo": "nix-mdatp",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -164,11 +216,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773552174,
|
"lastModified": 1783835045,
|
||||||
"narHash": "sha256-mHSRNrT1rjeYBgkAlj07dW3+1nFEgAd8Gu6lgyfT9DU=",
|
"narHash": "sha256-yL4Ptl/aH7kJK/4HtLEzpSE40zdMNdXolfgwwGY3bmk=",
|
||||||
"owner": "Mic92",
|
"owner": "Mic92",
|
||||||
"repo": "nix-index-database",
|
"repo": "nix-index-database",
|
||||||
"rev": "8faeb68130df077450451b6734a221ba0d6cde42",
|
"rev": "9b7545740d701a28a6d46de0665a685191205ba1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -177,13 +229,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixos-24-05": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1772963539,
|
"lastModified": 1735563628,
|
||||||
"narHash": "sha256-9jVDGZnvCckTGdYT53d/EfznygLskyLQXYwJLKMPsZs=",
|
"narHash": "sha256-OnSAY7XDSx7CtDoqNh8jwVwh4xNL/2HaJxGjryLWzX8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9dcb002ca1690658be4a04645215baea8b95f31d",
|
"rev": "b134951a4c9f3c995fd7be05f3243f8ecd65d798",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-24.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783776592,
|
||||||
|
"narHash": "sha256-UgCQzxeWI75XM8G+hPrPh+MKzEPjG3SpAj7dtqSbksA=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "e7a3ca8092b61ff85b6a45bf863ea2b2d6a661b3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -193,13 +261,29 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs-darwin": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773734432,
|
"lastModified": 1783707519,
|
||||||
"narHash": "sha256-IF5ppUWh6gHGHYDbtVUyhwy/i7D261P7fWD1bPefOsw=",
|
"narHash": "sha256-VJ+eK/EB7aIZ246bXjkYalr4YWQAtHRJeh15Qw2LxUs=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "cda48547b432e8d3b18b4180ba07473762ec8558",
|
"rev": "2b35450a66cf6ee8492099a6eb1903796965d32d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixpkgs-26.05-darwin",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-unstable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783776592,
|
||||||
|
"narHash": "sha256-UgCQzxeWI75XM8G+hPrPh+MKzEPjG3SpAj7dtqSbksA=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "e7a3ca8092b61ff85b6a45bf863ea2b2d6a661b3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -211,18 +295,65 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"disko": "disko",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
"git-hooks-nix": "git-hooks-nix",
|
||||||
|
"helium": "helium",
|
||||||
|
"himmelblau": "himmelblau",
|
||||||
"import-tree": "import-tree",
|
"import-tree": "import-tree",
|
||||||
"mynixpkgs": "mynixpkgs",
|
"mdatp": "mdatp",
|
||||||
"nix-index-db": "nix-index-db",
|
"nix-index-db": "nix-index-db",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixos-24-05": "nixos-24-05",
|
||||||
"systems": "systems_2",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
|
"rustlock": "rustlock",
|
||||||
|
"sops-nix": "sops-nix",
|
||||||
|
"systems": "systems_3",
|
||||||
"zen-browser": "zen-browser"
|
"zen-browser": "zen-browser"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rustlock": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1782663473,
|
||||||
|
"narHash": "sha256-wPpiuL3EVvNb3+9QgRGtopZXbebb9uUs3Slwuigvh8w=",
|
||||||
|
"owner": "JorySeverijnse",
|
||||||
|
"repo": "rustlock",
|
||||||
|
"rev": "76039750623825172fbee93adae8bb48d4ad36ad",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "JorySeverijnse",
|
||||||
|
"repo": "rustlock",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"sops-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixos-24-05"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1783174389,
|
||||||
|
"narHash": "sha256-aCWC8ngycU7OdJrU2+Je3qf+1a2ykuBvpPhZT/9tXMc=",
|
||||||
|
"owner": "Mic92",
|
||||||
|
"repo": "sops-nix",
|
||||||
|
"rev": "f1406619a3884cd5c47992a70b8b35c9c0fcb4c9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Mic92",
|
||||||
|
"repo": "sops-nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
@@ -239,6 +370,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems_2": {
|
"systems_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1689347949,
|
"lastModified": 1689347949,
|
||||||
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
|
||||||
@@ -253,6 +399,24 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"utils": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"zen-browser": {
|
"zen-browser": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -260,11 +424,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1773722260,
|
"lastModified": 1783668749,
|
||||||
"narHash": "sha256-U8MsSiqqYZHR3oKE+cCZ2AJt3b4LcXs+oQuNLipaO78=",
|
"narHash": "sha256-EDJjJYGT5pQKTBqmz+OA2sqE20kjj6mP699JFGDzse4=",
|
||||||
"owner": "youwen5",
|
"owner": "youwen5",
|
||||||
"repo": "zen-browser-flake",
|
"repo": "zen-browser-flake",
|
||||||
"rev": "0e6e43342fb3e9a3439fafa777d8cdf98e4ffc49",
|
"rev": "e8041a3571e8cadb57dc18a3d6362d753510b94a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -3,9 +3,9 @@
|
|||||||
|
|
||||||
outputs = inputs:
|
outputs = inputs:
|
||||||
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
inputs.flake-parts.lib.mkFlake {inherit inputs;} {
|
||||||
systems = ["x86_64-linux"];
|
systems = ["x86_64-linux" "aarch64-linux"];
|
||||||
|
|
||||||
imports = [./hosts ./pkgs];
|
imports = [./hosts ./pkgs inputs.git-hooks-nix.flakeModule];
|
||||||
|
|
||||||
perSystem = {
|
perSystem = {
|
||||||
config,
|
config,
|
||||||
@@ -21,6 +21,37 @@
|
|||||||
};
|
};
|
||||||
# Nix Formatter
|
# Nix Formatter
|
||||||
formatter = pkgs.alejandra;
|
formatter = pkgs.alejandra;
|
||||||
|
|
||||||
|
# Pre-commit hooks (flake-parts module from cachix/git-hooks.nix).
|
||||||
|
# `nix build .#checks.<system>.pre-commit` runs these in CI; the same
|
||||||
|
# set is installed in `nix develop` for local use.
|
||||||
|
# alejandra.settings.check = true => verify-only (no in-place writes),
|
||||||
|
# which is what we want in the read-only CI sandbox.
|
||||||
|
pre-commit.settings.hooks = {
|
||||||
|
alejandra = {
|
||||||
|
enable = true;
|
||||||
|
settings.check = true;
|
||||||
|
};
|
||||||
|
statix = {
|
||||||
|
enable = true;
|
||||||
|
# hardware-configuration.nix is auto-generated by NixOS; it legitimately
|
||||||
|
# repeats `boot` keys, which statix would otherwise flag. Exclude it here.
|
||||||
|
settings.ignore = ["hardware-configuration.nix"];
|
||||||
|
# Lint config (statix.toml at repo root). Disables `empty_pattern`, which
|
||||||
|
# flags the standard NixOS `{ ... }:` module pattern that nixpkgs likewise
|
||||||
|
# permits.
|
||||||
|
settings.config = "./statix.toml";
|
||||||
|
};
|
||||||
|
deadnix.enable = true;
|
||||||
|
actionlint.enable = true;
|
||||||
|
trim-trailing-whitespace.enable = true;
|
||||||
|
end-of-file-fixer.enable = true;
|
||||||
|
check-yaml.enable = true;
|
||||||
|
check-toml.enable = true;
|
||||||
|
check-added-large-files.enable = true;
|
||||||
|
check-merge-conflicts.enable = true;
|
||||||
|
detect-private-keys.enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -40,29 +71,67 @@
|
|||||||
inputs.nixpkgs-lib.follows = "nixpkgs";
|
inputs.nixpkgs-lib.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Nix-native pre-commit framework (maintained successor to
|
||||||
|
# pre-commit-hooks.nix). Follows our nixpkgs to avoid version skew
|
||||||
|
# with the rest of the flake.
|
||||||
|
git-hooks-nix = {
|
||||||
|
url = "github:cachix/git-hooks.nix";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
|
||||||
# rest of inputs, alphabetical order
|
# rest of inputs, alphabetical order
|
||||||
agenix = {
|
|
||||||
url = "github:ryantm/agenix";
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.follows = "nixpkgs";
|
|
||||||
systems.follows = "systems";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
import-tree.url = "github:vic/import-tree";
|
import-tree.url = "github:vic/import-tree";
|
||||||
|
|
||||||
mynixpkgs.url = "github:linuxmobile/mynixpkgs";
|
|
||||||
|
|
||||||
zen-browser = {
|
zen-browser = {
|
||||||
url = "github:youwen5/zen-browser-flake";
|
url = "github:youwen5/zen-browser-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
helium = {
|
||||||
|
url = "github:schembriaiden/helium-browser-nix-flake";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
himmelblau = {
|
||||||
|
url = "github:himmelblau-idm/himmelblau/main";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
mdatp = {
|
||||||
|
url = "github:epetousis/nix-mdatp";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
rustlock = {
|
||||||
|
url = "github:JorySeverijnse/rustlock";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
nix-index-db = {
|
nix-index-db = {
|
||||||
url = "github:Mic92/nix-index-database";
|
url = "github:Mic92/nix-index-database";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# --- Server (hetzner) inputs ---
|
||||||
|
# Pinned to 24.05 to match the deployed Hetzner server exactly.
|
||||||
|
nixos-24-05 = {
|
||||||
|
url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||||
|
};
|
||||||
|
|
||||||
|
nixpkgs-unstable = {
|
||||||
|
url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
|
disko = {
|
||||||
|
url = "github:nix-community/disko";
|
||||||
|
inputs.nixpkgs.follows = "nixos-24-05";
|
||||||
|
};
|
||||||
|
|
||||||
|
sops-nix = {
|
||||||
|
url = "github:Mic92/sops-nix";
|
||||||
|
inputs.nixpkgs.follows = "nixos-24-05";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
|
||||||
|
|
||||||
let
|
|
||||||
username = "someone";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
username = "someone";
|
||||||
|
in {
|
||||||
users.users.${username}.packages = with pkgs; [
|
users.users.${username}.packages = with pkgs; [
|
||||||
neovim
|
neovim
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
config,
|
|
||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
configFile = "zed/settings.json";
|
configFile = "zed/settings.json";
|
||||||
languageConfig = import ./_settings.nix {inherit pkgs lib;};
|
languageConfig = import ./_settings.nix {inherit pkgs lib;};
|
||||||
settingsJSON = builtins.toJSON ({
|
toJSON = (pkgs.formats.json {}).generate;
|
||||||
|
settingsJSON = toJSON "settings.json" ({
|
||||||
node = {
|
node = {
|
||||||
path = "${pkgs.nodejs}/bin/node";
|
path = "${pkgs.nodejs}/bin/node";
|
||||||
npm_path = "${pkgs.nodejs}/bin/npm";
|
npm_path = "${pkgs.nodejs}/bin/npm";
|
||||||
@@ -146,7 +146,7 @@ in {
|
|||||||
zedWithLSP
|
zedWithLSP
|
||||||
];
|
];
|
||||||
xdg.configFile."${configFile}" = {
|
xdg.configFile."${configFile}" = {
|
||||||
text = settingsJSON;
|
source = settingsJSON;
|
||||||
mutable = true;
|
mutable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{pkgs, ...}: let
|
||||||
|
kotlin-lsp = pkgs.runCommand "kotlin-lsp" {} ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
ln -s ${pkgs.kotlin-language-server}/bin/kotlin-language-server $out/bin/kotlin-lsp
|
||||||
|
'';
|
||||||
|
in {
|
||||||
|
users.users.someone.packages = with pkgs; [
|
||||||
|
# android development
|
||||||
|
jdk17
|
||||||
|
gradle
|
||||||
|
android-tools
|
||||||
|
kotlin-lsp
|
||||||
|
ktlint
|
||||||
|
scrcpy
|
||||||
|
(pkgs.androidenv.composeAndroidPackages {
|
||||||
|
buildToolsVersions = ["36.0.0" "35.0.0" "34.0.0" "29.0.3"];
|
||||||
|
platformVersions = ["29" "34" "35" "36"];
|
||||||
|
includeNDK = true;
|
||||||
|
ndkVersions = ["27.0.12077973"];
|
||||||
|
cmakeVersions = ["3.22.1"];
|
||||||
|
}).androidsdk
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
heliumWrapped = pkgs.symlinkJoin {
|
heliumWrapped = pkgs.symlinkJoin {
|
||||||
name = "helium-wrapped";
|
name = "helium-wrapped";
|
||||||
paths = [inputs.mynixpkgs.packages.${pkgs.stdenv.hostPlatform.system}.helium];
|
paths = [inputs.helium.packages.${pkgs.stdenv.hostPlatform.system}.default];
|
||||||
buildInputs = [pkgs.makeWrapper];
|
buildInputs = [pkgs.makeWrapper];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/helium \
|
wrapProgram $out/bin/helium \
|
||||||
|
|||||||
@@ -12,11 +12,11 @@ in {
|
|||||||
system.activationScripts.zenArkenfoxUserJs = lib.stringAfter ["users"] ''
|
system.activationScripts.zenArkenfoxUserJs = lib.stringAfter ["users"] ''
|
||||||
zen_dir="${homeDir}/.config/zen"
|
zen_dir="${homeDir}/.config/zen"
|
||||||
if [ -d "$zen_dir" ]; then
|
if [ -d "$zen_dir" ]; then
|
||||||
for profile in "$zen_dir"/*/; do
|
for profile in "$zen_dir"/*; do
|
||||||
if [ -f "$profile/prefs.js" ]; then
|
[ -f "$profile/prefs.js" ] && (
|
||||||
runuser -u someone -- ${pkgs.curl}/bin/curl -sL -o "$profile/user.js" \
|
runuser -u someone -- ${pkgs.curl}/bin/curl -A Lix -sL -o "$profile/user.js" \
|
||||||
"https://git.severijnse.eu/jory/user.js/raw/branch/master/user.js"
|
"https://git.severijnse.eu/jory/user.js/raw/branch/master/user.js"
|
||||||
fi
|
)
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|||||||
@@ -8,16 +8,18 @@
|
|||||||
gsettings-desktop-schemas
|
gsettings-desktop-schemas
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
|
|
||||||
programs.dconf.profiles.user.databases = [{
|
programs.dconf.profiles.user.databases = [
|
||||||
|
{
|
||||||
settings = {
|
settings = {
|
||||||
"org/gnome/desktop/interface" = {
|
"org/gnome/desktop/interface" = {
|
||||||
color-scheme = "prefer-dark";
|
color-scheme = "prefer-dark";
|
||||||
gtk-application-prefer-dark-theme = true;
|
gtk-application-prefer-dark-theme = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}];
|
}
|
||||||
|
];
|
||||||
|
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
XDG_ICON_DIR = "${pkgs.whitesur-icon-theme}/share/icons/WhiteSur";
|
XDG_ICON_DIR = "${pkgs.whitesur-icon-theme}/share/icons/WhiteSur";
|
||||||
|
|||||||
@@ -2,13 +2,10 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}:
|
}: let
|
||||||
|
|
||||||
let
|
|
||||||
configFile = "mpv/mpv.conf";
|
configFile = "mpv/mpv.conf";
|
||||||
mpvInputFile = "mpv/input.conf";
|
mpvInputFile = "mpv/input.conf";
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
users.users.someone.packages = with pkgs; [
|
users.users.someone.packages = with pkgs; [
|
||||||
mpv
|
mpv
|
||||||
mpvScripts.mpris
|
mpvScripts.mpris
|
||||||
@@ -16,8 +13,7 @@ in
|
|||||||
|
|
||||||
xdg.configFile."${configFile}".text =
|
xdg.configFile."${configFile}".text =
|
||||||
lib.generators.toKeyValue {
|
lib.generators.toKeyValue {
|
||||||
mkKeyValue = k: v:
|
mkKeyValue = k: v: "${lib.escapeShellArg k}=${lib.escapeShellArg v}";
|
||||||
"${lib.escapeShellArg k}=${lib.escapeShellArg v}";
|
|
||||||
listsAsDuplicateKeys = true;
|
listsAsDuplicateKeys = true;
|
||||||
} {
|
} {
|
||||||
profile = "gpu-hq";
|
profile = "gpu-hq";
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
{pkgs, ...}: let
|
{pkgs, ...}: let
|
||||||
configFile = "pipewire/pipewire.conf.d/99-input-denoising.conf";
|
configFile = "pipewire/pipewire.conf.d/99-input-denoising.conf";
|
||||||
|
toJSON = (pkgs.formats.json {}).generate;
|
||||||
in {
|
in {
|
||||||
users.users.someone.packages = with pkgs; [
|
users.users.someone.packages = with pkgs; [
|
||||||
rnnoise
|
rnnoise
|
||||||
rnnoise-plugin
|
rnnoise-plugin
|
||||||
];
|
];
|
||||||
|
|
||||||
xdg.configFile."${configFile}".text = builtins.toJSON {
|
xdg.configFile."${configFile}".source = toJSON "99-input-denoising.conf" {
|
||||||
"context.modules" = [
|
"context.modules" = [
|
||||||
{
|
{
|
||||||
"name" = "libpipewire-module-filter-chain";
|
"name" = "libpipewire-module-filter-chain";
|
||||||
@@ -18,9 +19,9 @@ in {
|
|||||||
{
|
{
|
||||||
"type" = "ladspa";
|
"type" = "ladspa";
|
||||||
"name" = "rnnoise";
|
"name" = "rnnoise";
|
||||||
"plugin" = "${pkgs.rnnoise-plugin}/lib/ladspa/librnnoise_ladspa.so";
|
"plugin" = "librnnoise_ladspa";
|
||||||
"label" = "noise_suppressor_stereo";
|
"label" = "noise_suppressor_stereo";
|
||||||
"control" = {"VAD Threshold (%)" = 70.0;};
|
"control" = {"VAD Threshold (%)" = 50.0;};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,8 +1,4 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
users.users.someone.packages = with pkgs; [
|
users.users.someone.packages = with pkgs; [
|
||||||
# screenshot
|
# screenshot
|
||||||
grim
|
grim
|
||||||
@@ -12,6 +8,7 @@
|
|||||||
|
|
||||||
# editor
|
# editor
|
||||||
neovim
|
neovim
|
||||||
|
|
||||||
#messaging
|
#messaging
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
vesktop
|
vesktop
|
||||||
@@ -24,6 +21,8 @@
|
|||||||
imagemagick
|
imagemagick
|
||||||
bun
|
bun
|
||||||
fastfetch
|
fastfetch
|
||||||
|
act
|
||||||
|
proton-vpn
|
||||||
|
|
||||||
wl-mirror
|
wl-mirror
|
||||||
pavucontrol
|
pavucontrol
|
||||||
@@ -31,28 +30,19 @@
|
|||||||
croc
|
croc
|
||||||
qbittorrent
|
qbittorrent
|
||||||
weathr
|
weathr
|
||||||
|
distrobox
|
||||||
|
ffmpeg
|
||||||
|
|
||||||
|
## DEV ##
|
||||||
|
# javascript
|
||||||
|
elmPackages.nodejs
|
||||||
|
# python
|
||||||
|
python314
|
||||||
|
uv
|
||||||
# gnome
|
# gnome
|
||||||
dconf-editor
|
dconf-editor
|
||||||
file-roller
|
|
||||||
gnome-control-center
|
|
||||||
gnome-text-editor
|
|
||||||
nautilus
|
|
||||||
(papers.override {supportNautilus = true;})
|
(papers.override {supportNautilus = true;})
|
||||||
inkscape
|
awww
|
||||||
scrcpy
|
|
||||||
android-tools
|
|
||||||
(inputs.mynixpkgs.packages.${stdenv.hostPlatform.system}.multiviewer.overrideAttrs (old: {
|
|
||||||
buildInputs = (old.buildInputs or []) ++ [pkgs.makeWrapper];
|
|
||||||
postInstall = ''
|
|
||||||
wrapProgram $out/bin/multiviewer \
|
|
||||||
--set LD_LIBRARY_PATH "/run/opengl-driver/lib:''${LD_LIBRARY_PATH:-}" \
|
|
||||||
--set __EGL_VENDOR_LIBRARY_FILENAMES ${pkgs.mesa}/share/glvnd/egl_vendor.d/50_mesa.json \
|
|
||||||
--set LIBGL_ALWAYS_INDIRECT 0 \
|
|
||||||
--set ELECTRON_OZONE_PLATFORM_HINT wayland
|
|
||||||
'';
|
|
||||||
}))
|
|
||||||
|
|
||||||
swww
|
|
||||||
openvpn
|
openvpn
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{pkgs}: {
|
{...}: {
|
||||||
"XF86AudioPlay" = {
|
"XF86AudioPlay" = {
|
||||||
_props.allow-when-locked = true;
|
_props.allow-when-locked = true;
|
||||||
spawn._args = ["playerctl" "play-pause"];
|
spawn._args = ["playerctl" "play-pause"];
|
||||||
@@ -17,7 +17,7 @@
|
|||||||
};
|
};
|
||||||
"XF86AudioMute" = {
|
"XF86AudioMute" = {
|
||||||
_props.allow-when-locked = true;
|
_props.allow-when-locked = true;
|
||||||
spawn._args = ["wpctl" "set-mute" "@DEFAULT_AUDIO_SINK@" "toggle"];
|
spawn._args = ["sh" "-c" "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle && /etc/nixos/scripts/volume-notify.sh"];
|
||||||
};
|
};
|
||||||
"XF86AudioMicMute" = {
|
"XF86AudioMicMute" = {
|
||||||
_props.allow-when-locked = true;
|
_props.allow-when-locked = true;
|
||||||
@@ -25,25 +25,25 @@
|
|||||||
};
|
};
|
||||||
"XF86AudioRaiseVolume" = {
|
"XF86AudioRaiseVolume" = {
|
||||||
_props.allow-when-locked = true;
|
_props.allow-when-locked = true;
|
||||||
spawn._args = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%+"];
|
spawn._args = ["sh" "-c" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ && /etc/nixos/scripts/volume-notify.sh"];
|
||||||
};
|
};
|
||||||
"XF86AudioLowerVolume" = {
|
"XF86AudioLowerVolume" = {
|
||||||
_props.allow-when-locked = true;
|
_props.allow-when-locked = true;
|
||||||
spawn._args = ["wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "5%-"];
|
spawn._args = ["sh" "-c" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%- && /etc/nixos/scripts/volume-notify.sh"];
|
||||||
};
|
};
|
||||||
"XF86MonBrightnessUp" = {
|
"XF86MonBrightnessUp" = {
|
||||||
_props.allow-when-locked = true;
|
_props.allow-when-locked = true;
|
||||||
spawn._args = ["brightnessctl" "set" "10%+"];
|
spawn._args = ["sh" "-c" "brightnessctl set 10%+ && /etc/nixos/scripts/brightness-notify.sh"];
|
||||||
};
|
};
|
||||||
"XF86MonBrightnessDown" = {
|
"XF86MonBrightnessDown" = {
|
||||||
_props.allow-when-locked = true;
|
_props.allow-when-locked = true;
|
||||||
spawn._args = ["brightnessctl" "set" "10%-"];
|
spawn._args = ["sh" "-c" "brightnessctl set 10%- && /etc/nixos/scripts/brightness-notify.sh"];
|
||||||
};
|
};
|
||||||
"Print".spawn._args = ["sh" "-c" "grim -g \"$(slurp)\" - | satty --filename - --output-filename ~/Pictures/Screenshots/satty-$(date +%Y%m%d-%H%M%S).png"];
|
"Print".spawn._args = ["sh" "-c" "grim -g \"$(slurp)\" - | satty --filename - --output-filename ~/Pictures/Screenshots/satty-$(date +%Y%m%d-%H%M%S).png"];
|
||||||
"Mod+B".spawn._args = ["zen"];
|
"Mod+B".spawn._args = ["zen"];
|
||||||
"Mod+Return".spawn._args = ["alacritty"];
|
"Mod+Return".spawn._args = ["alacritty"];
|
||||||
"Mod+Q".close-window = {};
|
"Mod+Q".close-window = {};
|
||||||
"Mod+Shift+P".spawn._args = ["rofi-powermenu"];
|
"Mod+Shift+P".spawn._args = ["rustlock" "--screenshots" "--clock" "--effect-blur" "7x5" "--effect-vignette" "0.5:0.5"];
|
||||||
"Mod+S".switch-preset-column-width = {};
|
"Mod+S".switch-preset-column-width = {};
|
||||||
"Mod+F".fullscreen-window = {};
|
"Mod+F".fullscreen-window = {};
|
||||||
"Mod+1".set-column-width = "25%";
|
"Mod+1".set-column-width = "25%";
|
||||||
@@ -71,5 +71,5 @@
|
|||||||
"Mod+Shift+Up".move-column-to-workspace-up = {};
|
"Mod+Shift+Up".move-column-to-workspace-up = {};
|
||||||
"Mod+Shift+Down".move-column-to-workspace-down = {};
|
"Mod+Shift+Down".move-column-to-workspace-down = {};
|
||||||
"Mod+P" = {spawn-sh = "wl-mirror $(niri msg --json focused-output | jq -r .name)";};
|
"Mod+P" = {spawn-sh = "wl-mirror $(niri msg --json focused-output | jq -r .name)";};
|
||||||
# "Mod+Alt".toggle-overview = { repeat=false; };
|
# "Mod+Alt".toggle-overview = { repeat=false; };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -168,6 +168,10 @@
|
|||||||
match._props = {title = "Error";};
|
match._props = {title = "Error";};
|
||||||
open-floating = true;
|
open-floating = true;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
match._props = {app-id = "Yazi:";};
|
||||||
|
open-floating = true;
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
layer-rule = [
|
layer-rule = [
|
||||||
|
|||||||
@@ -20,12 +20,12 @@ in {
|
|||||||
spawn-at-startup = [
|
spawn-at-startup = [
|
||||||
["wl-paste" "--watch" "cliphist" "store"]
|
["wl-paste" "--watch" "cliphist" "store"]
|
||||||
["wl-paste" "--type" "text" "--watch" "cliphist" "store"]
|
["wl-paste" "--type" "text" "--watch" "cliphist" "store"]
|
||||||
["dunst"]
|
["mako"]
|
||||||
["ashell"]
|
["ashell"]
|
||||||
["elephant"]
|
["elephant"]
|
||||||
["copyq"]
|
["copyq"]
|
||||||
["swww-daemon"]
|
["awww-daemon"]
|
||||||
["swww" "img" "/etc/nixos/background.jpg" "--transition-type" "grow" "--transition-pos" "center" "--transition-duration" "3"]
|
["awww" "img" "/etc/nixos/background.jpg" "--transition-type" "grow" "--transition-pos" "center" "--transition-duration" "3"]
|
||||||
];
|
];
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
|
|||||||
@@ -36,10 +36,11 @@
|
|||||||
(
|
(
|
||||||
if typeOf element == "null"
|
if typeOf element == "null"
|
||||||
then "null"
|
then "null"
|
||||||
else if element == false
|
else if typeOf element == "bool"
|
||||||
then "false"
|
then
|
||||||
else if element == true
|
if element
|
||||||
then "true"
|
then "true"
|
||||||
|
else "false"
|
||||||
else if typeOf element == "string"
|
else if typeOf element == "string"
|
||||||
then ''"${sanitizeString element}"''
|
then ''"${sanitizeString element}"''
|
||||||
else toString element
|
else toString element
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
binds = import ./_binds.nix {inherit pkgs;};
|
binds = import ./_binds.nix {inherit pkgs;};
|
||||||
rules = import ./_rules.nix;
|
rules = import ./_rules.nix;
|
||||||
|
|
||||||
finalConfig = toKDL.generate "niri-config.kdl" (settings // {binds = binds;} // rules);
|
finalConfig = toKDL.generate "niri-config.kdl" (settings // {inherit binds;} // rules);
|
||||||
in {
|
in {
|
||||||
environment.sessionVariables = {
|
environment.sessionVariables = {
|
||||||
NIRI_CONFIG = "$HOME/.config/niri/config.kdl";
|
NIRI_CONFIG = "$HOME/.config/niri/config.kdl";
|
||||||
|
|||||||
@@ -1,102 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Run Applications as Root
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Applications'
|
|
||||||
mesg='Run Applications as Root'
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Alacritty"
|
|
||||||
option_2=" Thunar"
|
|
||||||
option_3=" Geany"
|
|
||||||
option_4=" Ranger"
|
|
||||||
option_5=" Vim"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
${polkit_cmd} alacritty
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
${polkit_cmd} dbus-run-session thunar
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
${polkit_cmd} geany
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e ranger
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e vim
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,104 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Favorite Applications
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Applications'
|
|
||||||
mesg="Installed Packages : `pacman -Q | wc -l` (pacman)"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# CMDs (add your apps here)
|
|
||||||
term_cmd='alacritty'
|
|
||||||
file_cmd='thunar'
|
|
||||||
text_cmd='geany'
|
|
||||||
web_cmd='firefox'
|
|
||||||
music_cmd='alacritty -e ncmpcpp'
|
|
||||||
setting_cmd='xfce4-settings-manager'
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Terminal <span weight='light' size='small'><i>($term_cmd)</i></span>"
|
|
||||||
option_2=" Files <span weight='light' size='small'><i>($file_cmd)</i></span>"
|
|
||||||
option_3=" Editor <span weight='light' size='small'><i>($text_cmd)</i></span>"
|
|
||||||
option_4=" Browser <span weight='light' size='small'><i>($web_cmd)</i></span>"
|
|
||||||
option_5=" Music <span weight='light' size='small'><i>($music_cmd)</i></span>"
|
|
||||||
option_6=" Settings <span weight='light' size='small'><i>($setting_cmd)</i></span>"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
${term_cmd}
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
${file_cmd}
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
${text_cmd}
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${web_cmd}
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
${music_cmd}
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
${setting_cmd}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,134 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Battery
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Battery Info
|
|
||||||
battery="`acpi -b | cut -d',' -f1 | cut -d':' -f1`"
|
|
||||||
status="`acpi -b | cut -d',' -f1 | cut -d':' -f2 | tr -d ' '`"
|
|
||||||
percentage="`acpi -b | cut -d',' -f2 | tr -d ' ',\%`"
|
|
||||||
time="`acpi -b | cut -d',' -f3`"
|
|
||||||
|
|
||||||
if [[ -z "$time" ]]; then
|
|
||||||
time=' Fully Charged'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="$status"
|
|
||||||
mesg="${battery}: ${percentage}%,${time}"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='500px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='4'
|
|
||||||
list_row='1'
|
|
||||||
win_width='550px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Charging Status
|
|
||||||
active=""
|
|
||||||
urgent=""
|
|
||||||
if [[ $status = *"Charging"* ]]; then
|
|
||||||
active="-a 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
elif [[ $status = *"Full"* ]]; then
|
|
||||||
active="-u 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
else
|
|
||||||
urgent="-u 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Discharging
|
|
||||||
if [[ $percentage -ge 5 ]] && [[ $percentage -le 19 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 20 ]] && [[ $percentage -le 39 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 40 ]] && [[ $percentage -le 59 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 60 ]] && [[ $percentage -le 79 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 80 ]] && [[ $percentage -le 100 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Remaining ${percentage}%"
|
|
||||||
option_2=" $status"
|
|
||||||
option_3=" Power Manager"
|
|
||||||
option_4=" Diagnose"
|
|
||||||
else
|
|
||||||
option_1="$ICON_DISCHRG"
|
|
||||||
option_2="$ICON_CHRG"
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str "textbox-prompt-colon {str: \"$ICON_DISCHRG\";}" \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
notify-send -u low " Remaining : ${percentage}%"
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
notify-send -u low "$ICON_CHRG Status : $status"
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
xfce4-power-manager-settings
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e powertop
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,107 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Brightness
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Brightness Info
|
|
||||||
backlight="$(printf "%.0f\n" `light -G`)"
|
|
||||||
card="`light -L | grep 'backlight' | head -n1 | cut -d'/' -f3`"
|
|
||||||
|
|
||||||
if [[ $backlight -ge 0 ]] && [[ $backlight -le 29 ]]; then
|
|
||||||
level="Low"
|
|
||||||
elif [[ $backlight -ge 30 ]] && [[ $backlight -le 49 ]]; then
|
|
||||||
level="Optimal"
|
|
||||||
elif [[ $backlight -ge 50 ]] && [[ $backlight -le 69 ]]; then
|
|
||||||
level="High"
|
|
||||||
elif [[ $backlight -ge 70 ]] && [[ $backlight -le 100 ]]; then
|
|
||||||
level="Peak"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="${backlight}%"
|
|
||||||
mesg="Device: ${card}, Level: $level"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='425px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='4'
|
|
||||||
list_row='1'
|
|
||||||
win_width='550px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Increase"
|
|
||||||
option_2=" Optimal"
|
|
||||||
option_3=" Decrease"
|
|
||||||
option_4=" Settings"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
light -A 5
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
light -S 25
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
light -U 5
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
xfce4-power-manager-settings
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,131 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : MPD (music)
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
status="`mpc status`"
|
|
||||||
if [[ -z "$status" ]]; then
|
|
||||||
prompt='Offline'
|
|
||||||
mesg="MPD is Offline"
|
|
||||||
else
|
|
||||||
prompt="`mpc -f "%artist%" current`"
|
|
||||||
mesg="`mpc -f "%title%" current` :: `mpc status | grep "#" | awk '{print $3}'`"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
if [[ ${status} == *"[playing]"* ]]; then
|
|
||||||
option_1=" Pause"
|
|
||||||
else
|
|
||||||
option_1=" Play"
|
|
||||||
fi
|
|
||||||
option_2=" Stop"
|
|
||||||
option_3=" Previous"
|
|
||||||
option_4=" Next"
|
|
||||||
option_5=" Repeat"
|
|
||||||
option_6=" Random"
|
|
||||||
else
|
|
||||||
if [[ ${status} == *"[playing]"* ]]; then
|
|
||||||
option_1=""
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
fi
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Toggle Actions
|
|
||||||
active=''
|
|
||||||
urgent=''
|
|
||||||
# Repeat
|
|
||||||
if [[ ${status} == *"repeat: on"* ]]; then
|
|
||||||
active="-a 4"
|
|
||||||
elif [[ ${status} == *"repeat: off"* ]]; then
|
|
||||||
urgent="-u 4"
|
|
||||||
else
|
|
||||||
option_5=" Parsing Error"
|
|
||||||
fi
|
|
||||||
# Random
|
|
||||||
if [[ ${status} == *"random: on"* ]]; then
|
|
||||||
[ -n "$active" ] && active+=",5" || active="-a 5"
|
|
||||||
elif [[ ${status} == *"random: off"* ]]; then
|
|
||||||
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
|
|
||||||
else
|
|
||||||
option_6=" Parsing Error"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
mpc -q toggle && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
mpc -q stop
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
mpc -q prev && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
mpc -q next && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
mpc -q repeat
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
mpc -q random
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,129 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Power Menu
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="`hostname`"
|
|
||||||
mesg="Uptime : `uptime -p | sed -e 's/up //g'`"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Lock"
|
|
||||||
option_2=" Logout"
|
|
||||||
option_3=" Suspend"
|
|
||||||
option_4=" Hibernate"
|
|
||||||
option_5=" Reboot"
|
|
||||||
option_6=" Shutdown"
|
|
||||||
yes=' Yes'
|
|
||||||
no=' No'
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
yes=''
|
|
||||||
no=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Confirmation CMD
|
|
||||||
confirm_cmd() {
|
|
||||||
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
|
|
||||||
-theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
|
|
||||||
-theme-str 'listview {columns: 2; lines: 1;}' \
|
|
||||||
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
|
||||||
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
|
||||||
-dmenu \
|
|
||||||
-p 'Confirmation' \
|
|
||||||
-mesg 'Are you Sure?' \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Ask for confirmation
|
|
||||||
confirm_exit() {
|
|
||||||
echo -e "$yes\n$no" | confirm_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Confirm and execute
|
|
||||||
confirm_run () {
|
|
||||||
selected="$(confirm_exit)"
|
|
||||||
if [[ "$selected" == "$yes" ]]; then
|
|
||||||
${1} && ${2} && ${3}
|
|
||||||
else
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
betterlockscreen -l
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
confirm_run 'kill -9 -1'
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend'
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
confirm_run 'systemctl hibernate'
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
confirm_run 'systemctl reboot'
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
confirm_run 'systemctl poweroff'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Quick Links
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Quick Links'
|
|
||||||
mesg="Using '$BROWSER' as web browser"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
efonts="JetBrains Mono Nerd Font 10"
|
|
||||||
else
|
|
||||||
efonts="JetBrains Mono Nerd Font 28"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Google"
|
|
||||||
option_2=" Gmail"
|
|
||||||
option_3=" Youtube"
|
|
||||||
option_4=" Github"
|
|
||||||
option_5=" Reddit"
|
|
||||||
option_6=" Twitter"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-theme-str "element-text {font: \"$efonts\";}" \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
xdg-open 'https://www.google.com/'
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
xdg-open 'https://mail.google.com/'
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
xdg-open 'https://www.youtube.com/'
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
xdg-open 'https://www.github.com/'
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
xdg-open 'https://www.reddit.com/'
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
xdg-open 'https://www.twitter.com/'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Screenshot
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Screenshot'
|
|
||||||
mesg="DIR: `xdg-user-dir PICTURES`/Screenshots"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Capture Desktop"
|
|
||||||
option_2=" Capture Area"
|
|
||||||
option_3=" Capture Window"
|
|
||||||
option_4=" Capture in 5s"
|
|
||||||
option_5=" Capture in 10s"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Screenshot
|
|
||||||
time=`date +%Y-%m-%d-%H-%M-%S`
|
|
||||||
geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'`
|
|
||||||
dir="`xdg-user-dir PICTURES`/Screenshots"
|
|
||||||
file="Screenshot_${time}_${geometry}.png"
|
|
||||||
|
|
||||||
if [[ ! -d "$dir" ]]; then
|
|
||||||
mkdir -p "$dir"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# notify and view screenshot
|
|
||||||
notify_view() {
|
|
||||||
notify_cmd_shot='dunstify -u low --replace=699'
|
|
||||||
${notify_cmd_shot} "Copied to clipboard."
|
|
||||||
viewnior ${dir}/"$file"
|
|
||||||
if [[ -e "$dir/$file" ]]; then
|
|
||||||
${notify_cmd_shot} "Screenshot Saved."
|
|
||||||
else
|
|
||||||
${notify_cmd_shot} "Screenshot Deleted."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Copy screenshot to clipboard
|
|
||||||
copy_shot () {
|
|
||||||
tee "$file" | xclip -selection clipboard -t image/png
|
|
||||||
}
|
|
||||||
|
|
||||||
# countdown
|
|
||||||
countdown () {
|
|
||||||
for sec in `seq $1 -1 1`; do
|
|
||||||
dunstify -t 1000 --replace=699 "Taking shot in : $sec"
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# take shots
|
|
||||||
shotnow () {
|
|
||||||
cd ${dir} && sleep 0.5 && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shot5 () {
|
|
||||||
countdown '5'
|
|
||||||
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shot10 () {
|
|
||||||
countdown '10'
|
|
||||||
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shotwin () {
|
|
||||||
cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shotarea () {
|
|
||||||
cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
shotnow
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
shotarea
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
shotwin
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
shot5
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
shot10
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,134 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Volume
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Volume Info
|
|
||||||
mixer="`amixer info Master | grep 'Mixer name' | cut -d':' -f2 | tr -d \',' '`"
|
|
||||||
speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
|
||||||
mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
|
||||||
|
|
||||||
active=""
|
|
||||||
urgent=""
|
|
||||||
|
|
||||||
# Speaker Info
|
|
||||||
amixer get Master | grep '\[on\]' &>/dev/null
|
|
||||||
if [[ "$?" == 0 ]]; then
|
|
||||||
active="-a 1"
|
|
||||||
stext='Unmute'
|
|
||||||
sicon=''
|
|
||||||
else
|
|
||||||
urgent="-u 1"
|
|
||||||
stext='Mute'
|
|
||||||
sicon=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Microphone Info
|
|
||||||
amixer get Capture | grep '\[on\]' &>/dev/null
|
|
||||||
if [[ "$?" == 0 ]]; then
|
|
||||||
[ -n "$active" ] && active+=",3" || active="-a 3"
|
|
||||||
mtext='Unmute'
|
|
||||||
micon=''
|
|
||||||
else
|
|
||||||
[ -n "$urgent" ] && urgent+=",3" || urgent="-u 3"
|
|
||||||
mtext='Mute'
|
|
||||||
micon=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="S:$stext, M:$mtext"
|
|
||||||
mesg="$mixer - Speaker: $speaker, Mic: $mic"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Increase"
|
|
||||||
option_2="$sicon $stext"
|
|
||||||
option_3=" Decrese"
|
|
||||||
option_4="$micon $mtext"
|
|
||||||
option_5=" Settings"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2="$sicon"
|
|
||||||
option_3=""
|
|
||||||
option_4="$micon"
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
amixer -Mq set Master,0 5%+ unmute
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
amixer set Master toggle
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
amixer -Mq set Master,0 5%- unmute
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
amixer set Capture toggle
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
pavucontrol
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
*
|
|
||||||
* Available Colors Schemes
|
|
||||||
*
|
|
||||||
* adapta catppuccin everforest navy paper
|
|
||||||
* arc cyberpunk gruvbox nord solarized
|
|
||||||
* black dracula lovelace onedark yousai
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
/* Import color-scheme from `colors` directory */
|
|
||||||
|
|
||||||
@import "~/.config/rofi/colors/onedark.rasi"
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Fonts
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
## Current Theme
|
|
||||||
|
|
||||||
type="$HOME/.config/rofi/applets/type-1"
|
|
||||||
style='style-1.rasi'
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #11092D;
|
|
||||||
background-alt: #281657;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #DF5296;
|
|
||||||
active: #6E77FF;
|
|
||||||
urgent: #8E3596;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/a.png", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #2D1B14;
|
|
||||||
background-alt: #462D23;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #E25F3E;
|
|
||||||
active: #716251;
|
|
||||||
urgent: #934A1C;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "listview", "message" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/d.png", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #131D1F;
|
|
||||||
background-alt: #183A43;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #649094;
|
|
||||||
active: #E9CC9D;
|
|
||||||
urgent: #FEA861;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 50px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 40px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/i.jpg", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "dummy", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,166 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #231419;
|
|
||||||
background-alt: #2D1E23;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #426647;
|
|
||||||
active: #2E3F34;
|
|
||||||
urgent: #D08261;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/e.jpg", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
@@ -1,167 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #11092D;
|
|
||||||
background-alt: #281657;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #DF5296;
|
|
||||||
active: #6E77FF;
|
|
||||||
urgent: #8E3596;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
border-radius: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/j.jpg", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 15px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 15px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 15px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,176 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #101010;
|
|
||||||
background-alt: #252525;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #505050;
|
|
||||||
active: #909090;
|
|
||||||
urgent: #707070;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/g.png", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @foreground;
|
|
||||||
background-color: @foreground;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 11px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #222D32FF;
|
|
||||||
background-alt: #29353BFF;
|
|
||||||
foreground: #B8C2C6FF;
|
|
||||||
selected: #00BCD4FF;
|
|
||||||
active: #21FF90FF;
|
|
||||||
urgent: #FF4B60FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2F343FFF;
|
|
||||||
background-alt: #383C4AFF;
|
|
||||||
foreground: #BAC5D0FF;
|
|
||||||
selected: #5294E2FF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000000FF;
|
|
||||||
background-alt: #101010FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #62AEEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E1D2FFF;
|
|
||||||
background-alt: #282839FF;
|
|
||||||
foreground: #D9E0EEFF;
|
|
||||||
selected: #7AA2F7FF;
|
|
||||||
active: #ABE9B3FF;
|
|
||||||
urgent: #F28FADFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000B1EFF;
|
|
||||||
background-alt: #0A1528FF;
|
|
||||||
foreground: #0ABDC6FF;
|
|
||||||
selected: #0ABDC6FF;
|
|
||||||
active: #00FF00FF;
|
|
||||||
urgent: #FF0000FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E1F29FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #BD93F9FF;
|
|
||||||
active: #50FA7BFF;
|
|
||||||
urgent: #FF5555FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #323D43FF;
|
|
||||||
background-alt: #3C474DFF;
|
|
||||||
foreground: #DAD1BEFF;
|
|
||||||
selected: #7FBBB3FF;
|
|
||||||
active: #A7C080FF;
|
|
||||||
urgent: #E67E80FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #282828FF;
|
|
||||||
background-alt: #353535FF;
|
|
||||||
foreground: #EBDBB2FF;
|
|
||||||
selected: #83A598FF;
|
|
||||||
active: #B8BB26FF;
|
|
||||||
urgent: #FB4934FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1D1F28FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FDFDFDFF;
|
|
||||||
selected: #79E6F3FF;
|
|
||||||
active: #5ADECDFF;
|
|
||||||
urgent: #F37F97FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #021B21FF;
|
|
||||||
background-alt: #0C252BFF;
|
|
||||||
foreground: #F2F1B9FF;
|
|
||||||
selected: #44B5B1FF;
|
|
||||||
active: #7CBF9EFF;
|
|
||||||
urgent: #C2454EFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2E3440FF;
|
|
||||||
background-alt: #383E4AFF;
|
|
||||||
foreground: #E5E9F0FF;
|
|
||||||
selected: #81A1C1FF;
|
|
||||||
active: #A3BE8CFF;
|
|
||||||
urgent: #BF616AFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E2127FF;
|
|
||||||
background-alt: #282B31FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #61AFEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06C75FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F1F1F1FF;
|
|
||||||
background-alt: #E0E0E0FF;
|
|
||||||
foreground: #252525FF;
|
|
||||||
selected: #008EC4FF;
|
|
||||||
active: #10A778FF;
|
|
||||||
urgent: #C30771FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #002B36FF;
|
|
||||||
background-alt: #073642FF;
|
|
||||||
foreground: #EEE8D5FF;
|
|
||||||
selected: #268BD2FF;
|
|
||||||
active: #859900FF;
|
|
||||||
urgent: #DC322FFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Levi Lacoss (fishyfishfish55)
|
|
||||||
* Github : @fishyfishfish55
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #15161EFF;
|
|
||||||
background-alt: #1A1B26FF;
|
|
||||||
foreground: #C0CAF5FF;
|
|
||||||
selected: #33467CFF;
|
|
||||||
active: #414868FF;
|
|
||||||
urgent: #F7768EFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F5E7DEFF;
|
|
||||||
background-alt: #EBDCD2FF;
|
|
||||||
foreground: #34302DFF;
|
|
||||||
selected: #D97742FF;
|
|
||||||
active: #BF8F60FF;
|
|
||||||
urgent: #B23636FF;
|
|
||||||
}
|
|
||||||
@@ -1,181 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Configuration For Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
configuration {
|
|
||||||
/*---------- General setting ----------*/
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
case-sensitive: false;
|
|
||||||
cycle: true;
|
|
||||||
filter: "";
|
|
||||||
scroll-method: 0;
|
|
||||||
normalize-match: true;
|
|
||||||
show-icons: true;
|
|
||||||
icon-theme: "Papirus";
|
|
||||||
/* cache-dir: ;*/
|
|
||||||
steal-focus: false;
|
|
||||||
/* dpi: -1;*/
|
|
||||||
|
|
||||||
/*---------- Matching setting ----------*/
|
|
||||||
matching: "normal";
|
|
||||||
tokenize: true;
|
|
||||||
|
|
||||||
/*---------- SSH settings ----------*/
|
|
||||||
ssh-client: "ssh";
|
|
||||||
ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";
|
|
||||||
parse-hosts: true;
|
|
||||||
parse-known-hosts: true;
|
|
||||||
|
|
||||||
/*---------- Drun settings ----------*/
|
|
||||||
drun-categories: "";
|
|
||||||
drun-match-fields: "name,generic,exec,categories,keywords";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
drun-show-actions: false;
|
|
||||||
drun-url-launcher: "xdg-open";
|
|
||||||
drun-use-desktop-cache: false;
|
|
||||||
drun-reload-desktop-cache: false;
|
|
||||||
drun {
|
|
||||||
/** Parse user desktop files. */
|
|
||||||
parse-user: true;
|
|
||||||
/** Parse system desktop files. */
|
|
||||||
parse-system: true;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Run settings ----------*/
|
|
||||||
run-command: "{cmd}";
|
|
||||||
run-list-command: "";
|
|
||||||
run-shell-command: "{terminal} -e {cmd}";
|
|
||||||
|
|
||||||
/*---------- Fallback Icon ----------*/
|
|
||||||
run,drun {
|
|
||||||
fallback-icon: "application-x-addon";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Window switcher settings ----------*/
|
|
||||||
window-match-fields: "title,class,role,name,desktop";
|
|
||||||
window-command: "wmctrl -i -R {window}";
|
|
||||||
window-format: "{w} - {c} - {t:0}";
|
|
||||||
window-thumbnail: false;
|
|
||||||
|
|
||||||
/*---------- Combi settings ----------*/
|
|
||||||
/* combi-modi: "window,run";*/
|
|
||||||
/* combi-hide-mode-prefix: false;*/
|
|
||||||
/* combi-display-format: "{mode} {text}";*/
|
|
||||||
|
|
||||||
/*---------- History and Sorting ----------*/
|
|
||||||
disable-history: false;
|
|
||||||
sorting-method: "normal";
|
|
||||||
max-history-size: 25;
|
|
||||||
|
|
||||||
/*---------- Display setting ----------*/
|
|
||||||
display-window: "Windows";
|
|
||||||
display-windowcd: "Window CD";
|
|
||||||
display-run: "Run";
|
|
||||||
display-ssh: "SSH";
|
|
||||||
display-drun: "Apps";
|
|
||||||
display-combi: "Combi";
|
|
||||||
display-keys: "Keys";
|
|
||||||
display-filebrowser: "Files";
|
|
||||||
|
|
||||||
/*---------- Misc setting ----------*/
|
|
||||||
terminal: "rofi-sensible-terminal";
|
|
||||||
font: "Mono 12";
|
|
||||||
sort: false;
|
|
||||||
threads: 0;
|
|
||||||
click-to-exit: true;
|
|
||||||
/* ignored-prefixes: "";*/
|
|
||||||
/* pid: "/run/user/1000/rofi.pid";*/
|
|
||||||
|
|
||||||
/*---------- File browser settings ----------*/
|
|
||||||
filebrowser {
|
|
||||||
/* directory: "/home";*/
|
|
||||||
directories-first: true;
|
|
||||||
sorting-method: "name";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Other settings ----------*/
|
|
||||||
timeout {
|
|
||||||
action: "kb-cancel";
|
|
||||||
delay: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*---------- Keybindings ----------*/
|
|
||||||
/*
|
|
||||||
kb-primary-paste: "Control+V,Shift+Insert";
|
|
||||||
kb-secondary-paste: "Control+v,Insert";
|
|
||||||
kb-clear-line: "Control+w";
|
|
||||||
kb-move-front: "Control+a";
|
|
||||||
kb-move-end: "Control+e";
|
|
||||||
kb-move-word-back: "Alt+b,Control+Left";
|
|
||||||
kb-move-word-forward: "Alt+f,Control+Right";
|
|
||||||
kb-move-char-back: "Left,Control+b";
|
|
||||||
kb-move-char-forward: "Right,Control+f";
|
|
||||||
kb-remove-word-back: "Control+Alt+h,Control+BackSpace";
|
|
||||||
kb-remove-word-forward: "Control+Alt+d";
|
|
||||||
kb-remove-char-forward: "Delete,Control+d";
|
|
||||||
kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";
|
|
||||||
kb-remove-to-eol: "Control+k";
|
|
||||||
kb-remove-to-sol: "Control+u";
|
|
||||||
kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";
|
|
||||||
kb-accept-custom: "Control+Return";
|
|
||||||
kb-accept-custom-alt: "Control+Shift+Return";
|
|
||||||
kb-accept-alt: "Shift+Return";
|
|
||||||
kb-delete-entry: "Shift+Delete";
|
|
||||||
kb-mode-next: "Shift+Right,Control+Tab";
|
|
||||||
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";
|
|
||||||
kb-mode-complete: "Control+l";
|
|
||||||
kb-row-left: "Control+Page_Up";
|
|
||||||
kb-row-right: "Control+Page_Down";
|
|
||||||
kb-row-down: "Down,Control+n";
|
|
||||||
kb-page-prev: "Page_Up";
|
|
||||||
kb-page-next: "Page_Down";
|
|
||||||
kb-row-first: "Home,KP_Home";
|
|
||||||
kb-row-last: "End,KP_End";
|
|
||||||
kb-row-select: "Control+space";
|
|
||||||
kb-screenshot: "Alt+S";
|
|
||||||
kb-ellipsize: "Alt+period";
|
|
||||||
kb-toggle-case-sensitivity: "grave,dead_grave";
|
|
||||||
kb-toggle-sort: "Alt+grave";
|
|
||||||
kb-cancel: "Escape,Control+g,Control+bracketleft";
|
|
||||||
kb-custom-1: "Alt+1";
|
|
||||||
kb-custom-2: "Alt+2";
|
|
||||||
kb-custom-3: "Alt+3";
|
|
||||||
kb-custom-4: "Alt+4";
|
|
||||||
kb-custom-5: "Alt+5";
|
|
||||||
kb-custom-6: "Alt+6";
|
|
||||||
kb-custom-7: "Alt+7";
|
|
||||||
kb-custom-8: "Alt+8";
|
|
||||||
kb-custom-9: "Alt+9";
|
|
||||||
kb-custom-10: "Alt+0";
|
|
||||||
kb-custom-11: "Alt+exclam";
|
|
||||||
kb-custom-12: "Alt+at";
|
|
||||||
kb-custom-13: "Alt+numbersign";
|
|
||||||
kb-custom-14: "Alt+dollar";
|
|
||||||
kb-custom-15: "Alt+percent";
|
|
||||||
kb-custom-16: "Alt+dead_circumflex";
|
|
||||||
kb-custom-17: "Alt+ampersand";
|
|
||||||
kb-custom-18: "Alt+asterisk";
|
|
||||||
kb-custom-19: "Alt+parenleft";
|
|
||||||
kb-select-1: "Super+1";
|
|
||||||
kb-select-2: "Super+2";
|
|
||||||
kb-select-3: "Super+3";
|
|
||||||
kb-select-4: "Super+4";
|
|
||||||
kb-select-5: "Super+5";
|
|
||||||
kb-select-6: "Super+6";
|
|
||||||
kb-select-7: "Super+7";
|
|
||||||
kb-select-8: "Super+8";
|
|
||||||
kb-select-9: "Super+9";
|
|
||||||
kb-select-10: "Super+0";
|
|
||||||
ml-row-left: "ScrollLeft";
|
|
||||||
ml-row-right: "ScrollRight";
|
|
||||||
ml-row-up: "ScrollUp";
|
|
||||||
ml-row-down: "ScrollDown";
|
|
||||||
me-select-entry: "MousePrimary";
|
|
||||||
me-accept-entry: "MouseDPrimary";
|
|
||||||
me-accept-custom: "Control+MouseDPrimary";
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 441 KiB |
|
Before Width: | Height: | Size: 648 KiB |
|
Before Width: | Height: | Size: 339 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 666 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 2.0 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 96 KiB |
@@ -1,20 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
|
||||||
#
|
|
||||||
## Available Styles
|
|
||||||
#
|
|
||||||
## style-1 style-2 style-3 style-4 style-5
|
|
||||||
## style-6 style-7 style-8 style-9 style-10
|
|
||||||
## style-11 style-12 style-13 style-14 style-15
|
|
||||||
|
|
||||||
dir="$HOME/.config/rofi/launchers/type-1"
|
|
||||||
theme='style-1'
|
|
||||||
|
|
||||||
## Run
|
|
||||||
rofi \
|
|
||||||
-show drun \
|
|
||||||
-theme ${dir}/${theme}.rasi
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
*
|
|
||||||
* Available Colors Schemes
|
|
||||||
*
|
|
||||||
* adapta catppuccin everforest navy paper
|
|
||||||
* arc cyberpunk gruvbox nord solarized
|
|
||||||
* black dracula lovelace onedark yousai
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
/* Import color-scheme from `colors` directory */
|
|
||||||
|
|
||||||
@import "~/.config/rofi/colors/onedark.rasi"
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Fonts
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
}
|
|
||||||
@@ -1,307 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 40px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "::";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 2;
|
|
||||||
lines: 10;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 10px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,323 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: "";
|
|
||||||
display-run: "";
|
|
||||||
display-filebrowser: "";
|
|
||||||
display-window: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(foreground);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: north;
|
|
||||||
anchor: north;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 100%;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
children: [ horibox ];
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Horizontal Box -----*****/
|
|
||||||
horibox {
|
|
||||||
spacing: 0px;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "prompt", "textbox-prompt-colon","entry", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 40px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px 0px 10px 0px;
|
|
||||||
expand: false;
|
|
||||||
str: "::";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
expand: false;
|
|
||||||
width: 20em;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 100;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: horizontal;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 8px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(normal-foreground);
|
|
||||||
text-color: var(normal-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,307 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "::";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,325 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
|
|
||||||
/* For Screens with 1920x1080 resolution */
|
|
||||||
screen-margin: 310px 400px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
element-padding: 15px;
|
|
||||||
element-radius: 100%;
|
|
||||||
element-spacing: 15px;
|
|
||||||
|
|
||||||
/* For Screens with 1366x768 resolution */
|
|
||||||
/*
|
|
||||||
screen-margin: 190px 250px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
element-padding: 10px;
|
|
||||||
element-radius: 100%;
|
|
||||||
element-spacing: 10px;
|
|
||||||
*/
|
|
||||||
/* Use this as reference and create for your screen resolution */
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: true;
|
|
||||||
width: 1366px;
|
|
||||||
height: 768px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: @screen-margin;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @element-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "::";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 3;
|
|
||||||
lines: 10;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 10px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @element-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,325 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
|
|
||||||
/* For Screens with 1920x1080 resolution */
|
|
||||||
screen-margin: 310px 500px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
element-padding: 15px;
|
|
||||||
element-radius: 8px;
|
|
||||||
element-spacing: 15px;
|
|
||||||
|
|
||||||
/* For Screens with 1366x768 resolution */
|
|
||||||
/*
|
|
||||||
screen-margin: 190px 350px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
element-padding: 10px;
|
|
||||||
element-radius: 6px;
|
|
||||||
element-spacing: 10px;
|
|
||||||
*/
|
|
||||||
/* Use this as reference and create for your screen resolution */
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: true;
|
|
||||||
width: 1366px;
|
|
||||||
height: 768px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: @screen-margin;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @element-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: ":";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 10;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 8px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @element-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,335 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: true;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
|
|
||||||
/* For Screens with 1920x1080 resolution */
|
|
||||||
screen-margin: 275px 400px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
list-padding: 8px;
|
|
||||||
element-padding: 15px;
|
|
||||||
element-radius: 8px;
|
|
||||||
element-spacing: 15px;
|
|
||||||
|
|
||||||
/* For Screens with 1366x768 resolution */
|
|
||||||
/*
|
|
||||||
screen-margin: 120px 225px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
list-padding: 4px;
|
|
||||||
element-padding: 10px;
|
|
||||||
element-radius: 6px;
|
|
||||||
element-spacing: 10px;
|
|
||||||
*/
|
|
||||||
/* Use this as reference and create for your screen resolution */
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: true;
|
|
||||||
width: 1366px;
|
|
||||||
height: 768px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: @screen-margin;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: @element-padding;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
padding: @element-padding;
|
|
||||||
str: "";
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
expand: true;
|
|
||||||
padding: @element-padding;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 10;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 8px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @element-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: @list-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 32px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: @element-padding;
|
|
||||||
width: 125px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,345 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: true;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
|
|
||||||
/* For Screens with 1920x1080 resolution */
|
|
||||||
screen-margin: 275px 400px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
list-padding: 8px;
|
|
||||||
element-padding: 15px;
|
|
||||||
element-radius: 8px;
|
|
||||||
element-spacing: 15px;
|
|
||||||
|
|
||||||
/* For Screens with 1366x768 resolution */
|
|
||||||
/*
|
|
||||||
screen-margin: 180px 225px;
|
|
||||||
box-spacing: 20px;
|
|
||||||
list-padding: 4px;
|
|
||||||
element-padding: 10px;
|
|
||||||
element-radius: 6px;
|
|
||||||
element-spacing: 10px;
|
|
||||||
*/
|
|
||||||
/* Use this as reference and create for your screen resolution */
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: true;
|
|
||||||
width: 1366px;
|
|
||||||
height: 768px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: @screen-margin;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "custombox" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- A Custom Box -----*****/
|
|
||||||
custombox {
|
|
||||||
spacing: @box-spacing;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "mode-switcher", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: @element-padding;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
padding: @element-padding;
|
|
||||||
str: "";
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
expand: true;
|
|
||||||
padding: @element-padding;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 10;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 8px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: @element-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: @list-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 32px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
orientation: vertical;
|
|
||||||
spacing: @box-spacing;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: @element-padding;
|
|
||||||
width: 125px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: @element-radius;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: @element-padding;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,307 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: "";
|
|
||||||
display-run: "";
|
|
||||||
display-filebrowser: "";
|
|
||||||
display-window: "";
|
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(foreground);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 40px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "::";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 12;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 8px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(normal-foreground);
|
|
||||||
text-color: var(normal-background);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,307 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: "";
|
|
||||||
display-run: "";
|
|
||||||
display-filebrowser: "";
|
|
||||||
display-window: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(foreground);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "::";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 8px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(normal-foreground);
|
|
||||||
text-color: var(normal-background);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(normal-foreground);
|
|
||||||
text-color: var(normal-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,308 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: "";
|
|
||||||
display-run: "";
|
|
||||||
display-filebrowser: "";
|
|
||||||
display-window: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(foreground);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: west;
|
|
||||||
anchor: west;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 450px;
|
|
||||||
height: 100%;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 40px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "prompt", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "::";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 10;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 8px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 8px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(normal-foreground);
|
|
||||||
text-color: var(normal-background);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(normal-foreground);
|
|
||||||
text-color: var(normal-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 8px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 4px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,309 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: true;
|
|
||||||
display-drun: "";
|
|
||||||
display-run: "";
|
|
||||||
display-filebrowser: "";
|
|
||||||
display-window: "";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry", "mode-switcher" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 8px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,310 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: true;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "mode-switcher", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 0px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,313 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,window";
|
|
||||||
show-icons: true;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "mode-switcher", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px 0px 10px 0px;
|
|
||||||
padding: 5px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px 2px 2px 2px ;
|
|
||||||
border-radius: 0px 0px 10px 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 6px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 6px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px 0px 2px 0px ;
|
|
||||||
border-radius: 10px 10px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
border: 2px 2px 0px 2px ;
|
|
||||||
border-radius: 10px 10px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px 0px 10px 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,323 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,ssh,window";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
display-ssh: " SSH";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "custombox" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- A Custom Box -----*****/
|
|
||||||
custombox {
|
|
||||||
spacing: 10px;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "mode-switcher", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 8px 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 8;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: true;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
orientation: vertical;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 0px 20px 0px 20px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,326 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
modi: "drun,run,filebrowser,ssh,window";
|
|
||||||
show-icons: false;
|
|
||||||
display-drun: " Apps";
|
|
||||||
display-run: " Run";
|
|
||||||
display-filebrowser: " Files";
|
|
||||||
display-window: " Windows";
|
|
||||||
display-ssh: " SSH";
|
|
||||||
drun-display-format: "{name}";
|
|
||||||
window-format: "{w} · {c} · {t}";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "shared/colors.rasi"
|
|
||||||
@import "shared/fonts.rasi"
|
|
||||||
|
|
||||||
* {
|
|
||||||
border-colour: var(selected);
|
|
||||||
handle-colour: var(selected);
|
|
||||||
background-colour: var(background);
|
|
||||||
foreground-colour: var(foreground);
|
|
||||||
alternate-background: var(background-alt);
|
|
||||||
normal-background: var(background);
|
|
||||||
normal-foreground: var(foreground);
|
|
||||||
urgent-background: var(urgent);
|
|
||||||
urgent-foreground: var(background);
|
|
||||||
active-background: var(active);
|
|
||||||
active-foreground: var(background);
|
|
||||||
selected-normal-background: var(selected);
|
|
||||||
selected-normal-foreground: var(background);
|
|
||||||
selected-urgent-background: var(active);
|
|
||||||
selected-urgent-foreground: var(background);
|
|
||||||
selected-active-background: var(urgent);
|
|
||||||
selected-active-foreground: var(background);
|
|
||||||
alternate-normal-background: var(background);
|
|
||||||
alternate-normal-foreground: var(foreground);
|
|
||||||
alternate-urgent-background: var(urgent);
|
|
||||||
alternate-urgent-foreground: var(background);
|
|
||||||
alternate-active-background: var(active);
|
|
||||||
alternate-active-foreground: var(background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
/* properties for window widget */
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 700px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
|
|
||||||
/* properties for all widgets */
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
cursor: "default";
|
|
||||||
/* Backgroud Colors */
|
|
||||||
background-color: @background-colour;
|
|
||||||
/* Backgroud Image */
|
|
||||||
//background-image: url("/path/to/image.png", none);
|
|
||||||
/* Simple Linear Gradient */
|
|
||||||
//background-image: linear-gradient(red, orange, pink, purple);
|
|
||||||
/* Directional Linear Gradient */
|
|
||||||
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
|
||||||
/* Angle Linear Gradient */
|
|
||||||
//background-image: linear-gradient(45, cyan, purple, indigo);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "custombox" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- A Custom Box -----*****/
|
|
||||||
custombox {
|
|
||||||
spacing: 0px;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "mode-switcher", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 8px 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
children: [ "textbox-prompt-colon", "entry" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
entry {
|
|
||||||
enabled: true;
|
|
||||||
padding: 5px 0px;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: text;
|
|
||||||
placeholder: "Search...";
|
|
||||||
placeholder-color: inherit;
|
|
||||||
}
|
|
||||||
num-filtered-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
textbox-num-sep {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "/";
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
num-rows {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
case-indicator {
|
|
||||||
enabled: true;
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
dynamic: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
reverse: false;
|
|
||||||
fixed-height: true;
|
|
||||||
fixed-columns: true;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px 2px 2px 0px;
|
|
||||||
border-radius: 0px 8px 8px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
scrollbar {
|
|
||||||
handle-width: 5px ;
|
|
||||||
handle-color: @handle-colour;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element normal.normal {
|
|
||||||
background-color: var(normal-background);
|
|
||||||
text-color: var(normal-foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent {
|
|
||||||
background-color: var(urgent-background);
|
|
||||||
text-color: var(urgent-foreground);
|
|
||||||
}
|
|
||||||
element normal.active {
|
|
||||||
background-color: var(active-background);
|
|
||||||
text-color: var(active-foreground);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected-normal-background);
|
|
||||||
text-color: var(selected-normal-foreground);
|
|
||||||
}
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(selected-urgent-background);
|
|
||||||
text-color: var(selected-urgent-foreground);
|
|
||||||
}
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(selected-active-background);
|
|
||||||
text-color: var(selected-active-foreground);
|
|
||||||
}
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(alternate-normal-background);
|
|
||||||
text-color: var(alternate-normal-foreground);
|
|
||||||
}
|
|
||||||
element alternate.urgent {
|
|
||||||
background-color: var(alternate-urgent-background);
|
|
||||||
text-color: var(alternate-urgent-foreground);
|
|
||||||
}
|
|
||||||
element alternate.active {
|
|
||||||
background-color: var(alternate-active-background);
|
|
||||||
text-color: var(alternate-active-foreground);
|
|
||||||
}
|
|
||||||
element-icon {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
size: 24px;
|
|
||||||
cursor: inherit;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
highlight: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Mode Switcher -----*****/
|
|
||||||
mode-switcher{
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
orientation: vertical;
|
|
||||||
spacing: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px 0px 0px 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
button {
|
|
||||||
padding: 0px 20px 0px 20px;
|
|
||||||
border: 0px 2px 0px 0px;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
button selected {
|
|
||||||
border: 2px 0px 2px 2px;
|
|
||||||
border-radius: 8px 0px 0px 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: var(selected-normal-foreground);
|
|
||||||
text-color: var(selected-normal-background);
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px 0px 0px 0px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
padding: 12px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @alternate-background;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
highlight: none;
|
|
||||||
placeholder-color: @foreground-colour;
|
|
||||||
blink: true;
|
|
||||||
markup: true;
|
|
||||||
}
|
|
||||||
error-message {
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 8px;
|
|
||||||
border-color: @border-colour;
|
|
||||||
background-color: @background-colour;
|
|
||||||
text-color: @foreground-colour;
|
|
||||||
}
|
|
||||||
@@ -1,20 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
|
||||||
#
|
|
||||||
## Available Styles
|
|
||||||
#
|
|
||||||
## style-1 style-2 style-3 style-4 style-5
|
|
||||||
## style-6 style-7 style-8 style-9 style-10
|
|
||||||
## style-11 style-12 style-13 style-14 style-15
|
|
||||||
|
|
||||||
dir="$HOME/.config/rofi/launchers/type-2"
|
|
||||||
theme='style-8'
|
|
||||||
|
|
||||||
## Run
|
|
||||||
rofi \
|
|
||||||
-show drun \
|
|
||||||
-theme ${dir}/${theme}.rasi
|
|
||||||