Compare commits
130 Commits
trisquel_o
...
622b723ae8
| Author | SHA1 | Date | |
|---|---|---|---|
| 622b723ae8 | |||
| 30d2facbbc | |||
| a8dd455576 | |||
| 37d4dd8a0b | |||
| 67525324f0 | |||
| c714c0d946 | |||
| d26642e949 | |||
| 499a0153c3 | |||
| 8db99f83de | |||
| e2c94ea82e | |||
| 8e1b0376c5 | |||
| f6e4a4e209 | |||
| 1cb71e6356 | |||
| ea135fa66c | |||
| da94e1d7fb | |||
| 53d9cbc5bd | |||
| d46b62c623 | |||
| 93850623dd | |||
| b04cbd578f | |||
| 5b5320f04f | |||
| 9c678e33a0 | |||
| e8d127bb68 | |||
| c3711f7428 | |||
| c32d03310d | |||
| 59d5824e04 | |||
| 87b4714dbb | |||
| 6b3ed10862 | |||
| 6ad750b3bf | |||
| 41cb8a1b9d | |||
| 1e6c05b893 | |||
| 6323954dd1 | |||
| 5e857055e4 | |||
| b39d96f4a0 | |||
| 59c0a91b14 | |||
| d4f0467df9 | |||
| 1f8882950c | |||
| d27ac95464 | |||
| 685d35f825 | |||
| 2671dfefd2 | |||
| 2e6802f327 | |||
| f0afe4c45a | |||
| e9dad7b175 | |||
| 20247d35a5 | |||
| 94e62da449 | |||
| f70fc54c6d | |||
| e24fdc0691 | |||
| 483347be70 | |||
| a657b75d7e | |||
| fdb4242e9d | |||
| a3605efaf3 | |||
| a6b676c1b3 | |||
| 8df60a4a40 | |||
| 6936354b97 | |||
| 4b9f500923 | |||
| 40ff81c6a9 | |||
| 37d7decbe0 | |||
| 4c2ff940a4 | |||
| 64050cc5d3 | |||
| 14a37c9231 | |||
| a3c3f911b0 | |||
| 7622859ccd | |||
| 1d3b513631 | |||
| ba791b8523 | |||
| ea5936a7bb | |||
| d90c60b847 | |||
| 98215307d3 | |||
| 8136bf91a0 | |||
| ce9ce4e872 | |||
| e52151ab99 | |||
| 8e042b02ac | |||
| 904560fee8 | |||
| fb323c1855 | |||
| 18b7782847 | |||
| 828859d181 | |||
| 73dc064dc5 | |||
| 212da72c8e | |||
| 25088f9307 | |||
| b14baec356 | |||
| b274531ff6 | |||
| 58884693b0 | |||
| 6f4021d0af | |||
| 9414b6b6a2 | |||
| 6ef833676c | |||
| 6644389a84 | |||
| 9551cdac86 | |||
| 4f2ad8dcce | |||
| c518795c21 | |||
| 7110044b2b | |||
| 52b29d6431 | |||
| 41b726a85e | |||
| 50609ea1a6 | |||
| 62752db358 | |||
| ce61e9d0c8 | |||
| aa7ea36ff7 | |||
| 6fcacba990 | |||
| 91089507d2 | |||
| 5f9a4b5d0f | |||
| 95c5a519bb | |||
| 92a464415c | |||
| 89f628fbb2 | |||
| 674f083980 | |||
| 989b4d473b | |||
| ba2b5e286c | |||
| 005589be05 | |||
| aaa45d6009 | |||
| e5b720af93 | |||
| 4818c27b93 | |||
| 25ad40f68b | |||
| f9d22072a6 | |||
| db0d98c0d9 | |||
| 22a4db35f5 | |||
| 6a4a6a8c3e | |||
| b8e6598a7f | |||
| 5b00715c4b | |||
| dbca282194 | |||
| f08e29bbd9 | |||
| 35ed3e1343 | |||
| 739e3f8837 | |||
|
|
330b094069 | ||
| 9e424589de | |||
| 23f53a5ac4 | |||
| b3911b0f36 | |||
| 35d7d0ae23 | |||
| 20ce61bedb | |||
| 3ab067c35e | |||
| f6997c69cc | |||
| b1ebde8e27 | |||
| 7e09920f02 | |||
| ecc289897c | |||
| 625b61a4cc |
26
.bash_env
@@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Environment exports
|
|
||||||
export MOZ_ENABLE_WAYLAND=1
|
|
||||||
export XDG_CONFIG_HOME=~/.config
|
|
||||||
export XDG_CACHE_HOME=~/.cache
|
|
||||||
export XDG_DATA_HOME=~/.local/share
|
|
||||||
export BROWSER=/usr/bin/firefox
|
|
||||||
export VISUAL=emacsclient
|
|
||||||
export EDITOR=emacsclient
|
|
||||||
export QT_QPA_PLATFORMTHEME=qt5ct
|
|
||||||
export DESKTOP_SESSION=sway
|
|
||||||
|
|
||||||
# Scripts Path
|
|
||||||
PATH=$PATH:~/.local/bin
|
|
||||||
PATH=$PATH:~/bin
|
|
||||||
|
|
||||||
# Doom Path
|
|
||||||
PATH=$PATH:~/.config/emacs/bin/
|
|
||||||
|
|
||||||
# Flatpak path
|
|
||||||
PATH=$PATH:/var/lib/flatpak/exports/bin
|
|
||||||
PATH=$PATH:/var/lib/flatpak/app
|
|
||||||
|
|
||||||
# Guile Load Path
|
|
||||||
export GUILE_LOAD_PATH="/usr/local/share/guile/site/3.0"
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
if [ -f ~/.bash_env ]; then
|
|
||||||
. "$HOME"/.bash_env
|
|
||||||
fi
|
|
||||||
|
|
||||||
# [ "$(tty)" = "/dev/tty1" ] && exec sway
|
|
||||||
@@ -1,19 +1,19 @@
|
|||||||
import = ["/home/opal/.config/alacritty/gruvbox-light.toml"]
|
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
TERM = "alacritty"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 22
|
size = 16
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Terminus"
|
family = "VictorMono Nerd Font"
|
||||||
style = "Regular"
|
style = "Medium"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.9
|
opacity = 0.95
|
||||||
|
|
||||||
|
[general]
|
||||||
|
import = ["/home/opal/.config/alacritty/gruvbox-material-hard-dark.toml"]
|
||||||
|
|||||||
31
.config/alacritty/dank-theme.toml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
[colors.primary]
|
||||||
|
background = '#10140f'
|
||||||
|
foreground = '#e0e4db'
|
||||||
|
|
||||||
|
[colors.selection]
|
||||||
|
text = '#e0e4db'
|
||||||
|
background = '#1b5e20'
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
text = '#10140f'
|
||||||
|
cursor = '#4caf50'
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = '#10140f'
|
||||||
|
red = '#c96a4c'
|
||||||
|
green = '#4daf4c'
|
||||||
|
yellow = '#dacb52'
|
||||||
|
blue = '#35a639'
|
||||||
|
magenta = '#005103'
|
||||||
|
cyan = '#4caf50'
|
||||||
|
white = '#abb7ab'
|
||||||
|
|
||||||
|
[colors.bright]
|
||||||
|
black = '#717b71'
|
||||||
|
red = '#eca088'
|
||||||
|
green = '#80d27e'
|
||||||
|
yellow = '#fff39a'
|
||||||
|
blue = '#63c067'
|
||||||
|
magenta = '#89e38d'
|
||||||
|
cyan = '#b6f4b9'
|
||||||
|
white = '#f6fdf6'
|
||||||
26
.config/alacritty/manegarm-theme.toml
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '#1c1408' # matches -bg
|
||||||
|
foreground = '#5b8512' # matches fg
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#1B2229' # matches base0
|
||||||
|
red = '#ff4e00' # matches red
|
||||||
|
green = '#7cb518' # matches green
|
||||||
|
yellow = '#ffbf00' # matches yellow
|
||||||
|
blue = '#0075c4' # matches blue
|
||||||
|
magenta = '#d72638' # matches magenta
|
||||||
|
cyan = '#898989' # matches cyan
|
||||||
|
white = '#dfdfdf' # matches base8
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#1c1f24' # matches base1
|
||||||
|
red = '#ff7000' # matches orange
|
||||||
|
green = '#dbc077' # matches teal (sand/beige)
|
||||||
|
yellow = '#ffbf00' # matches yellow
|
||||||
|
blue = '#0060a1' # matches dark-blue
|
||||||
|
magenta = '#76597b' # matches violet
|
||||||
|
cyan = '#4f7410' # matches dark-cyan
|
||||||
|
white = '#9ca0a4' # matches base7
|
||||||
28
.config/alacritty/solarized-dark.toml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
# Colors (Solarized Dark)
|
||||||
|
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
background = '#002b36'
|
||||||
|
foreground = '#839496'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#073642'
|
||||||
|
red = '#dc322f'
|
||||||
|
green = '#859900'
|
||||||
|
yellow = '#b58900'
|
||||||
|
blue = '#268bd2'
|
||||||
|
magenta = '#d33682'
|
||||||
|
cyan = '#2aa198'
|
||||||
|
white = '#eee8d5'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#002b36'
|
||||||
|
red = '#cb4b16'
|
||||||
|
green = '#586e75'
|
||||||
|
yellow = '#657b83'
|
||||||
|
blue = '#839496'
|
||||||
|
magenta = '#6c71c4'
|
||||||
|
cyan = '#93a1a1'
|
||||||
|
white = '#fdf6e3'
|
||||||
@@ -1,28 +1,27 @@
|
|||||||
# Colors (Gruvbox Material Hard Dark)
|
# Colors (Custom Light Theme)
|
||||||
|
|
||||||
# Default colors
|
# Default colors
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = '#1d2021'
|
background = '#e5dfd3'
|
||||||
foreground = '#d4be98'
|
foreground = '#4a5353'
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
[colors.normal]
|
[colors.normal]
|
||||||
black = '#32302f'
|
black = '#4a5353'
|
||||||
red = '#ea6962'
|
red = '#896d6d'
|
||||||
green = '#a9b665'
|
green = '#6d896d'
|
||||||
yellow = '#d8a657'
|
yellow = '#89896d'
|
||||||
blue = '#7daea3'
|
blue = '#6d6d89'
|
||||||
magenta = '#d3869b'
|
magenta = '#896d89'
|
||||||
cyan = '#89b482'
|
cyan = '#6d8989'
|
||||||
white = '#d4be98'
|
white = '#8a8175'
|
||||||
|
|
||||||
# Bright colors (same as normal colors)
|
# Bright colors
|
||||||
[colors.bright]
|
[colors.bright]
|
||||||
black = '#32302f'
|
black = '#4a5353'
|
||||||
red = '#ea6962'
|
red = '#a38989'
|
||||||
green = '#a9b665'
|
green = '#89a389'
|
||||||
yellow = '#d8a657'
|
yellow = '#a3a389'
|
||||||
blue = '#7daea3'
|
blue = '#8989a3'
|
||||||
magenta = '#d3869b'
|
magenta = '#a389a3'
|
||||||
cyan = '#89b482'
|
cyan = '#89a3a3'
|
||||||
white = '#d4be98'
|
white = '#6a6155'
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
directory: ~/music/to-sort
|
directory: /mnt/storage/music/slsk/to-sort
|
||||||
library: ~/.config/beets/beets-library.db
|
library: ~/.config/beets/beets-library.db
|
||||||
|
|
||||||
|
plugins: musicbrainz
|
||||||
|
|
||||||
import:
|
import:
|
||||||
move: yes
|
move: yes
|
||||||
|
|
||||||
|
|||||||
@@ -1,74 +0,0 @@
|
|||||||
# If you want to synchronize calcurse with a CalDAV server using
|
|
||||||
# calcurse-caldav, create a new directory at $XDG_CONFIG_HOME/calcurse/caldav/
|
|
||||||
# (~/.config/calcurse/caldav/) and $XDG_DATA_HOME/calcurse/caldav/
|
|
||||||
# (~/.local/share/calcurse/caldav/) and copy this file to
|
|
||||||
# $XDG_CONFIG_HOME/calcurse/caldav/config and adjust the configuration below.
|
|
||||||
# Alternatively, if using ~/.calcurse, create a new directory at
|
|
||||||
# ~/.calcurse/caldav/ and copy this file to ~/.calcurse/caldav/config and adjust
|
|
||||||
# the configuration file below.
|
|
||||||
|
|
||||||
[General]
|
|
||||||
# Path to the calcurse binary that is used for importing/exporting items.
|
|
||||||
Binary = calcurse
|
|
||||||
|
|
||||||
# Host name of the server that hosts CalDAV. Do NOT prepend a protocol prefix,
|
|
||||||
# such as http:// or https://. Append :<port> for a port other than 80.
|
|
||||||
Hostname = dav.opal.sh
|
|
||||||
|
|
||||||
# Path to the CalDAV calendar on the host specified above. This is the base
|
|
||||||
# path following your host name in the URL.
|
|
||||||
Path = /dav.php/calendars/ryan/ryan-cal/
|
|
||||||
|
|
||||||
# Type of authentication to use. Must be "basic" or "oauth2"
|
|
||||||
#AuthMethod = basic
|
|
||||||
|
|
||||||
# Enable this if you want to skip SSL certificate checks.
|
|
||||||
InsecureSSL = No
|
|
||||||
|
|
||||||
# Disable this if you want to use HTTP instead of HTTPS.
|
|
||||||
# Using plain HTTP is highly discouraged.
|
|
||||||
HTTPS = Yes
|
|
||||||
|
|
||||||
# This option allows you to filter the types of tasks synced. To this end, the
|
|
||||||
# value of this option should be a comma-separated list of item types, where
|
|
||||||
# each item type is either "event", "apt", "recur-event", "recur-apt", "todo",
|
|
||||||
# "recur" or "cal". Note that the comma-separated list must not contain any
|
|
||||||
# spaces. Refer to the documentation of the --filter-type command line argument
|
|
||||||
# of calcurse for more details. Set this option to "cal" if the configured
|
|
||||||
# CalDAV server doesn't support tasks, such as is the case with Google
|
|
||||||
# Calendar.
|
|
||||||
SyncFilter = cal,todo
|
|
||||||
|
|
||||||
# Disable this option to actually enable synchronization. If it is enabled,
|
|
||||||
# nothing is actually written to the server or to the local data files. If you
|
|
||||||
# combine DryRun = Yes with Verbose = Yes, you get a log of what would have
|
|
||||||
# happened with this option disabled.
|
|
||||||
DryRun = No
|
|
||||||
|
|
||||||
# Enable this if you want detailed logs written to stdout.
|
|
||||||
Verbose = Yes
|
|
||||||
|
|
||||||
# Credentials for HTTP Basic Authentication (if required).
|
|
||||||
# Set `Password` to your password in plaintext (unsafe),
|
|
||||||
# or `PasswordCommand` to a shell command that retrieves it (recommended).
|
|
||||||
[Auth]
|
|
||||||
Username = ryan
|
|
||||||
#Password = password
|
|
||||||
PasswordCommand = gopass show -o self-hosted/dav.opal.sh
|
|
||||||
|
|
||||||
# Optionally specify additional HTTP headers here.
|
|
||||||
#[CustomHeaders]
|
|
||||||
#User-Agent = Mac_OS_X/10.9.2 (13C64) CalendarAgent/176
|
|
||||||
|
|
||||||
# Use the following to synchronize with an OAuth2-based service
|
|
||||||
# such as Google Calendar.
|
|
||||||
#[OAuth2]
|
|
||||||
#ClientID = your_client_id
|
|
||||||
#ClientSecret = your_client_secret
|
|
||||||
|
|
||||||
# Scope of access for API calls. Synchronization requires read/write.
|
|
||||||
#Scope = https://example.com/resource/scope
|
|
||||||
|
|
||||||
# Change the redirect URI if you receive errors, but ensure that it is identical
|
|
||||||
# to the redirect URI you specified in the API settings.
|
|
||||||
#RedirectURI = http://127.0.0.1
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# 1. Make a commit if the calcurse directories contain a Git repository.
|
|
||||||
# 2. Synchronize with a CalDAV server if calcurse-caldav is configured.
|
|
||||||
|
|
||||||
data_dir="$HOME/.calcurse"
|
|
||||||
config_dir="$HOME/.calcurse"
|
|
||||||
|
|
||||||
if [ ! -d "$data_dir" ]; then
|
|
||||||
data_dir="${XDG_DATA_HOME:-$HOME/.local/share}/calcurse"
|
|
||||||
config_dir="${XDG_CONFIG_HOME:-$HOME/.config}/calcurse"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Do not do anything when synchronizing with a CalDAV server.
|
|
||||||
[ -f "$data_dir/caldav/lock" ] && exit
|
|
||||||
|
|
||||||
# Run the CalDAV synchronization script in the background.
|
|
||||||
cd "$data_dir" || exit
|
|
||||||
if [ -d caldav ] && command -v calcurse-caldav >/dev/null; then
|
|
||||||
(
|
|
||||||
date="$(date +'%b %d %H:%M:%S')"
|
|
||||||
echo "$date Running calcurse-caldav from the post-save hook..."
|
|
||||||
calcurse-caldav
|
|
||||||
echo
|
|
||||||
) >>caldav/log 2>&1 &
|
|
||||||
fi
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
[ -d "$HOME/.calcurse" ] && data_dir="$HOME/.calcurse" || data_dir="${XDG_DATA_HOME:-$HOME/.local/share}/calcurse"
|
|
||||||
|
|
||||||
cd "$data_dir" || exit
|
|
||||||
|
|
||||||
# Do not do anything when synchronizing with a CalDAV server.
|
|
||||||
[ -f caldav/lock ] && exit
|
|
||||||
|
|
||||||
# Run the CalDAV synchronization script in the background.
|
|
||||||
if [ -d caldav ] && command -v calcurse-caldav >/dev/null; then
|
|
||||||
(
|
|
||||||
date="$(date +'%b %d %H:%M:%S')"
|
|
||||||
echo "$date Running calcurse-caldav from the pre-load hook..."
|
|
||||||
calcurse-caldav
|
|
||||||
echo
|
|
||||||
) >>caldav/log 2>&1 &
|
|
||||||
fi
|
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
;;(setq fancy-splash-image "~/.config/doom/splash.png")
|
;;; config.el -*- lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Clean up starting screen
|
;; Clean up starting screen
|
||||||
|
;; (setq fancy-splash-image "~/.config/doom/splash.png")
|
||||||
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-shortmenu)
|
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-shortmenu)
|
||||||
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-banner)
|
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-banner)
|
||||||
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-footer)
|
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-footer)
|
||||||
@@ -8,28 +9,48 @@
|
|||||||
(add-hook! '+doom-dashboard-mode-hook (hide-mode-line-mode 1) (hl-line-mode -1))
|
(add-hook! '+doom-dashboard-mode-hook (hide-mode-line-mode 1) (hl-line-mode -1))
|
||||||
(setq-hook! '+doom-dashboard-mode-hook evil-normal-state-cursor (list nil))
|
(setq-hook! '+doom-dashboard-mode-hook evil-normal-state-cursor (list nil))
|
||||||
|
|
||||||
|
;; Inherit SSH_AUTH_SOCK cuz emacs daint
|
||||||
|
(use-package exec-path-from-shell
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(exec-path-from-shell-initialize)
|
||||||
|
(exec-path-from-shell-copy-envs '("SSH_AUTH_SOCK" "SSH_AGENT_PID")))
|
||||||
|
|
||||||
|
(setq vc-ignore-dir-regexp
|
||||||
|
(format "\\(%s\\)\\|\\(%s\\)"
|
||||||
|
vc-ignore-dir-regexp
|
||||||
|
tramp-file-name-regexp))
|
||||||
|
|
||||||
|
;; Disable projectile with remote files
|
||||||
|
(defun opal/maybe-disable-projectile ()
|
||||||
|
"Disable projectile-mode for remote files."
|
||||||
|
(when (file-remote-p default-directory)
|
||||||
|
(projectile-mode -1)))
|
||||||
|
|
||||||
|
(add-hook 'find-file-hook #'opal/maybe-disable-projectile)
|
||||||
|
|
||||||
;; Set name & e-mail
|
;; Set name & e-mail
|
||||||
(setq user-full-name "opal"
|
(setq user-full-name "opal"
|
||||||
user-mail-address "ry.orlando@proton.me")
|
user-mail-address "ry.orlando@proton.me")
|
||||||
|
|
||||||
|
(setq vterm-shell "/bin/zsh")
|
||||||
|
|
||||||
;; Theme & background color
|
;; Theme & background color
|
||||||
(load-theme 'ef-eagle t)
|
(load-theme 'doom-gruvbox t)
|
||||||
(set-face-background 'default "#E8D8B0")
|
;;(set-face-background 'default "#E8D8B0")
|
||||||
|
|
||||||
;; Lockfiles
|
;; Lockfiles
|
||||||
(setq create-lockfiles nil)
|
(setq create-lockfiles nil)
|
||||||
|
|
||||||
;; Remove line numbers from specific modes
|
;; Remove line numbers from specific modes
|
||||||
(dolist (mode '(org-mode-hook
|
(dolist (mode '(org-mode-hook
|
||||||
term-mode-hook
|
|
||||||
shell-mode-hook
|
shell-mode-hook
|
||||||
eshell-mode-hook))
|
eshell-mode-hook))
|
||||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||||
|
|
||||||
;; Font configuration
|
;; Font Config
|
||||||
(set-face-attribute 'default nil :font "Terminus" :height 200)
|
(setq doom-font (font-spec :family "VictorMono Nerd Font" :size 22 :weight 'medium)
|
||||||
(set-face-attribute 'fixed-pitch nil :font "Terminus" :height 200)
|
doom-variable-pitch-font (font-spec :family "VictorMono Nerd Font" :size 22 :weight 'medium :slant 'italic))
|
||||||
(set-face-attribute 'variable-pitch nil :font "ETBembo" :height 200)
|
|
||||||
|
|
||||||
(defun opal/org-font-setup ()
|
(defun opal/org-font-setup ()
|
||||||
;; Replace list hyphen with dot
|
;; Replace list hyphen with dot
|
||||||
@@ -37,8 +58,7 @@
|
|||||||
'(("^ *\\([-]\\) "
|
'(("^ *\\([-]\\) "
|
||||||
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
|
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
|
||||||
"•"))))))
|
"•"))))))
|
||||||
|
;; Set heading sizes only
|
||||||
;; Set faces for heading levels
|
|
||||||
(dolist (face '((org-level-1 . 1.2)
|
(dolist (face '((org-level-1 . 1.2)
|
||||||
(org-level-2 . 1.1)
|
(org-level-2 . 1.1)
|
||||||
(org-level-3 . 1.05)
|
(org-level-3 . 1.05)
|
||||||
@@ -47,36 +67,27 @@
|
|||||||
(org-level-6 . 1.1)
|
(org-level-6 . 1.1)
|
||||||
(org-level-7 . 1.1)
|
(org-level-7 . 1.1)
|
||||||
(org-level-8 . 1.1)))
|
(org-level-8 . 1.1)))
|
||||||
(set-face-attribute (car face) nil :font "ETBembo" :weight 'regular :height (cdr face)))
|
(set-face-attribute (car face) nil :height (cdr face)))
|
||||||
|
|
||||||
;; Set properties and scheduling faces to inherit variable-pitch and be smaller
|
;; Ensure that all agenda items inherit default
|
||||||
;; Comment out these lines because mixed-pitch-mode will handle these.
|
|
||||||
(set-face-attribute 'org-property-value nil :inherit 'variable-pitch :height 150)
|
|
||||||
(set-face-attribute 'org-special-keyword nil :inherit 'variable-pitch :height 150)
|
|
||||||
(set-face-attribute 'org-scheduled-today nil :inherit 'variable-pitch :height 150)
|
|
||||||
(set-face-attribute 'org-drawer nil :inherit 'variable-pitch :height 150)
|
|
||||||
(set-face-attribute 'org-date nil :inherit 'variable-pitch :height 150)
|
|
||||||
|
|
||||||
;; Ensure that all agenda items use fixed-pitch font
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-agenda-date-today ((t (:inherit fixed-pitch :weight bold))))
|
'(org-agenda-date-today ((t (:inherit default :weight bold))))
|
||||||
'(org-agenda-date ((t (:inherit fixed-pitch))))
|
'(org-agenda-date ((t (:inherit default))))
|
||||||
'(org-agenda-date-weekend ((t (:inherit fixed-pitch :weight bold))))
|
'(org-agenda-date-weekend ((t (:inherit default :weight bold))))
|
||||||
'(org-agenda-done ((t (:inherit fixed-pitch :strike-through t))))
|
'(org-agenda-done ((t (:inherit default :strike-through t))))
|
||||||
'(org-agenda-dimmed-todo-face ((t (:inherit fixed-pitch))))
|
'(org-agenda-dimmed-todo-face ((t (:inherit default))))
|
||||||
'(org-agenda-structure ((t (:inherit fixed-pitch))))
|
'(org-agenda-structure ((t (:inherit default))))
|
||||||
'(org-scheduled ((t (:inherit fixed-pitch))))
|
'(org-scheduled ((t (:inherit default))))
|
||||||
'(org-scheduled-today ((t (:inherit fixed-pitch))))
|
'(org-scheduled-today ((t (:inherit default))))
|
||||||
'(org-scheduled-previously ((t (:inherit fixed-pitch))))
|
'(org-scheduled-previously ((t (:inherit default))))
|
||||||
'(org-upcoming-deadline ((t (:inherit fixed-pitch))))
|
'(org-upcoming-deadline ((t (:inherit default))))
|
||||||
'(org-deadline-announce ((t (:inherit fixed-pitch))))
|
'(org-deadline-announce ((t (:inherit default))))
|
||||||
'(org-time-grid ((t (:inherit fixed-pitch)))))
|
'(org-time-grid ((t (:inherit default))))))
|
||||||
)
|
|
||||||
|
|
||||||
(defun opal/org-mode-setup ()
|
(defun opal/org-mode-setup ()
|
||||||
(org-indent-mode)
|
(org-indent-mode)
|
||||||
(visual-line-mode 1)
|
(visual-line-mode 1)
|
||||||
(mixed-pitch-mode 1))
|
(variable-pitch-mode 1))
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:commands (org-capture org-agenda)
|
:commands (org-capture org-agenda)
|
||||||
@@ -86,71 +97,95 @@
|
|||||||
(setq org-agenda-start-with-log-mode t)
|
(setq org-agenda-start-with-log-mode t)
|
||||||
(setq org-log-done 'time)
|
(setq org-log-done 'time)
|
||||||
(setq org-log-into-drawer t)
|
(setq org-log-into-drawer t)
|
||||||
(setq org-startup-folded t)
|
;;(setq org-startup-folded t)
|
||||||
(setq org-indent-indentation-per-level 2)
|
(setq org-indent-indentation-per-level 2)
|
||||||
(setq org-hide-emphasis-markers t)
|
(setq org-hide-emphasis-markers t)
|
||||||
(setq org-agenda-files
|
(setq org-agenda-files (directory-files-recursively "~/Sync/org/agenda/" "\\.org$"))
|
||||||
'("~/documents/org/agenda/todo.org"))
|
(setq org-agenda-todo-ignore-scheduled 'future)
|
||||||
|
|
||||||
(require 'org-habit)
|
(require 'org-habit)
|
||||||
(add-to-list 'org-modules 'org-habit)
|
(add-to-list 'org-modules 'org-habit)
|
||||||
(setq org-habit-graph-column 60)
|
(setq org-habit-graph-column 60)
|
||||||
|
|
||||||
(setq org-todo-keywords
|
(setq org-todo-keywords
|
||||||
'((sequence "NEXT(n)" "TODO(t)" "|" "DONE(d!)")
|
'((sequence "ALRT(a)" "EASY(e)" "PROG(p)" "NEXT(n)"
|
||||||
(sequence "ACTIVE(a)" "PROJ(p)" "READY(r)" "HOLD(h)" "BACKLOG(b)" "|" "CANC(k@)")))
|
"TODO(t)" "WAIT(w)" "|" "DONE(d)")))
|
||||||
|
|
||||||
(setq org-todo-keyword-faces
|
(setq org-todo-keyword-faces
|
||||||
'(("NEXT" . "red") ("TODO" . "orange") ("WAIT" . "yellow") ("DONE" . "green")))
|
'(("ALRT" . (:foreground "Red" :weight bold))
|
||||||
|
("TODO" . (:foreground "Orange" :weight bold))
|
||||||
(setq org-refile-targets
|
("WAIT" . (:foreground "SlateBlue" :weight bold))
|
||||||
'(("archive.org" :maxlevel . 1)
|
("PROG" . (:foreground "DodgerBlue" :weight bold))
|
||||||
("planner.org" :maxlevel . 1)))
|
("NEXT" . (:foreground "Purple" :weight bold))
|
||||||
|
("EASY" . (:foreground "MediumSeaGreen" :weight bold))
|
||||||
;; Save Org buffers after refiling!
|
("DONE" . (:foreground "ForestGreen" :weight bold))))
|
||||||
(advice-add 'org-refile :after 'org-save-all-org-buffers)
|
|
||||||
|
|
||||||
(add-hook 'org-mode-hook #'org-make-toc-mode)
|
|
||||||
|
|
||||||
(setq org-agenda-custom-commands
|
(setq org-agenda-custom-commands
|
||||||
'(("d" "Custom Dashboard"
|
'(("d" "GTD Dashboard"
|
||||||
;; NEXT items for today
|
;; Begin list of blocks:
|
||||||
((tags "+TODO=\"NEXT\"+SCHEDULED=\"<+0d>\"|+DEADLINE=\"<+0d>\""
|
(
|
||||||
((org-agenda-overriding-header "\nNEXT Items for Today\n"))) ; Show NEXT items scheduled or due today
|
(tags "+TODO=\"ALRT\""
|
||||||
;; TODO items for today
|
((org-agenda-overriding-header "🚨 Urgent / Interruptions")))
|
||||||
(tags "+TODO=\"TODO\"+SCHEDULED=\"<+0d>\"|+DEADLINE=\"<+0d>\""
|
|
||||||
((org-agenda-overriding-header "\nTODO Items for Today\n"))) ; Show TODO items scheduled or due today
|
(tags "+TODO=\"EASY\""
|
||||||
;; DONE items for today
|
((org-agenda-overriding-header "🍃 Quick Tasks")))
|
||||||
|
|
||||||
|
(tags "+TODO=\"PROG\""
|
||||||
|
((org-agenda-overriding-header "🚧 In Progress")))
|
||||||
|
|
||||||
|
(tags "+TODO=\"NEXT\""
|
||||||
|
((org-agenda-overriding-header "▶ Next Actions")))
|
||||||
|
|
||||||
|
(tags "+TODO=\"WAIT\""
|
||||||
|
((org-agenda-overriding-header "⏳ Pending / Blocked")))
|
||||||
|
|
||||||
|
(tags "+TODO=\"TODO\""
|
||||||
|
((org-agenda-overriding-header "📝 Backlog / To Plan")))
|
||||||
|
|
||||||
(tags "+TODO=\"DONE\"+CLOSED>=\"<-3d>\""
|
(tags "+TODO=\"DONE\"+CLOSED>=\"<-3d>\""
|
||||||
((org-agenda-overriding-header "\nDone Items for Today\n"))) ; Show DONE items closed today
|
((org-agenda-overriding-header "✅ Recently Done")))
|
||||||
;; Agenda for today
|
|
||||||
(agenda ""
|
(agenda ""
|
||||||
((org-agenda-span 1) ; Show only today
|
((org-agenda-span 1)
|
||||||
(org-agenda-start-day "0d") ; Start from today
|
(org-agenda-start-day "0d")
|
||||||
(org-agenda-show-all-dates t) ; Ensure all dates are shown
|
(org-agenda-show-all-dates t)
|
||||||
(org-agenda-overriding-header "\nAgenda (Today)\n")))
|
(org-agenda-overriding-header "📅 Today’s Schedule")))
|
||||||
;; Agenda for next 3 days (no time grid)
|
|
||||||
(agenda ""
|
(agenda ""
|
||||||
((org-agenda-span 3) ; Show the next 3 days
|
((org-agenda-span 3)
|
||||||
(org-agenda-start-day "+1d") ; Start from tomorrow
|
(org-agenda-start-day "+1d")
|
||||||
(org-agenda-overriding-header "\nAgenda (Next 3 Days)\n")
|
(org-agenda-overriding-header "📆 Next 3 Days")
|
||||||
(org-agenda-time-grid nil))))))) ; Remove time grid
|
(org-agenda-time-grid nil)))
|
||||||
|
|
||||||
|
(alltodo ""
|
||||||
|
((org-agenda-overriding-header "📋 All Tasks")))
|
||||||
|
) ; End of block-list
|
||||||
|
) ; End of the "d" command entry
|
||||||
|
)) ; End of defcustom list
|
||||||
|
|
||||||
;; Create capture templates
|
;; Create capture templates
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
`(("t" "Tasks")
|
`(("t" "Tasks")
|
||||||
("tw" "Work Task" entry (file+headline "~/documents/org/agenda/todo.org" "Work")
|
("tw" "Work Task" entry (file+headline "~/Sync/org/agenda/work.org" "Inbox")
|
||||||
"* TODO %?\n %U\n %i" :empty-lines 1)
|
"* TODO %?\n %U\n %i" :empty-lines 1)
|
||||||
("tp" "Personal Task" entry (file+headline "~/documents/org/agenda/todo.org" "Personal")
|
("tp" "Personal Task" entry (file+headline "~/Sync/org/agenda/personal.org" "Inbox")
|
||||||
"* TODO %?\n %U\n %i" :empty-lines 1)
|
"* TODO %?\n %U\n %i" :empty-lines 1)))
|
||||||
("tb" "Backlog Task" entry (file+headline "~/documents/org/agenda/todo.org" "Backlog")
|
|
||||||
"* BACKLOG %?\n %U\n %i" :empty-lines 1)))
|
|
||||||
|
|
||||||
;; Tell Org to stop indenting inside of org source blocks.
|
;; Tell Org to stop indenting inside of org source blocks.
|
||||||
(setq org-edit-src-content-indentation 0)
|
(setq org-edit-src-content-indentation 0)
|
||||||
|
|
||||||
;; Set org agenda dir
|
;; Set org agenda dir
|
||||||
(setq org-directory "~/documents/org/")
|
(setq org-directory "~/Sync/org/agenda")
|
||||||
|
(setq org-agenda-include-diary t)
|
||||||
|
(setq diary-file "~/Sync/org/diary")
|
||||||
|
|
||||||
|
(require 'org-tempo)
|
||||||
|
(dolist (template '(("sh" . "src shell")
|
||||||
|
("el" . "src emacs-lisp")
|
||||||
|
("cl" . "src lisp")
|
||||||
|
("sql" . "src sql")
|
||||||
|
("py" . "src python")))
|
||||||
|
(add-to-list 'org-structure-template-alist template))
|
||||||
|
|
||||||
;; Init org font setup
|
;; Init org font setup
|
||||||
(opal/org-font-setup))
|
(opal/org-font-setup))
|
||||||
@@ -163,34 +198,25 @@
|
|||||||
|
|
||||||
(defun opal/org-mode-visual-fill ()
|
(defun opal/org-mode-visual-fill ()
|
||||||
(setq visual-fill-column-width 150
|
(setq visual-fill-column-width 150
|
||||||
visual-fill-column-center-text t)
|
visual-fill-column-center-text t)
|
||||||
(visual-fill-column-mode 1))
|
(visual-fill-column-mode 1))
|
||||||
|
|
||||||
(use-package visual-fill-column
|
(use-package visual-fill-column
|
||||||
:hook (org-mode . opal/org-mode-visual-fill))
|
:hook (org-mode . opal/org-mode-visual-fill))
|
||||||
|
|
||||||
;; Load languages for babel code blocks.
|
(use-package! ob
|
||||||
(with-eval-after-load 'org
|
:after org
|
||||||
|
:config
|
||||||
|
;; Enable support for these code block languages
|
||||||
(org-babel-do-load-languages
|
(org-babel-do-load-languages
|
||||||
'org-babel-load-languages
|
'org-babel-load-languages
|
||||||
'((emacs-lisp . t)
|
'((emacs-lisp . t)
|
||||||
(lisp . t)
|
|
||||||
(python . t)
|
(python . t)
|
||||||
(sql . t)))
|
(sql . t)))
|
||||||
|
|
||||||
|
;; Support correct font/highlighting for conf-unix blocks
|
||||||
(push '("conf-unix" . conf-unix) org-src-lang-modes))
|
(push '("conf-unix" . conf-unix) org-src-lang-modes))
|
||||||
|
|
||||||
(with-eval-after-load 'org
|
|
||||||
(require 'org-tempo)
|
|
||||||
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
|
||||||
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
|
||||||
(add-to-list 'org-structure-template-alist '("cl" . "src lisp"))
|
|
||||||
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
|
||||||
(add-to-list 'org-structure-template-alist '("py" . "src python")))
|
|
||||||
|
|
||||||
;; Programming
|
|
||||||
(setq geiser-guile-binary "/usr/bin/guile3.0")
|
|
||||||
|
|
||||||
;; Playing youtube videos via mpv/yt-dlp/emms
|
;; Playing youtube videos via mpv/yt-dlp/emms
|
||||||
(defun opal/play-yt-url-at-point ()
|
(defun opal/play-yt-url-at-point ()
|
||||||
"Play YT link under point with EMMS/MPV/yt-dlp."
|
"Play YT link under point with EMMS/MPV/yt-dlp."
|
||||||
@@ -203,14 +229,6 @@
|
|||||||
(global-set-key (kbd "C-c y") 'opal/play-yt-url-at-point)
|
(global-set-key (kbd "C-c y") 'opal/play-yt-url-at-point)
|
||||||
|
|
||||||
;; Elfeed
|
;; Elfeed
|
||||||
(defun opal/elfeed-open-in-firefox ()
|
|
||||||
"Open the current Elfeed entry link in Firefox."
|
|
||||||
(interactive)
|
|
||||||
(let ((link (elfeed-entry-link (elfeed-search-selected :single))))
|
|
||||||
(if link
|
|
||||||
(browse-url-firefox link)
|
|
||||||
(message "No link to open."))))
|
|
||||||
|
|
||||||
(defun opal/elfeed-open-in-eww()
|
(defun opal/elfeed-open-in-eww()
|
||||||
"Open the current Elfeed entry link in eww."
|
"Open the current Elfeed entry link in eww."
|
||||||
(interactive)
|
(interactive)
|
||||||
@@ -219,6 +237,15 @@
|
|||||||
(eww-browse-url link)
|
(eww-browse-url link)
|
||||||
(message "No link to open."))))
|
(message "No link to open."))))
|
||||||
|
|
||||||
|
(defun opal/elfeed-open-in-firefox()
|
||||||
|
"Open the current Elfeed entry link in firefox."
|
||||||
|
(interactive)
|
||||||
|
(let ((link (elfeed-entry-link (elfeed-search-selected :single))))
|
||||||
|
(if link
|
||||||
|
(let ((browse-url-generic-program "firefox"))
|
||||||
|
(browse-url-generic link))
|
||||||
|
(message "No link to open."))))
|
||||||
|
|
||||||
(defun opal/elfeed-mark-all-read ()
|
(defun opal/elfeed-mark-all-read ()
|
||||||
"Marks all feeds in *elfeed-search* as read."
|
"Marks all feeds in *elfeed-search* as read."
|
||||||
(interactive)
|
(interactive)
|
||||||
@@ -230,11 +257,10 @@
|
|||||||
(("C-c e" . elfeed))
|
(("C-c e" . elfeed))
|
||||||
:config
|
:config
|
||||||
;; Ensure faces are set after elfeed has loaded
|
;; Ensure faces are set after elfeed has loaded
|
||||||
(with-eval-after-load 'elfeed
|
(set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200)
|
||||||
(set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200)
|
;; Monospace fonts are necessary for text/column alignment in the *elfeed-search* buffer
|
||||||
;; Monospace fonts are necessary for text/column alignment in the *elfeed-search* buffer
|
(set-face-attribute 'elfeed-search-title-face nil :inherit 'fixed-pitch :height 200)
|
||||||
(set-face-attribute 'elfeed-search-title-face nil :inherit 'fixed-pitch :height 200)
|
(set-face-attribute 'elfeed-search-feed-face nil :inherit 'fixed-pitch :height 200)
|
||||||
(set-face-attribute 'elfeed-search-feed-face nil :inherit 'fixed-pitch :height 200))
|
|
||||||
|
|
||||||
;; Set variable-pitch face for article fonts in the *elfeed-entry* buffer
|
;; Set variable-pitch face for article fonts in the *elfeed-entry* buffer
|
||||||
(add-hook 'elfeed-show-mode-hook
|
(add-hook 'elfeed-show-mode-hook
|
||||||
@@ -248,42 +274,69 @@
|
|||||||
|
|
||||||
;; Evil keybindings for Elfeed
|
;; Evil keybindings for Elfeed
|
||||||
(evil-define-key 'normal elfeed-search-mode-map
|
(evil-define-key 'normal elfeed-search-mode-map
|
||||||
"f" 'opal/elfeed-open-in-firefox ;; Open link in Firefox
|
"e" 'opal/elfeed-open-in-eww ;; Open link in eww
|
||||||
"e" 'opal/elfeed-open-in-eww ;; Open link in Firefox
|
"o" 'opal/elfeed-open-in-librewolf ;; Open link in eww
|
||||||
"r" 'opal/elfeed-mark-all-read ;; Marks all feeds as read
|
"r" 'opal/elfeed-mark-all-read ;; Marks all feeds as read
|
||||||
"gr" 'elfeed-update ;; Refresh feeds
|
"gr" 'elfeed-update ;; Refresh feeds
|
||||||
"q" 'quit-window)) ;; Quit Elfeed
|
"q" 'quit-window)) ;; Quit Elfeed
|
||||||
|
|
||||||
(setq create-lockfiles nil)
|
(use-package elfeed-org
|
||||||
|
:ensure t
|
||||||
;; Make sure eww opens in it's own buffer
|
:config
|
||||||
(after! eww
|
(setq rmh-elfeed-org-files '("~/Sync/org/elfeed/feeds.org")))
|
||||||
(set-popup-rule! "^\\*eww\\*" :ignore t))
|
|
||||||
|
|
||||||
(after! osm
|
(after! osm
|
||||||
(set-popup-rule! "^\\*osm\\*" :ignore t))
|
(set-popup-rule! "^\\*osm\\*" :ignore t))
|
||||||
|
|
||||||
;; eww
|
;; eww
|
||||||
(defun opal/eww-reddit-redirect(url)
|
;; extra frontends to use:
|
||||||
"Redirect reddit.com to custom URL."
|
;; https://eddrit.com
|
||||||
(replace-regexp-in-string "https://www.reddit.com" "https://eddrit.com" url))
|
;; https://eu.safereddit.com
|
||||||
|
;; https://redlib.catsarch.com/
|
||||||
|
(defun opal/eww-reddit-redirect (url)
|
||||||
|
"Redirect reddit.com (with or without www) to a privacy frontend."
|
||||||
|
(replace-regexp-in-string "^https://\\(www\\.\\)?reddit\\.com" "https://old.reddit.com" url))
|
||||||
|
|
||||||
(use-package eww
|
(defun opal/eww-x-redirect (url)
|
||||||
:config
|
"Redirect x.com (with or without www) to a privacy frontend."
|
||||||
(setq browse-url-browser-function 'eww-browse-url)
|
(replace-regexp-in-string "^https://\\(www\\.\\)?x\\.com" "https://xcancel.com" url))
|
||||||
|
|
||||||
;; Set eww webpage title in the modeline bar instead of just *eww*
|
(defun opal/eww-twitter-redirect (url)
|
||||||
(setq eww-auto-rename-buffer 'title)
|
"Redirect twitter.com (with or without www) to a privacy frontend."
|
||||||
|
(replace-regexp-in-string "^https://\\(www\\.\\)?twitter\\.com" "https://xcancel.com" url))
|
||||||
|
|
||||||
;; Set privacy respecting proxies
|
(global-set-key (kbd "C-c w") #'eww)
|
||||||
(setq reddit-proxy "https://eddrit.com")
|
(global-set-key (kbd "C-c f") #'elfeed-goodies/show-link-hint)
|
||||||
|
|
||||||
;; Redirect reddit links to privacy respecting frontends.
|
(defun +opal--eww-fix-fonts-h ()
|
||||||
(setq eww-url-transformers '(eww-remove-tracking opal/eww-reddit-redirect))
|
"Fix fonts, wrapping, and scaling for EWW buffers."
|
||||||
|
(visual-line-mode 1)
|
||||||
|
(setq-local face-remapping-alist
|
||||||
|
'((default variable-pitch default)
|
||||||
|
(shr-text variable-pitch default)
|
||||||
|
(shr-link variable-pitch default)
|
||||||
|
(shr-strong variable-pitch default)
|
||||||
|
(fixed-pitch fixed-pitch default)
|
||||||
|
(variable-pitch variable-pitch default)))
|
||||||
|
(text-scale-set 1))
|
||||||
|
|
||||||
|
(use-package! eww
|
||||||
|
:init
|
||||||
|
(setq browse-url-browser-function #'eww-browse-url
|
||||||
|
eww-auto-rename-buffer 'title
|
||||||
|
reddit-proxy "https://eddrit.com"
|
||||||
|
eww-url-transformers '(eww-remove-tracking
|
||||||
|
opal/eww-reddit-redirect
|
||||||
|
opal/eww-twitter-redirect
|
||||||
|
opal/eww-x-redirect)
|
||||||
|
shr-use-fonts nil
|
||||||
|
shr-fill-text nil)
|
||||||
|
|
||||||
;; Make sure eww opens in it's own buffer
|
|
||||||
(after! eww
|
(after! eww
|
||||||
(set-popup-rule! "^\\*eww\\*" :ignore t)))
|
(set-popup-rule! "^\\*eww" :ignore t))
|
||||||
|
|
||||||
|
:hook (eww-mode . +opal--eww-fix-fonts-h))
|
||||||
|
|
||||||
|
|
||||||
;; Since I sometimes write notes in two languages, guess-language will allow for multiple language
|
;; Since I sometimes write notes in two languages, guess-language will allow for multiple language
|
||||||
;; spelling checks to be done in a single buffer.
|
;; spelling checks to be done in a single buffer.
|
||||||
@@ -297,20 +350,70 @@
|
|||||||
guess-language-min-paragraph-length 45)
|
guess-language-min-paragraph-length 45)
|
||||||
:diminish guess-language-mode)
|
:diminish guess-language-mode)
|
||||||
|
|
||||||
(setq geiser-guile-binary "/usr/bin/guile3.0")
|
|
||||||
|
|
||||||
(defun opal/nov-mode-setup ()
|
(defun opal/nov-mode-setup ()
|
||||||
"Configure fonts for nov.el."
|
"Configure fonts and layout for nov.el."
|
||||||
(variable-pitch-mode 1) ; Enable variable-pitch-mode
|
(variable-pitch-mode 1)
|
||||||
(visual-line-mode 1) ; Enable line wrapping at word boundaries
|
(visual-line-mode 1)
|
||||||
(setq visual-fill-column-width 150
|
(setq visual-fill-column-width 150
|
||||||
visual-fill-column-center-text t
|
visual-fill-column-center-text t
|
||||||
line-spacing 0.2)
|
line-spacing 0.2)
|
||||||
(visual-fill-column-mode 1))
|
(visual-fill-column-mode 1))
|
||||||
|
|
||||||
(add-hook 'nov-mode-hook 'opal/nov-mode-setup)
|
(use-package! nov
|
||||||
|
:mode ("\\.epub\\'" . nov-mode)
|
||||||
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
:hook (nov-mode . opal/nov-mode-setup))
|
||||||
|
|
||||||
(setq +lookup-dictionary-prefer-offline t)
|
(setq +lookup-dictionary-prefer-offline t)
|
||||||
(setq dictionary-server "dict.org")
|
(setq dictionary-server "dict.org")
|
||||||
|
|
||||||
|
(setq browse-url-generic-program "librewolf")
|
||||||
|
(setq browse-url-browser-function 'browse-url-generic)
|
||||||
|
|
||||||
|
;; Attempt to fix slow Tramp issues
|
||||||
|
(remove-hook 'evil-insert-state-exit-hook #'doom-modeline-update-buffer-file-name)
|
||||||
|
(remove-hook 'find-file-hook #'doom-modeline-update-buffer-file-name)
|
||||||
|
(remove-hook 'find-file-hook 'forge-bug-reference-setup)
|
||||||
|
|
||||||
|
(use-package! tramp
|
||||||
|
:init
|
||||||
|
;; TRAMP optimizations
|
||||||
|
;; See: https://coredumped.dev/2025/06/18/making-tramp-go-brrrr
|
||||||
|
;; Set core TRAMP behavior before it loads
|
||||||
|
(setq remote-file-name-inhibit-locks t
|
||||||
|
remote-file-name-inhibit-auto-save-visited t
|
||||||
|
tramp-use-scp-direct-remote-copying t
|
||||||
|
tramp-copy-size-limit (* 1024 1024) ;; 1MB
|
||||||
|
tramp-verbose 2
|
||||||
|
magit-tramp-pipe-stty-settings 'pty)
|
||||||
|
|
||||||
|
:config
|
||||||
|
;; Enable async remote process copying
|
||||||
|
(connection-local-set-profile-variables
|
||||||
|
'remote-direct-async-process
|
||||||
|
'((tramp-direct-async-process . t)))
|
||||||
|
|
||||||
|
(connection-local-set-profiles
|
||||||
|
'(:application tramp :protocol "scp")
|
||||||
|
'remote-direct-async-process)
|
||||||
|
|
||||||
|
;; Prevent compile mode from disabling SSH ControlMaster
|
||||||
|
(with-eval-after-load 'compile
|
||||||
|
(remove-hook 'compilation-mode-hook
|
||||||
|
#'tramp-compile-disable-ssh-controlmaster-options)))
|
||||||
|
|
||||||
|
(use-package emms
|
||||||
|
:after emms-player-mpd
|
||||||
|
:config
|
||||||
|
(require 'emms-setup)
|
||||||
|
(require 'emms-player-mpd)
|
||||||
|
(emms-all)
|
||||||
|
(emms-default-players)
|
||||||
|
|
||||||
|
(setq emms-player-list '(emms-player-mpd)
|
||||||
|
emms-player-mpd-server-name "127.0.0.1"
|
||||||
|
emms-player-mpd-server-port "6660"
|
||||||
|
emms-player-mpd-music-directory "~/music")
|
||||||
|
|
||||||
|
(add-to-list 'emms-info-functions 'emms-info-mpd)
|
||||||
|
|
||||||
|
(emms-player-mpd-connect))
|
||||||
|
|||||||
@@ -7,14 +7,28 @@
|
|||||||
["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"])
|
["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"])
|
||||||
'(auth-source-save-behavior nil)
|
'(auth-source-save-behavior nil)
|
||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
'("b00cb300c114f3b971370c9ef9b6b8a347fa02b1af2aa4c02dab47eaa0ad930b" "d6d4e0512dcaae663f7bd304557d6bc8b78c576be5af9c0b62b8447fb79b5fde" "13096a9a6e75c7330c1bc500f30a8f4407bd618431c94aeab55c9855731a95e1" "48042425e84cd92184837e01d0b4fe9f912d875c43021c3bcb7eeb51f1be5710" "c5878086e65614424a84ad5c758b07e9edcf4c513e08a1c5b1533f313d1b17f1" "10e5d4cc0f67ed5cafac0f4252093d2119ee8b8cb449e7053273453c1a1eb7cc" "ffafb0e9f63935183713b204c11d22225008559fa62133a69848835f4f4a758c" "7964b513f8a2bb14803e717e0ac0123f100fb92160dcf4a467f530868ebaae3e" "f053f92735d6d238461da8512b9c071a5ce3b9d972501f7a5e6682a90bf29725" "944d52450c57b7cbba08f9b3d08095eb7a5541b0ecfb3a0a9ecd4a18f3c28948" "dad40020beea412623b04507a4c185079bff4dcea20a93d8f8451acb6afc8358" "a0415d8fc6aeec455376f0cbcc1bee5f8c408295d1c2b9a1336db6947b89dd98" "a9a67b318b7417adbedaab02f05fa679973e9718d9d26075c6235b1f0db703c8" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "b5803dfb0e4b6b71f309606587dd88651efe0972a5be16ece6a958b197caeed8" default))
|
'("02d422e5b99f54bd4516d4157060b874d14552fe613ea7047c4a5cfa1288cf4f"
|
||||||
|
"58440185e94d5c28dbcc2b5720c88a5c1f4420bf87936a62f8a47d8cf20730e9"
|
||||||
|
"d9a947788a4c5f7051c4ad3a3e0e9d76218209899683d3e9ed1e2aa6cd10d462"
|
||||||
|
"b00cb300c114f3b971370c9ef9b6b8a347fa02b1af2aa4c02dab47eaa0ad930b"
|
||||||
|
"d6d4e0512dcaae663f7bd304557d6bc8b78c576be5af9c0b62b8447fb79b5fde"
|
||||||
|
"13096a9a6e75c7330c1bc500f30a8f4407bd618431c94aeab55c9855731a95e1"
|
||||||
|
"48042425e84cd92184837e01d0b4fe9f912d875c43021c3bcb7eeb51f1be5710"
|
||||||
|
"c5878086e65614424a84ad5c758b07e9edcf4c513e08a1c5b1533f313d1b17f1"
|
||||||
|
"10e5d4cc0f67ed5cafac0f4252093d2119ee8b8cb449e7053273453c1a1eb7cc"
|
||||||
|
"ffafb0e9f63935183713b204c11d22225008559fa62133a69848835f4f4a758c"
|
||||||
|
"7964b513f8a2bb14803e717e0ac0123f100fb92160dcf4a467f530868ebaae3e"
|
||||||
|
"f053f92735d6d238461da8512b9c071a5ce3b9d972501f7a5e6682a90bf29725"
|
||||||
|
"944d52450c57b7cbba08f9b3d08095eb7a5541b0ecfb3a0a9ecd4a18f3c28948"
|
||||||
|
"dad40020beea412623b04507a4c185079bff4dcea20a93d8f8451acb6afc8358"
|
||||||
|
"a0415d8fc6aeec455376f0cbcc1bee5f8c408295d1c2b9a1336db6947b89dd98"
|
||||||
|
"a9a67b318b7417adbedaab02f05fa679973e9718d9d26075c6235b1f0db703c8"
|
||||||
|
"1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4"
|
||||||
|
"b5803dfb0e4b6b71f309606587dd88651efe0972a5be16ece6a958b197caeed8" default))
|
||||||
'(exwm-floating-border-color "#191b20")
|
'(exwm-floating-border-color "#191b20")
|
||||||
'(fci-rule-color "#5B6268")
|
'(fci-rule-color "#5B6268")
|
||||||
'(highlight-tail-colors
|
'(highlight-tail-colors
|
||||||
((("#333a38" "#99bb66" "green")
|
((("#333a38" "#99bb66" "green") . 0) (("#2b3d48" "#46D9FF" "brightcyan") . 20)))
|
||||||
. 0)
|
|
||||||
(("#2b3d48" "#46D9FF" "brightcyan")
|
|
||||||
. 20)))
|
|
||||||
'(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef"))
|
'(jdee-db-active-breakpoint-face-colors (cons "#1B2229" "#51afef"))
|
||||||
'(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65"))
|
'(jdee-db-requested-breakpoint-face-colors (cons "#1B2229" "#98be65"))
|
||||||
'(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a"))
|
'(jdee-db-spec-breakpoint-face-colors (cons "#1B2229" "#3f444a"))
|
||||||
@@ -25,25 +39,12 @@
|
|||||||
["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"])
|
["#282c34" "#ff6c6b" "#98be65" "#ECBE7B" "#51afef" "#c678dd" "#46D9FF" "#bbc2cf"])
|
||||||
'(vc-annotate-background "#282c34")
|
'(vc-annotate-background "#282c34")
|
||||||
'(vc-annotate-color-map
|
'(vc-annotate-color-map
|
||||||
(list
|
(list (cons 20 "#98be65") (cons 40 "#b4be6c") (cons 60 "#d0be73")
|
||||||
(cons 20 "#98be65")
|
(cons 80 "#ECBE7B") (cons 100 "#e6ab6a") (cons 120 "#e09859")
|
||||||
(cons 40 "#b4be6c")
|
(cons 140 "#da8548") (cons 160 "#d38079") (cons 180 "#cc7cab")
|
||||||
(cons 60 "#d0be73")
|
(cons 200 "#c678dd") (cons 220 "#d974b7") (cons 240 "#ec7091")
|
||||||
(cons 80 "#ECBE7B")
|
(cons 260 "#ff6c6b") (cons 280 "#cf6162") (cons 300 "#9f585a")
|
||||||
(cons 100 "#e6ab6a")
|
(cons 320 "#6f4e52") (cons 340 "#5B6268") (cons 360 "#5B6268")))
|
||||||
(cons 120 "#e09859")
|
|
||||||
(cons 140 "#da8548")
|
|
||||||
(cons 160 "#d38079")
|
|
||||||
(cons 180 "#cc7cab")
|
|
||||||
(cons 200 "#c678dd")
|
|
||||||
(cons 220 "#d974b7")
|
|
||||||
(cons 240 "#ec7091")
|
|
||||||
(cons 260 "#ff6c6b")
|
|
||||||
(cons 280 "#cf6162")
|
|
||||||
(cons 300 "#9f585a")
|
|
||||||
(cons 320 "#6f4e52")
|
|
||||||
(cons 340 "#5B6268")
|
|
||||||
(cons 360 "#5B6268")))
|
|
||||||
'(vc-annotate-very-old-color nil))
|
'(vc-annotate-very-old-color nil))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
;;layout ; auie,ctsrnm is the superior home row
|
;;layout ; auie,ctsrnm is the superior home row
|
||||||
|
|
||||||
:completion
|
:completion
|
||||||
company ; the ultimate code completion backend
|
;;company ; the ultimate code completion backend
|
||||||
;;helm ; the *other* search engine for love and life
|
;;helm ; the *other* search engine for love and life
|
||||||
;;ido ; the other *other* search engine...
|
;;ido ; the other *other* search engine...
|
||||||
;;ivy ; a search engine for love and life
|
;;ivy ; a search engine for love and life
|
||||||
@@ -35,8 +35,8 @@
|
|||||||
tabs ; a tab bar for Emacs
|
tabs ; a tab bar for Emacs
|
||||||
;;treemacs ; a project drawer, like neotree but cooler
|
;;treemacs ; a project drawer, like neotree but cooler
|
||||||
;;unicode ; extended unicode support for various languages
|
;;unicode ; extended unicode support for various languages
|
||||||
vc-gutter ; vcs diff in the fringe
|
;;vc-gutter ; vcs diff in the fringe
|
||||||
vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
;;vi-tilde-fringe ; fringe tildes to mark beyond EOB
|
||||||
;;window-select ; visually switch windows
|
;;window-select ; visually switch windows
|
||||||
workspaces ; tab emulation, persistence & separate workspaces
|
workspaces ; tab emulation, persistence & separate workspaces
|
||||||
;;zen ; distraction-free coding or writing
|
;;zen ; distraction-free coding or writing
|
||||||
@@ -45,7 +45,7 @@
|
|||||||
(evil +everywhere); come to the dark side, we have cookies
|
(evil +everywhere); come to the dark side, we have cookies
|
||||||
file-templates ; auto-snippets for empty files
|
file-templates ; auto-snippets for empty files
|
||||||
fold ; (nigh) universal code folding
|
fold ; (nigh) universal code folding
|
||||||
(format +onsave) ; automated prettiness
|
;;(format +onsave) ; automated prettiness
|
||||||
;;god ; run Emacs commands without modifier keys
|
;;god ; run Emacs commands without modifier keys
|
||||||
;;lispy ; vim for lisp, for people who don't like vim
|
;;lispy ; vim for lisp, for people who don't like vim
|
||||||
;;multiple-cursors ; editing in many places at once
|
;;multiple-cursors ; editing in many places at once
|
||||||
@@ -60,10 +60,10 @@
|
|||||||
electric ; smarter, keyword-based electric-indent
|
electric ; smarter, keyword-based electric-indent
|
||||||
;;ibuffer ; interactive buffer management
|
;;ibuffer ; interactive buffer management
|
||||||
undo ; persistent, smarter undo for your inevitable mistakes
|
undo ; persistent, smarter undo for your inevitable mistakes
|
||||||
vc ; version-control and Emacs, sitting in a tree
|
;;vc ; version-control and Emacs, sitting in a tree
|
||||||
|
|
||||||
:term
|
:term
|
||||||
eshell ; the elisp shell that works everywhere
|
;;eshell ; the elisp shell that works everywhere
|
||||||
;;shell ; simple shell REPL for Emacs
|
;;shell ; simple shell REPL for Emacs
|
||||||
;;term ; basic terminal emulator for Emacs
|
;;term ; basic terminal emulator for Emacs
|
||||||
vterm ; the best terminal emulation in Emacs
|
vterm ; the best terminal emulation in Emacs
|
||||||
@@ -74,7 +74,7 @@
|
|||||||
;;grammar ; tasing grammar mistake every you make
|
;;grammar ; tasing grammar mistake every you make
|
||||||
|
|
||||||
:tools
|
:tools
|
||||||
ansible
|
;;ansible
|
||||||
;;biblio ; Writes a PhD for you (citation needed)
|
;;biblio ; Writes a PhD for you (citation needed)
|
||||||
;;debugger ; FIXME stepping through code, to help you add bugs
|
;;debugger ; FIXME stepping through code, to help you add bugs
|
||||||
;;direnv
|
;;direnv
|
||||||
@@ -98,7 +98,7 @@
|
|||||||
|
|
||||||
:os
|
:os
|
||||||
(:if IS-MAC macos) ; improve compatibility with macOS
|
(:if IS-MAC macos) ; improve compatibility with macOS
|
||||||
;;tty ; improve the terminal Emacs experience
|
tty ; improve the terminal Emacs experience
|
||||||
|
|
||||||
:lang
|
:lang
|
||||||
;;agda ; types of types of types of types...
|
;;agda ; types of types of types of types...
|
||||||
@@ -125,7 +125,7 @@
|
|||||||
;;fsharp ; ML stands for Microsoft's Language
|
;;fsharp ; ML stands for Microsoft's Language
|
||||||
;;fstar ; (dependent) types and (monadic) effects and Z3
|
;;fstar ; (dependent) types and (monadic) effects and Z3
|
||||||
;;gdscript ; the language you waited for
|
;;gdscript ; the language you waited for
|
||||||
;;(go +lsp) ; the hipster dialect
|
(go +lsp) ; the hipster dialect
|
||||||
;;(haskell +lsp) ; a language that's lazier than I am
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
@@ -155,7 +155,7 @@
|
|||||||
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
|
||||||
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
;;rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
;;scala ; java, but good
|
;;scala ; java, but good
|
||||||
(scheme +guile) ; a fully conniving family of lisps
|
;;(scheme +guile) ; a fully conniving family of lisps
|
||||||
sh ; she sells {ba,z,fi}sh shells on the C xor
|
sh ; she sells {ba,z,fi}sh shells on the C xor
|
||||||
;;sml
|
;;sml
|
||||||
;;solidity ; do you need a blockchain? No.
|
;;solidity ; do you need a blockchain? No.
|
||||||
|
|||||||
@@ -1,15 +1,13 @@
|
|||||||
;; Include
|
;; Include
|
||||||
|
(package! exec-path-from-shell)
|
||||||
(package! org-bullets)
|
(package! org-bullets)
|
||||||
(package! visual-fill-column)
|
(package! visual-fill-column)
|
||||||
(package! org-make-toc)
|
|
||||||
(package! ef-themes)
|
(package! ef-themes)
|
||||||
(package! org-drill)
|
(package! org-drill)
|
||||||
(package! pomm)
|
|
||||||
(package! mixed-pitch)
|
(package! mixed-pitch)
|
||||||
(package! guess-language)
|
(package! guess-language)
|
||||||
(package! sicp)
|
|
||||||
(package! nov)
|
(package! nov)
|
||||||
(package! osm)
|
(package! google-translate)
|
||||||
|
|
||||||
;; Remove
|
;; Remove
|
||||||
(package! dirvish :disable t)
|
(package! dirvish :disable t)
|
||||||
|
|||||||
BIN
.config/doom/splash2.png
Normal file
|
After Width: | Height: | Size: 27 KiB |
@@ -1,22 +0,0 @@
|
|||||||
[Added Associations]
|
|
||||||
video/mp4=org.videolan.VLC.desktop;org.kde.dragonplayer.desktop;mpv.desktop;
|
|
||||||
video/quicktime=org.videolan.VLC.desktop;org.kde.dragonplayer.desktop;mpv.desktop;
|
|
||||||
|
|
||||||
[Default Applications]
|
|
||||||
inode/directory=pcmanfm-qt
|
|
||||||
video/mp4=org.videolan.VLC.desktop;
|
|
||||||
video/quicktime=org.videolan.VLC.desktop
|
|
||||||
|
|
||||||
text/html=/usr/bin/firefox
|
|
||||||
application/xhtml+xml=/usr/bin/firefox
|
|
||||||
application/xml=/usr/bin/firefox
|
|
||||||
text/xml=/usr/bin/firefox
|
|
||||||
text/xsl=/usr/bin/firefox
|
|
||||||
application/rss+xml=/usr/bin/firefox
|
|
||||||
application/atom+xml=/usr/bin/firefox
|
|
||||||
x-scheme-handler/http=/usr/bin/firefox
|
|
||||||
x-scheme-handler/https=/usr/bin/firefox
|
|
||||||
x-scheme-handler/ftp=/usr/bin/firefox
|
|
||||||
x-scheme-handler/chrome=/usr/bin/firefox
|
|
||||||
x-scheme-handler/about=/usr/bin/firefox
|
|
||||||
x-scheme-handler/mailto=/usr/bin/firefox
|
|
||||||
@@ -1,16 +1,39 @@
|
|||||||
|
"query:all articles:unread = \"yes\" or unread = \"no\""
|
||||||
---Reddit---
|
---Reddit---
|
||||||
https://www.reddit.com/r/stupidpol/.rss
|
https://www.reddit.com/r/stupidpol/.rss
|
||||||
|
|
||||||
---News---
|
---News---
|
||||||
https://thegrayzone.com/rss
|
https://thegrayzone.com/rss
|
||||||
https://multipolarista.com/rss
|
https://multipolarista.com/rss
|
||||||
https://www.telesurenglish.net/feed/
|
https://www.telesurenglish.net/feed/
|
||||||
https://theintercept.com/feed/
|
https://theintercept.com/feed/
|
||||||
|
https://jacobin.com/feed
|
||||||
|
https://www.propublica.org/feeds
|
||||||
|
https://www.racket.news/feed
|
||||||
|
https://feeds.a.dj.com/rss/RSSWorldNews.xml "Wall Street Journal (World)"
|
||||||
|
https://www.npr.org/rss/rss.php?id=1001 "NPR (US News)"
|
||||||
|
https://rss.nytimes.com/services/xml/rss/nyt/HomePage.xml "NYTimes Front Page"
|
||||||
|
https://www.wsws.org/en/rss.xml
|
||||||
|
|
||||||
---Tech---
|
---Tech---
|
||||||
https://landchad.net/rss.xml
|
https://landchad.net/rss.xml
|
||||||
https://videos.lukesmith.xyz/feeds/videos.xml?videoChannelId=2 "~Luke Smith (Videos)"
|
https://videos.lukesmith.xyz/feeds/videos.xml?videoChannelId=2 "~Luke Smith (Videos)"
|
||||||
|
https://hnrss.org/frontpage "Hacker News (Top Stories)"
|
||||||
https://pluralistic.net/feed/
|
https://pluralistic.net/feed/
|
||||||
https://blog.privacyguides.org/feed_rss_created.xml
|
https://blog.privacyguides.org/feed_rss_created.xml
|
||||||
|
https://lukesmith.xyz/index.xml "~Luke Smith (Blog)"
|
||||||
|
https://www.techdirt.com/techdirt_rss.xml "~TechDirt"
|
||||||
|
https://www.theverge.com/rss/index.xml "~The Verge"
|
||||||
|
https://www.linuxlinks.com/feed/ "~LinuxLinks"
|
||||||
|
https://itsfoss.com/feed/ "~It's FOSS"
|
||||||
|
https://lwn.net/headlines/rss "~LWN.net"
|
||||||
|
https://www.youtube.com/feeds/videos.xml?channel_id=UCld68syR8Wi-GY_n4CaoJGA
|
||||||
|
|
||||||
---Podcasts---
|
---Podcasts---
|
||||||
https://feeds.simplecast.com/dCXMIpJz "Last Podcast On the Left"
|
https://feeds.simplecast.com/dCXMIpJz "Last Podcast On the Left"
|
||||||
http://feeds.soundcloud.com/users/soundcloud:users:572119410/sounds.rss podcasts "Fall of Civilziation"
|
http://feeds.soundcloud.com/users/soundcloud:users:572119410/sounds.rss "Fall of Civilziation"
|
||||||
https://feeds.feedburner.com/dancarlin/history?format=xml podcasts "Hardcore History"
|
https://feeds.feedburner.com/dancarlin/history?format=xml "Hardcore History"
|
||||||
|
|
||||||
|
---Youtube---
|
||||||
|
https://www.youtube.com/feeds/videos.xml?channel_id=UCCZ40QwZtFs_7h5MZ0ZTTwg # Lefie
|
||||||
|
|
||||||
|
|||||||
624
.config/niri/config.kdl
Normal file
@@ -0,0 +1,624 @@
|
|||||||
|
// This config is in the KDL format: https://kdl.dev
|
||||||
|
// "/-" comments out the following node.
|
||||||
|
|
||||||
|
// Input device configuration.
|
||||||
|
// Find the full list of options on the wiki:
|
||||||
|
// https://yalter.github.io/niri/Configuration:-Input
|
||||||
|
input {
|
||||||
|
keyboard {
|
||||||
|
xkb {
|
||||||
|
// You can set rules, model, layout, variant and options.
|
||||||
|
// For more information, see xkeyboard-config(7).
|
||||||
|
|
||||||
|
// For example:
|
||||||
|
layout "us(altgr-intl)"
|
||||||
|
options "caps:escape"
|
||||||
|
|
||||||
|
// If this section is empty, niri will fetch xkb settings
|
||||||
|
// from org.freedesktop.locale1. You can control these using
|
||||||
|
// localectl set-x11-keymap.
|
||||||
|
}
|
||||||
|
repeat-rate 45
|
||||||
|
repeat-delay 250
|
||||||
|
|
||||||
|
// Enable numlock on startup, omitting this setting disables it.
|
||||||
|
numlock
|
||||||
|
}
|
||||||
|
|
||||||
|
// Next sections include libinput settings.
|
||||||
|
// Omitting settings disables them, or leaves them at their default values.
|
||||||
|
// All commented-out settings here are examples, not defaults.
|
||||||
|
touchpad {
|
||||||
|
// off
|
||||||
|
// tap
|
||||||
|
// dwt
|
||||||
|
// dwtp
|
||||||
|
// drag false
|
||||||
|
// drag-lock
|
||||||
|
// natural-scroll
|
||||||
|
// accel-speed 0.2
|
||||||
|
// accel-profile "flat"
|
||||||
|
// scroll-method "two-finger"
|
||||||
|
// disabled-on-external-mouse
|
||||||
|
}
|
||||||
|
|
||||||
|
mouse {
|
||||||
|
// off
|
||||||
|
// natural-scroll
|
||||||
|
// accel-speed 0.2
|
||||||
|
// accel-profile "flat"
|
||||||
|
// scroll-method "no-scroll"
|
||||||
|
}
|
||||||
|
|
||||||
|
trackpoint {
|
||||||
|
// off
|
||||||
|
// natural-scroll
|
||||||
|
// accel-speed 0.2
|
||||||
|
// accel-profile "flat"
|
||||||
|
// scroll-method "on-button-down"
|
||||||
|
// scroll-button 273
|
||||||
|
// scroll-button-lock
|
||||||
|
// middle-emulation
|
||||||
|
}
|
||||||
|
|
||||||
|
// Uncomment this to make the mouse warp to the center of newly focused windows.
|
||||||
|
// warp-mouse-to-focus
|
||||||
|
|
||||||
|
// Focus windows and outputs automatically when moving the mouse into them.
|
||||||
|
// Setting max-scroll-amount="0%" makes it work only on windows already fully on screen.
|
||||||
|
focus-follows-mouse max-scroll-amount="0%"
|
||||||
|
}
|
||||||
|
|
||||||
|
// You can configure outputs by their name, which you can find
|
||||||
|
// by running `niri msg outputs` while inside a niri instance.
|
||||||
|
// The built-in laptop monitor is usually called "eDP-1".
|
||||||
|
// Find more information on the wiki:
|
||||||
|
// https://yalter.github.io/niri/Configuration:-Outputs
|
||||||
|
// Remember to uncomment the node by removing "/-"!
|
||||||
|
output "DP-4" {
|
||||||
|
mode "2560x1440@179.959"
|
||||||
|
position x=0 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
output "DP-5" {
|
||||||
|
mode "2560x2880@59"
|
||||||
|
position x=2560 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
output "eDP-1" {
|
||||||
|
// Uncomment this line to disable this output.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// Resolution and, optionally, refresh rate of the output.
|
||||||
|
// The format is "<width>x<height>" or "<width>x<height>@<refresh rate>".
|
||||||
|
// If the refresh rate is omitted, niri will pick the highest refresh rate
|
||||||
|
// for the resolution.
|
||||||
|
// If the mode is omitted altogether or is invalid, niri will pick one automatically.
|
||||||
|
// Run `niri msg outputs` while inside a niri instance to list all outputs and their modes.
|
||||||
|
mode "1920x1200@60"
|
||||||
|
|
||||||
|
// You can use integer or fractional scale, for example use 1.5 for 150% scale.
|
||||||
|
scale 1
|
||||||
|
|
||||||
|
// Transform allows to rotate the output counter-clockwise, valid values are:
|
||||||
|
// normal, 90, 180, 270, flipped, flipped-90, flipped-180 and flipped-270.
|
||||||
|
transform "normal"
|
||||||
|
|
||||||
|
// Position of the output in the global coordinate space.
|
||||||
|
// This affects directional monitor actions like "focus-monitor-left", and cursor movement.
|
||||||
|
// The cursor can only move between directly adjacent outputs.
|
||||||
|
// Output scale and rotation has to be taken into account for positioning:
|
||||||
|
// outputs are sized in logical, or scaled, pixels.
|
||||||
|
// For example, a 3840×2160 output with scale 2.0 will have a logical size of 1920×1080,
|
||||||
|
// so to put another output directly adjacent to it on the right, set its x to 1920.
|
||||||
|
// If the position is unset or results in an overlap, the output is instead placed
|
||||||
|
// automatically.
|
||||||
|
// position x=1280 y=0
|
||||||
|
}
|
||||||
|
|
||||||
|
// Settings that influence how windows are positioned and sized.
|
||||||
|
// Find more information on the wiki:
|
||||||
|
// https://yalter.github.io/niri/Configuration:-Layout
|
||||||
|
layout {
|
||||||
|
// Set gaps around windows in logical pixels.
|
||||||
|
gaps 16
|
||||||
|
|
||||||
|
// When to center a column when changing focus, options are:
|
||||||
|
// - "never", default behavior, focusing an off-screen column will keep at the left
|
||||||
|
// or right edge of the screen.
|
||||||
|
// - "always", the focused column will always be centered.
|
||||||
|
// - "on-overflow", focusing a column will center it if it doesn't fit
|
||||||
|
// together with the previously focused column.
|
||||||
|
center-focused-column "never"
|
||||||
|
|
||||||
|
// You can customize the widths that "switch-preset-column-width" (Mod+R) toggles between.
|
||||||
|
preset-column-widths {
|
||||||
|
// Proportion sets the width as a fraction of the output width, taking gaps into account.
|
||||||
|
// For example, you can perfectly fit four windows sized "proportion 0.25" on an output.
|
||||||
|
// The default preset widths are 1/3, 1/2 and 2/3 of the output.
|
||||||
|
proportion 0.33333
|
||||||
|
proportion 0.5
|
||||||
|
proportion 0.66667
|
||||||
|
|
||||||
|
// Fixed sets the width in logical pixels exactly.
|
||||||
|
// fixed 1920
|
||||||
|
}
|
||||||
|
|
||||||
|
// You can also customize the heights that "switch-preset-window-height" (Mod+Shift+R) toggles between.
|
||||||
|
// preset-window-heights { }
|
||||||
|
|
||||||
|
// You can change the default width of the new windows.
|
||||||
|
default-column-width { proportion 0.5; }
|
||||||
|
// If you leave the brackets empty, the windows themselves will decide their initial width.
|
||||||
|
// default-column-width {}
|
||||||
|
|
||||||
|
// By default focus ring and border are rendered as a solid background rectangle
|
||||||
|
// behind windows. That is, they will show up through semitransparent windows.
|
||||||
|
// This is because windows using client-side decorations can have an arbitrary shape.
|
||||||
|
//
|
||||||
|
// If you don't like that, you should uncomment `prefer-no-csd` below.
|
||||||
|
// Niri will draw focus ring and border *around* windows that agree to omit their
|
||||||
|
// client-side decorations.
|
||||||
|
//
|
||||||
|
// Alternatively, you can override it with a window rule called
|
||||||
|
// `draw-border-with-background`.
|
||||||
|
|
||||||
|
// You can change how the focus ring looks.
|
||||||
|
focus-ring {
|
||||||
|
// Uncomment this line to disable the focus ring.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// How many logical pixels the ring extends out from the windows.
|
||||||
|
width 4
|
||||||
|
|
||||||
|
// Colors can be set in a variety of ways:
|
||||||
|
// - CSS named colors: "red"
|
||||||
|
// - RGB hex: "#rgb", "#rgba", "#rrggbb", "#rrggbbaa"
|
||||||
|
// - CSS-like notation: "rgb(255, 127, 0)", rgba(), hsl() and a few others.
|
||||||
|
|
||||||
|
// Color of the ring on the active monitor.
|
||||||
|
active-color "#7fc8ff"
|
||||||
|
|
||||||
|
// Color of the ring on inactive monitors.
|
||||||
|
//
|
||||||
|
// The focus ring only draws around the active window, so the only place
|
||||||
|
// where you can see its inactive-color is on other monitors.
|
||||||
|
inactive-color "#505050"
|
||||||
|
|
||||||
|
// You can also use gradients. They take precedence over solid colors.
|
||||||
|
// Gradients are rendered the same as CSS linear-gradient(angle, from, to).
|
||||||
|
// The angle is the same as in linear-gradient, and is optional,
|
||||||
|
// defaulting to 180 (top-to-bottom gradient).
|
||||||
|
// You can use any CSS linear-gradient tool on the web to set these up.
|
||||||
|
// Changing the color space is also supported, check the wiki for more info.
|
||||||
|
//
|
||||||
|
// active-gradient from="#80c8ff" to="#c7ff7f" angle=45
|
||||||
|
|
||||||
|
// You can also color the gradient relative to the entire view
|
||||||
|
// of the workspace, rather than relative to just the window itself.
|
||||||
|
// To do that, set relative-to="workspace-view".
|
||||||
|
//
|
||||||
|
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
||||||
|
}
|
||||||
|
|
||||||
|
// You can also add a border. It's similar to the focus ring, but always visible.
|
||||||
|
border {
|
||||||
|
// The settings are the same as for the focus ring.
|
||||||
|
// If you enable the border, you probably want to disable the focus ring.
|
||||||
|
off
|
||||||
|
|
||||||
|
width 4
|
||||||
|
active-color "#ffc87f"
|
||||||
|
inactive-color "#505050"
|
||||||
|
|
||||||
|
// Color of the border around windows that request your attention.
|
||||||
|
urgent-color "#9b0000"
|
||||||
|
|
||||||
|
// Gradients can use a few different interpolation color spaces.
|
||||||
|
// For example, this is a pastel rainbow gradient via in="oklch longer hue".
|
||||||
|
//
|
||||||
|
// active-gradient from="#e5989b" to="#ffb4a2" angle=45 relative-to="workspace-view" in="oklch longer hue"
|
||||||
|
|
||||||
|
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
||||||
|
}
|
||||||
|
|
||||||
|
// You can enable drop shadows for windows.
|
||||||
|
shadow {
|
||||||
|
// Uncomment the next line to enable shadows.
|
||||||
|
// on
|
||||||
|
|
||||||
|
// By default, the shadow draws only around its window, and not behind it.
|
||||||
|
// Uncomment this setting to make the shadow draw behind its window.
|
||||||
|
//
|
||||||
|
// Note that niri has no way of knowing about the CSD window corner
|
||||||
|
// radius. It has to assume that windows have square corners, leading to
|
||||||
|
// shadow artifacts inside the CSD rounded corners. This setting fixes
|
||||||
|
// those artifacts.
|
||||||
|
//
|
||||||
|
// However, instead you may want to set prefer-no-csd and/or
|
||||||
|
// geometry-corner-radius. Then, niri will know the corner radius and
|
||||||
|
// draw the shadow correctly, without having to draw it behind the
|
||||||
|
// window. These will also remove client-side shadows if the window
|
||||||
|
// draws any.
|
||||||
|
//
|
||||||
|
// draw-behind-window true
|
||||||
|
|
||||||
|
// You can change how shadows look. The values below are in logical
|
||||||
|
// pixels and match the CSS box-shadow properties.
|
||||||
|
|
||||||
|
// Softness controls the shadow blur radius.
|
||||||
|
softness 30
|
||||||
|
|
||||||
|
// Spread expands the shadow.
|
||||||
|
spread 5
|
||||||
|
|
||||||
|
// Offset moves the shadow relative to the window.
|
||||||
|
offset x=0 y=5
|
||||||
|
|
||||||
|
// You can also change the shadow color and opacity.
|
||||||
|
color "#0007"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Struts shrink the area occupied by windows, similarly to layer-shell panels.
|
||||||
|
// You can think of them as a kind of outer gaps. They are set in logical pixels.
|
||||||
|
// Left and right struts will cause the next window to the side to always be visible.
|
||||||
|
// Top and bottom struts will simply add outer gaps in addition to the area occupied by
|
||||||
|
// layer-shell panels and regular gaps.
|
||||||
|
struts {
|
||||||
|
// left 64
|
||||||
|
// right 64
|
||||||
|
// top 64
|
||||||
|
// bottom 64
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add lines like this to spawn processes at startup.
|
||||||
|
// Note that running niri as a session supports xdg-desktop-autostart,
|
||||||
|
// which may be more convenient to use.
|
||||||
|
// See the binds section below for more spawn examples.
|
||||||
|
|
||||||
|
spawn-at-startup "bash" "~/.local/bin/start-keyring.sh"
|
||||||
|
|
||||||
|
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||||
|
// spawn-at-startup "waybar"
|
||||||
|
|
||||||
|
// To run a shell command (with variables, pipes, etc.), use spawn-sh-at-startup:
|
||||||
|
// spawn-sh-at-startup "qs -c ~/source/qs/MyAwesomeShell"
|
||||||
|
|
||||||
|
hotkey-overlay {
|
||||||
|
// Uncomment this line to disable the "Important Hotkeys" pop-up at startup.
|
||||||
|
// skip-at-startup
|
||||||
|
}
|
||||||
|
|
||||||
|
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
|
||||||
|
// If the client will specifically ask for CSD, the request will be honored.
|
||||||
|
// Additionally, clients will be informed that they are tiled, removing some client-side rounded corners.
|
||||||
|
// This option will also fix border/focus ring drawing behind some semitransparent windows.
|
||||||
|
// After enabling or disabling this, you need to restart the apps for this to take effect.
|
||||||
|
prefer-no-csd
|
||||||
|
|
||||||
|
// You can change the path where screenshots are saved.
|
||||||
|
// A ~ at the front will be expanded to the home directory.
|
||||||
|
// The path is formatted with strftime(3) to give you the screenshot date and time.
|
||||||
|
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
||||||
|
|
||||||
|
// You can also set this to null to disable saving screenshots to disk.
|
||||||
|
// screenshot-path null
|
||||||
|
|
||||||
|
// Animation settings.
|
||||||
|
// The wiki explains how to configure individual animations:
|
||||||
|
// https://yalter.github.io/niri/Configuration:-Animations
|
||||||
|
animations {
|
||||||
|
// Uncomment to turn off all animations.
|
||||||
|
// off
|
||||||
|
|
||||||
|
// Slow down all animations by this factor. Values below 1 speed them up instead.
|
||||||
|
// slowdown 3.0
|
||||||
|
}
|
||||||
|
|
||||||
|
// Window rules let you adjust behavior for individual windows.
|
||||||
|
// Find more information on the wiki:
|
||||||
|
// https://yalter.github.io/niri/Configuration:-Window-Rules
|
||||||
|
|
||||||
|
// Work around WezTerm's initial configure bug
|
||||||
|
// by setting an empty default-column-width.
|
||||||
|
window-rule {
|
||||||
|
// This regular expression is intentionally made as specific as possible,
|
||||||
|
// since this is the default config, and we want no false positives.
|
||||||
|
// You can get away with just app-id="wezterm" if you want.
|
||||||
|
match app-id=r#"^org\.wezfurlong\.wezterm$"#
|
||||||
|
default-column-width {}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Open the Firefox picture-in-picture player as floating by default.
|
||||||
|
window-rule {
|
||||||
|
// This app-id regular expression will work for both:
|
||||||
|
// - host Firefox (app-id is "firefox")
|
||||||
|
// - Flatpak Firefox (app-id is "org.mozilla.firefox")
|
||||||
|
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
||||||
|
open-floating true
|
||||||
|
}
|
||||||
|
|
||||||
|
// Example: block out two password managers from screen capture.
|
||||||
|
// (This example rule is commented out with a "/-" in front.)
|
||||||
|
/-window-rule {
|
||||||
|
match app-id=r#"^org\.keepassxc\.KeePassXC$"#
|
||||||
|
match app-id=r#"^org\.gnome\.World\.Secrets$"#
|
||||||
|
|
||||||
|
block-out-from "screen-capture"
|
||||||
|
|
||||||
|
// Use this instead if you want them visible on third-party screenshot tools.
|
||||||
|
// block-out-from "screencast"
|
||||||
|
}
|
||||||
|
|
||||||
|
// Example: enable rounded corners for all windows.
|
||||||
|
// (This example rule is commented out with a "/-" in front.)
|
||||||
|
/-window-rule {
|
||||||
|
geometry-corner-radius 12
|
||||||
|
clip-to-geometry true
|
||||||
|
}
|
||||||
|
|
||||||
|
binds {
|
||||||
|
// Keys consist of modifiers separated by + signs, followed by an XKB key name
|
||||||
|
// in the end. To find an XKB name for a particular key, you may use a program
|
||||||
|
// like wev.
|
||||||
|
//
|
||||||
|
// "Mod" is a special modifier equal to Super when running on a TTY, and to Alt
|
||||||
|
// when running as a winit window.
|
||||||
|
//
|
||||||
|
// Most actions that you can bind here can also be invoked programmatically with
|
||||||
|
// `niri msg action do-something`.
|
||||||
|
|
||||||
|
// Mod-Shift-/, which is usually the same as Mod-?,
|
||||||
|
// shows a list of important hotkeys.
|
||||||
|
Mod+Shift+Slash { show-hotkey-overlay; }
|
||||||
|
|
||||||
|
// Suggested binds for running programs: terminal, app launcher, screen locker.
|
||||||
|
Mod+Return hotkey-overlay-title="Open a Terminal: alacritty" { spawn "alacritty"; }
|
||||||
|
Mod+D hotkey-overlay-title="Run an Application: rofi" { spawn "~/.config/rofi/launchers/type-7/launcher.sh"; }
|
||||||
|
Ctrl+Shift+L hotkey-overlay-title="Lock the Screen" { spawn "dms" "ipc" "call" "lock" "lock"; }
|
||||||
|
|
||||||
|
// Use spawn-sh to run a shell command. Do this if you need pipes, multiple commands, etc.
|
||||||
|
// Note: the entire command goes as a single argument. It's passed verbatim to `sh -c`.
|
||||||
|
// For example, this is a standard bind to toggle the screen reader (orca).
|
||||||
|
// Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
|
||||||
|
Mod+Shift+E allow-when-locked=false hotkey-overlay-title=null { spawn-sh "~/.local/bin/emoji_insert.sh"; }
|
||||||
|
// Super+Alt+S allow-when-locked=true hotkey-overlay-title=null { spawn-sh "pkill orca || exec orca"; }
|
||||||
|
|
||||||
|
// Example volume keys mappings for PipeWire & WirePlumber.
|
||||||
|
// The allow-when-locked=true property makes them work even when the session is locked.
|
||||||
|
// Using spawn-sh allows to pass multiple arguments together with the command.
|
||||||
|
// "-l 1.0" limits the volume to 100%.
|
||||||
|
XF86AudioRaiseVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+ -l 1.0"; }
|
||||||
|
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-"; }
|
||||||
|
XF86AudioMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; }
|
||||||
|
XF86AudioMicMute allow-when-locked=true { spawn-sh "wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"; }
|
||||||
|
|
||||||
|
// Example media keys mapping using playerctl.
|
||||||
|
// This will work with any MPRIS-enabled media player.
|
||||||
|
XF86AudioPlay allow-when-locked=true { spawn-sh "playerctl play-pause"; }
|
||||||
|
XF86AudioStop allow-when-locked=true { spawn-sh "playerctl stop"; }
|
||||||
|
XF86AudioPrev allow-when-locked=true { spawn-sh "playerctl previous"; }
|
||||||
|
XF86AudioNext allow-when-locked=true { spawn-sh "playerctl next"; }
|
||||||
|
|
||||||
|
// Example brightness key mappings for brightnessctl.
|
||||||
|
// You can use regular spawn with multiple arguments too (to avoid going through "sh"),
|
||||||
|
// but you need to manually put each argument in separate "" quotes.
|
||||||
|
XF86MonBrightnessUp allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "+10%"; }
|
||||||
|
XF86MonBrightnessDown allow-when-locked=true { spawn "brightnessctl" "--class=backlight" "set" "10%-"; }
|
||||||
|
|
||||||
|
// Open/close the Overview: a zoomed-out view of workspaces and windows.
|
||||||
|
// You can also move the mouse into the top-left hot corner,
|
||||||
|
// or do a four-finger swipe up on a touchpad.
|
||||||
|
Mod+O repeat=false { toggle-overview; }
|
||||||
|
|
||||||
|
Mod+Shift+Q repeat=false { close-window; }
|
||||||
|
|
||||||
|
Mod+H { focus-column-left; }
|
||||||
|
Mod+J { focus-window-down; }
|
||||||
|
Mod+K { focus-window-up; }
|
||||||
|
Mod+L { focus-column-right; }
|
||||||
|
|
||||||
|
Mod+Shift+H { move-column-left; }
|
||||||
|
Mod+Shift+J { move-window-down; }
|
||||||
|
Mod+Shift+K { move-window-up; }
|
||||||
|
Mod+Shift+L { move-column-right; }
|
||||||
|
|
||||||
|
// Alternative commands that move across workspaces when reaching
|
||||||
|
// the first or last window in a column.
|
||||||
|
// Mod+J { focus-window-or-workspace-down; }
|
||||||
|
// Mod+K { focus-window-or-workspace-up; }
|
||||||
|
// Mod+Ctrl+J { move-window-down-or-to-workspace-down; }
|
||||||
|
// Mod+Ctrl+K { move-window-up-or-to-workspace-up; }
|
||||||
|
|
||||||
|
Mod+Home { focus-column-first; }
|
||||||
|
Mod+End { focus-column-last; }
|
||||||
|
Mod+Ctrl+Home { move-column-to-first; }
|
||||||
|
Mod+Ctrl+End { move-column-to-last; }
|
||||||
|
|
||||||
|
Mod+Ctrl+H { focus-monitor-left; }
|
||||||
|
Mod+Ctrl+J { focus-monitor-down; }
|
||||||
|
Mod+Ctrl+K { focus-monitor-up; }
|
||||||
|
Mod+Ctrl+L { focus-monitor-right; }
|
||||||
|
|
||||||
|
Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
|
||||||
|
Mod+Shift+Ctrl+J { move-column-to-monitor-down; }
|
||||||
|
Mod+Shift+Ctrl+K { move-column-to-monitor-up; }
|
||||||
|
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
|
||||||
|
|
||||||
|
// Alternatively, there are commands to move just a single window:
|
||||||
|
// Mod+Shift+Ctrl+Left { move-window-to-monitor-left; }
|
||||||
|
// ...
|
||||||
|
|
||||||
|
// And you can also move a whole workspace to another monitor:
|
||||||
|
// Mod+Shift+Ctrl+Left { move-workspace-to-monitor-left; }
|
||||||
|
// ...
|
||||||
|
|
||||||
|
Mod+Page_Down { focus-workspace-down; }
|
||||||
|
Mod+Page_Up { focus-workspace-up; }
|
||||||
|
Mod+U { focus-workspace-down; }
|
||||||
|
Mod+I { focus-workspace-up; }
|
||||||
|
Mod+Ctrl+Page_Down { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+Page_Up { move-column-to-workspace-up; }
|
||||||
|
Mod+Ctrl+U { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+I { move-column-to-workspace-up; }
|
||||||
|
|
||||||
|
// Alternatively, there are commands to move just a single window:
|
||||||
|
// Mod+Ctrl+Page_Down { move-window-to-workspace-down; }
|
||||||
|
// ...
|
||||||
|
|
||||||
|
Mod+Shift+Page_Down { move-workspace-down; }
|
||||||
|
Mod+Shift+Page_Up { move-workspace-up; }
|
||||||
|
Mod+Shift+U { move-workspace-down; }
|
||||||
|
Mod+Shift+I { move-workspace-up; }
|
||||||
|
|
||||||
|
// You can bind mouse wheel scroll ticks using the following syntax.
|
||||||
|
// These binds will change direction based on the natural-scroll setting.
|
||||||
|
//
|
||||||
|
// To avoid scrolling through workspaces really fast, you can use
|
||||||
|
// the cooldown-ms property. The bind will be rate-limited to this value.
|
||||||
|
// You can set a cooldown on any bind, but it's most useful for the wheel.
|
||||||
|
Mod+WheelScrollDown cooldown-ms=150 { focus-workspace-down; }
|
||||||
|
Mod+WheelScrollUp cooldown-ms=150 { focus-workspace-up; }
|
||||||
|
Mod+Ctrl+WheelScrollDown cooldown-ms=150 { move-column-to-workspace-down; }
|
||||||
|
Mod+Ctrl+WheelScrollUp cooldown-ms=150 { move-column-to-workspace-up; }
|
||||||
|
|
||||||
|
Mod+WheelScrollRight { focus-column-right; }
|
||||||
|
Mod+WheelScrollLeft { focus-column-left; }
|
||||||
|
Mod+Ctrl+WheelScrollRight { move-column-right; }
|
||||||
|
Mod+Ctrl+WheelScrollLeft { move-column-left; }
|
||||||
|
|
||||||
|
// Usually scrolling up and down with Shift in applications results in
|
||||||
|
// horizontal scrolling; these binds replicate that.
|
||||||
|
Mod+Shift+WheelScrollDown { focus-column-right; }
|
||||||
|
Mod+Shift+WheelScrollUp { focus-column-left; }
|
||||||
|
Mod+Ctrl+Shift+WheelScrollDown { move-column-right; }
|
||||||
|
Mod+Ctrl+Shift+WheelScrollUp { move-column-left; }
|
||||||
|
|
||||||
|
// Similarly, you can bind touchpad scroll "ticks".
|
||||||
|
// Touchpad scrolling is continuous, so for these binds it is split into
|
||||||
|
// discrete intervals.
|
||||||
|
// These binds are also affected by touchpad's natural-scroll, so these
|
||||||
|
// example binds are "inverted", since we have natural-scroll enabled for
|
||||||
|
// touchpads by default.
|
||||||
|
// Mod+TouchpadScrollDown { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+"; }
|
||||||
|
// Mod+TouchpadScrollUp { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"; }
|
||||||
|
|
||||||
|
// You can refer to workspaces by index. However, keep in mind that
|
||||||
|
// niri is a dynamic workspace system, so these commands are kind of
|
||||||
|
// "best effort". Trying to refer to a workspace index bigger than
|
||||||
|
// the current workspace count will instead refer to the bottommost
|
||||||
|
// (empty) workspace.
|
||||||
|
//
|
||||||
|
// For example, with 2 workspaces + 1 empty, indices 3, 4, 5 and so on
|
||||||
|
// will all refer to the 3rd workspace.
|
||||||
|
Mod+1 { focus-workspace 1; }
|
||||||
|
Mod+2 { focus-workspace 2; }
|
||||||
|
Mod+3 { focus-workspace 3; }
|
||||||
|
Mod+4 { focus-workspace 4; }
|
||||||
|
Mod+5 { focus-workspace 5; }
|
||||||
|
Mod+6 { focus-workspace 6; }
|
||||||
|
Mod+7 { focus-workspace 7; }
|
||||||
|
Mod+8 { focus-workspace 8; }
|
||||||
|
Mod+9 { focus-workspace 9; }
|
||||||
|
Mod+Shift+1 { move-column-to-workspace 1; }
|
||||||
|
Mod+Shift+2 { move-column-to-workspace 2; }
|
||||||
|
Mod+Shift+3 { move-column-to-workspace 3; }
|
||||||
|
Mod+Shift+4 { move-column-to-workspace 4; }
|
||||||
|
Mod+Shift+5 { move-column-to-workspace 5; }
|
||||||
|
Mod+Shift+6 { move-column-to-workspace 6; }
|
||||||
|
Mod+Shift+7 { move-column-to-workspace 7; }
|
||||||
|
Mod+Shift+8 { move-column-to-workspace 8; }
|
||||||
|
Mod+Shift+9 { move-column-to-workspace 9; }
|
||||||
|
|
||||||
|
// Alternatively, there are commands to move just a single window:
|
||||||
|
// Mod+Ctrl+1 { move-window-to-workspace 1; }
|
||||||
|
|
||||||
|
// Switches focus between the current and the previous workspace.
|
||||||
|
Mod+Tab { focus-workspace-previous; }
|
||||||
|
|
||||||
|
// The following binds move the focused window in and out of a column.
|
||||||
|
// If the window is alone, they will consume it into the nearby column to the side.
|
||||||
|
// If the window is already in a column, they will expel it out.
|
||||||
|
Mod+BracketLeft { consume-or-expel-window-left; }
|
||||||
|
Mod+BracketRight { consume-or-expel-window-right; }
|
||||||
|
|
||||||
|
// Consume one window from the right to the bottom of the focused column.
|
||||||
|
Mod+Comma { consume-window-into-column; }
|
||||||
|
// Expel the bottom window from the focused column to the right.
|
||||||
|
Mod+Period { expel-window-from-column; }
|
||||||
|
|
||||||
|
Mod+R { switch-preset-column-width; }
|
||||||
|
// Cycling through the presets in reverse order is also possible.
|
||||||
|
// Mod+R { switch-preset-column-width-back; }
|
||||||
|
Mod+Shift+R { switch-preset-window-height; }
|
||||||
|
Mod+Ctrl+R { reset-window-height; }
|
||||||
|
Mod+F { maximize-column; }
|
||||||
|
Mod+Shift+F { fullscreen-window; }
|
||||||
|
|
||||||
|
// Expand the focused column to space not taken up by other fully visible columns.
|
||||||
|
// Makes the column "fill the rest of the space".
|
||||||
|
Mod+Ctrl+F { expand-column-to-available-width; }
|
||||||
|
|
||||||
|
Mod+C { center-column; }
|
||||||
|
|
||||||
|
// Center all fully visible columns on screen.
|
||||||
|
Mod+Ctrl+C { center-visible-columns; }
|
||||||
|
|
||||||
|
// Finer width adjustments.
|
||||||
|
// This command can also:
|
||||||
|
// * set width in pixels: "1000"
|
||||||
|
// * adjust width in pixels: "-5" or "+5"
|
||||||
|
// * set width as a percentage of screen width: "25%"
|
||||||
|
// * adjust width as a percentage of screen width: "-10%" or "+10%"
|
||||||
|
// Pixel sizes use logical, or scaled, pixels. I.e. on an output with scale 2.0,
|
||||||
|
// set-column-width "100" will make the column occupy 200 physical screen pixels.
|
||||||
|
Mod+Minus { set-column-width "-10%"; }
|
||||||
|
Mod+Equal { set-column-width "+10%"; }
|
||||||
|
|
||||||
|
// Finer height adjustments when in column with other windows.
|
||||||
|
Mod+Shift+Minus { set-window-height "-10%"; }
|
||||||
|
Mod+Shift+Equal { set-window-height "+10%"; }
|
||||||
|
|
||||||
|
// Move the focused window between the floating and the tiling layout.
|
||||||
|
Mod+V { toggle-window-floating; }
|
||||||
|
Mod+Shift+V { switch-focus-between-floating-and-tiling; }
|
||||||
|
|
||||||
|
// Toggle tabbed column display mode.
|
||||||
|
// Windows in this column will appear as vertical tabs,
|
||||||
|
// rather than stacked on top of each other.
|
||||||
|
Mod+W { toggle-column-tabbed-display; }
|
||||||
|
|
||||||
|
// Actions to switch layouts.
|
||||||
|
// Note: if you uncomment these, make sure you do NOT have
|
||||||
|
// a matching layout switch hotkey configured in xkb options above.
|
||||||
|
// Having both at once on the same hotkey will break the switching,
|
||||||
|
// since it will switch twice upon pressing the hotkey (once by xkb, once by niri).
|
||||||
|
// Mod+Space { switch-layout "next"; }
|
||||||
|
// Mod+Shift+Space { switch-layout "prev"; }
|
||||||
|
|
||||||
|
Alt+P { screenshot; }
|
||||||
|
Ctrl+Print { screenshot-screen; }
|
||||||
|
Alt+Print { screenshot-window; }
|
||||||
|
|
||||||
|
// Applications such as remote-desktop clients and software KVM switches may
|
||||||
|
// request that niri stops processing the keyboard shortcuts defined here
|
||||||
|
// so they may, for example, forward the key presses as-is to a remote machine.
|
||||||
|
// It's a good idea to bind an escape hatch to toggle the inhibitor,
|
||||||
|
// so a buggy application can't hold your session hostage.
|
||||||
|
//
|
||||||
|
// The allow-inhibiting=false property can be applied to other binds as well,
|
||||||
|
// which ensures niri always processes them, even when an inhibitor is active.
|
||||||
|
Mod+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
|
||||||
|
|
||||||
|
// The quit action will show a confirmation dialog to avoid accidental exits.
|
||||||
|
// Mod+Shift+E { quit; }
|
||||||
|
// Ctrl+Alt+Delete { quit; }
|
||||||
|
|
||||||
|
// Powers off the monitors. To turn them back on, do any input like
|
||||||
|
// moving the mouse or pressing any other key.
|
||||||
|
Mod+Shift+P { power-off-monitors; }
|
||||||
|
}
|
||||||
|
|
||||||
|
include "dms/outputs.kdl"
|
||||||
@@ -1,53 +1,20 @@
|
|||||||
require("config.lazy")
|
-- ~/.config/nvim/init.lua
|
||||||
|
vim.o.number = true
|
||||||
vim.opt.title = true
|
vim.o.relativenumber = true
|
||||||
vim.opt.background = 'dark'
|
vim.o.clipboard = "unnamedplus"
|
||||||
vim.opt.guicursor = ''
|
vim.cmd('colorscheme default')
|
||||||
vim.opt.mouse = 'a'
|
|
||||||
vim.opt.hlsearch = false
|
|
||||||
vim.opt.clipboard:append('unnamedplus')
|
|
||||||
vim.opt.showmode = false
|
|
||||||
vim.opt.ruler = false
|
|
||||||
vim.opt.laststatus = 0
|
|
||||||
vim.opt.showcmd = false
|
|
||||||
|
|
||||||
vim.cmd('highlight Normal ctermbg=NONE guibg=NONE')
|
|
||||||
|
|
||||||
-- Some basics:
|
|
||||||
vim.api.nvim_set_keymap('n', 'c', '"_c', { noremap = true })
|
|
||||||
vim.opt.compatible = false
|
|
||||||
vim.cmd('filetype plugin on')
|
|
||||||
vim.cmd('syntax on')
|
vim.cmd('syntax on')
|
||||||
vim.opt.encoding = 'utf-8'
|
vim.o.background = 'dark'
|
||||||
vim.opt.number = true
|
|
||||||
vim.opt.relativenumber = true
|
|
||||||
|
|
||||||
-- Enable autocompletion:
|
vim.cmd [[highlight Normal guibg=NONE ctermbg=NONE]]
|
||||||
vim.opt.wildmode = { 'longest', 'list', 'full' }
|
vim.cmd [[highlight NormalNC guibg=NONE ctermbg=NONE]]
|
||||||
|
vim.cmd [[highlight EndOfBuffer guibg=NONE ctermbg=NONE]]
|
||||||
|
|
||||||
-- Disables automatic commenting on newline:
|
vim.api.nvim_create_autocmd("BufRead", {
|
||||||
vim.api.nvim_exec([[
|
pattern = "*",
|
||||||
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
callback = function()
|
||||||
]], false)
|
if vim.fn.getline(1):match("^#!.*/python") then
|
||||||
|
vim.bo.filetype = "python"
|
||||||
-- Perform dot commands over visual blocks:
|
end
|
||||||
vim.api.nvim_set_keymap('v', '.', ':normal .<CR>', { noremap = true })
|
end
|
||||||
|
})
|
||||||
-- Goyo plugin makes text more readable when writing prose:
|
|
||||||
vim.api.nvim_set_keymap('n', '<leader>f', ':Goyo | set bg=light | set linebreak<CR>', { noremap = true })
|
|
||||||
|
|
||||||
-- Spell-check set to <leader>o, 'o' for 'orthography':
|
|
||||||
vim.api.nvim_set_keymap('n', '<leader>o', ':setlocal spell! spelllang=en_us<CR>', { noremap = true })
|
|
||||||
|
|
||||||
-- Splits open at the bottom and right, which is non-retarded, unlike vim defaults.
|
|
||||||
vim.opt.splitbelow = true
|
|
||||||
vim.opt.splitright = true
|
|
||||||
|
|
||||||
-- Shortcutting split navigation, saving a keypress:
|
|
||||||
vim.api.nvim_set_keymap('n', '<C-h>', '<C-w>h', { noremap = true })
|
|
||||||
vim.api.nvim_set_keymap('n', '<C-j>', '<C-w>j', { noremap = true })
|
|
||||||
vim.api.nvim_set_keymap('n', '<C-k>', '<C-w>k', { noremap = true })
|
|
||||||
vim.api.nvim_set_keymap('n', '<C-l>', '<C-w>l', { noremap = true })
|
|
||||||
|
|
||||||
vim.cmd("colorscheme gruvbox")
|
|
||||||
vim.o.background = "light" -- or "light" for light mode
|
|
||||||
|
|||||||
91
.config/nvim/lua/plugins/dankcolors.lua
Normal file
@@ -0,0 +1,91 @@
|
|||||||
|
return {
|
||||||
|
{
|
||||||
|
"RRethy/base16-nvim",
|
||||||
|
priority = 1000,
|
||||||
|
config = function()
|
||||||
|
require('base16-colorscheme').setup({
|
||||||
|
base00 = '#10140f',
|
||||||
|
base01 = '#10140f',
|
||||||
|
base02 = '#717b71',
|
||||||
|
base03 = '#717b71',
|
||||||
|
base04 = '#abb7ab',
|
||||||
|
base05 = '#f6fdf6',
|
||||||
|
base06 = '#f6fdf6',
|
||||||
|
base07 = '#f6fdf6',
|
||||||
|
base08 = '#eca088',
|
||||||
|
base09 = '#eca088',
|
||||||
|
base0A = '#63c067',
|
||||||
|
base0B = '#80d27e',
|
||||||
|
base0C = '#b6f4b9',
|
||||||
|
base0D = '#63c067',
|
||||||
|
base0E = '#89e38d',
|
||||||
|
base0F = '#89e38d',
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, 'Visual', {
|
||||||
|
bg = '#717b71',
|
||||||
|
fg = '#f6fdf6',
|
||||||
|
bold = true
|
||||||
|
})
|
||||||
|
vim.api.nvim_set_hl(0, 'Statusline', {
|
||||||
|
bg = '#63c067',
|
||||||
|
fg = '#10140f',
|
||||||
|
})
|
||||||
|
vim.api.nvim_set_hl(0, 'LineNr', { fg = '#717b71' })
|
||||||
|
vim.api.nvim_set_hl(0, 'CursorLineNr', { fg = '#b6f4b9', bold = true })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, 'Statement', {
|
||||||
|
fg = '#89e38d',
|
||||||
|
bold = true
|
||||||
|
})
|
||||||
|
vim.api.nvim_set_hl(0, 'Keyword', { link = 'Statement' })
|
||||||
|
vim.api.nvim_set_hl(0, 'Repeat', { link = 'Statement' })
|
||||||
|
vim.api.nvim_set_hl(0, 'Conditional', { link = 'Statement' })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, 'Function', {
|
||||||
|
fg = '#63c067',
|
||||||
|
bold = true
|
||||||
|
})
|
||||||
|
vim.api.nvim_set_hl(0, 'Macro', {
|
||||||
|
fg = '#63c067',
|
||||||
|
italic = true
|
||||||
|
})
|
||||||
|
vim.api.nvim_set_hl(0, '@function.macro', { link = 'Macro' })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, 'Type', {
|
||||||
|
fg = '#b6f4b9',
|
||||||
|
bold = true,
|
||||||
|
italic = true
|
||||||
|
})
|
||||||
|
vim.api.nvim_set_hl(0, 'Structure', { link = 'Type' })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, 'String', {
|
||||||
|
fg = '#80d27e',
|
||||||
|
italic = true
|
||||||
|
})
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, 'Operator', { fg = '#abb7ab' })
|
||||||
|
vim.api.nvim_set_hl(0, 'Delimiter', { fg = '#abb7ab' })
|
||||||
|
vim.api.nvim_set_hl(0, '@punctuation.bracket', { link = 'Delimiter' })
|
||||||
|
vim.api.nvim_set_hl(0, '@punctuation.delimiter', { link = 'Delimiter' })
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, 'Comment', {
|
||||||
|
fg = '#717b71',
|
||||||
|
italic = true
|
||||||
|
})
|
||||||
|
|
||||||
|
local current_file_path = vim.fn.stdpath("config") .. "/lua/plugins/dankcolors.lua"
|
||||||
|
if not _G._matugen_theme_watcher then
|
||||||
|
local uv = vim.uv or vim.loop
|
||||||
|
_G._matugen_theme_watcher = uv.new_fs_event()
|
||||||
|
_G._matugen_theme_watcher:start(current_file_path, {}, vim.schedule_wrap(function()
|
||||||
|
local new_spec = dofile(current_file_path)
|
||||||
|
if new_spec and new_spec[1] and new_spec[1].config then
|
||||||
|
new_spec[1].config()
|
||||||
|
print("Theme reload")
|
||||||
|
end
|
||||||
|
end))
|
||||||
|
end
|
||||||
|
end
|
||||||
|
}
|
||||||
|
}
|
||||||
102
.config/rofi/applets/bin/appasroot.sh
Executable file
@@ -0,0 +1,102 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
104
.config/rofi/applets/bin/apps.sh
Executable file
@@ -0,0 +1,104 @@
|
|||||||
|
#!/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
|
||||||
134
.config/rofi/applets/bin/battery.sh
Executable file
@@ -0,0 +1,134 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
|
||||||
107
.config/rofi/applets/bin/brightness.sh
Executable file
@@ -0,0 +1,107 @@
|
|||||||
|
#!/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
|
||||||
131
.config/rofi/applets/bin/mpd.sh
Executable file
@@ -0,0 +1,131 @@
|
|||||||
|
#!/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
|
||||||
129
.config/rofi/applets/bin/powermenu.sh
Executable file
@@ -0,0 +1,129 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
103
.config/rofi/applets/bin/quicklinks.sh
Executable file
@@ -0,0 +1,103 @@
|
|||||||
|
#!/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
|
||||||
165
.config/rofi/applets/bin/screenshot.sh
Executable file
@@ -0,0 +1,165 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
|
||||||
134
.config/rofi/applets/bin/volume.sh
Executable file
@@ -0,0 +1,134 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
18
.config/rofi/applets/shared/colors.rasi
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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"
|
||||||
12
.config/rofi/applets/shared/fonts.rasi
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Fonts
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
}
|
||||||
4
.config/rofi/applets/shared/theme.bash
Executable file
@@ -0,0 +1,4 @@
|
|||||||
|
## Current Theme
|
||||||
|
|
||||||
|
type="$HOME/.config/rofi/applets/type-1"
|
||||||
|
style='style-1.rasi'
|
||||||
152
.config/rofi/applets/type-1/style-1.rasi
Normal file
@@ -0,0 +1,152 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
152
.config/rofi/applets/type-1/style-2.rasi
Normal file
@@ -0,0 +1,152 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
152
.config/rofi/applets/type-1/style-3.rasi
Normal file
@@ -0,0 +1,152 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
153
.config/rofi/applets/type-2/style-1.rasi
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
153
.config/rofi/applets/type-2/style-2.rasi
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
153
.config/rofi/applets/type-2/style-3.rasi
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
153
.config/rofi/applets/type-3/style-1.rasi
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
153
.config/rofi/applets/type-3/style-2.rasi
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
153
.config/rofi/applets/type-3/style-3.rasi
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
164
.config/rofi/applets/type-4/style-1.rasi
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
164
.config/rofi/applets/type-4/style-2.rasi
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
164
.config/rofi/applets/type-4/style-3.rasi
Normal file
@@ -0,0 +1,164 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
166
.config/rofi/applets/type-5/style-1.rasi
Normal file
@@ -0,0 +1,166 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
167
.config/rofi/applets/type-5/style-2.rasi
Normal file
@@ -0,0 +1,167 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
176
.config/rofi/applets/type-5/style-3.rasi
Normal file
@@ -0,0 +1,176 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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);
|
||||||
|
}
|
||||||
16
.config/rofi/colors/adapta.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #222D32FF;
|
||||||
|
background-alt: #29353BFF;
|
||||||
|
foreground: #B8C2C6FF;
|
||||||
|
selected: #00BCD4FF;
|
||||||
|
active: #21FF90FF;
|
||||||
|
urgent: #FF4B60FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/arc.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #2F343FFF;
|
||||||
|
background-alt: #383C4AFF;
|
||||||
|
foreground: #BAC5D0FF;
|
||||||
|
selected: #5294E2FF;
|
||||||
|
active: #98C379FF;
|
||||||
|
urgent: #E06B74FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/black.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #000000FF;
|
||||||
|
background-alt: #101010FF;
|
||||||
|
foreground: #FFFFFFFF;
|
||||||
|
selected: #62AEEFFF;
|
||||||
|
active: #98C379FF;
|
||||||
|
urgent: #E06B74FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/catppuccin.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1E1D2FFF;
|
||||||
|
background-alt: #282839FF;
|
||||||
|
foreground: #D9E0EEFF;
|
||||||
|
selected: #7AA2F7FF;
|
||||||
|
active: #ABE9B3FF;
|
||||||
|
urgent: #F28FADFF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/cyberpunk.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #000B1EFF;
|
||||||
|
background-alt: #0A1528FF;
|
||||||
|
foreground: #0ABDC6FF;
|
||||||
|
selected: #0ABDC6FF;
|
||||||
|
active: #00FF00FF;
|
||||||
|
urgent: #FF0000FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/dracula.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1E1F29FF;
|
||||||
|
background-alt: #282A36FF;
|
||||||
|
foreground: #FFFFFFFF;
|
||||||
|
selected: #BD93F9FF;
|
||||||
|
active: #50FA7BFF;
|
||||||
|
urgent: #FF5555FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/everforest.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #323D43FF;
|
||||||
|
background-alt: #3C474DFF;
|
||||||
|
foreground: #DAD1BEFF;
|
||||||
|
selected: #7FBBB3FF;
|
||||||
|
active: #A7C080FF;
|
||||||
|
urgent: #E67E80FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/gruvbox.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #282828FF;
|
||||||
|
background-alt: #353535FF;
|
||||||
|
foreground: #EBDBB2FF;
|
||||||
|
selected: #83A598FF;
|
||||||
|
active: #B8BB26FF;
|
||||||
|
urgent: #FB4934FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/lovelace.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1D1F28FF;
|
||||||
|
background-alt: #282A36FF;
|
||||||
|
foreground: #FDFDFDFF;
|
||||||
|
selected: #79E6F3FF;
|
||||||
|
active: #5ADECDFF;
|
||||||
|
urgent: #F37F97FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/navy.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #021B21FF;
|
||||||
|
background-alt: #0C252BFF;
|
||||||
|
foreground: #F2F1B9FF;
|
||||||
|
selected: #44B5B1FF;
|
||||||
|
active: #7CBF9EFF;
|
||||||
|
urgent: #C2454EFF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/nord.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #2E3440FF;
|
||||||
|
background-alt: #383E4AFF;
|
||||||
|
foreground: #E5E9F0FF;
|
||||||
|
selected: #81A1C1FF;
|
||||||
|
active: #A3BE8CFF;
|
||||||
|
urgent: #BF616AFF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/onedark.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1E2127FF;
|
||||||
|
background-alt: #282B31FF;
|
||||||
|
foreground: #FFFFFFFF;
|
||||||
|
selected: #61AFEFFF;
|
||||||
|
active: #98C379FF;
|
||||||
|
urgent: #E06C75FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/paper.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #F1F1F1FF;
|
||||||
|
background-alt: #E0E0E0FF;
|
||||||
|
foreground: #252525FF;
|
||||||
|
selected: #008EC4FF;
|
||||||
|
active: #10A778FF;
|
||||||
|
urgent: #C30771FF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/solarized.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #002B36FF;
|
||||||
|
background-alt: #073642FF;
|
||||||
|
foreground: #EEE8D5FF;
|
||||||
|
selected: #268BD2FF;
|
||||||
|
active: #859900FF;
|
||||||
|
urgent: #DC322FFF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/tokyonight.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Levi Lacoss (fishyfishfish55)
|
||||||
|
* Github : @fishyfishfish55
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #15161EFF;
|
||||||
|
background-alt: #1A1B26FF;
|
||||||
|
foreground: #C0CAF5FF;
|
||||||
|
selected: #33467CFF;
|
||||||
|
active: #414868FF;
|
||||||
|
urgent: #F7768EFF;
|
||||||
|
}
|
||||||
16
.config/rofi/colors/yousai.rasi
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #F5E7DEFF;
|
||||||
|
background-alt: #EBDCD2FF;
|
||||||
|
foreground: #34302DFF;
|
||||||
|
selected: #D97742FF;
|
||||||
|
active: #BF8F60FF;
|
||||||
|
urgent: #B23636FF;
|
||||||
|
}
|
||||||
181
.config/rofi/config.rasi
Normal file
@@ -0,0 +1,181 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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";
|
||||||
|
*/
|
||||||
|
}
|
||||||
BIN
.config/rofi/images/a.png
Normal file
|
After Width: | Height: | Size: 266 KiB |
BIN
.config/rofi/images/b.png
Normal file
|
After Width: | Height: | Size: 197 KiB |
BIN
.config/rofi/images/bud.jpg
Normal file
|
After Width: | Height: | Size: 215 KiB |
BIN
.config/rofi/images/bud2.jpg
Normal file
|
After Width: | Height: | Size: 238 KiB |
BIN
.config/rofi/images/bud3.jpg
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
.config/rofi/images/c.png
Normal file
|
After Width: | Height: | Size: 223 KiB |
BIN
.config/rofi/images/d.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
.config/rofi/images/e.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
.config/rofi/images/f.png
Normal file
|
After Width: | Height: | Size: 441 KiB |
BIN
.config/rofi/images/flowers-1.png
Normal file
|
After Width: | Height: | Size: 648 KiB |
BIN
.config/rofi/images/flowers-2.png
Normal file
|
After Width: | Height: | Size: 339 KiB |
BIN
.config/rofi/images/flowers-3.png
Normal file
|
After Width: | Height: | Size: 125 KiB |
BIN
.config/rofi/images/g.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
.config/rofi/images/gradient.png
Normal file
|
After Width: | Height: | Size: 666 KiB |
BIN
.config/rofi/images/h.jpg
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
.config/rofi/images/i.jpg
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
.config/rofi/images/j.jpg
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
.config/rofi/images/paper.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
.config/rofi/images/user.jpeg
Normal file
|
After Width: | Height: | Size: 96 KiB |
18
.config/rofi/launchers.d/rofi_launcher_autofill.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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-1'
|
||||||
|
|
||||||
|
## Run
|
||||||
|
rofi -p "Autofill:" -dmenu -theme ${dir}/${theme}.rasi
|
||||||
18
.config/rofi/launchers.d/rofi_launcher_bookmark_insert.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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-4"
|
||||||
|
theme='style-4'
|
||||||
|
|
||||||
|
## Run
|
||||||
|
rofi -p "Bookmark:" -dmenu -theme ${dir}/${theme}.rasi
|
||||||
18
.config/rofi/launchers.d/rofi_launcher_emoji.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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-4"
|
||||||
|
theme='style-4'
|
||||||
|
|
||||||
|
## Run
|
||||||
|
rofi -p "Emoji:" -dmenu -theme ${dir}/${theme}.rasi
|
||||||
18
.config/rofi/launchers.d/rofi_launcher_pass.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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-1'
|
||||||
|
|
||||||
|
## Run
|
||||||
|
rofi -p "Password:" -dmenu -theme ${dir}/${theme}.rasi
|
||||||
18
.config/rofi/launchers.d/rofi_launcher_username.sh
Executable file
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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-1'
|
||||||
|
|
||||||
|
## Run
|
||||||
|
rofi -p "Username:" -dmenu -theme ${dir}/${theme}.rasi
|
||||||
20
.config/rofi/launchers/type-1/launcher.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/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
|
||||||
18
.config/rofi/launchers/type-1/shared/colors.rasi
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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"
|
||||||
12
.config/rofi/launchers/type-1/shared/fonts.rasi
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Fonts
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
}
|
||||||
307
.config/rofi/launchers/type-1/style-1.rasi
Normal file
@@ -0,0 +1,307 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
323
.config/rofi/launchers/type-1/style-10.rasi
Normal file
@@ -0,0 +1,323 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
307
.config/rofi/launchers/type-1/style-11.rasi
Normal file
@@ -0,0 +1,307 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
325
.config/rofi/launchers/type-1/style-12.rasi
Normal file
@@ -0,0 +1,325 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
325
.config/rofi/launchers/type-1/style-13.rasi
Normal file
@@ -0,0 +1,325 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
335
.config/rofi/launchers/type-1/style-14.rasi
Normal file
@@ -0,0 +1,335 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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;
|
||||||
|
}
|
||||||
345
.config/rofi/launchers/type-1/style-15.rasi
Normal file
@@ -0,0 +1,345 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* 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;
|
||||||
|
}
|
||||||