Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 59f815002f | |||
| db517a0759 | |||
| b382e491b8 | |||
| 5492a527c0 | |||
| c6ef708071 | |||
| 0f063a4e58 | |||
| a8e907de50 | |||
| 9b921046cf |
@@ -0,0 +1,26 @@
|
|||||||
|
#!/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"
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [ -f ~/.bash_env ]; then
|
||||||
|
. "$HOME"/.bash_env
|
||||||
|
fi
|
||||||
|
|
||||||
|
# [ "$(tty)" = "/dev/tty1" ] && exec sway
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
export TERM=xterm-256color
|
||||||
|
|
||||||
|
#If not running interactively, don't do anything
|
||||||
[ -z "$PS1" ] && return
|
[ -z "$PS1" ] && return
|
||||||
|
|
||||||
#Source global definitions
|
#Source global definitions
|
||||||
@@ -50,15 +52,12 @@ export LESS_TERMCAP_so=$'\E[01;44;33m'
|
|||||||
export LESS_TERMCAP_ue=$'\E[0m'
|
export LESS_TERMCAP_ue=$'\E[0m'
|
||||||
export LESS_TERMCAP_us=$'\E[01;32m'
|
export LESS_TERMCAP_us=$'\E[01;32m'
|
||||||
|
|
||||||
export PATH="$HOME/scripts:$PATH"
|
|
||||||
export PATH="/var/lib/flatpak/exports/bin/:$PATH"
|
|
||||||
|
|
||||||
#######################################################
|
#######################################################
|
||||||
# GOPASS
|
# GOPASS
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
# Ensure gopass autocompletion is sourced
|
# Ensure gopass autocompletion is sourced
|
||||||
source <(gopass completion bash)
|
#source <(gopass completion bash)
|
||||||
|
|
||||||
# Gopass aliases
|
# Gopass aliases
|
||||||
alias gpi='gopass insert --multiline'
|
alias gpi='gopass insert --multiline'
|
||||||
@@ -71,20 +70,18 @@ alias gpe='gopass edit'
|
|||||||
#######################################################
|
#######################################################
|
||||||
# ALIAS
|
# ALIAS
|
||||||
#######################################################
|
#######################################################
|
||||||
|
# To temporarily bypass an alias, we preceed the command with a \
|
||||||
|
# EG: the ls command is aliased, but to use the normal ls command you would type \ls
|
||||||
|
|
||||||
alias dot='cd ~/code/opalfiles'
|
#alias v='nvim'
|
||||||
alias ans='cd ~/code/ansible'
|
#alias vim='nvim'
|
||||||
|
#alias vi='nvim'
|
||||||
|
|
||||||
alias v='nvim'
|
# APT
|
||||||
alias vim='nvim'
|
alias ain='sudo apt install'
|
||||||
alias vi='nvim'
|
alias are='sudo apt remove'
|
||||||
|
alias aup='sudo apt update && sudo apt upgrade'
|
||||||
# DNF
|
alias ase='apt search'
|
||||||
alias dnf='dnf'
|
|
||||||
alias din='sudo dnf install'
|
|
||||||
alias dre='sudo dnf remove'
|
|
||||||
alias dup='sudo dnf update'
|
|
||||||
alias dse='dnf search'
|
|
||||||
|
|
||||||
# alias to show the date
|
# alias to show the date
|
||||||
alias da='date "+%Y-%m-%d %A %T %Z"'
|
alias da='date "+%Y-%m-%d %A %T %Z"'
|
||||||
@@ -128,7 +125,7 @@ alias mountedinfo='df -hT'
|
|||||||
# Alias's for archives
|
# Alias's for archives
|
||||||
alias mktar='tar -cvf'
|
alias mktar='tar -cvf'
|
||||||
alias mkbz2='tar -cvjf'
|
alias mkbz2='tar -cvjf'
|
||||||
alias mgz='tar -cvzf'
|
alias mkgz='tar -cvzf'
|
||||||
alias untar='tar -xvf'
|
alias untar='tar -xvf'
|
||||||
alias unbz2='tar -xvjf'
|
alias unbz2='tar -xvjf'
|
||||||
alias ungz='tar -xvzf'
|
alias ungz='tar -xvzf'
|
||||||
@@ -139,30 +136,17 @@ alias wget='wget --hsts-file="$XDG_CACHE_HOME/wget-hsts"'
|
|||||||
# Translate
|
# Translate
|
||||||
alias tbr='trans :pt-BR'
|
alias tbr='trans :pt-BR'
|
||||||
|
|
||||||
# ncmpcpp
|
|
||||||
alias ncmpcpp='ncmpcpp -b ~/.config/ncmpcpp/bindings'
|
|
||||||
|
|
||||||
# todo
|
|
||||||
alias t='todo'
|
|
||||||
alias tl='todo ls'
|
|
||||||
alias ta='todo lsa'
|
|
||||||
alias td='todo done'
|
|
||||||
alias te='todo edit'
|
|
||||||
alias tj='todo jira'
|
|
||||||
|
|
||||||
alias wo='glow ~/sync/workout/workout.md'
|
|
||||||
alias vwo='vim ~/sync/workout/workout.md'
|
|
||||||
alias pu='glow ~/sync/workout/pullup.md'
|
|
||||||
alias vpu='vim ~/sync/workout/pullup.md'
|
|
||||||
|
|
||||||
|
|
||||||
#######################################################
|
#######################################################
|
||||||
# WORK
|
# WORK
|
||||||
#######################################################
|
#######################################################
|
||||||
|
|
||||||
# Wireguard
|
# Wireguard
|
||||||
alias wgup='nmcli connection up wg0'
|
alias wgup='sudo wg-quick up /etc/wireguard/wg0.conf'
|
||||||
alias wgdown='nmcli connection down wg0'
|
alias wgdown='sudo wg-quick down /etc/wireguard/wg0.conf'
|
||||||
|
|
||||||
|
# Keychain
|
||||||
|
alias keys='eval $(keychain --eval --quiet ry_ecdsa) && eval $(keychain --eval --quiet id_rsa)'
|
||||||
|
|
||||||
|
|
||||||
#######################################################
|
#######################################################
|
||||||
# SPECIAL FUNCTIONS
|
# SPECIAL FUNCTIONS
|
||||||
@@ -184,8 +168,9 @@ function parse_git_branch {
|
|||||||
git branch 2>/dev/null | grep -e '^*' | sed 's/^* \(.*\)/ (\1)/'
|
git branch 2>/dev/null | grep -e '^*' | sed 's/^* \(.*\)/ (\1)/'
|
||||||
}
|
}
|
||||||
|
|
||||||
RED='\[\033[0;31m\]'
|
# Define colors
|
||||||
BLUE='\[\033[0;34m\]'
|
export RED='\[\033[0;31m\]'
|
||||||
|
export BLUE='\[\033[0;34m\]'
|
||||||
GREEN='\[\033[0;32m\]'
|
GREEN='\[\033[0;32m\]'
|
||||||
YELLOW='\[\033[0;33m\]'
|
YELLOW='\[\033[0;33m\]'
|
||||||
CYAN='\[\033[0;36m\]'
|
CYAN='\[\033[0;36m\]'
|
||||||
@@ -199,13 +184,6 @@ PS1="${CYAN}[\u@\h ${YELLOW}\w${GREEN}\$(parse_git_branch)${CYAN}]${WHITE}${RESE
|
|||||||
#######################################################
|
#######################################################
|
||||||
# SSH
|
# SSH
|
||||||
#######################################################
|
#######################################################
|
||||||
|
eval $(keychain --eval --quiet ry_ecdsa)
|
||||||
|
eval $(keychain --eval --quiet id_rsa)
|
||||||
|
|
||||||
keys()
|
|
||||||
{
|
|
||||||
eval "$(keychain --quiet --absolute --dir ~/.config/keychain --eval ry_ecdsa)"
|
|
||||||
eval "$(keychain --quiet --absolute --dir ~/.config/keychain --eval id_rsa)"
|
|
||||||
}
|
|
||||||
|
|
||||||
keys
|
|
||||||
|
|
||||||
#eval "$(starship init bash)"
|
|
||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import = ["/home/opal/.config/alacritty/gruvbox-light.toml"]
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "xterm-256color"
|
||||||
|
|
||||||
@@ -5,15 +7,13 @@ TERM = "xterm-256color"
|
|||||||
size = 18
|
size = 18
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "VictorMono Nerd Font"
|
family = "Terminus"
|
||||||
style = "Medium"
|
style = "Bold"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
x = 0
|
x = 0
|
||||||
y = 0
|
y = 0
|
||||||
|
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.95
|
opacity = 0.9
|
||||||
|
|
||||||
[general]
|
|
||||||
import = ["/home/opal/.config/alacritty/gruvbox-material-hard-dark.toml"]
|
|
||||||
|
|||||||
@@ -1,31 +0,0 @@
|
|||||||
[colors.primary]
|
|
||||||
background = '#f9f9ff'
|
|
||||||
foreground = '#191c20'
|
|
||||||
|
|
||||||
[colors.selection]
|
|
||||||
text = '#191c20'
|
|
||||||
background = '#d4e3ff'
|
|
||||||
|
|
||||||
[colors.cursor]
|
|
||||||
text = '#f9f9ff'
|
|
||||||
cursor = '#3b608f'
|
|
||||||
|
|
||||||
[colors.normal]
|
|
||||||
black = '#111318'
|
|
||||||
red = '#872844'
|
|
||||||
green = '#196b24'
|
|
||||||
yellow = '#aba314'
|
|
||||||
blue = '#396296'
|
|
||||||
magenta = '#cde2fd'
|
|
||||||
cyan = '#3b608f'
|
|
||||||
white = '#262628'
|
|
||||||
|
|
||||||
[colors.bright]
|
|
||||||
black = '#757779'
|
|
||||||
red = '#b34d6b'
|
|
||||||
green = '#379d45'
|
|
||||||
yellow = '#b9b221'
|
|
||||||
blue = '#4471ad'
|
|
||||||
magenta = '#cde2fd'
|
|
||||||
cyan = '#839bb9'
|
|
||||||
white = '#d1d3d6'
|
|
||||||
@@ -1,26 +0,0 @@
|
|||||||
# 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
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# 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,27 +1,28 @@
|
|||||||
# Colors (Custom Light Theme)
|
# Colors (Gruvbox Material Hard Dark)
|
||||||
|
|
||||||
# Default colors
|
# Default colors
|
||||||
[colors.primary]
|
[colors.primary]
|
||||||
background = '#e5dfd3'
|
background = '#1d2021'
|
||||||
foreground = '#4a5353'
|
foreground = '#d4be98'
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
[colors.normal]
|
[colors.normal]
|
||||||
black = '#4a5353'
|
black = '#32302f'
|
||||||
red = '#896d6d'
|
red = '#ea6962'
|
||||||
green = '#6d896d'
|
green = '#a9b665'
|
||||||
yellow = '#89896d'
|
yellow = '#d8a657'
|
||||||
blue = '#6d6d89'
|
blue = '#7daea3'
|
||||||
magenta = '#896d89'
|
magenta = '#d3869b'
|
||||||
cyan = '#6d8989'
|
cyan = '#89b482'
|
||||||
white = '#8a8175'
|
white = '#d4be98'
|
||||||
|
|
||||||
# Bright colors
|
# Bright colors (same as normal colors)
|
||||||
[colors.bright]
|
[colors.bright]
|
||||||
black = '#4a5353'
|
black = '#32302f'
|
||||||
red = '#a38989'
|
red = '#ea6962'
|
||||||
green = '#89a389'
|
green = '#a9b665'
|
||||||
yellow = '#a3a389'
|
yellow = '#d8a657'
|
||||||
blue = '#8989a3'
|
blue = '#7daea3'
|
||||||
magenta = '#a389a3'
|
magenta = '#d3869b'
|
||||||
cyan = '#89a3a3'
|
cyan = '#89b482'
|
||||||
white = '#6a6155'
|
white = '#d4be98'
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
directory: ~/Music/Sort
|
directory: ~/music/to-sort
|
||||||
library: ~/.config/beets/beets-library.db
|
library: ~/.config/beets/beets-library.db
|
||||||
|
|
||||||
plugins: musicbrainz fetchart
|
|
||||||
|
|
||||||
import:
|
import:
|
||||||
move: yes
|
move: yes
|
||||||
|
|
||||||
paths:
|
paths:
|
||||||
default: %lower{$albumartist} - $year - %lower{$album}/$track - $title
|
default: %lower{$albumartist} - $year - %lower{$album}/$track - $title
|
||||||
|
|
||||||
|
plugins: fetchart
|
||||||
|
|||||||
@@ -0,0 +1,74 @@
|
|||||||
|
# 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
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
#!/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
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
#!/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,7 +1,6 @@
|
|||||||
;;; config.el -*- lexical-binding: t; -*-
|
;;(setq fancy-splash-image "~/.config/doom/splash.png")
|
||||||
|
|
||||||
;; 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)
|
||||||
@@ -9,48 +8,28 @@
|
|||||||
(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 'doom-gruvbox t)
|
(load-theme 'ef-eagle 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 Config
|
;; Font configuration
|
||||||
(setq doom-font (font-spec :family "VictorMono Nerd Font" :size 22 :weight 'medium)
|
(set-face-attribute 'default nil :font "Monospace" :height 190)
|
||||||
doom-variable-pitch-font (font-spec :family "DejaVu Serif" :size 22))
|
(set-face-attribute 'fixed-pitch nil :font "Monospace" :height 190)
|
||||||
|
(set-face-attribute 'variable-pitch nil :font "ETBembo" :height 190)
|
||||||
|
|
||||||
(defun opal/org-font-setup ()
|
(defun opal/org-font-setup ()
|
||||||
;; Replace list hyphen with dot
|
;; Replace list hyphen with dot
|
||||||
@@ -58,7 +37,8 @@
|
|||||||
'(("^ *\\([-]\\) "
|
'(("^ *\\([-]\\) "
|
||||||
(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)
|
||||||
@@ -67,27 +47,36 @@
|
|||||||
(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 :height (cdr face)))
|
(set-face-attribute (car face) nil :font "ETBembo" :weight 'regular :height (cdr face)))
|
||||||
|
|
||||||
;; Ensure that all agenda items inherit default
|
;; Set properties and scheduling faces to inherit variable-pitch and be smaller
|
||||||
|
;; 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 default :weight bold))))
|
'(org-agenda-date-today ((t (:inherit fixed-pitch :weight bold))))
|
||||||
'(org-agenda-date ((t (:inherit default))))
|
'(org-agenda-date ((t (:inherit fixed-pitch))))
|
||||||
'(org-agenda-date-weekend ((t (:inherit default :weight bold))))
|
'(org-agenda-date-weekend ((t (:inherit fixed-pitch :weight bold))))
|
||||||
'(org-agenda-done ((t (:inherit default :strike-through t))))
|
'(org-agenda-done ((t (:inherit fixed-pitch :strike-through t))))
|
||||||
'(org-agenda-dimmed-todo-face ((t (:inherit default))))
|
'(org-agenda-dimmed-todo-face ((t (:inherit fixed-pitch))))
|
||||||
'(org-agenda-structure ((t (:inherit default))))
|
'(org-agenda-structure ((t (:inherit fixed-pitch))))
|
||||||
'(org-scheduled ((t (:inherit default))))
|
'(org-scheduled ((t (:inherit fixed-pitch))))
|
||||||
'(org-scheduled-today ((t (:inherit default))))
|
'(org-scheduled-today ((t (:inherit fixed-pitch))))
|
||||||
'(org-scheduled-previously ((t (:inherit default))))
|
'(org-scheduled-previously ((t (:inherit fixed-pitch))))
|
||||||
'(org-upcoming-deadline ((t (:inherit default))))
|
'(org-upcoming-deadline ((t (:inherit fixed-pitch))))
|
||||||
'(org-deadline-announce ((t (:inherit default))))
|
'(org-deadline-announce ((t (:inherit fixed-pitch))))
|
||||||
'(org-time-grid ((t (:inherit default))))))
|
'(org-time-grid ((t (:inherit fixed-pitch)))))
|
||||||
|
)
|
||||||
|
|
||||||
(defun opal/org-mode-setup ()
|
(defun opal/org-mode-setup ()
|
||||||
(org-indent-mode)
|
(org-indent-mode)
|
||||||
(visual-line-mode 1)
|
(visual-line-mode 1)
|
||||||
(variable-pitch-mode 1))
|
(mixed-pitch-mode 1))
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:commands (org-capture org-agenda)
|
:commands (org-capture org-agenda)
|
||||||
@@ -97,95 +86,71 @@
|
|||||||
(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 (directory-files-recursively "~/sync/org/agenda/" "\\.org$"))
|
(setq org-agenda-files
|
||||||
(setq org-agenda-todo-ignore-scheduled 'future)
|
'("~/documents/org/agenda/todo.org"))
|
||||||
|
|
||||||
(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 "ALRT(a)" "EASY(e)" "PROG(p)" "NEXT(n)"
|
'((sequence "NEXT(n)" "TODO(t)" "|" "DONE(d!)")
|
||||||
"TODO(t)" "WAIT(w)" "|" "DONE(d)")))
|
(sequence "ACTIVE(a)" "PROJ(p)" "READY(r)" "HOLD(h)" "BACKLOG(b)" "|" "CANC(k@)")))
|
||||||
|
|
||||||
(setq org-todo-keyword-faces
|
(setq org-todo-keyword-faces
|
||||||
'(("ALRT" . (:foreground "Red" :weight bold))
|
'(("NEXT" . "red") ("TODO" . "orange") ("WAIT" . "yellow") ("DONE" . "green")))
|
||||||
("TODO" . (:foreground "Orange" :weight bold))
|
|
||||||
("WAIT" . (:foreground "SlateBlue" :weight bold))
|
(setq org-refile-targets
|
||||||
("PROG" . (:foreground "DodgerBlue" :weight bold))
|
'(("archive.org" :maxlevel . 1)
|
||||||
("NEXT" . (:foreground "Purple" :weight bold))
|
("planner.org" :maxlevel . 1)))
|
||||||
("EASY" . (:foreground "MediumSeaGreen" :weight bold))
|
|
||||||
("DONE" . (:foreground "ForestGreen" :weight bold))))
|
;; Save Org buffers after refiling!
|
||||||
|
(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" "GTD Dashboard"
|
'(("d" "Custom Dashboard"
|
||||||
;; Begin list of blocks:
|
;; NEXT items for today
|
||||||
(
|
((tags "+TODO=\"NEXT\"+SCHEDULED=\"<+0d>\"|+DEADLINE=\"<+0d>\""
|
||||||
(tags "+TODO=\"ALRT\""
|
((org-agenda-overriding-header "\nNEXT Items for Today\n"))) ; Show NEXT items scheduled or due today
|
||||||
((org-agenda-overriding-header "🚨 Urgent / Interruptions")))
|
;; TODO items for today
|
||||||
|
(tags "+TODO=\"TODO\"+SCHEDULED=\"<+0d>\"|+DEADLINE=\"<+0d>\""
|
||||||
(tags "+TODO=\"EASY\""
|
((org-agenda-overriding-header "\nTODO Items for Today\n"))) ; Show TODO items scheduled or due today
|
||||||
((org-agenda-overriding-header "🍃 Quick Tasks")))
|
;; DONE items for today
|
||||||
|
|
||||||
(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 "✅ Recently Done")))
|
((org-agenda-overriding-header "\nDone Items for Today\n"))) ; Show DONE items closed today
|
||||||
|
;; Agenda for today
|
||||||
(agenda ""
|
(agenda ""
|
||||||
((org-agenda-span 1)
|
((org-agenda-span 1) ; Show only today
|
||||||
(org-agenda-start-day "0d")
|
(org-agenda-start-day "0d") ; Start from today
|
||||||
(org-agenda-show-all-dates t)
|
(org-agenda-show-all-dates t) ; Ensure all dates are shown
|
||||||
(org-agenda-overriding-header "📅 Today’s Schedule")))
|
(org-agenda-overriding-header "\nAgenda (Today)\n")))
|
||||||
|
;; Agenda for next 3 days (no time grid)
|
||||||
(agenda ""
|
(agenda ""
|
||||||
((org-agenda-span 3)
|
((org-agenda-span 3) ; Show the next 3 days
|
||||||
(org-agenda-start-day "+1d")
|
(org-agenda-start-day "+1d") ; Start from tomorrow
|
||||||
(org-agenda-overriding-header "📆 Next 3 Days")
|
(org-agenda-overriding-header "\nAgenda (Next 3 Days)\n")
|
||||||
(org-agenda-time-grid nil)))
|
(org-agenda-time-grid nil))))))) ; Remove time grid
|
||||||
|
|
||||||
(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 "~/Sync/org/agenda/work.org" "Inbox")
|
("tw" "Work Task" entry (file+headline "~/documents/org/agenda/todo.org" "Work")
|
||||||
"* TODO %?\n %U\n %i" :empty-lines 1)
|
"* TODO %?\n %U\n %i" :empty-lines 1)
|
||||||
("tp" "Personal Task" entry (file+headline "~/Sync/org/agenda/personal.org" "Inbox")
|
("tp" "Personal Task" entry (file+headline "~/documents/org/agenda/todo.org" "Personal")
|
||||||
"* 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 "~/Sync/org/agenda")
|
(setq org-directory "~/documents/org/")
|
||||||
(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))
|
||||||
@@ -198,25 +163,34 @@
|
|||||||
|
|
||||||
(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))
|
||||||
|
|
||||||
(use-package! ob
|
;; Load languages for babel code blocks.
|
||||||
:after org
|
(with-eval-after-load '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."
|
||||||
@@ -228,7 +202,18 @@
|
|||||||
|
|
||||||
(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)
|
||||||
|
|
||||||
|
(setq browse-url-browser-function 'browse-url-generic
|
||||||
|
browse-url-generic-program "/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community")
|
||||||
|
|
||||||
;; Elfeed
|
;; Elfeed
|
||||||
|
(defun opal/elfeed-open-in-browser ()
|
||||||
|
"Open the current Elfeed entry link in browser (LibreWolf)."
|
||||||
|
(interactive)
|
||||||
|
(let ((link (elfeed-entry-link (elfeed-search-selected :single))))
|
||||||
|
(if link
|
||||||
|
(browse-url 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)
|
||||||
@@ -237,15 +222,6 @@
|
|||||||
(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)
|
||||||
@@ -257,10 +233,11 @@
|
|||||||
(("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
|
||||||
(set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200)
|
(with-eval-after-load 'elfeed
|
||||||
;; Monospace fonts are necessary for text/column alignment in the *elfeed-search* buffer
|
(set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200)
|
||||||
(set-face-attribute 'elfeed-search-title-face nil :inherit 'fixed-pitch :height 200)
|
;; Monospace fonts are necessary for text/column alignment in the *elfeed-search* buffer
|
||||||
(set-face-attribute 'elfeed-search-feed-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 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
|
||||||
@@ -274,69 +251,42 @@
|
|||||||
|
|
||||||
;; Evil keybindings for Elfeed
|
;; Evil keybindings for Elfeed
|
||||||
(evil-define-key 'normal elfeed-search-mode-map
|
(evil-define-key 'normal elfeed-search-mode-map
|
||||||
"e" 'opal/elfeed-open-in-eww ;; Open link in eww
|
"f" 'opal/elfeed-open-in-browser ;; Open link in Browser
|
||||||
"o" 'opal/elfeed-open-in-librewolf ;; Open link in eww
|
"e" 'opal/elfeed-open-in-eww ;; 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
|
||||||
|
|
||||||
(use-package elfeed-org
|
(setq create-lockfiles nil)
|
||||||
:ensure t
|
|
||||||
:config
|
;; Make sure eww opens in it's own buffer
|
||||||
(setq rmh-elfeed-org-files '("~/Sync/org/elfeed/feeds.org")))
|
(after! eww
|
||||||
|
(set-popup-rule! "^\\*eww\\*" :ignore t))
|
||||||
|
|
||||||
(after! osm
|
(after! osm
|
||||||
(set-popup-rule! "^\\*osm\\*" :ignore t))
|
(set-popup-rule! "^\\*osm\\*" :ignore t))
|
||||||
|
|
||||||
;; eww
|
;; eww
|
||||||
;; extra frontends to use:
|
(defun opal/eww-reddit-redirect(url)
|
||||||
;; https://eddrit.com
|
"Redirect reddit.com to custom URL."
|
||||||
;; https://eu.safereddit.com
|
(replace-regexp-in-string "https://www.reddit.com" "https://eddrit.com" url))
|
||||||
;; 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))
|
|
||||||
|
|
||||||
(defun opal/eww-x-redirect (url)
|
(use-package eww
|
||||||
"Redirect x.com (with or without www) to a privacy frontend."
|
:config
|
||||||
(replace-regexp-in-string "^https://\\(www\\.\\)?x\\.com" "https://xcancel.com" url))
|
(setq browse-url-browser-function 'eww-browse-url)
|
||||||
|
|
||||||
(defun opal/eww-twitter-redirect (url)
|
;; Set eww webpage title in the modeline bar instead of just *eww*
|
||||||
"Redirect twitter.com (with or without www) to a privacy frontend."
|
(setq eww-auto-rename-buffer 'title)
|
||||||
(replace-regexp-in-string "^https://\\(www\\.\\)?twitter\\.com" "https://xcancel.com" url))
|
|
||||||
|
|
||||||
(global-set-key (kbd "C-c w") #'eww)
|
;; Set privacy respecting proxies
|
||||||
(global-set-key (kbd "C-c f") #'elfeed-goodies/show-link-hint)
|
(setq reddit-proxy "https://eddrit.com")
|
||||||
|
|
||||||
(defun +opal--eww-fix-fonts-h ()
|
;; Redirect reddit links to privacy respecting frontends.
|
||||||
"Fix fonts, wrapping, and scaling for EWW buffers."
|
(setq eww-url-transformers '(eww-remove-tracking opal/eww-reddit-redirect))
|
||||||
(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.
|
||||||
@@ -350,70 +300,20 @@
|
|||||||
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 and layout for nov.el."
|
"Configure fonts for nov.el."
|
||||||
(variable-pitch-mode 1)
|
(variable-pitch-mode 1) ; Enable variable-pitch-mode
|
||||||
(visual-line-mode 1)
|
(visual-line-mode 1) ; Enable line wrapping at word boundaries
|
||||||
(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))
|
||||||
|
|
||||||
(use-package! nov
|
(add-hook 'nov-mode-hook 'opal/nov-mode-setup)
|
||||||
:mode ("\\.epub\\'" . nov-mode)
|
|
||||||
:hook (nov-mode . opal/nov-mode-setup))
|
(add-to-list 'auto-mode-alist '("\\.epub\\'" . nov-mode))
|
||||||
|
|
||||||
(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,28 +7,14 @@
|
|||||||
["#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
|
||||||
'("02d422e5b99f54bd4516d4157060b874d14552fe613ea7047c4a5cfa1288cf4f"
|
'("b00cb300c114f3b971370c9ef9b6b8a347fa02b1af2aa4c02dab47eaa0ad930b" "d6d4e0512dcaae663f7bd304557d6bc8b78c576be5af9c0b62b8447fb79b5fde" "13096a9a6e75c7330c1bc500f30a8f4407bd618431c94aeab55c9855731a95e1" "48042425e84cd92184837e01d0b4fe9f912d875c43021c3bcb7eeb51f1be5710" "c5878086e65614424a84ad5c758b07e9edcf4c513e08a1c5b1533f313d1b17f1" "10e5d4cc0f67ed5cafac0f4252093d2119ee8b8cb449e7053273453c1a1eb7cc" "ffafb0e9f63935183713b204c11d22225008559fa62133a69848835f4f4a758c" "7964b513f8a2bb14803e717e0ac0123f100fb92160dcf4a467f530868ebaae3e" "f053f92735d6d238461da8512b9c071a5ce3b9d972501f7a5e6682a90bf29725" "944d52450c57b7cbba08f9b3d08095eb7a5541b0ecfb3a0a9ecd4a18f3c28948" "dad40020beea412623b04507a4c185079bff4dcea20a93d8f8451acb6afc8358" "a0415d8fc6aeec455376f0cbcc1bee5f8c408295d1c2b9a1336db6947b89dd98" "a9a67b318b7417adbedaab02f05fa679973e9718d9d26075c6235b1f0db703c8" "1704976a1797342a1b4ea7a75bdbb3be1569f4619134341bd5a4c1cfb16abad4" "b5803dfb0e4b6b71f309606587dd88651efe0972a5be16ece6a958b197caeed8" default))
|
||||||
"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") . 0) (("#2b3d48" "#46D9FF" "brightcyan") . 20)))
|
((("#333a38" "#99bb66" "green")
|
||||||
|
. 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"))
|
||||||
@@ -39,12 +25,25 @@
|
|||||||
["#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 (cons 20 "#98be65") (cons 40 "#b4be6c") (cons 60 "#d0be73")
|
(list
|
||||||
(cons 80 "#ECBE7B") (cons 100 "#e6ab6a") (cons 120 "#e09859")
|
(cons 20 "#98be65")
|
||||||
(cons 140 "#da8548") (cons 160 "#d38079") (cons 180 "#cc7cab")
|
(cons 40 "#b4be6c")
|
||||||
(cons 200 "#c678dd") (cons 220 "#d974b7") (cons 240 "#ec7091")
|
(cons 60 "#d0be73")
|
||||||
(cons 260 "#ff6c6b") (cons 280 "#cf6162") (cons 300 "#9f585a")
|
(cons 80 "#ECBE7B")
|
||||||
(cons 320 "#6f4e52") (cons 340 "#5B6268") (cons 360 "#5B6268")))
|
(cons 100 "#e6ab6a")
|
||||||
|
(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
|
||||||
@@ -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,13 +1,15 @@
|
|||||||
;; 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! google-translate)
|
(package! osm)
|
||||||
|
|
||||||
;; Remove
|
;; Remove
|
||||||
(package! dirvish :disable t)
|
(package! dirvish :disable t)
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 27 KiB |
@@ -1,4 +1,5 @@
|
|||||||
[global]
|
[global]
|
||||||
|
geometry = "300x50-10+50"
|
||||||
monitor = 0
|
monitor = 0
|
||||||
follow = keyboard
|
follow = keyboard
|
||||||
indicate_hidden = yes
|
indicate_hidden = yes
|
||||||
@@ -23,7 +24,7 @@ show_indicators = no
|
|||||||
icon_position = off
|
icon_position = off
|
||||||
sticky_history = yes
|
sticky_history = yes
|
||||||
history_length = 20
|
history_length = 20
|
||||||
browser = /usr/bin/icecat -new-tab
|
browser = /usr/bin/abrowser -new-tab
|
||||||
always_run_script = true
|
always_run_script = true
|
||||||
title = Dunst
|
title = Dunst
|
||||||
class = Dunst
|
class = Dunst
|
||||||
|
|||||||
@@ -0,0 +1,254 @@
|
|||||||
|
# -*- conf -*-
|
||||||
|
|
||||||
|
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
|
||||||
|
#term=xterm-256color (or xterm-256color if built with -Dterminfo=disabled)
|
||||||
|
|
||||||
|
# app-id=foot # globally set wayland app-id. Default values are "foot" and "footclient" for desktop and server mode
|
||||||
|
# title=foot
|
||||||
|
# locked-title=no
|
||||||
|
|
||||||
|
font=Monospace:size=11
|
||||||
|
# font-bold=<bold variant of regular font>
|
||||||
|
# font-italic=<italic variant of regular font>
|
||||||
|
# font-bold-italic=<bold+italic variant of regular font>
|
||||||
|
# font-size-adjustment=0.5
|
||||||
|
# line-height=<font metrics>
|
||||||
|
# letter-spacing=0
|
||||||
|
# horizontal-letter-offset=0
|
||||||
|
# vertical-letter-offset=0
|
||||||
|
# underline-offset=<font metrics>
|
||||||
|
# underline-thickness=<font underline thickness>
|
||||||
|
# strikeout-thickness=<font strikeout thickness>
|
||||||
|
# box-drawings-uses-font-glyphs=no
|
||||||
|
# dpi-aware=no
|
||||||
|
|
||||||
|
# initial-window-size-pixels=700x500 # Or,
|
||||||
|
# initial-window-size-chars=<COLSxROWS>
|
||||||
|
# initial-window-mode=windowed
|
||||||
|
# pad=0x0 # optionally append 'center'
|
||||||
|
# resize-by-cells=yes
|
||||||
|
# resize-keep-grid=yes
|
||||||
|
# resize-delay-ms=100
|
||||||
|
|
||||||
|
# bold-text-in-bright=no
|
||||||
|
# word-delimiters=,│`|:"'()[]{}<>
|
||||||
|
# selection-target=primary
|
||||||
|
# workers=<number of logical CPUs>
|
||||||
|
# utmp-helper=/usr/lib/utempter/utempter # When utmp backend is ‘libutempter’ (Linux)
|
||||||
|
# utmp-helper=/usr/libexec/ulog-helper # When utmp backend is ‘ulog’ (FreeBSD)
|
||||||
|
|
||||||
|
[bell]
|
||||||
|
# urgent=no
|
||||||
|
# notify=no
|
||||||
|
# visual=no
|
||||||
|
# command=
|
||||||
|
# command-focused=no
|
||||||
|
|
||||||
|
[scrollback]
|
||||||
|
lines=1000
|
||||||
|
# multiplier=3.0
|
||||||
|
# indicator-position=relative
|
||||||
|
# indicator-format=""
|
||||||
|
|
||||||
|
[url]
|
||||||
|
# launch=xdg-open ${url}
|
||||||
|
# label-letters=sadfjklewcmpgh
|
||||||
|
# osc8-underline=url-mode
|
||||||
|
# protocols=http, https, ftp, ftps, file, gemini, gopher
|
||||||
|
# uri-characters=abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_.,~:;/?#@!$&%*+="'()[]
|
||||||
|
|
||||||
|
[cursor]
|
||||||
|
# style=block
|
||||||
|
# color=<inverse foreground/background>
|
||||||
|
# blink=no
|
||||||
|
# blink-rate=500
|
||||||
|
# beam-thickness=1.5
|
||||||
|
# underline-thickness=<font underline thickness>
|
||||||
|
|
||||||
|
[mouse]
|
||||||
|
# hide-when-typing=no
|
||||||
|
# alternate-scroll-mode=yes
|
||||||
|
|
||||||
|
|
||||||
|
[colors]
|
||||||
|
|
||||||
|
# Background and Foreground
|
||||||
|
background=E8D8B0 # Match Gruvbox light background
|
||||||
|
foreground=3c3836 # Match Gruvbox light foreground
|
||||||
|
|
||||||
|
## Normal/regular colors (color palette 0-7)
|
||||||
|
regular0=fbf1c7 # black
|
||||||
|
regular1=cc241d # red
|
||||||
|
regular2=98971a # green
|
||||||
|
regular3=d79921 # yellow
|
||||||
|
regular4=458588 # blue
|
||||||
|
regular5=7c6f64 # magenta (desaturated brownish-gray)
|
||||||
|
regular6=689d6a # cyan
|
||||||
|
regular7=7c6f64 # white
|
||||||
|
|
||||||
|
## Bright colors (color palette 8-15)
|
||||||
|
bright0=928374 # bright black
|
||||||
|
bright1=9d0006 # bright red
|
||||||
|
bright2=79740e # bright green
|
||||||
|
bright3=b57614 # bright yellow
|
||||||
|
bright4=076678 # bright blue
|
||||||
|
bright5=7c6f64 # bright magenta (neutral/desaturated tone)
|
||||||
|
bright6=427b58 # bright cyan
|
||||||
|
bright7=3c3836 # bright white
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# alpha=1.0
|
||||||
|
# background=242424
|
||||||
|
# foreground=ffffff
|
||||||
|
# flash=7f7f00
|
||||||
|
# flash-alpha=0.5
|
||||||
|
|
||||||
|
## Normal/regular colors (color palette 0-7)
|
||||||
|
# regular0=242424 # black
|
||||||
|
# regular1=f62b5a # red
|
||||||
|
# regular2=47b413 # green
|
||||||
|
# regular3=e3c401 # yellow
|
||||||
|
# regular4=24acd4 # blue
|
||||||
|
# regular5=f2affd # magenta
|
||||||
|
# regular6=13c299 # cyan
|
||||||
|
# regular7=e6e6e6 # white
|
||||||
|
|
||||||
|
## Bright colors (color palette 8-15)
|
||||||
|
# bright0=616161 # bright black
|
||||||
|
# bright1=ff4d51 # bright red
|
||||||
|
# bright2=35d450 # bright green
|
||||||
|
# bright3=e9e836 # bright yellow
|
||||||
|
# bright4=5dc5f8 # bright blue
|
||||||
|
# bright5=feabf2 # bright magenta
|
||||||
|
# bright6=24dfc4 # bright cyan
|
||||||
|
# bright7=ffffff # bright white
|
||||||
|
|
||||||
|
## dimmed colors (see foot.ini(5) man page)
|
||||||
|
# dim0=<not set>
|
||||||
|
# ...
|
||||||
|
# dim7=<not-set>
|
||||||
|
|
||||||
|
## The remaining 256-color palette
|
||||||
|
# 16 = <256-color palette #16>
|
||||||
|
# ...
|
||||||
|
# 255 = <256-color palette #255>
|
||||||
|
|
||||||
|
## Misc colors
|
||||||
|
# selection-foreground=<inverse foreground/background>
|
||||||
|
# selection-background=<inverse foreground/background>
|
||||||
|
# jump-labels=<regular0> <regular3> # black-on-yellow
|
||||||
|
# scrollback-indicator=<regular0> <bright4> # black-on-bright-blue
|
||||||
|
# search-box-no-match=<regular0> <regular1> # black-on-red
|
||||||
|
# search-box-match=<regular0> <regular3> # black-on-yellow
|
||||||
|
# urls=<regular3>
|
||||||
|
|
||||||
|
[csd]
|
||||||
|
# preferred=server
|
||||||
|
# size=26
|
||||||
|
# font=<primary font>
|
||||||
|
# color=<foreground color>
|
||||||
|
# hide-when-maximized=no
|
||||||
|
# double-click-to-maximize=yes
|
||||||
|
# border-width=0
|
||||||
|
# border-color=<csd.color>
|
||||||
|
# button-width=26
|
||||||
|
# button-color=<background color>
|
||||||
|
# button-minimize-color=<regular4>
|
||||||
|
# button-maximize-color=<regular2>
|
||||||
|
# button-close-color=<regular1>
|
||||||
|
|
||||||
|
[key-bindings]
|
||||||
|
# scrollback-up-page=Shift+Page_Up
|
||||||
|
# scrollback-up-half-page=none
|
||||||
|
# scrollback-up-line=none
|
||||||
|
# scrollback-down-page=Shift+Page_Down
|
||||||
|
# scrollback-down-half-page=none
|
||||||
|
# scrollback-down-line=none
|
||||||
|
# scrollback-home=none
|
||||||
|
# scrollback-end=none
|
||||||
|
# clipboard-copy=Control+Shift+c XF86Copy
|
||||||
|
# clipboard-paste=Control+Shift+v XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# search-start=Control+Shift+r
|
||||||
|
# font-increase=Control+plus Control+equal Control+KP_Add
|
||||||
|
# font-decrease=Control+minus Control+KP_Subtract
|
||||||
|
# font-reset=Control+0 Control+KP_0
|
||||||
|
# spawn-terminal=Control+Shift+n
|
||||||
|
# minimize=none
|
||||||
|
# maximize=none
|
||||||
|
# fullscreen=none
|
||||||
|
# pipe-visible=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-scrollback=[sh -c "xurls | fuzzel | xargs -r firefox"] none
|
||||||
|
# pipe-selected=[xargs -r firefox] none
|
||||||
|
# pipe-command-output=[wl-copy] none # Copy last command's output to the clipboard
|
||||||
|
# show-urls-launch=Control+Shift+o
|
||||||
|
# show-urls-copy=none
|
||||||
|
# show-urls-persistent=none
|
||||||
|
# prompt-prev=Control+Shift+z
|
||||||
|
# prompt-next=Control+Shift+x
|
||||||
|
# unicode-input=Control+Shift+u
|
||||||
|
# noop=none
|
||||||
|
|
||||||
|
[search-bindings]
|
||||||
|
# cancel=Control+g Control+c Escape
|
||||||
|
# commit=Return
|
||||||
|
# find-prev=Control+r
|
||||||
|
# find-next=Control+s
|
||||||
|
# cursor-left=Left Control+b
|
||||||
|
# cursor-left-word=Control+Left Mod1+b
|
||||||
|
# cursor-right=Right Control+f
|
||||||
|
# cursor-right-word=Control+Right Mod1+f
|
||||||
|
# cursor-home=Home Control+a
|
||||||
|
# cursor-end=End Control+e
|
||||||
|
# delete-prev=BackSpace
|
||||||
|
# delete-prev-word=Mod1+BackSpace Control+BackSpace
|
||||||
|
# delete-next=Delete
|
||||||
|
# delete-next-word=Mod1+d Control+Delete
|
||||||
|
# extend-char=Shift+Right
|
||||||
|
# extend-to-word-boundary=Control+w Control+Shift+Right
|
||||||
|
# extend-to-next-whitespace=Control+Shift+w
|
||||||
|
# extend-line-down=Shift+Down
|
||||||
|
# extend-backward-char=Shift+Left
|
||||||
|
# extend-backward-to-word-boundary=Control+Shift+Left
|
||||||
|
# extend-backward-to-next-whitespace=none
|
||||||
|
# extend-line-up=Shift+Up
|
||||||
|
# clipboard-paste=Control+v Control+Shift+v Control+y XF86Paste
|
||||||
|
# primary-paste=Shift+Insert
|
||||||
|
# unicode-input=none
|
||||||
|
# quit=none
|
||||||
|
# scrollback-up-page=Shift+Page_Up
|
||||||
|
# scrollback-up-half-page=none
|
||||||
|
# scrollback-up-line=none
|
||||||
|
# scrollback-down-page=Shift+Page_Down
|
||||||
|
# scrollback-down-half-page=none
|
||||||
|
# scrollback-down-line=none
|
||||||
|
# scrollback-home=none
|
||||||
|
# scrollback-end=none
|
||||||
|
|
||||||
|
[url-bindings]
|
||||||
|
# cancel=Control+g Control+c Control+d Escape
|
||||||
|
# toggle-url-visible=t
|
||||||
|
|
||||||
|
|
||||||
|
[mouse-bindings]
|
||||||
|
# scrollback-up-mouse=BTN_WHEEL_BACK
|
||||||
|
# scrollback-down-mouse=BTN_WHEEL_FORWARD
|
||||||
|
# font-increase=Control+BTN_WHEEL_BACK
|
||||||
|
# font-decrease=Control+BTN_WHEEL_FORWARD
|
||||||
|
# selection-override-modifiers=Shift
|
||||||
|
# primary-paste=BTN_MIDDLE
|
||||||
|
# select-begin=BTN_LEFT
|
||||||
|
# select-begin-block=Control+BTN_LEFT
|
||||||
|
# select-extend=BTN_RIGHT
|
||||||
|
# select-extend-character-wise=Control+BTN_RIGHT
|
||||||
|
# select-word=BTN_LEFT-2
|
||||||
|
# select-word-whitespace=Control+BTN_LEFT-2
|
||||||
|
# select-quote = BTN_LEFT-3
|
||||||
|
# select-row=BTN_LEFT-4
|
||||||
|
|
||||||
|
# vim: ft=dosini
|
||||||
|
|
||||||
|
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
[Added Associations]
|
||||||
|
video/mp4=mpv.desktop;
|
||||||
|
video/quicktime=mpv.desktop;
|
||||||
|
|
||||||
|
[Default Applications]
|
||||||
|
inode/directory=thunar
|
||||||
|
video/mp4=mpv.desktop;
|
||||||
|
video/quicktime=mpv.desktop
|
||||||
|
|
||||||
|
text/html=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
application/xhtml+xml=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
application/xml=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
text/xml=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
text/xsl=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
application/rss+xml=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
application/atom+xml=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
x-scheme-handler/http=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
x-scheme-handler/https=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
x-scheme-handler/ftp=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
x-scheme-handler/chrome=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
x-scheme-handler/about=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
|
x-scheme-handler/mailto=/var/lib/flatpak/exports/bin/io.gitlab.librewolf-community
|
||||||
@@ -1,39 +1,16 @@
|
|||||||
"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 "Fall of Civilziation"
|
http://feeds.soundcloud.com/users/soundcloud:users:572119410/sounds.rss podcasts "Fall of Civilziation"
|
||||||
https://feeds.feedburner.com/dancarlin/history?format=xml "Hardcore History"
|
https://feeds.feedburner.com/dancarlin/history?format=xml podcasts "Hardcore History"
|
||||||
|
|
||||||
---Youtube---
|
|
||||||
https://www.youtube.com/feeds/videos.xml?channel_id=UCCZ40QwZtFs_7h5MZ0ZTTwg # Lefie
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,624 +0,0 @@
|
|||||||
// 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 "HDMI-A-2" {
|
|
||||||
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.02+ -l 1.0"; }
|
|
||||||
XF86AudioLowerVolume allow-when-locked=true { spawn-sh "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"; }
|
|
||||||
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,20 +1,53 @@
|
|||||||
-- ~/.config/nvim/init.lua
|
require("config.lazy")
|
||||||
vim.o.number = true
|
|
||||||
vim.o.relativenumber = true
|
vim.opt.title = true
|
||||||
vim.o.clipboard = "unnamedplus"
|
vim.opt.background = 'dark'
|
||||||
vim.cmd('colorscheme default')
|
vim.opt.guicursor = ''
|
||||||
|
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.o.background = 'dark'
|
vim.opt.encoding = 'utf-8'
|
||||||
|
vim.opt.number = true
|
||||||
|
vim.opt.relativenumber = true
|
||||||
|
|
||||||
vim.cmd [[highlight Normal guibg=NONE ctermbg=NONE]]
|
-- Enable autocompletion:
|
||||||
vim.cmd [[highlight NormalNC guibg=NONE ctermbg=NONE]]
|
vim.opt.wildmode = { 'longest', 'list', 'full' }
|
||||||
vim.cmd [[highlight EndOfBuffer guibg=NONE ctermbg=NONE]]
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("BufRead", {
|
-- Disables automatic commenting on newline:
|
||||||
pattern = "*",
|
vim.api.nvim_exec([[
|
||||||
callback = function()
|
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||||
if vim.fn.getline(1):match("^#!.*/python") then
|
]], false)
|
||||||
vim.bo.filetype = "python"
|
|
||||||
end
|
-- Perform dot commands over visual blocks:
|
||||||
end
|
vim.api.nvim_set_keymap('v', '.', ':normal .<CR>', { noremap = true })
|
||||||
})
|
|
||||||
|
-- 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
|
||||||
|
|||||||
@@ -25,7 +25,23 @@ vim.g.maplocalleader = "\\"
|
|||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
-- import your plugins
|
-- import your plugins
|
||||||
{ "nxstynate/solarizedDark.nvim", priority = 1000 },
|
-- add the Gruvbox plugin
|
||||||
|
{
|
||||||
|
"ellisonleao/gruvbox.nvim",
|
||||||
|
priority = 1000,
|
||||||
|
config = function()
|
||||||
|
require("gruvbox").setup({
|
||||||
|
contrast = "hard", -- can be "soft", "medium" or "hard"
|
||||||
|
palette_overrides = {
|
||||||
|
bright_green = "#a9b665",
|
||||||
|
},
|
||||||
|
overrides = {
|
||||||
|
SignColumn = { bg = "#1e2021" },
|
||||||
|
},
|
||||||
|
transparent_mode = true,
|
||||||
|
})
|
||||||
|
end
|
||||||
|
},
|
||||||
},
|
},
|
||||||
-- Configure any other settings here. See the documentation for more details.
|
-- Configure any other settings here. See the documentation for more details.
|
||||||
-- colorscheme that will be used when installing plugins.
|
-- colorscheme that will be used when installing plugins.
|
||||||
@@ -1,91 +0,0 @@
|
|||||||
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
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,102 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Run Applications as Root
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Applications'
|
|
||||||
mesg='Run Applications as Root'
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Alacritty"
|
|
||||||
option_2=" Thunar"
|
|
||||||
option_3=" Geany"
|
|
||||||
option_4=" Ranger"
|
|
||||||
option_5=" Vim"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
${polkit_cmd} alacritty
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
${polkit_cmd} dbus-run-session thunar
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
${polkit_cmd} geany
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e ranger
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e vim
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,104 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Favorite Applications
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Applications'
|
|
||||||
mesg="Installed Packages : `pacman -Q | wc -l` (pacman)"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# CMDs (add your apps here)
|
|
||||||
term_cmd='alacritty'
|
|
||||||
file_cmd='thunar'
|
|
||||||
text_cmd='geany'
|
|
||||||
web_cmd='firefox'
|
|
||||||
music_cmd='alacritty -e ncmpcpp'
|
|
||||||
setting_cmd='xfce4-settings-manager'
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Terminal <span weight='light' size='small'><i>($term_cmd)</i></span>"
|
|
||||||
option_2=" Files <span weight='light' size='small'><i>($file_cmd)</i></span>"
|
|
||||||
option_3=" Editor <span weight='light' size='small'><i>($text_cmd)</i></span>"
|
|
||||||
option_4=" Browser <span weight='light' size='small'><i>($web_cmd)</i></span>"
|
|
||||||
option_5=" Music <span weight='light' size='small'><i>($music_cmd)</i></span>"
|
|
||||||
option_6=" Settings <span weight='light' size='small'><i>($setting_cmd)</i></span>"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
${term_cmd}
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
${file_cmd}
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
${text_cmd}
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${web_cmd}
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
${music_cmd}
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
${setting_cmd}
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,134 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Battery
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Battery Info
|
|
||||||
battery="`acpi -b | cut -d',' -f1 | cut -d':' -f1`"
|
|
||||||
status="`acpi -b | cut -d',' -f1 | cut -d':' -f2 | tr -d ' '`"
|
|
||||||
percentage="`acpi -b | cut -d',' -f2 | tr -d ' ',\%`"
|
|
||||||
time="`acpi -b | cut -d',' -f3`"
|
|
||||||
|
|
||||||
if [[ -z "$time" ]]; then
|
|
||||||
time=' Fully Charged'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="$status"
|
|
||||||
mesg="${battery}: ${percentage}%,${time}"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='500px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='4'
|
|
||||||
list_row='1'
|
|
||||||
win_width='550px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Charging Status
|
|
||||||
active=""
|
|
||||||
urgent=""
|
|
||||||
if [[ $status = *"Charging"* ]]; then
|
|
||||||
active="-a 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
elif [[ $status = *"Full"* ]]; then
|
|
||||||
active="-u 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
else
|
|
||||||
urgent="-u 1"
|
|
||||||
ICON_CHRG=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Discharging
|
|
||||||
if [[ $percentage -ge 5 ]] && [[ $percentage -le 19 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 20 ]] && [[ $percentage -le 39 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 40 ]] && [[ $percentage -le 59 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 60 ]] && [[ $percentage -le 79 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
elif [[ $percentage -ge 80 ]] && [[ $percentage -le 100 ]]; then
|
|
||||||
ICON_DISCHRG=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Remaining ${percentage}%"
|
|
||||||
option_2=" $status"
|
|
||||||
option_3=" Power Manager"
|
|
||||||
option_4=" Diagnose"
|
|
||||||
else
|
|
||||||
option_1="$ICON_DISCHRG"
|
|
||||||
option_2="$ICON_CHRG"
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str "textbox-prompt-colon {str: \"$ICON_DISCHRG\";}" \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
notify-send -u low " Remaining : ${percentage}%"
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
notify-send -u low "$ICON_CHRG Status : $status"
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
xfce4-power-manager-settings
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
${polkit_cmd} alacritty -e powertop
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,107 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Brightness
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Brightness Info
|
|
||||||
backlight="$(printf "%.0f\n" `light -G`)"
|
|
||||||
card="`light -L | grep 'backlight' | head -n1 | cut -d'/' -f3`"
|
|
||||||
|
|
||||||
if [[ $backlight -ge 0 ]] && [[ $backlight -le 29 ]]; then
|
|
||||||
level="Low"
|
|
||||||
elif [[ $backlight -ge 30 ]] && [[ $backlight -le 49 ]]; then
|
|
||||||
level="Optimal"
|
|
||||||
elif [[ $backlight -ge 50 ]] && [[ $backlight -le 69 ]]; then
|
|
||||||
level="High"
|
|
||||||
elif [[ $backlight -ge 70 ]] && [[ $backlight -le 100 ]]; then
|
|
||||||
level="Peak"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="${backlight}%"
|
|
||||||
mesg="Device: ${card}, Level: $level"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='4'
|
|
||||||
win_width='425px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='4'
|
|
||||||
list_row='1'
|
|
||||||
win_width='550px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Increase"
|
|
||||||
option_2=" Optimal"
|
|
||||||
option_3=" Decrease"
|
|
||||||
option_4=" Settings"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
light -A 5
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
light -S 25
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
light -U 5
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
xfce4-power-manager-settings
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,131 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : MPD (music)
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
status="`mpc status`"
|
|
||||||
if [[ -z "$status" ]]; then
|
|
||||||
prompt='Offline'
|
|
||||||
mesg="MPD is Offline"
|
|
||||||
else
|
|
||||||
prompt="`mpc -f "%artist%" current`"
|
|
||||||
mesg="`mpc -f "%title%" current` :: `mpc status | grep "#" | awk '{print $3}'`"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
if [[ ${status} == *"[playing]"* ]]; then
|
|
||||||
option_1=" Pause"
|
|
||||||
else
|
|
||||||
option_1=" Play"
|
|
||||||
fi
|
|
||||||
option_2=" Stop"
|
|
||||||
option_3=" Previous"
|
|
||||||
option_4=" Next"
|
|
||||||
option_5=" Repeat"
|
|
||||||
option_6=" Random"
|
|
||||||
else
|
|
||||||
if [[ ${status} == *"[playing]"* ]]; then
|
|
||||||
option_1=""
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
fi
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Toggle Actions
|
|
||||||
active=''
|
|
||||||
urgent=''
|
|
||||||
# Repeat
|
|
||||||
if [[ ${status} == *"repeat: on"* ]]; then
|
|
||||||
active="-a 4"
|
|
||||||
elif [[ ${status} == *"repeat: off"* ]]; then
|
|
||||||
urgent="-u 4"
|
|
||||||
else
|
|
||||||
option_5=" Parsing Error"
|
|
||||||
fi
|
|
||||||
# Random
|
|
||||||
if [[ ${status} == *"random: on"* ]]; then
|
|
||||||
[ -n "$active" ] && active+=",5" || active="-a 5"
|
|
||||||
elif [[ ${status} == *"random: off"* ]]; then
|
|
||||||
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
|
|
||||||
else
|
|
||||||
option_6=" Parsing Error"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
mpc -q toggle && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
mpc -q stop
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
mpc -q prev && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
mpc -q next && notify-send -u low -t 1000 " `mpc current`"
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
mpc -q repeat
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
mpc -q random
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,129 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Power Menu
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="`hostname`"
|
|
||||||
mesg="Uptime : `uptime -p | sed -e 's/up //g'`"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Lock"
|
|
||||||
option_2=" Logout"
|
|
||||||
option_3=" Suspend"
|
|
||||||
option_4=" Hibernate"
|
|
||||||
option_5=" Reboot"
|
|
||||||
option_6=" Shutdown"
|
|
||||||
yes=' Yes'
|
|
||||||
no=' No'
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
yes=''
|
|
||||||
no=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Confirmation CMD
|
|
||||||
confirm_cmd() {
|
|
||||||
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
|
|
||||||
-theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
|
|
||||||
-theme-str 'listview {columns: 2; lines: 1;}' \
|
|
||||||
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
|
||||||
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
|
||||||
-dmenu \
|
|
||||||
-p 'Confirmation' \
|
|
||||||
-mesg 'Are you Sure?' \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Ask for confirmation
|
|
||||||
confirm_exit() {
|
|
||||||
echo -e "$yes\n$no" | confirm_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Confirm and execute
|
|
||||||
confirm_run () {
|
|
||||||
selected="$(confirm_exit)"
|
|
||||||
if [[ "$selected" == "$yes" ]]; then
|
|
||||||
${1} && ${2} && ${3}
|
|
||||||
else
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
betterlockscreen -l
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
confirm_run 'kill -9 -1'
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend'
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
confirm_run 'systemctl hibernate'
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
confirm_run 'systemctl reboot'
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
confirm_run 'systemctl poweroff'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Quick Links
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Quick Links'
|
|
||||||
mesg="Using '$BROWSER' as web browser"
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='6'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='6'
|
|
||||||
list_row='1'
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
|
||||||
efonts="JetBrains Mono Nerd Font 10"
|
|
||||||
else
|
|
||||||
efonts="JetBrains Mono Nerd Font 28"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Google"
|
|
||||||
option_2=" Gmail"
|
|
||||||
option_3=" Youtube"
|
|
||||||
option_4=" Github"
|
|
||||||
option_5=" Reddit"
|
|
||||||
option_6=" Twitter"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
option_6=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-theme-str "element-text {font: \"$efonts\";}" \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
xdg-open 'https://www.google.com/'
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
xdg-open 'https://mail.google.com/'
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
xdg-open 'https://www.youtube.com/'
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
xdg-open 'https://www.github.com/'
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
xdg-open 'https://www.reddit.com/'
|
|
||||||
elif [[ "$1" == '--opt6' ]]; then
|
|
||||||
xdg-open 'https://www.twitter.com/'
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
$option_6)
|
|
||||||
run_cmd --opt6
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Screenshot
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt='Screenshot'
|
|
||||||
mesg="DIR: `xdg-user-dir PICTURES`/Screenshots"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Capture Desktop"
|
|
||||||
option_2=" Capture Area"
|
|
||||||
option_3=" Capture Window"
|
|
||||||
option_4=" Capture in 5s"
|
|
||||||
option_5=" Capture in 10s"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2=""
|
|
||||||
option_3=""
|
|
||||||
option_4=""
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Screenshot
|
|
||||||
time=`date +%Y-%m-%d-%H-%M-%S`
|
|
||||||
geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'`
|
|
||||||
dir="`xdg-user-dir PICTURES`/Screenshots"
|
|
||||||
file="Screenshot_${time}_${geometry}.png"
|
|
||||||
|
|
||||||
if [[ ! -d "$dir" ]]; then
|
|
||||||
mkdir -p "$dir"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# notify and view screenshot
|
|
||||||
notify_view() {
|
|
||||||
notify_cmd_shot='dunstify -u low --replace=699'
|
|
||||||
${notify_cmd_shot} "Copied to clipboard."
|
|
||||||
viewnior ${dir}/"$file"
|
|
||||||
if [[ -e "$dir/$file" ]]; then
|
|
||||||
${notify_cmd_shot} "Screenshot Saved."
|
|
||||||
else
|
|
||||||
${notify_cmd_shot} "Screenshot Deleted."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Copy screenshot to clipboard
|
|
||||||
copy_shot () {
|
|
||||||
tee "$file" | xclip -selection clipboard -t image/png
|
|
||||||
}
|
|
||||||
|
|
||||||
# countdown
|
|
||||||
countdown () {
|
|
||||||
for sec in `seq $1 -1 1`; do
|
|
||||||
dunstify -t 1000 --replace=699 "Taking shot in : $sec"
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# take shots
|
|
||||||
shotnow () {
|
|
||||||
cd ${dir} && sleep 0.5 && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shot5 () {
|
|
||||||
countdown '5'
|
|
||||||
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shot10 () {
|
|
||||||
countdown '10'
|
|
||||||
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shotwin () {
|
|
||||||
cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
shotarea () {
|
|
||||||
cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | copy_shot
|
|
||||||
notify_view
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
shotnow
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
shotarea
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
shotwin
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
shot5
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
shot10
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1,134 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
## Author : Aditya Shakya (adi1090x)
|
|
||||||
## Github : @adi1090x
|
|
||||||
#
|
|
||||||
## Applets : Volume
|
|
||||||
|
|
||||||
# Import Current Theme
|
|
||||||
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
|
||||||
theme="$type/$style"
|
|
||||||
|
|
||||||
# Volume Info
|
|
||||||
mixer="`amixer info Master | grep 'Mixer name' | cut -d':' -f2 | tr -d \',' '`"
|
|
||||||
speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
|
||||||
mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
|
||||||
|
|
||||||
active=""
|
|
||||||
urgent=""
|
|
||||||
|
|
||||||
# Speaker Info
|
|
||||||
amixer get Master | grep '\[on\]' &>/dev/null
|
|
||||||
if [[ "$?" == 0 ]]; then
|
|
||||||
active="-a 1"
|
|
||||||
stext='Unmute'
|
|
||||||
sicon=''
|
|
||||||
else
|
|
||||||
urgent="-u 1"
|
|
||||||
stext='Mute'
|
|
||||||
sicon=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Microphone Info
|
|
||||||
amixer get Capture | grep '\[on\]' &>/dev/null
|
|
||||||
if [[ "$?" == 0 ]]; then
|
|
||||||
[ -n "$active" ] && active+=",3" || active="-a 3"
|
|
||||||
mtext='Unmute'
|
|
||||||
micon=''
|
|
||||||
else
|
|
||||||
[ -n "$urgent" ] && urgent+=",3" || urgent="-u 3"
|
|
||||||
mtext='Mute'
|
|
||||||
micon=''
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Theme Elements
|
|
||||||
prompt="S:$stext, M:$mtext"
|
|
||||||
mesg="$mixer - Speaker: $speaker, Mic: $mic"
|
|
||||||
|
|
||||||
if [[ "$theme" == *'type-1'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='400px'
|
|
||||||
elif [[ "$theme" == *'type-3'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='120px'
|
|
||||||
elif [[ "$theme" == *'type-5'* ]]; then
|
|
||||||
list_col='1'
|
|
||||||
list_row='5'
|
|
||||||
win_width='520px'
|
|
||||||
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
|
||||||
list_col='5'
|
|
||||||
list_row='1'
|
|
||||||
win_width='670px'
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Options
|
|
||||||
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
|
||||||
if [[ "$layout" == 'NO' ]]; then
|
|
||||||
option_1=" Increase"
|
|
||||||
option_2="$sicon $stext"
|
|
||||||
option_3=" Decrese"
|
|
||||||
option_4="$micon $mtext"
|
|
||||||
option_5=" Settings"
|
|
||||||
else
|
|
||||||
option_1=""
|
|
||||||
option_2="$sicon"
|
|
||||||
option_3=""
|
|
||||||
option_4="$micon"
|
|
||||||
option_5=""
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Rofi CMD
|
|
||||||
rofi_cmd() {
|
|
||||||
rofi -theme-str "window {width: $win_width;}" \
|
|
||||||
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
|
||||||
-theme-str 'textbox-prompt-colon {str: "";}' \
|
|
||||||
-dmenu \
|
|
||||||
-p "$prompt" \
|
|
||||||
-mesg "$mesg" \
|
|
||||||
${active} ${urgent} \
|
|
||||||
-markup-rows \
|
|
||||||
-theme ${theme}
|
|
||||||
}
|
|
||||||
|
|
||||||
# Pass variables to rofi dmenu
|
|
||||||
run_rofi() {
|
|
||||||
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
|
||||||
}
|
|
||||||
|
|
||||||
# Execute Command
|
|
||||||
run_cmd() {
|
|
||||||
if [[ "$1" == '--opt1' ]]; then
|
|
||||||
amixer -Mq set Master,0 5%+ unmute
|
|
||||||
elif [[ "$1" == '--opt2' ]]; then
|
|
||||||
amixer set Master toggle
|
|
||||||
elif [[ "$1" == '--opt3' ]]; then
|
|
||||||
amixer -Mq set Master,0 5%- unmute
|
|
||||||
elif [[ "$1" == '--opt4' ]]; then
|
|
||||||
amixer set Capture toggle
|
|
||||||
elif [[ "$1" == '--opt5' ]]; then
|
|
||||||
pavucontrol
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Actions
|
|
||||||
chosen="$(run_rofi)"
|
|
||||||
case ${chosen} in
|
|
||||||
$option_1)
|
|
||||||
run_cmd --opt1
|
|
||||||
;;
|
|
||||||
$option_2)
|
|
||||||
run_cmd --opt2
|
|
||||||
;;
|
|
||||||
$option_3)
|
|
||||||
run_cmd --opt3
|
|
||||||
;;
|
|
||||||
$option_4)
|
|
||||||
run_cmd --opt4
|
|
||||||
;;
|
|
||||||
$option_5)
|
|
||||||
run_cmd --opt5
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
@@ -1,18 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
*
|
|
||||||
* Available Colors Schemes
|
|
||||||
*
|
|
||||||
* adapta catppuccin everforest navy paper
|
|
||||||
* arc cyberpunk gruvbox nord solarized
|
|
||||||
* black dracula lovelace onedark yousai
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
/* Import color-scheme from `colors` directory */
|
|
||||||
|
|
||||||
@import "~/.config/rofi/colors/onedark.rasi"
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Fonts
|
|
||||||
*
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
## Current Theme
|
|
||||||
|
|
||||||
type="$HOME/.config/rofi/applets/type-1"
|
|
||||||
style='style-1.rasi'
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,152 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 400px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 1px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 1;
|
|
||||||
lines: 6;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 12px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 12px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,153 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
@import "../shared/colors.rasi"
|
|
||||||
@import "../shared/fonts.rasi"
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: east;
|
|
||||||
anchor: east;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 120px;
|
|
||||||
x-offset: -20px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 10px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 23px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 24";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #11092D;
|
|
||||||
background-alt: #281657;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #DF5296;
|
|
||||||
active: #6E77FF;
|
|
||||||
urgent: #8E3596;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/a.png", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #2D1B14;
|
|
||||||
background-alt: #462D23;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #E25F3E;
|
|
||||||
active: #716251;
|
|
||||||
urgent: #934A1C;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "listview", "message" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/d.png", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 10px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 10px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #131D1F;
|
|
||||||
background-alt: #183A43;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #649094;
|
|
||||||
active: #E9CC9D;
|
|
||||||
urgent: #FEA861;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=YES
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 800px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 50px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 20px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
children: [ "inputbar", "message", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 25px;
|
|
||||||
padding: 100px 50px;
|
|
||||||
border: 0px;
|
|
||||||
border-radius: 40px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/i.jpg", width);
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "textbox-prompt-colon", "dummy", "prompt"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 100%;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 30px 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
font: "feather 28";
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.5;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background-alt);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,166 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #231419;
|
|
||||||
background-alt: #2D1E23;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #426647;
|
|
||||||
active: #2E3F34;
|
|
||||||
urgent: #D08261;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/e.jpg", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 0px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
@@ -1,167 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #11092D;
|
|
||||||
background-alt: #281657;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #DF5296;
|
|
||||||
active: #6E77FF;
|
|
||||||
urgent: #8E3596;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 20px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
border-radius: 20px;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/j.jpg", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border-radius: 15px;
|
|
||||||
background-color: @urgent;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 15px;
|
|
||||||
background-color: @active;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 15px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
background-color: var(selected);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
@@ -1,176 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Rofi Theme File
|
|
||||||
* Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
/*****----- Configuration -----*****/
|
|
||||||
configuration {
|
|
||||||
show-icons: false;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Global Properties -----*****/
|
|
||||||
* {
|
|
||||||
font: "JetBrains Mono Nerd Font 10";
|
|
||||||
background: #101010;
|
|
||||||
background-alt: #252525;
|
|
||||||
foreground: #FFFFFF;
|
|
||||||
selected: #505050;
|
|
||||||
active: #909090;
|
|
||||||
urgent: #707070;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
USE_ICON=NO
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*****----- Main Window -----*****/
|
|
||||||
window {
|
|
||||||
transparency: "real";
|
|
||||||
location: center;
|
|
||||||
anchor: center;
|
|
||||||
fullscreen: false;
|
|
||||||
width: 600px;
|
|
||||||
x-offset: 0px;
|
|
||||||
y-offset: 0px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 0px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 30px;
|
|
||||||
border-color: @selected;
|
|
||||||
cursor: "default";
|
|
||||||
background-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Main Box -----*****/
|
|
||||||
mainbox {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 30px;
|
|
||||||
background-color: transparent;
|
|
||||||
orientation: horizontal;
|
|
||||||
children: [ "imagebox", "listview" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Imagebox -----*****/
|
|
||||||
imagebox {
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: url("~/.config/rofi/images/g.png", height);
|
|
||||||
children: [ "dummy", "inputbar", "dummy" ];
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Inputbar -----*****/
|
|
||||||
inputbar {
|
|
||||||
enabled: true;
|
|
||||||
spacing: 15px;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
|
||||||
}
|
|
||||||
|
|
||||||
dummy{
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
textbox-prompt-colon {
|
|
||||||
enabled: true;
|
|
||||||
expand: false;
|
|
||||||
str: "";
|
|
||||||
padding: 10px 13px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
prompt {
|
|
||||||
enabled: true;
|
|
||||||
padding: 10px;
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @foreground;
|
|
||||||
background-color: @foreground;
|
|
||||||
text-color: @background;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Message -----*****/
|
|
||||||
message {
|
|
||||||
enabled: true;
|
|
||||||
margin: 0px;
|
|
||||||
padding: 10px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 0px;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: @background-alt;
|
|
||||||
text-color: @foreground;
|
|
||||||
}
|
|
||||||
textbox {
|
|
||||||
background-color: inherit;
|
|
||||||
text-color: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Listview -----*****/
|
|
||||||
listview {
|
|
||||||
enabled: true;
|
|
||||||
columns: 6;
|
|
||||||
lines: 1;
|
|
||||||
cycle: true;
|
|
||||||
scrollbar: false;
|
|
||||||
layout: vertical;
|
|
||||||
|
|
||||||
spacing: 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
cursor: "default";
|
|
||||||
}
|
|
||||||
|
|
||||||
/*****----- Elements -----*****/
|
|
||||||
element {
|
|
||||||
enabled: true;
|
|
||||||
padding: 11px;
|
|
||||||
border: 0px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: @foreground;
|
|
||||||
cursor: pointer;
|
|
||||||
}
|
|
||||||
element-text {
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: inherit;
|
|
||||||
cursor: inherit;
|
|
||||||
vertical-align: 0.5;
|
|
||||||
horizontal-align: 0.0;
|
|
||||||
}
|
|
||||||
|
|
||||||
element normal.normal,
|
|
||||||
element alternate.normal {
|
|
||||||
background-color: var(background);
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
element normal.urgent,
|
|
||||||
element alternate.urgent,
|
|
||||||
element selected.active {
|
|
||||||
background-color: var(urgent);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element normal.active,
|
|
||||||
element alternate.active,
|
|
||||||
element selected.urgent {
|
|
||||||
background-color: var(active);
|
|
||||||
text-color: var(background);
|
|
||||||
}
|
|
||||||
element selected.normal {
|
|
||||||
border: 2px solid;
|
|
||||||
border-radius: 100%;
|
|
||||||
border-color: @selected;
|
|
||||||
background-color: transparent;
|
|
||||||
text-color: var(foreground);
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #222D32FF;
|
|
||||||
background-alt: #29353BFF;
|
|
||||||
foreground: #B8C2C6FF;
|
|
||||||
selected: #00BCD4FF;
|
|
||||||
active: #21FF90FF;
|
|
||||||
urgent: #FF4B60FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2F343FFF;
|
|
||||||
background-alt: #383C4AFF;
|
|
||||||
foreground: #BAC5D0FF;
|
|
||||||
selected: #5294E2FF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000000FF;
|
|
||||||
background-alt: #101010FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #62AEEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06B74FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E1D2FFF;
|
|
||||||
background-alt: #282839FF;
|
|
||||||
foreground: #D9E0EEFF;
|
|
||||||
selected: #7AA2F7FF;
|
|
||||||
active: #ABE9B3FF;
|
|
||||||
urgent: #F28FADFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #000B1EFF;
|
|
||||||
background-alt: #0A1528FF;
|
|
||||||
foreground: #0ABDC6FF;
|
|
||||||
selected: #0ABDC6FF;
|
|
||||||
active: #00FF00FF;
|
|
||||||
urgent: #FF0000FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E1F29FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #BD93F9FF;
|
|
||||||
active: #50FA7BFF;
|
|
||||||
urgent: #FF5555FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #323D43FF;
|
|
||||||
background-alt: #3C474DFF;
|
|
||||||
foreground: #DAD1BEFF;
|
|
||||||
selected: #7FBBB3FF;
|
|
||||||
active: #A7C080FF;
|
|
||||||
urgent: #E67E80FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #282828FF;
|
|
||||||
background-alt: #353535FF;
|
|
||||||
foreground: #EBDBB2FF;
|
|
||||||
selected: #83A598FF;
|
|
||||||
active: #B8BB26FF;
|
|
||||||
urgent: #FB4934FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1D1F28FF;
|
|
||||||
background-alt: #282A36FF;
|
|
||||||
foreground: #FDFDFDFF;
|
|
||||||
selected: #79E6F3FF;
|
|
||||||
active: #5ADECDFF;
|
|
||||||
urgent: #F37F97FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #021B21FF;
|
|
||||||
background-alt: #0C252BFF;
|
|
||||||
foreground: #F2F1B9FF;
|
|
||||||
selected: #44B5B1FF;
|
|
||||||
active: #7CBF9EFF;
|
|
||||||
urgent: #C2454EFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #2E3440FF;
|
|
||||||
background-alt: #383E4AFF;
|
|
||||||
foreground: #E5E9F0FF;
|
|
||||||
selected: #81A1C1FF;
|
|
||||||
active: #A3BE8CFF;
|
|
||||||
urgent: #BF616AFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #1E2127FF;
|
|
||||||
background-alt: #282B31FF;
|
|
||||||
foreground: #FFFFFFFF;
|
|
||||||
selected: #61AFEFFF;
|
|
||||||
active: #98C379FF;
|
|
||||||
urgent: #E06C75FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F1F1F1FF;
|
|
||||||
background-alt: #E0E0E0FF;
|
|
||||||
foreground: #252525FF;
|
|
||||||
selected: #008EC4FF;
|
|
||||||
active: #10A778FF;
|
|
||||||
urgent: #C30771FF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #002B36FF;
|
|
||||||
background-alt: #073642FF;
|
|
||||||
foreground: #EEE8D5FF;
|
|
||||||
selected: #268BD2FF;
|
|
||||||
active: #859900FF;
|
|
||||||
urgent: #DC322FFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Levi Lacoss (fishyfishfish55)
|
|
||||||
* Github : @fishyfishfish55
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #15161EFF;
|
|
||||||
background-alt: #1A1B26FF;
|
|
||||||
foreground: #C0CAF5FF;
|
|
||||||
selected: #33467CFF;
|
|
||||||
active: #414868FF;
|
|
||||||
urgent: #F7768EFF;
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
/**
|
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Colors
|
|
||||||
**/
|
|
||||||
|
|
||||||
* {
|
|
||||||
background: #F5E7DEFF;
|
|
||||||
background-alt: #EBDCD2FF;
|
|
||||||
foreground: #34302DFF;
|
|
||||||
selected: #D97742FF;
|
|
||||||
active: #BF8F60FF;
|
|
||||||
urgent: #B23636FF;
|
|
||||||
}
|
|
||||||
@@ -1,181 +1,152 @@
|
|||||||
/**
|
// Config //
|
||||||
*
|
|
||||||
* Author : Aditya Shakya (adi1090x)
|
|
||||||
* Github : @adi1090x
|
|
||||||
*
|
|
||||||
* Configuration For Rofi Version: 1.7.3
|
|
||||||
**/
|
|
||||||
|
|
||||||
configuration {
|
configuration {
|
||||||
/*---------- General setting ----------*/
|
modi: "drun,filebrowser,window";
|
||||||
modi: "drun,run,filebrowser,window";
|
show-icons: true;
|
||||||
case-sensitive: false;
|
display-drun: "";
|
||||||
cycle: true;
|
display-run: "";
|
||||||
filter: "";
|
display-filebrowser: "";
|
||||||
scroll-method: 0;
|
display-window: "";
|
||||||
normalize-match: true;
|
drun-display-format: "{name}";
|
||||||
show-icons: true;
|
window-format: "{w}{t}";
|
||||||
icon-theme: "Papirus";
|
font: "Hack Font 10";
|
||||||
/* cache-dir: ;*/
|
icon-theme: "Papirus";
|
||||||
steal-focus: false;
|
}
|
||||||
/* dpi: -1;*/
|
|
||||||
|
@theme "~/.config/rofi/graphite-mono.rasi"
|
||||||
/*---------- Matching setting ----------*/
|
|
||||||
matching: "normal";
|
|
||||||
tokenize: true;
|
// Main //
|
||||||
|
window {
|
||||||
/*---------- SSH settings ----------*/
|
height: 200px;
|
||||||
ssh-client: "ssh";
|
width: 600px;
|
||||||
ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";
|
transparency: "real";
|
||||||
parse-hosts: true;
|
fullscreen: false;
|
||||||
parse-known-hosts: true;
|
enabled: true;
|
||||||
|
cursor: "default";
|
||||||
/*---------- Drun settings ----------*/
|
spacing: 0px;
|
||||||
drun-categories: "";
|
padding: 0px;
|
||||||
drun-match-fields: "name,generic,exec,categories,keywords";
|
border: 2px;
|
||||||
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
border-radius: 40px;
|
||||||
drun-show-actions: false;
|
border-color: @main-br;
|
||||||
drun-url-launcher: "xdg-open";
|
background-color: transparent;
|
||||||
drun-use-desktop-cache: false;
|
}
|
||||||
drun-reload-desktop-cache: false;
|
mainbox {
|
||||||
drun {
|
enabled: true;
|
||||||
/** Parse user desktop files. */
|
spacing: 0px;
|
||||||
parse-user: true;
|
padding: 0px;
|
||||||
/** Parse system desktop files. */
|
orientation: vertical;
|
||||||
parse-system: true;
|
children: [ "listbox" , "inputmode" ];
|
||||||
}
|
background-color: rgba(32, 32, 32, 0.88);
|
||||||
|
}
|
||||||
/*---------- Run settings ----------*/
|
|
||||||
run-command: "{cmd}";
|
|
||||||
run-list-command: "";
|
|
||||||
run-shell-command: "{terminal} -e {cmd}";
|
// Lists //
|
||||||
|
listbox {
|
||||||
/*---------- Fallback Icon ----------*/
|
padding: 0px;
|
||||||
run,drun {
|
spacing: 0px;
|
||||||
fallback-icon: "application-x-addon";
|
orientation: horizontal;
|
||||||
}
|
children: [ "listview" ];
|
||||||
|
background-color: transparent;
|
||||||
/*---------- Window switcher settings ----------*/
|
}
|
||||||
window-match-fields: "title,class,role,name,desktop";
|
listview {
|
||||||
window-command: "wmctrl -i -R {window}";
|
padding: 10px;
|
||||||
window-format: "{w} - {c} - {t:0}";
|
spacing: 0px;
|
||||||
window-thumbnail: false;
|
enabled: true;
|
||||||
|
columns: 5;
|
||||||
/*---------- Combi settings ----------*/
|
cycle: true;
|
||||||
/* combi-modi: "window,run";*/
|
dynamic: true;
|
||||||
/* combi-hide-mode-prefix: false;*/
|
scrollbar: false;
|
||||||
/* combi-display-format: "{mode} {text}";*/
|
layout: vertical;
|
||||||
|
reverse: false;
|
||||||
/*---------- History and Sorting ----------*/
|
fixed-height: true;
|
||||||
disable-history: false;
|
fixed-columns: true;
|
||||||
sorting-method: "normal";
|
cursor: "default";
|
||||||
max-history-size: 25;
|
background-color: @main-bg;
|
||||||
|
text-color: @main-fg;
|
||||||
/*---------- Display setting ----------*/
|
}
|
||||||
display-window: "Windows";
|
|
||||||
display-windowcd: "Window CD";
|
|
||||||
display-run: "Run";
|
// Inputs //
|
||||||
display-ssh: "SSH";
|
inputmode {
|
||||||
display-drun: "Apps";
|
padding: 0px;
|
||||||
display-combi: "Combi";
|
spacing: 0px;
|
||||||
display-keys: "Keys";
|
orientation: horizontal;
|
||||||
display-filebrowser: "Files";
|
children: [ "inputbar" , "mode-switcher" ];
|
||||||
|
background-color: transparent;
|
||||||
/*---------- Misc setting ----------*/
|
}
|
||||||
terminal: "rofi-sensible-terminal";
|
inputbar {
|
||||||
font: "Mono 12";
|
enabled: true;
|
||||||
sort: false;
|
width: 400px;
|
||||||
threads: 0;
|
height: 0px;
|
||||||
click-to-exit: true;
|
spacing: 0px;
|
||||||
/* ignored-prefixes: "";*/
|
padding: 30px 10px 30px 65px;
|
||||||
/* pid: "/run/user/1000/rofi.pid";*/
|
children: [ "entry" ];
|
||||||
|
background-color: transparent;
|
||||||
/*---------- File browser settings ----------*/
|
}
|
||||||
filebrowser {
|
entry {
|
||||||
/* directory: "/home";*/
|
vertical-align: 0.5;
|
||||||
directories-first: true;
|
border-radius: 50px;
|
||||||
sorting-method: "name";
|
enabled: true;
|
||||||
}
|
spacing: 0px;
|
||||||
|
padding: 10px;
|
||||||
/*---------- Other settings ----------*/
|
text-color: @main-fg;
|
||||||
timeout {
|
background-color: @main-bg;
|
||||||
action: "kb-cancel";
|
}
|
||||||
delay: 0;
|
|
||||||
}
|
|
||||||
|
// Modes //
|
||||||
/*---------- Keybindings ----------*/
|
mode-switcher {
|
||||||
/*
|
width: 200px;
|
||||||
kb-primary-paste: "Control+V,Shift+Insert";
|
orientation: horizontal;
|
||||||
kb-secondary-paste: "Control+v,Insert";
|
enabled: true;
|
||||||
kb-clear-line: "Control+w";
|
padding: 30px 65px 30px 0px;
|
||||||
kb-move-front: "Control+a";
|
spacing: 10px;
|
||||||
kb-move-end: "Control+e";
|
background-color: transparent;
|
||||||
kb-move-word-back: "Alt+b,Control+Left";
|
}
|
||||||
kb-move-word-forward: "Alt+f,Control+Right";
|
button {
|
||||||
kb-move-char-back: "Left,Control+b";
|
cursor: pointer;
|
||||||
kb-move-char-forward: "Right,Control+f";
|
padding: 0px;
|
||||||
kb-remove-word-back: "Control+Alt+h,Control+BackSpace";
|
border-radius: 50px;
|
||||||
kb-remove-word-forward: "Control+Alt+d";
|
background-color: @main-bg;
|
||||||
kb-remove-char-forward: "Delete,Control+d";
|
text-color: @main-fg;
|
||||||
kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";
|
}
|
||||||
kb-remove-to-eol: "Control+k";
|
button selected {
|
||||||
kb-remove-to-sol: "Control+u";
|
background-color: @main-fg;
|
||||||
kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";
|
text-color: @main-bg;
|
||||||
kb-accept-custom: "Control+Return";
|
}
|
||||||
kb-accept-custom-alt: "Control+Shift+Return";
|
|
||||||
kb-accept-alt: "Shift+Return";
|
|
||||||
kb-delete-entry: "Shift+Delete";
|
// Elements //
|
||||||
kb-mode-next: "Shift+Right,Control+Tab";
|
element {
|
||||||
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";
|
orientation: vertical;
|
||||||
kb-mode-complete: "Control+l";
|
enabled: true;
|
||||||
kb-row-left: "Control+Page_Up";
|
spacing: 0px;
|
||||||
kb-row-right: "Control+Page_Down";
|
padding: 10px;
|
||||||
kb-row-down: "Down,Control+n";
|
border-radius: 25px;
|
||||||
kb-page-prev: "Page_Up";
|
cursor: pointer;
|
||||||
kb-page-next: "Page_Down";
|
background-color: transparent;
|
||||||
kb-row-first: "Home,KP_Home";
|
text-color: @main-fg;
|
||||||
kb-row-last: "End,KP_End";
|
}
|
||||||
kb-row-select: "Control+space";
|
@media(max-aspect-ratio: 1.8) {
|
||||||
kb-screenshot: "Alt+S";
|
element {
|
||||||
kb-ellipsize: "Alt+period";
|
orientation: vertical;
|
||||||
kb-toggle-case-sensitivity: "grave,dead_grave";
|
}
|
||||||
kb-toggle-sort: "Alt+grave";
|
}
|
||||||
kb-cancel: "Escape,Control+g,Control+bracketleft";
|
element selected.normal {
|
||||||
kb-custom-1: "Alt+1";
|
background-color: @select-bg;
|
||||||
kb-custom-2: "Alt+2";
|
text-color: @select-fg;
|
||||||
kb-custom-3: "Alt+3";
|
}
|
||||||
kb-custom-4: "Alt+4";
|
element-icon {
|
||||||
kb-custom-5: "Alt+5";
|
size: 38px;
|
||||||
kb-custom-6: "Alt+6";
|
cursor: inherit;
|
||||||
kb-custom-7: "Alt+7";
|
background-color: transparent;
|
||||||
kb-custom-8: "Alt+8";
|
text-color: inherit;
|
||||||
kb-custom-9: "Alt+9";
|
}
|
||||||
kb-custom-10: "Alt+0";
|
element-text {
|
||||||
kb-custom-11: "Alt+exclam";
|
vertical-align: 0.5;
|
||||||
kb-custom-12: "Alt+at";
|
horizontal-align: 0.5;
|
||||||
kb-custom-13: "Alt+numbersign";
|
cursor: inherit;
|
||||||
kb-custom-14: "Alt+dollar";
|
background-color: transparent;
|
||||||
kb-custom-15: "Alt+percent";
|
text-color: inherit;
|
||||||
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";
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
* {
|
||||||
|
main-bg: #262626e6;
|
||||||
|
main-fg: #d9d9d9ff;
|
||||||
|
main-br: #a6a6a6ff;
|
||||||
|
main-ex: #595959cc;
|
||||||
|
select-bg: #a6a6a6ff;
|
||||||
|
select-fg: #262626ff;
|
||||||
|
separatorcolor: transparent;
|
||||||
|
border-color: transparent;
|
||||||
|
}
|
||||||
|
Before Width: | Height: | Size: 266 KiB |
|
Before Width: | Height: | Size: 197 KiB |
|
Before Width: | Height: | Size: 215 KiB |
|
Before Width: | Height: | Size: 238 KiB |
|
Before Width: | Height: | Size: 194 KiB |
|
Before Width: | Height: | Size: 223 KiB |
|
Before Width: | Height: | Size: 2.4 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
Before Width: | Height: | Size: 441 KiB |
|
Before Width: | Height: | Size: 648 KiB |
|
Before Width: | Height: | Size: 339 KiB |
|
Before Width: | Height: | Size: 125 KiB |
|
Before Width: | Height: | Size: 1.5 MiB |
|
Before Width: | Height: | Size: 666 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 2.0 MiB |