Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d0118bdef4 | |||
| 1a17e57559 | |||
| 8f25e192f7 | |||
| 4fac66f483 |
@@ -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/brave-browser
|
||||||
|
export VISUAL=nvim
|
||||||
|
export EDITOR=nvim
|
||||||
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
|
export DESKTOP_SESSION=sway
|
||||||
|
export GOPATH="$HOME"/go
|
||||||
|
|
||||||
|
# Scripts Path
|
||||||
|
PATH=$PATH:~/.local/bin
|
||||||
|
PATH=$PATH:~/bin
|
||||||
|
PATH=$PATH:/usr/local/go/bin
|
||||||
|
PATH=$PATH:$HOME/go/bin
|
||||||
|
|
||||||
|
# Doom Path
|
||||||
|
PATH=$PATH:~/.config/emacs/bin/
|
||||||
|
|
||||||
|
# Flatpak path
|
||||||
|
PATH=$PATH:/var/lib/flatpak/exports/bin
|
||||||
|
PATH=$PATH:/var/lib/flatpak/app
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
if [ -f ~/.bash_env ]; then
|
||||||
|
. "$HOME"/.bash_env
|
||||||
|
fi
|
||||||
|
|
||||||
|
[ "$(tty)" = "/dev/tty1" ] && exec sway
|
||||||
+23
-43
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
# If not running interactively, don't do anything
|
# If not running interactively, don't do anything
|
||||||
[ -z "$PS1" ] && return
|
[ -z "$PS1" ] && return
|
||||||
@@ -50,9 +50,6 @@ 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
|
||||||
#######################################################
|
#######################################################
|
||||||
@@ -71,20 +68,19 @@ alias gpe='gopass edit'
|
|||||||
#######################################################
|
#######################################################
|
||||||
# ALIAS
|
# ALIAS
|
||||||
#######################################################
|
#######################################################
|
||||||
|
# To temporarily bypass an alias, we preceed the command with a \
|
||||||
alias dot='cd ~/code/opalfiles'
|
# EG: the ls command is aliased, but to use the normal ls command you would type \ls
|
||||||
alias ans='cd ~/code/ansible'
|
|
||||||
|
|
||||||
alias v='nvim'
|
alias v='nvim'
|
||||||
alias vim='nvim'
|
alias vim='nvim'
|
||||||
alias vi='nvim'
|
alias vi='nvim'
|
||||||
|
|
||||||
# DNF
|
# DNF
|
||||||
alias dnf='dnf'
|
alias dnf='dnf5'
|
||||||
alias din='sudo dnf install'
|
alias din='sudo dnf5 install'
|
||||||
alias dre='sudo dnf remove'
|
alias dre='sudo dnf5 remove'
|
||||||
alias dup='sudo dnf update'
|
alias dup='sudo dnf5 update'
|
||||||
alias dse='dnf search'
|
alias dse='dnf5 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"'
|
||||||
@@ -111,6 +107,9 @@ alias .....='cd ../../../..'
|
|||||||
# cd into the old directory
|
# cd into the old directory
|
||||||
alias bd='cd "$OLDPWD"'
|
alias bd='cd "$OLDPWD"'
|
||||||
|
|
||||||
|
# ls -> exa
|
||||||
|
alias ls='exa'
|
||||||
|
|
||||||
# Search command line history
|
# Search command line history
|
||||||
alias h="history | grep "
|
alias h="history | grep "
|
||||||
|
|
||||||
@@ -128,7 +127,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 +138,18 @@ 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 +171,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 +187,5 @@ PS1="${CYAN}[\u@\h ${YELLOW}\w${GREEN}\$(parse_git_branch)${CYAN}]${WHITE}${RESE
|
|||||||
#######################################################
|
#######################################################
|
||||||
# SSH
|
# SSH
|
||||||
#######################################################
|
#######################################################
|
||||||
|
eval $(keychain --eval --quiet ry_ecdsa)
|
||||||
keys()
|
eval $(keychain --eval --quiet id_rsa)
|
||||||
{
|
|
||||||
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,12 +1,14 @@
|
|||||||
|
import = ["/home/opal/.config/alacritty/theme.toml"]
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
TERM = "xterm-256color"
|
TERM = "alacritty"
|
||||||
|
|
||||||
[font]
|
[font]
|
||||||
size = 16
|
size = 22
|
||||||
|
|
||||||
[font.normal]
|
[font.normal]
|
||||||
family = "Victor Mono"
|
family = "Terminus"
|
||||||
style = "Medium Italic"
|
style = "Regular"
|
||||||
|
|
||||||
[font.offset]
|
[font.offset]
|
||||||
x = 0
|
x = 0
|
||||||
@@ -14,6 +16,3 @@ y = 0
|
|||||||
|
|
||||||
[window]
|
[window]
|
||||||
opacity = 0.9
|
opacity = 0.9
|
||||||
|
|
||||||
[general]
|
|
||||||
import = ["/home/opal/.config/alacritty/theme.toml"]
|
|
||||||
|
|||||||
@@ -0,0 +1,61 @@
|
|||||||
|
# Dracula theme for Alacritty
|
||||||
|
# https://draculatheme.com/alacritty
|
||||||
|
#
|
||||||
|
# Color palette
|
||||||
|
# https://spec.draculatheme.com
|
||||||
|
#
|
||||||
|
# Template
|
||||||
|
# https://github.com/alacritty/alacritty/blob/master/alacritty.yml
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: "#282a36"
|
||||||
|
foreground: "#f8f8f2"
|
||||||
|
bright_foreground: "#ffffff"
|
||||||
|
cursor:
|
||||||
|
text: CellBackground
|
||||||
|
cursor: CellForeground
|
||||||
|
vi_mode_cursor:
|
||||||
|
text: CellBackground
|
||||||
|
cursor: CellForeground
|
||||||
|
search:
|
||||||
|
matches:
|
||||||
|
foreground: "#44475a"
|
||||||
|
background: "#50fa7b"
|
||||||
|
focused_match:
|
||||||
|
foreground: "#44475a"
|
||||||
|
background: "#ffb86c"
|
||||||
|
footer_bar:
|
||||||
|
background: "#282a36"
|
||||||
|
foreground: "#f8f8f2"
|
||||||
|
hints:
|
||||||
|
start:
|
||||||
|
foreground: "#282a36"
|
||||||
|
background: "#f1fa8c"
|
||||||
|
end:
|
||||||
|
foreground: "#f1fa8c"
|
||||||
|
background: "#282a36"
|
||||||
|
line_indicator:
|
||||||
|
foreground: None
|
||||||
|
background: None
|
||||||
|
selection:
|
||||||
|
text: CellForeground
|
||||||
|
background: "#44475a"
|
||||||
|
normal:
|
||||||
|
black: "#21222c"
|
||||||
|
red: "#ff5555"
|
||||||
|
green: "#50fa7b"
|
||||||
|
yellow: "#f1fa8c"
|
||||||
|
blue: "#bd93f9"
|
||||||
|
magenta: "#ff79c6"
|
||||||
|
cyan: "#8be9fd"
|
||||||
|
white: "#f8f8f2"
|
||||||
|
bright:
|
||||||
|
black: "#6272a4"
|
||||||
|
red: "#ff6e6e"
|
||||||
|
green: "#69ff94"
|
||||||
|
yellow: "#ffffa5"
|
||||||
|
blue: "#d6acff"
|
||||||
|
magenta: "#ff92df"
|
||||||
|
cyan: "#a4ffff"
|
||||||
|
white: "#ffffff"
|
||||||
@@ -1,30 +0,0 @@
|
|||||||
# Colors (Gruvbox light)
|
|
||||||
|
|
||||||
# Default colors
|
|
||||||
[colors.primary]
|
|
||||||
# hard contrast background = = '#f9f5d7'
|
|
||||||
background = '#E8D8B0'
|
|
||||||
# soft contrast background = = '#f2e5bc'
|
|
||||||
foreground = '#3c3836'
|
|
||||||
|
|
||||||
# Normal colors
|
|
||||||
[colors.normal]
|
|
||||||
black = '#fbf1c7'
|
|
||||||
red = '#cc241d'
|
|
||||||
green = '#98971a'
|
|
||||||
yellow = '#d79921'
|
|
||||||
blue = '#458588'
|
|
||||||
magenta = '#b16286'
|
|
||||||
cyan = '#689d6a'
|
|
||||||
white = '#7c6f64'
|
|
||||||
|
|
||||||
# Bright colors
|
|
||||||
[colors.bright]
|
|
||||||
black = '#928374'
|
|
||||||
red = '#9d0006'
|
|
||||||
green = '#79740e'
|
|
||||||
yellow = '#b57614'
|
|
||||||
blue = '#076678'
|
|
||||||
magenta = '#8f3f71'
|
|
||||||
cyan = '#427b58'
|
|
||||||
white = '#3c3836'
|
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
# Colors (Gruvbox dark)
|
||||||
|
|
||||||
|
# Default colors
|
||||||
|
[colors.primary]
|
||||||
|
# hard contrast background = = '#1d2021'
|
||||||
|
background = '#282828'
|
||||||
|
# soft contrast background = = '#32302f'
|
||||||
|
foreground = '#ebdbb2'
|
||||||
|
|
||||||
|
# Normal colors
|
||||||
|
[colors.normal]
|
||||||
|
black = '#282828'
|
||||||
|
red = '#cc241d'
|
||||||
|
green = '#98971a'
|
||||||
|
yellow = '#d79921'
|
||||||
|
blue = '#458588'
|
||||||
|
magenta = '#b16286'
|
||||||
|
cyan = '#689d6a'
|
||||||
|
white = '#a89984'
|
||||||
|
|
||||||
|
# Bright colors
|
||||||
|
[colors.bright]
|
||||||
|
black = '#928374'
|
||||||
|
red = '#fb4934'
|
||||||
|
green = '#b8bb26'
|
||||||
|
yellow = '#fabd2f'
|
||||||
|
blue = '#83a598'
|
||||||
|
magenta = '#d3869b'
|
||||||
|
cyan = '#8ec07c'
|
||||||
|
white = '#ebdbb2'
|
||||||
@@ -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
|
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
[colors.bright]
|
||||||
|
black = "#1c1f24"
|
||||||
|
blue = "#dbc077"
|
||||||
|
cyan = "#dbc077"
|
||||||
|
green = "#7cb518"
|
||||||
|
magenta = "#d72638"
|
||||||
|
red = "#ff7000"
|
||||||
|
white = "#dfdfdf"
|
||||||
|
yellow = "#ffbf00"
|
||||||
|
|
||||||
|
[colors.cursor]
|
||||||
|
cursor = "CellForeground"
|
||||||
|
text = "CellBackground"
|
||||||
|
|
||||||
|
[colors.footer_bar]
|
||||||
|
background = "#1c1408"
|
||||||
|
foreground = "#7cb518"
|
||||||
|
|
||||||
|
[colors.hints.end]
|
||||||
|
background = "#1c1408"
|
||||||
|
foreground = "#ffbf00"
|
||||||
|
|
||||||
|
[colors.hints.start]
|
||||||
|
background = "#ffbf00"
|
||||||
|
foreground = "#1c1408"
|
||||||
|
|
||||||
|
[colors.line_indicator]
|
||||||
|
background = "None"
|
||||||
|
foreground = "None"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "#1B2229"
|
||||||
|
blue = "#dbc077"
|
||||||
|
cyan = "#dbc077"
|
||||||
|
green = "#7cb518"
|
||||||
|
magenta = "#d72638"
|
||||||
|
red = "#ff4e00"
|
||||||
|
white = "#dfdfdf"
|
||||||
|
yellow = "#ffbf00"
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
background = "#1c1408"
|
||||||
|
bright_foreground = "#dfdfdf"
|
||||||
|
foreground = "#7cb518"
|
||||||
|
|
||||||
|
[colors.search.focused_match]
|
||||||
|
background = "#ffbf00"
|
||||||
|
foreground = "#3f444a"
|
||||||
|
|
||||||
|
[colors.search.matches]
|
||||||
|
background = "#7cb518"
|
||||||
|
foreground = "#3f444a"
|
||||||
|
|
||||||
|
[colors.selection]
|
||||||
|
background = "#3f444a"
|
||||||
|
text = "CellForeground"
|
||||||
|
|
||||||
|
[colors.vi_mode_cursor]
|
||||||
|
cursor = "CellForeground"
|
||||||
|
text = "CellBackground"
|
||||||
@@ -0,0 +1,52 @@
|
|||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: "#1c1408" # -bg
|
||||||
|
foreground: "#7cb518" # green, adjusted for better visibility
|
||||||
|
bright_foreground: "#dfdfdf" # base8
|
||||||
|
cursor:
|
||||||
|
text: CellBackground
|
||||||
|
cursor: CellForeground
|
||||||
|
vi_mode_cursor:
|
||||||
|
text: CellBackground
|
||||||
|
cursor: CellForeground
|
||||||
|
search:
|
||||||
|
matches:
|
||||||
|
foreground: "#3f444a" # base4
|
||||||
|
background: "#7cb518" # green
|
||||||
|
focused_match:
|
||||||
|
foreground: "#3f444a" # base4
|
||||||
|
background: "#ffbf00" # yellow
|
||||||
|
footer_bar:
|
||||||
|
background: "#1c1408" # -bg
|
||||||
|
foreground: "#7cb518" # green
|
||||||
|
hints:
|
||||||
|
start:
|
||||||
|
foreground: "#1c1408" # -bg
|
||||||
|
background: "#ffbf00" # yellow
|
||||||
|
end:
|
||||||
|
foreground: "#ffbf00" # yellow
|
||||||
|
background: "#1c1408" # -bg
|
||||||
|
line_indicator:
|
||||||
|
foreground: None
|
||||||
|
background: None
|
||||||
|
selection:
|
||||||
|
text: CellForeground
|
||||||
|
background: "#3f444a" # base4
|
||||||
|
normal:
|
||||||
|
black: "#1B2229" # base0
|
||||||
|
red: "#ff4e00" # red
|
||||||
|
green: "#7cb518" # green
|
||||||
|
yellow: "#ffbf00" # yellow
|
||||||
|
blue: "#dbc077" # teal, lightened umber
|
||||||
|
magenta: "#d72638" # magenta
|
||||||
|
cyan: "#dbc077" # teal (sand/beige)
|
||||||
|
white: "#dfdfdf" # base8
|
||||||
|
bright:
|
||||||
|
black: "#1c1f24" # base1
|
||||||
|
red: "#ff7000" # orange
|
||||||
|
green: "#7cb518" # green
|
||||||
|
yellow: "#ffbf00" # yellow
|
||||||
|
blue: "#dbc077" # teal, lightened umber
|
||||||
|
magenta: "#d72638" # magenta
|
||||||
|
cyan: "#dbc077" # teal (sand/beige)
|
||||||
|
white: "#dfdfdf" # base8
|
||||||
@@ -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,4 +1,4 @@
|
|||||||
directory: /mnt/media/music/slsk/to-sort
|
directory: ~/music/to-sort
|
||||||
library: ~/.config/beets/beets-library.db
|
library: ~/.config/beets/beets-library.db
|
||||||
|
|
||||||
import:
|
import:
|
||||||
|
|||||||
Binary file not shown.
@@ -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
|
||||||
Executable
+26
@@ -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
|
||||||
Executable
+18
@@ -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
|
||||||
+94
-335
@@ -1,69 +1,49 @@
|
|||||||
;;; config.el -*- lexical-binding: t; -*-
|
;; Set the fancy splash image
|
||||||
|
(setq fancy-splash-image "~/.config/doom/splash.png")
|
||||||
|
|
||||||
;; Clean up starting screen
|
;; Remove widgets I don't use.
|
||||||
;; (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-footer)
|
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-footer)
|
||||||
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-loaded)
|
(remove-hook '+doom-dashboard-functions #'doom-dashboard-widget-loaded)
|
||||||
|
|
||||||
|
;; Customize the appearance of the dashboard
|
||||||
(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
|
;; Set
|
||||||
(use-package exec-path-from-shell
|
(setq user-full-name "Opal"
|
||||||
: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))
|
|
||||||
|
|
||||||
;; Set name & e-mail
|
|
||||||
(setq user-full-name "opal"
|
|
||||||
user-mail-address "ry.orlando@proton.me")
|
user-mail-address "ry.orlando@proton.me")
|
||||||
|
|
||||||
(setq vterm-shell "/bin/zsh")
|
;; Theming
|
||||||
|
|
||||||
;; Theme & background color
|
|
||||||
(load-theme 'doom-gruvbox t)
|
(load-theme 'doom-gruvbox t)
|
||||||
;;(set-face-background 'default "#E8D8B0")
|
;;(define-key global-map (kbd "<f5>") #'modus-themes-toggle)
|
||||||
|
|
||||||
;; Lockfiles
|
;; Display line numbers
|
||||||
(setq create-lockfiles nil)
|
|
||||||
|
|
||||||
;; 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
|
;; Set Browser
|
||||||
(set-face-attribute 'default nil
|
(setq browse-url-browser-function 'browse-url-generic
|
||||||
:family "Victor Mono"
|
browse-url-generic-program "brave-browser")
|
||||||
:weight 'medium
|
|
||||||
:slant 'italic
|
|
||||||
:height 170)
|
|
||||||
(set-face-attribute 'fixed-pitch nil
|
|
||||||
:family "Victor Mono"
|
|
||||||
:weight 'medium
|
|
||||||
:slant 'italic
|
|
||||||
:height 1.0)
|
|
||||||
(set-face-attribute 'variable-pitch nil
|
|
||||||
:family "Victor Mono"
|
|
||||||
:weight 'medium
|
|
||||||
:slant 'italic
|
|
||||||
:height 1.0)
|
|
||||||
|
|
||||||
|
;; Fonts
|
||||||
|
(set-face-attribute 'default nil :font "Terminus" :height 190 :weight 'regular)
|
||||||
|
(set-face-attribute 'fixed-pitch nil :font "Terminus" :height 1.0 :weight 'regular)
|
||||||
|
(set-face-attribute 'variable-pitch nil :font "Terminus" :height 1.0 :weight 'bold)
|
||||||
|
|
||||||
|
|
||||||
|
;; Org Setup
|
||||||
(defun opal/org-font-setup ()
|
(defun opal/org-font-setup ()
|
||||||
;; Replace list hyphen with dot
|
;; Replace list hyphen with dot
|
||||||
(font-lock-add-keywords 'org-mode
|
(font-lock-add-keywords 'org-mode
|
||||||
'(("^ *\\([-]\\) "
|
'(("^ *\\([-]\\) "
|
||||||
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
|
(0 (prog1 () (compose-region (match-beginning 1) (match-end 1)
|
||||||
"•"))))))
|
"•"))))))
|
||||||
;; Set faces for heading levels - all Victor Mono now
|
|
||||||
|
;; 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)
|
||||||
@@ -72,38 +52,26 @@
|
|||||||
(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
|
(set-face-attribute (car face) nil :font "Terminus" :weight 'regular :height (cdr face)))
|
||||||
:family "Victor Mono"
|
|
||||||
:weight 'medium
|
|
||||||
:slant 'italic
|
|
||||||
:height (cdr face)))
|
|
||||||
|
|
||||||
;; Set properties and scheduling faces
|
;; Ensure that anything that should be fixed-pitch in Org files appears that way
|
||||||
(set-face-attribute 'org-property-value nil :inherit 'default :height 150)
|
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||||
(set-face-attribute 'org-special-keyword nil :inherit 'default :height 150)
|
(set-face-attribute 'org-table nil :inherit 'fixed-pitch)
|
||||||
(set-face-attribute 'org-scheduled-today nil :inherit 'default :height 150)
|
(set-face-attribute 'org-formula nil :inherit 'fixed-pitch)
|
||||||
(set-face-attribute 'org-drawer nil :inherit 'default :height 150)
|
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
|
||||||
(set-face-attribute 'org-date nil :inherit 'default :height 150)
|
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
|
||||||
|
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
||||||
;; Ensure that all agenda items inherit default
|
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
(custom-set-faces
|
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
'(org-agenda-date-today ((t (:inherit default :weight bold))))
|
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch)
|
||||||
'(org-agenda-date ((t (:inherit default))))
|
(set-face-attribute 'line-number nil :inherit 'fixed-pitch)
|
||||||
'(org-agenda-date-weekend ((t (:inherit default :weight bold))))
|
(set-face-attribute 'line-number-current-line nil :inherit 'fixed-pitch))
|
||||||
'(org-agenda-done ((t (:inherit default :strike-through t))))
|
|
||||||
'(org-agenda-dimmed-todo-face ((t (:inherit default))))
|
|
||||||
'(org-agenda-structure ((t (:inherit default))))
|
|
||||||
'(org-scheduled ((t (:inherit default))))
|
|
||||||
'(org-scheduled-today ((t (:inherit default))))
|
|
||||||
'(org-scheduled-previously ((t (:inherit default))))
|
|
||||||
'(org-upcoming-deadline ((t (:inherit default))))
|
|
||||||
'(org-deadline-announce ((t (:inherit default))))
|
|
||||||
'(org-time-grid ((t (:inherit default))))))
|
|
||||||
|
|
||||||
|
;; Org Setup stuff
|
||||||
(defun opal/org-mode-setup ()
|
(defun opal/org-mode-setup ()
|
||||||
(org-indent-mode)
|
(org-indent-mode)
|
||||||
(visual-line-mode 1)
|
(variable-pitch-mode 1)
|
||||||
(mixed-pitch-mode 1))
|
(visual-line-mode 1))
|
||||||
|
|
||||||
(use-package org
|
(use-package org
|
||||||
:commands (org-capture org-agenda)
|
:commands (org-capture org-agenda)
|
||||||
@@ -114,319 +82,110 @@
|
|||||||
(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-agenda-files
|
||||||
(setq org-hide-emphasis-markers t)
|
'("~/work/work.org"))
|
||||||
(setq org-agenda-files (directory-files-recursively "~/sync/org/agenda/" "\\.org$"))
|
|
||||||
(setq org-agenda-todo-ignore-scheduled 'future)
|
|
||||||
|
|
||||||
(require 'org-habit)
|
(require 'org-habit)
|
||||||
(add-to-list 'org-modules 'org-habit)
|
(add-to-list 'org-modules 'org-habit)
|
||||||
(setq org-habit-graph-column 60)
|
(setq org-habit-graph-column 60)
|
||||||
|
|
||||||
(setq org-todo-keywords
|
(setq org-todo-keywords
|
||||||
'((sequence "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)" "WAIT(w@/!)" "HOLD(h)" "BACKLOG(b)" "DOC(u)" "|" "COMPLETED(c)" "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)
|
(add-hook 'org-mode-hook #'org-make-toc-mode)
|
||||||
|
|
||||||
|
;; Configure custom agenda views
|
||||||
(setq org-agenda-custom-commands
|
(setq org-agenda-custom-commands
|
||||||
'(("d" "GTD Dashboard"
|
'(("d" "Dashboard"
|
||||||
;; Begin list of blocks:
|
((agenda "" ((org-deadline-warning-days 7)))
|
||||||
(
|
(todo "NEXT"
|
||||||
(tags "+TODO=\"ALRT\""
|
((org-agenda-overriding-header "Next Tasks")))
|
||||||
((org-agenda-overriding-header "🚨 Urgent / Interruptions")))
|
(tags-todo "agenda/ACTIVE" ((org-agenda-overriding-header "Active Projects")))))
|
||||||
|
|
||||||
(tags "+TODO=\"EASY\""
|
("n" "Next Tasks"
|
||||||
((org-agenda-overriding-header "🍃 Quick Tasks")))
|
((todo "NEXT"
|
||||||
|
((org-agenda-overriding-header "Next Tasks")))))
|
||||||
|
|
||||||
(tags "+TODO=\"PROG\""
|
;; Low-effort next actions
|
||||||
((org-agenda-overriding-header "🚧 In Progress")))
|
("e" tags-todo "+TODO=\"NEXT\"+Effort<15&+Effort>0"
|
||||||
|
((org-agenda-overriding-header "Low Effort Tasks")
|
||||||
(tags "+TODO=\"NEXT\""
|
(org-agenda-max-todos 20)
|
||||||
((org-agenda-overriding-header "▶ Next Actions")))
|
(org-agenda-files org-agenda-files)))))
|
||||||
|
|
||||||
(tags "+TODO=\"WAIT\""
|
|
||||||
((org-agenda-overriding-header "⏳ Pending / Blocked")))
|
|
||||||
|
|
||||||
(tags "+TODO=\"TODO\""
|
|
||||||
((org-agenda-overriding-header "📝 Backlog / To Plan")))
|
|
||||||
|
|
||||||
(tags "+TODO=\"DONE\"+CLOSED>=\"<-3d>\""
|
|
||||||
((org-agenda-overriding-header "✅ Recently Done")))
|
|
||||||
|
|
||||||
(agenda ""
|
|
||||||
((org-agenda-span 1)
|
|
||||||
(org-agenda-start-day "0d")
|
|
||||||
(org-agenda-show-all-dates t)
|
|
||||||
(org-agenda-overriding-header "📅 Today’s Schedule")))
|
|
||||||
|
|
||||||
(agenda ""
|
|
||||||
((org-agenda-span 3)
|
|
||||||
(org-agenda-start-day "+1d")
|
|
||||||
(org-agenda-overriding-header "📆 Next 3 Days")
|
|
||||||
(org-agenda-time-grid nil)))
|
|
||||||
|
|
||||||
(alltodo ""
|
|
||||||
((org-agenda-overriding-header "📋 All Tasks")))
|
|
||||||
) ; End of block-list
|
|
||||||
) ; End of the "d" command entry
|
|
||||||
)) ; End of defcustom list
|
|
||||||
|
|
||||||
;; Create capture templates
|
;; Create capture templates
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
`(("t" "Tasks")
|
`(("t" "Tasks")
|
||||||
("tw" "Work Task" entry (file+headline "~/sync/org/agenda/work.org" "Inbox")
|
("tt" "Task" entry (file+olp "~/work/work.org" "Inbox")
|
||||||
"* TODO %?\n %U\n %i" :empty-lines 1)
|
"* TODO %?\n %U\n %a\n %i" :empty-lines 1)))
|
||||||
("tp" "Personal Task" entry (file+headline "~/sync/org/agenda/personal.org" "Inbox")
|
|
||||||
"* TODO %?\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 "~/org/")
|
||||||
(setq org-agenda-include-diary t)
|
|
||||||
(setq diary-file "~/sync/org/diary")
|
|
||||||
|
|
||||||
(require 'org-tempo)
|
;; Open links in browser
|
||||||
(dolist (template '(("sh" . "src shell")
|
(setq browse-url-browser-function 'browse-url-generic
|
||||||
("el" . "src emacs-lisp")
|
browse-url-generic-program "firefox")
|
||||||
("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))
|
||||||
|
|
||||||
|
;; Org bullets
|
||||||
(use-package org-bullets
|
(use-package org-bullets
|
||||||
:after org
|
:after org
|
||||||
:hook (org-mode . org-bullets-mode)
|
:hook (org-mode . org-bullets-mode)
|
||||||
:custom
|
:custom
|
||||||
(org-bullets-bullet-list '("◉" "○" "●" "○" "●" "○" "●")))
|
(org-bullets-bullet-list '("◉" "○" "●" "○" "●" "○" "●")))
|
||||||
|
|
||||||
|
;; Fill sides of buffer to look nice
|
||||||
(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)
|
||||||
|
(clojure . 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))
|
||||||
|
|
||||||
;; Playing youtube videos via mpv/yt-dlp/emms
|
(with-eval-after-load 'org
|
||||||
(defun opal/play-yt-url-at-point ()
|
(require 'org-tempo)
|
||||||
"Play YT link under point with EMMS/MPV/yt-dlp."
|
(add-to-list 'org-structure-template-alist '("sh" . "src shell"))
|
||||||
(interactive)
|
(add-to-list 'org-structure-template-alist '("el" . "src emacs-lisp"))
|
||||||
(let ((url (thing-at-point 'url t)))
|
(add-to-list 'org-structure-template-alist '("cl" . "src lisp"))
|
||||||
(if url
|
(add-to-list 'org-structure-template-alist '("sql" . "src sql"))
|
||||||
(emms-play-url url)
|
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||||
(message "No URL found at point."))))
|
(add-to-list 'org-structure-template-alist '("clj" . "src clojure")))
|
||||||
|
|
||||||
(global-set-key (kbd "C-c y") 'opal/play-yt-url-at-point)
|
;; RSS
|
||||||
|
(setq rmh-elfeed-org-files (list "~/sync/elfeed/feeds.org"))
|
||||||
|
(add-hook! 'elfeed-search-mode-hook 'elfeed-update)
|
||||||
|
(after! elfeed
|
||||||
|
(setq elfeed-search-filter "@1-month-ago +unread"))
|
||||||
|
|
||||||
;; Elfeed
|
(setq create-lockfiles nil)
|
||||||
(defun opal/elfeed-open-in-eww()
|
|
||||||
"Open the current Elfeed entry link in eww."
|
|
||||||
(interactive)
|
|
||||||
(let ((link (elfeed-entry-link (elfeed-search-selected :single))))
|
|
||||||
(if link
|
|
||||||
(eww-browse-url link)
|
|
||||||
(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 ()
|
|
||||||
"Marks all feeds in *elfeed-search* as read."
|
|
||||||
(interactive)
|
|
||||||
(elfeed-untag elfeed-search-entries 'unread)
|
|
||||||
(elfeed-search-update :force)) ; redraw
|
|
||||||
|
|
||||||
(use-package elfeed
|
|
||||||
:bind
|
|
||||||
(("C-c e" . elfeed))
|
|
||||||
:config
|
|
||||||
;; Ensure faces are set after elfeed has loaded
|
|
||||||
(set-face-attribute 'elfeed-search-filter-face nil :inherit 'variable-pitch :height 200)
|
|
||||||
;; Monospace fonts are necessary for text/column alignment in the *elfeed-search* buffer
|
|
||||||
(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
|
|
||||||
(add-hook 'elfeed-show-mode-hook
|
|
||||||
(lambda () (buffer-face-set 'variable-pitch)))
|
|
||||||
|
|
||||||
;; Set default search filter
|
|
||||||
(setq elfeed-search-filter "@2-weeks-ago +unread")
|
|
||||||
|
|
||||||
;; Update feeds automatically when entering Elfeed search mode
|
|
||||||
(add-hook 'elfeed-search-mode-hook 'elfeed-update)
|
|
||||||
|
|
||||||
;; Evil keybindings for Elfeed
|
|
||||||
(evil-define-key 'normal elfeed-search-mode-map
|
|
||||||
"e" 'opal/elfeed-open-in-eww ;; Open link in eww
|
|
||||||
"o" 'opal/elfeed-open-in-librewolf ;; Open link in eww
|
|
||||||
"r" 'opal/elfeed-mark-all-read ;; Marks all feeds as read
|
|
||||||
"gr" 'elfeed-update ;; Refresh feeds
|
|
||||||
"q" 'quit-window)) ;; Quit Elfeed
|
|
||||||
|
|
||||||
(use-package elfeed-org
|
|
||||||
:ensure t
|
|
||||||
:config
|
|
||||||
(setq rmh-elfeed-org-files '("~/sync/org/elfeed/feeds.org")))
|
|
||||||
|
|
||||||
(after! osm
|
|
||||||
(set-popup-rule! "^\\*osm\\*" :ignore t))
|
|
||||||
|
|
||||||
;; eww
|
|
||||||
;; extra frontends to use:
|
|
||||||
;; https://eddrit.com
|
|
||||||
;; https://eu.safereddit.com
|
|
||||||
;; https://redlib.catsarch.com/
|
|
||||||
(defun opal/eww-reddit-redirect (url)
|
|
||||||
"Redirect reddit.com (with or without www) to a privacy frontend."
|
|
||||||
(replace-regexp-in-string "^https://\\(www\\.\\)?reddit\\.com" "https://old.reddit.com" url))
|
|
||||||
|
|
||||||
(defun opal/eww-x-redirect (url)
|
|
||||||
"Redirect x.com (with or without www) to a privacy frontend."
|
|
||||||
(replace-regexp-in-string "^https://\\(www\\.\\)?x\\.com" "https://xcancel.com" url))
|
|
||||||
|
|
||||||
(defun opal/eww-twitter-redirect (url)
|
|
||||||
"Redirect twitter.com (with or without www) to a privacy frontend."
|
|
||||||
(replace-regexp-in-string "^https://\\(www\\.\\)?twitter\\.com" "https://xcancel.com" url))
|
|
||||||
|
|
||||||
(global-set-key (kbd "C-c w") #'eww)
|
|
||||||
(global-set-key (kbd "C-c f") #'elfeed-goodies/show-link-hint)
|
|
||||||
|
|
||||||
(defun +opal--eww-fix-fonts-h ()
|
|
||||||
"Fix fonts, wrapping, and scaling for EWW buffers."
|
|
||||||
(visual-line-mode 1)
|
|
||||||
(setq-local face-remapping-alist
|
|
||||||
'((default variable-pitch default)
|
|
||||||
(shr-text variable-pitch default)
|
|
||||||
(shr-link variable-pitch default)
|
|
||||||
(shr-strong variable-pitch default)
|
|
||||||
(fixed-pitch fixed-pitch default)
|
|
||||||
(variable-pitch variable-pitch default)))
|
|
||||||
(text-scale-set 1))
|
|
||||||
|
|
||||||
(use-package! eww
|
|
||||||
:init
|
|
||||||
(setq browse-url-browser-function #'eww-browse-url
|
|
||||||
eww-auto-rename-buffer 'title
|
|
||||||
reddit-proxy "https://eddrit.com"
|
|
||||||
eww-url-transformers '(eww-remove-tracking
|
|
||||||
opal/eww-reddit-redirect
|
|
||||||
opal/eww-twitter-redirect
|
|
||||||
opal/eww-x-redirect)
|
|
||||||
shr-use-fonts nil
|
|
||||||
shr-fill-text nil)
|
|
||||||
|
|
||||||
(after! eww
|
|
||||||
(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
|
(evil-define-key 'normal org-mode-map (kbd "<f5>") 'eros-eval-last-sexp)
|
||||||
;; spelling checks to be done in a single buffer.
|
|
||||||
(use-package guess-language
|
|
||||||
:defer t
|
|
||||||
:init (add-hook 'text-mode-hook #'guess-language-mode)
|
|
||||||
:config
|
|
||||||
(setq guess-language-langcodes '((en . ("en_US" "English"))
|
|
||||||
(pt_BR . ("pt_BR" "Brazilian Portuguese")))
|
|
||||||
guess-language-languages '(en pt_BR)
|
|
||||||
guess-language-min-paragraph-length 45)
|
|
||||||
:diminish guess-language-mode)
|
|
||||||
|
|
||||||
(defun opal/nov-mode-setup ()
|
|
||||||
"Configure fonts and layout for nov.el."
|
|
||||||
(variable-pitch-mode 1)
|
|
||||||
(visual-line-mode 1)
|
|
||||||
(setq visual-fill-column-width 150
|
|
||||||
visual-fill-column-center-text t
|
|
||||||
line-spacing 0.2)
|
|
||||||
(visual-fill-column-mode 1))
|
|
||||||
|
|
||||||
(use-package! nov
|
|
||||||
:mode ("\\.epub\\'" . nov-mode)
|
|
||||||
:hook (nov-mode . opal/nov-mode-setup))
|
|
||||||
|
|
||||||
(setq +lookup-dictionary-prefer-offline t)
|
|
||||||
(setq dictionary-server "dict.org")
|
|
||||||
|
|
||||||
(setq browse-url-generic-program "librewolf")
|
|
||||||
(setq browse-url-browser-function 'browse-url-generic)
|
|
||||||
|
|
||||||
(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))
|
|
||||||
|
|||||||
+25
-38
@@ -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"
|
'("99d1e29934b9e712651d29735dd8dcd431a651dfbe039df158aa973461af003e" "8d146df8bd640320d5ca94d2913392bc6f763d5bc2bb47bed8e14975017eea91" "e410458d3e769c33e0865971deb6e8422457fad02bf51f7862fa180ccc42c032" "9a977ddae55e0e91c09952e96d614ae0be69727ea78ca145beea1aae01ac78d2" "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,28 +25,29 @@
|
|||||||
["#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.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; If there is more than one, they won't work right.
|
||||||
'(org-agenda-date ((t (:inherit fixed-pitch))))
|
)
|
||||||
'(org-agenda-date-today ((t (:inherit fixed-pitch :weight bold))))
|
|
||||||
'(org-agenda-date-weekend ((t (:inherit fixed-pitch :weight bold))))
|
|
||||||
'(org-agenda-dimmed-todo-face ((t (:inherit fixed-pitch))))
|
|
||||||
'(org-agenda-done ((t (:inherit fixed-pitch :strike-through t))))
|
|
||||||
'(org-agenda-structure ((t (:inherit fixed-pitch))))
|
|
||||||
'(org-deadline-announce ((t (:inherit fixed-pitch))))
|
|
||||||
'(org-scheduled ((t (:inherit fixed-pitch))))
|
|
||||||
'(org-scheduled-previously ((t (:inherit fixed-pitch))))
|
|
||||||
'(org-scheduled-today ((t (:inherit fixed-pitch))))
|
|
||||||
'(org-time-grid ((t (:inherit fixed-pitch))))
|
|
||||||
'(org-upcoming-deadline ((t (:inherit fixed-pitch))))
|
|
||||||
'(variable-pitch ((t (:slant normal :weight regular :height 200 :width normal :foundry "PfEd" :family "ETBembo")))))
|
|
||||||
|
|||||||
+10
-11
@@ -34,7 +34,7 @@
|
|||||||
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
(popup +defaults) ; tame sudden yet inevitable temporary windows
|
||||||
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
|
||||||
@@ -83,7 +83,7 @@
|
|||||||
;;ein ; tame Jupyter notebooks with emacs
|
;;ein ; tame Jupyter notebooks with emacs
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
;;gist ; interacting with github gists
|
;;gist ; interacting with github gists
|
||||||
(lookup +dictionary) ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
lsp ; M-x vscode
|
lsp ; M-x vscode
|
||||||
magit ; a git porcelain for Emacs
|
magit ; a git porcelain for Emacs
|
||||||
;;make ; run make tasks from Emacs
|
;;make ; run make tasks from Emacs
|
||||||
@@ -98,16 +98,15 @@
|
|||||||
|
|
||||||
: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...
|
||||||
;;beancount ; mind the GAAP
|
;;beancount ; mind the GAAP
|
||||||
;;cc ; C > C++ == 1
|
;;cc ; C > C++ == 1
|
||||||
;;clojure ; java with a lisp
|
;;clojure ; java with a lisp
|
||||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
common-lisp ; if you've seen one lisp, you've seen them all
|
||||||
;;clojure ; java with a lisp
|
;;clojure ; java with a lisp
|
||||||
;;common-lisp ; if you've seen one lisp, you've seen them all
|
|
||||||
;;coq ; proofs-as-programs
|
;;coq ; proofs-as-programs
|
||||||
;;crystal ; ruby at the speed of c
|
;;crystal ; ruby at the speed of c
|
||||||
;;csharp ; unity, .NET, and mono shenanigans
|
;;csharp ; unity, .NET, and mono shenanigans
|
||||||
@@ -125,9 +124,9 @@
|
|||||||
;;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
|
||||||
json ; At least it ain't XML
|
json ; At least it ain't XML
|
||||||
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
|
;;(java +meghanada) ; the poster child for carpal tunnel syndrome
|
||||||
@@ -171,11 +170,11 @@
|
|||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
:app
|
:app
|
||||||
calendar
|
;;calendar
|
||||||
emms
|
;;emms
|
||||||
;;everywhere ; *leave* Emacs!? You must be joking
|
;;everywhere ; *leave* Emacs!? You must be joking
|
||||||
irc ; how neckbeards socialize
|
;;irc ; how neckbeards socialize
|
||||||
(rss +org) ; emacs as an RSS reader
|
;;(rss +org) ; emacs as an RSS reader
|
||||||
;;twitter ; twitter client https://twitter.com/vnought
|
;;twitter ; twitter client https://twitter.com/vnought
|
||||||
|
|
||||||
:config
|
:config
|
||||||
|
|||||||
@@ -1,18 +1,6 @@
|
|||||||
;; 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! org-make-toc)
|
||||||
|
(package! modus-themes)
|
||||||
(package! ef-themes)
|
(package! ef-themes)
|
||||||
(package! org-drill)
|
|
||||||
(package! pomm)
|
|
||||||
(package! mixed-pitch)
|
|
||||||
(package! guess-language)
|
|
||||||
(package! nov)
|
|
||||||
(package! google-translate)
|
|
||||||
(package! org-roam)
|
|
||||||
(package! eink-theme)
|
|
||||||
(package! notink-theme)
|
|
||||||
|
|
||||||
;; Remove
|
|
||||||
(package! dirvish :disable t)
|
(package! dirvish :disable t)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB |
@@ -1,4 +0,0 @@
|
|||||||
(widget my-panel
|
|
||||||
(box :class "panel-container"
|
|
||||||
(label :text "Hello, world!" :class "hello-label")))
|
|
||||||
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
* {
|
|
||||||
all: unset;
|
|
||||||
font-family: "JetBrainsMono Nerd Font", "monospace";
|
|
||||||
}
|
|
||||||
|
|
||||||
.panel-container {
|
|
||||||
background-color: rgba(30, 30, 30, 0.9);
|
|
||||||
border-radius: 10px;
|
|
||||||
padding: 20px;
|
|
||||||
margin: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hello-label {
|
|
||||||
color: white;
|
|
||||||
font-size: 20px;
|
|
||||||
}
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
[Settings]
|
|
||||||
gtk-theme-name=Arc-Dark
|
|
||||||
gtk-icon-theme-name=Papirus-Dark
|
|
||||||
gtk-cursor-theme-name=breeze_cursors
|
|
||||||
gtk-application-prefer-dark-theme=1
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
[Settings]
|
|
||||||
gtk-icon-theme-name=Papirus-Dark
|
|
||||||
gtk-cursor-theme-name=breeze_cursors
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
# ~/.config/hypr/hypridle.conf
|
|
||||||
|
|
||||||
general {
|
|
||||||
before_sleep_cmd = hyprlock
|
|
||||||
after_sleep_cmd = hyprctl dispatch dpms on
|
|
||||||
}
|
|
||||||
|
|
||||||
listener {
|
|
||||||
timeout = 600 # 10 minutes
|
|
||||||
on-timeout = hyprlock
|
|
||||||
on-resume = hyprctl dispatch dpms on
|
|
||||||
}
|
|
||||||
|
|
||||||
listener {
|
|
||||||
timeout = 900 # 15 minutes
|
|
||||||
on-timeout = hyprctl dispatch dpms off
|
|
||||||
on-resume = hyprctl dispatch dpms on
|
|
||||||
}
|
|
||||||
|
|
||||||
listener {
|
|
||||||
timeout = 7200 # 2 hours
|
|
||||||
on-timeout = hyprlock & disown && systemctl suspend
|
|
||||||
}
|
|
||||||
@@ -1,327 +0,0 @@
|
|||||||
################
|
|
||||||
### MONITORS ###
|
|
||||||
################
|
|
||||||
|
|
||||||
monitor=HDMI-A-1,3840x2160,0x0,1.5
|
|
||||||
monitor=DP-2,2560x2880,2560x0,1.6
|
|
||||||
monitor=DP-3,2560x2880,2560x0,1.6
|
|
||||||
#monitor=DP-1,2560x2880,0x0,2.0
|
|
||||||
monitor=eDP-1,1920x1200,6400x0,1.0
|
|
||||||
|
|
||||||
###################
|
|
||||||
### MY PROGRAMS ###
|
|
||||||
###################
|
|
||||||
|
|
||||||
$terminal = alacritty
|
|
||||||
$fileManager = dolphin
|
|
||||||
$menu = ~/.config/rofi/launchers/type-7/launcher.sh
|
|
||||||
|
|
||||||
|
|
||||||
#################
|
|
||||||
### AUTOSTART ###
|
|
||||||
#################
|
|
||||||
|
|
||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
|
||||||
# Or execute your favorite apps at launch like this:
|
|
||||||
|
|
||||||
# exec-once = nm-applet &
|
|
||||||
# exec-once = waybar & hyprpaper & firefox
|
|
||||||
exec = hyprpaper
|
|
||||||
exec-once = keepassxc
|
|
||||||
exec-once = waybar &
|
|
||||||
exec-once = hypridle &
|
|
||||||
exec-once = hyprsunset
|
|
||||||
exec-once = /usr/bin/udiskie &
|
|
||||||
exec-once = /usr/bin/nm-applet &
|
|
||||||
exec-once = /usr/bin/blueman-applet &
|
|
||||||
exec-once = /usr/libexec/kf6/polkit-kde-authentication-agent-1
|
|
||||||
|
|
||||||
|
|
||||||
#############################
|
|
||||||
### ENVIRONMENT VARIABLES ###
|
|
||||||
#############################
|
|
||||||
|
|
||||||
env = XCURSOR_SIZE,30
|
|
||||||
env = XCURSOR_THEME,breeze_cursors
|
|
||||||
env = HYPRCURSOR_SIZE,30
|
|
||||||
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
|
|
||||||
env = GTK_THEME,Arc-Dark
|
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
|
||||||
|
|
||||||
#####################
|
|
||||||
### LOOK AND FEEL ###
|
|
||||||
#####################
|
|
||||||
|
|
||||||
general {
|
|
||||||
gaps_in = 3
|
|
||||||
gaps_out = 10
|
|
||||||
border_size = 2
|
|
||||||
col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
|
|
||||||
col.inactive_border = rgba(595959aa)
|
|
||||||
resize_on_border = false
|
|
||||||
allow_tearing = false
|
|
||||||
layout = dwindle
|
|
||||||
}
|
|
||||||
|
|
||||||
decoration {
|
|
||||||
rounding = 5
|
|
||||||
active_opacity = 1.0
|
|
||||||
inactive_opacity = 1.0
|
|
||||||
|
|
||||||
shadow {
|
|
||||||
enabled = true
|
|
||||||
range = 4
|
|
||||||
render_power = 3
|
|
||||||
color = rgba(1a1a1aee)
|
|
||||||
}
|
|
||||||
|
|
||||||
blur {
|
|
||||||
enabled = true
|
|
||||||
size = 3
|
|
||||||
passes = 1
|
|
||||||
|
|
||||||
vibrancy = 0.1696
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
animations {
|
|
||||||
enabled = yes, please :)
|
|
||||||
|
|
||||||
bezier = easeOutQuint,0.23,1,0.32,1
|
|
||||||
bezier = easeInOutCubic,0.65,0.05,0.36,1
|
|
||||||
bezier = linear,0,0,1,1
|
|
||||||
bezier = almostLinear,0.5,0.5,0.75,1.0
|
|
||||||
bezier = quick,0.15,0,0.1,1
|
|
||||||
|
|
||||||
animation = global, 1, 10, default
|
|
||||||
animation = border, 1, 5.39, easeOutQuint
|
|
||||||
animation = windows, 1, 4.79, easeOutQuint
|
|
||||||
animation = windowsIn, 1, 4.1, easeOutQuint, popin 87%
|
|
||||||
animation = windowsOut, 1, 1.49, linear, popin 87%
|
|
||||||
animation = fadeIn, 1, 1.73, almostLinear
|
|
||||||
animation = fadeOut, 1, 1.46, almostLinear
|
|
||||||
animation = fade, 1, 3.03, quick
|
|
||||||
animation = layers, 1, 3.81, easeOutQuint
|
|
||||||
animation = layersIn, 1, 4, easeOutQuint, fade
|
|
||||||
animation = layersOut, 1, 1.5, linear, fade
|
|
||||||
animation = fadeLayersIn, 1, 1.79, almostLinear
|
|
||||||
animation = fadeLayersOut, 1, 1.39, almostLinear
|
|
||||||
animation = workspaces, 1, 1.94, almostLinear, fade
|
|
||||||
animation = workspacesIn, 1, 1.21, almostLinear, fade
|
|
||||||
animation = workspacesOut, 1, 1.94, almostLinear, fade
|
|
||||||
}
|
|
||||||
|
|
||||||
# Ref https://wiki.hyprland.org/Configuring/Workspace-Rules/
|
|
||||||
# "Smart gaps" / "No gaps when only"
|
|
||||||
# uncomment all if you wish to use that.
|
|
||||||
# workspace = w[tv1], gapsout:0, gapsin:0
|
|
||||||
# workspace = f[1], gapsout:0, gapsin:0
|
|
||||||
# windowrulev2 = bordersize 0, floating:0, onworkspace:w[tv1]
|
|
||||||
# windowrulev2 = rounding 0, floating:0, onworkspace:w[tv1]
|
|
||||||
# windowrulev2 = bordersize 0, floating:0, onworkspace:f[1]
|
|
||||||
# windowrulev2 = rounding 0, floating:0, onworkspace:f[1]
|
|
||||||
|
|
||||||
# Apply to ALL floating windows except Steam
|
|
||||||
#windowrule = center, class:negative:^(?i)steam$, floating:1
|
|
||||||
windowrule = maxsize 80% 80%, class:negative:^(?i)steam$, floating:1
|
|
||||||
#windowrule = minsize 360 240, class:negative:^(?i)steam$, floating:1
|
|
||||||
|
|
||||||
|
|
||||||
dwindle {
|
|
||||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
|
||||||
preserve_split = true # You probably want this
|
|
||||||
}
|
|
||||||
|
|
||||||
master {
|
|
||||||
new_status = master
|
|
||||||
}
|
|
||||||
|
|
||||||
misc {
|
|
||||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
|
||||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
|
||||||
}
|
|
||||||
|
|
||||||
#############
|
|
||||||
### INPUT ###
|
|
||||||
#############
|
|
||||||
|
|
||||||
input {
|
|
||||||
kb_layout = us(altgr-intl)
|
|
||||||
kb_options = caps:escape
|
|
||||||
repeat_delay = 250
|
|
||||||
repeat_rate = 45
|
|
||||||
follow_mouse = 1
|
|
||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
|
|
||||||
touchpad {
|
|
||||||
natural_scroll = false
|
|
||||||
tap-to-click = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
device {
|
|
||||||
name = epic-mouse-v1
|
|
||||||
sensitivity = -0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
# Set trackpoint sensitivity on laptop
|
|
||||||
device {
|
|
||||||
name = TPPS/2 Elan TrackPoint
|
|
||||||
sensitivity = 1.0
|
|
||||||
accel_profile = flat
|
|
||||||
}
|
|
||||||
|
|
||||||
# Set trackpoint sensitivity on Tex Shinobi USB
|
|
||||||
device {
|
|
||||||
name = USB-HID Keyboard Mouse
|
|
||||||
sensitivity = 0.3
|
|
||||||
accel_profile = flat
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
###################
|
|
||||||
### KEYBINDINGS ###
|
|
||||||
###################
|
|
||||||
|
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
|
||||||
|
|
||||||
bind = $mainMod, Return, exec, $terminal
|
|
||||||
bind = $mainMod SHIFT, Q, killactive,
|
|
||||||
#bind = $mainMod, M, exit,
|
|
||||||
bind = $mainMod, F, exec, $fileManager
|
|
||||||
bind = $mainMod, V, togglefloating,
|
|
||||||
bind = $mainMod, D, exec, $menu
|
|
||||||
bind = $mainMod SHIFT, P, pseudo, # dwindle
|
|
||||||
bind = $mainMod SHIFT, S, togglesplit, # dwindle
|
|
||||||
|
|
||||||
# Move focus with mainMod + arrow keys
|
|
||||||
bind = $mainMod, h, movefocus, l
|
|
||||||
bind = $mainMod, l, movefocus, r
|
|
||||||
bind = $mainMod, k, movefocus, u
|
|
||||||
bind = $mainMod, j, movefocus, d
|
|
||||||
|
|
||||||
# For dwindle layou:
|
|
||||||
bind = $mainMod SHIFT, H, movewindow, l
|
|
||||||
bind = $mainMod SHIFT, J, movewindow, d
|
|
||||||
bind = $mainMod SHIFT, K, movewindow, u
|
|
||||||
bind = $mainMod SHIFT, L, movewindow, r
|
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
|
||||||
bind = $mainMod, 1, workspace, 1
|
|
||||||
bind = $mainMod, 2, workspace, 2
|
|
||||||
bind = $mainMod, 3, workspace, 3
|
|
||||||
bind = $mainMod, 4, workspace, 4
|
|
||||||
bind = $mainMod, 5, workspace, 5
|
|
||||||
bind = $mainMod, 6, workspace, 6
|
|
||||||
bind = $mainMod, 7, workspace, 7
|
|
||||||
bind = $mainMod, 8, workspace, 8
|
|
||||||
bind = $mainMod, 9, workspace, 9
|
|
||||||
bind = $mainMod, 0, workspace, 10
|
|
||||||
|
|
||||||
workspace=1,defaultName:I
|
|
||||||
workspace=2,defaultName:II
|
|
||||||
workspace=3,defaultName:III
|
|
||||||
workspace=4,defaultName:IV
|
|
||||||
workspace=5,defaultName:V
|
|
||||||
workspace=6,defaultName:VI
|
|
||||||
workspace=7,defaultName:VII
|
|
||||||
workspace=8,defaultName:VIII
|
|
||||||
workspace=9,defaultName:IX
|
|
||||||
workspace=10,defaultName:X
|
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
|
||||||
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
|
|
||||||
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
|
|
||||||
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
|
|
||||||
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
|
|
||||||
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
|
|
||||||
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
|
|
||||||
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
|
|
||||||
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
|
|
||||||
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
|
|
||||||
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10
|
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
|
||||||
bind = $mainMod, Space, togglespecialworkspace, magic
|
|
||||||
bind = $mainMod SHIFT, Space, movetoworkspacesilent, special:magic
|
|
||||||
|
|
||||||
# Lock
|
|
||||||
bind = $mainMod, ESCAPE, exec, hyprlock
|
|
||||||
|
|
||||||
# Control windows
|
|
||||||
bind = $mainMod, equal, splitratio, 0.05 # make focused split wider
|
|
||||||
bind = $mainMod, minus, splitratio, -0.05 # make focused split narrower
|
|
||||||
|
|
||||||
# Scroll through existing wor0spaces with mainMod + scroll
|
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
|
||||||
|
|
||||||
# Laptop multimedia keys for volume and LCD brightness
|
|
||||||
bindel = ,XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
bindel = ,XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
bindel = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
|
|
||||||
bindel = ,XF86MonBrightnessUp, exec, brightnessctl s 10%+
|
|
||||||
bindel = ,XF86MonBrightnessDown, exec, brightnessctl s 10%-
|
|
||||||
|
|
||||||
# Requires playerctl
|
|
||||||
bindl = , XF86AudioNext, exec, playerctl next
|
|
||||||
bindl = , XF86AudioPause, exec, playerctl play-pause
|
|
||||||
bindl = , XF86AudioPlay, exec, playerctl play-pause
|
|
||||||
bindl = , XF86AudioPrev, exec, playerctl previous
|
|
||||||
|
|
||||||
# Screenshot (Grimshot)
|
|
||||||
# Captures the currently active window
|
|
||||||
bind = $mainMod, g, exec, grimshot save active
|
|
||||||
# Allows manually selecting a rectangular region
|
|
||||||
bind = $mainMod SHIFT, g, exec, grimshot save area
|
|
||||||
# Captures currently active output
|
|
||||||
bind = $mainMod ALT, g, exec, grimshot save output
|
|
||||||
# Allows manually selecting a single window
|
|
||||||
bind = $mainMod CTRL, g, exec, grimshot save window
|
|
||||||
|
|
||||||
# Gopass password management
|
|
||||||
bind = $mainMod, y, exec, ~/.local/bin/pass_copy
|
|
||||||
bind = $mainMod, u, exec, ~/.local/bin/pass_user_copy
|
|
||||||
bind = $mainMod, p, exec, ~/.local/bin/pass_autofill
|
|
||||||
|
|
||||||
# Bookmarks
|
|
||||||
# Enter selected bookmark into target text field
|
|
||||||
bind = $mainMod, i, exec, ~/.local/bin/bookmark_insert_into_field.sh
|
|
||||||
|
|
||||||
# Save bookmark
|
|
||||||
bind = $mainMod SHIFT, i, exec, ~/.local/bin/bookmark_save.sh
|
|
||||||
|
|
||||||
# Emojis
|
|
||||||
bind = $mainMod SHIFT, e, exec, ~/.local/bin/emoji_insert.sh
|
|
||||||
##############################
|
|
||||||
### WINDOWS AND WORKSPACES ###
|
|
||||||
##############################
|
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
|
||||||
|
|
||||||
# Example windowrule v1
|
|
||||||
# windowrule = float, ^(kitty)$
|
|
||||||
|
|
||||||
# Example windowrule v2
|
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
|
||||||
|
|
||||||
# Ignore maximize requests from apps. You'll probably like this.
|
|
||||||
windowrulev2 = suppressevent maximize, class:.*
|
|
||||||
|
|
||||||
# Fix some dragging issues with XWayland
|
|
||||||
windowrulev2 = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0
|
|
||||||
|
|
||||||
# For KeePassXC
|
|
||||||
windowrulev2 = float, class:^(org.keepassxc.KeePassXC)$
|
|
||||||
windowrulev2 = center, class:^(org.keepassxc.KeePassXC)$
|
|
||||||
|
|
||||||
xwayland {
|
|
||||||
force_zero_scaling = true
|
|
||||||
use_nearest_neighbor = true
|
|
||||||
}
|
|
||||||
@@ -1,25 +0,0 @@
|
|||||||
background {
|
|
||||||
monitor =
|
|
||||||
path = screenshot
|
|
||||||
blur_passes = 3
|
|
||||||
brightness = 0.8
|
|
||||||
}
|
|
||||||
|
|
||||||
input-field {
|
|
||||||
monitor =
|
|
||||||
size = 300, 50
|
|
||||||
outline_thickness = 2
|
|
||||||
position = 0, -100
|
|
||||||
rounding = 5
|
|
||||||
inner_color = rgba(0, 0, 0, 0.5)
|
|
||||||
outer_color = rgba(255, 255, 255, 0.2)
|
|
||||||
font_color = rgba(255,255,255,1)
|
|
||||||
}
|
|
||||||
|
|
||||||
label {
|
|
||||||
monitor =
|
|
||||||
text = Welcome back, $USER
|
|
||||||
position = 0, 150
|
|
||||||
font_size = 22
|
|
||||||
color = rgba(255,255,255,0.8)
|
|
||||||
}
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
preload = ~/.config/wallpapers/wall.jpg
|
|
||||||
wallpaper = , ~/.config/wallpapers/wall.jpg
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
max-gamma = 200
|
|
||||||
|
|
||||||
profile {
|
|
||||||
time = 7:00
|
|
||||||
identity = true
|
|
||||||
}
|
|
||||||
|
|
||||||
profile {
|
|
||||||
time = 18:00
|
|
||||||
temperature = 3000
|
|
||||||
}
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
# Generated by nwg-displays on 2025-08-26 at 17:57:03. Do not edit manually.
|
|
||||||
|
|
||||||
monitor=DP-2,2560x2880@59.98,2560x0,1.6
|
|
||||||
monitor=HDMI-A-1,3840x2160@60.0,0x0,1.5
|
|
||||||
+15
-29
@@ -1,36 +1,22 @@
|
|||||||
[Added Associations]
|
[Added Associations]
|
||||||
video/mp4=org.videolan.VLC.deskop;mpv.desktop;
|
video/mp4=org.videolan.VLC.desktop;org.kde.dragonplayer.desktop;mpv.desktop;
|
||||||
video/quicktime=org.videolan.VLC.deskop;mpv.desktop;
|
video/quicktime=org.videolan.VLC.desktop;org.kde.dragonplayer.desktop;mpv.desktop;
|
||||||
video/x-matroska=mpv.desktop;org.videolan.VLC.desktop;
|
|
||||||
application/vnd.rar=xarchiver.desktop;userapp-p7zipForFilemanager-FIKDV2.desktop;
|
|
||||||
image/jpeg=gimp.desktop;userapp-lximage-qt-KLEC62.desktop;
|
|
||||||
application/x-7z-compressed=xarchiver.desktop;userapp-p7zipForFilemanager-D7VDC3.desktop;
|
|
||||||
video/webm=mpv.desktop;
|
|
||||||
video/mpeg=mpv.desktop;
|
|
||||||
image/png=userapp-lximage-qt-KLEC62.desktop;
|
|
||||||
application/zip=xarchiver.desktop;
|
|
||||||
application/x-zerosize=userapp-lximage-qt-KLEC62.desktop;
|
|
||||||
image/webp=org.gnome.gThumb.desktop;
|
|
||||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop;
|
|
||||||
video/vnd.avi=mpv.desktop;
|
|
||||||
|
|
||||||
[Default Applications]
|
[Default Applications]
|
||||||
video/mp4=mpv.desktop
|
inode/directory=pcmanfm-qt
|
||||||
video/quicktime=mpv.desktop
|
video/mp4=org.videolan.VLC.desktop;
|
||||||
|
video/quicktime=org.videolan.VLC.desktop
|
||||||
|
|
||||||
text/html=brave-browser.desktop
|
text/html=brave-browser.desktop
|
||||||
application/xhtml+xml=librewolf.desktop
|
application/xhtml+xml=brave-browser.desktop
|
||||||
application/xml=librewolf.desktop
|
application/xml=brave-browser.desktop
|
||||||
text/xml=librewolf.desktop
|
text/xml=brave-browser.desktop
|
||||||
text/xsl=librewolf.desktop
|
text/xsl=brave-browser.desktop
|
||||||
application/rss+xml=librewolf.desktop
|
application/rss+xml=brave-browser.desktop
|
||||||
application/atom+xml=librewolf.desktop
|
application/atom+xml=brave-browser.desktop
|
||||||
x-scheme-handler/http=brave-browser.desktop
|
x-scheme-handler/http=brave-browser.desktop
|
||||||
x-scheme-handler/https=brave-browser.desktop
|
x-scheme-handler/https=brave-browser.desktop
|
||||||
x-scheme-handler/ftp=librewolf.desktop
|
x-scheme-handler/ftp=brave-browser.desktop
|
||||||
x-scheme-handler/chrome=librewolf.desktop
|
x-scheme-handler/chrome=brave-browser.desktop
|
||||||
x-scheme-handler/about=brave-browser.desktop
|
x-scheme-handler/about=brave-browser.desktop
|
||||||
x-scheme-handler/mailto=librewolf.desktop
|
x-scheme-handler/mailto=brave-browser.desktop
|
||||||
image/jpeg=userapp-lximage-qt-KLEC62.desktop
|
|
||||||
application/x-zerosize=userapp-lximage-qt-KLEC62.desktop
|
|
||||||
application/pdf=org.pwmt.zathura-pdf-poppler.desktop
|
|
||||||
x-scheme-handler/unknown=brave-browser.desktop
|
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
music_directory "/mnt/media/music"
|
|
||||||
playlist_directory "~/.local/share/mpd/playlists"
|
|
||||||
db_file "~/.local/share/mpd/db"
|
|
||||||
log_file "~/.local/share/mpd/log"
|
|
||||||
pid_file "~/.local/share/mpd/pid"
|
|
||||||
state_file "~/.local/share/mpd/state"
|
|
||||||
sticker_file "~/.local/share/mpd/sticker.sql"
|
|
||||||
port "6660"
|
|
||||||
bind_to_address "127.0.0.1"
|
|
||||||
|
|
||||||
audio_output {
|
|
||||||
type "pulse"
|
|
||||||
name "My Audio"
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,479 +0,0 @@
|
|||||||
##############################################################
|
|
||||||
## This is the example bindings file. Copy it to ##
|
|
||||||
## ~/.ncmpcpp/bindings or $XDG_CONFIG_HOME/ncmpcpp/bindings ##
|
|
||||||
## and set up your preferences ##
|
|
||||||
##############################################################
|
|
||||||
#
|
|
||||||
#def_key "mouse"
|
|
||||||
# mouse_event
|
|
||||||
#
|
|
||||||
#def_key "up"
|
|
||||||
# scroll_up
|
|
||||||
#
|
|
||||||
#def_key "shift-up"
|
|
||||||
# select_item
|
|
||||||
# scroll_up
|
|
||||||
#
|
|
||||||
#def_key "down"
|
|
||||||
# scroll_down
|
|
||||||
#
|
|
||||||
#def_key "shift-down"
|
|
||||||
# select_item
|
|
||||||
# scroll_down
|
|
||||||
#
|
|
||||||
#def_key "["
|
|
||||||
# scroll_up_album
|
|
||||||
#
|
|
||||||
#def_key "]"
|
|
||||||
# scroll_down_album
|
|
||||||
#
|
|
||||||
#def_key "{"
|
|
||||||
# scroll_up_artist
|
|
||||||
#
|
|
||||||
#def_key "}"
|
|
||||||
# scroll_down_artist
|
|
||||||
#
|
|
||||||
#def_key "page_up"
|
|
||||||
# page_up
|
|
||||||
#
|
|
||||||
#def_key "page_down"
|
|
||||||
# page_down
|
|
||||||
#
|
|
||||||
#def_key "home"
|
|
||||||
# move_home
|
|
||||||
#
|
|
||||||
#def_key "end"
|
|
||||||
# move_end
|
|
||||||
#
|
|
||||||
#def_key "insert"
|
|
||||||
# select_item
|
|
||||||
#
|
|
||||||
#def_key "enter"
|
|
||||||
# enter_directory
|
|
||||||
#
|
|
||||||
#def_key "enter"
|
|
||||||
# toggle_output
|
|
||||||
#
|
|
||||||
#def_key "enter"
|
|
||||||
# run_action
|
|
||||||
#
|
|
||||||
#def_key "enter"
|
|
||||||
# play_item
|
|
||||||
#
|
|
||||||
#def_key "space"
|
|
||||||
# add_item_to_playlist
|
|
||||||
#
|
|
||||||
#def_key "space"
|
|
||||||
# toggle_lyrics_update_on_song_change
|
|
||||||
#
|
|
||||||
#def_key "space"
|
|
||||||
# toggle_visualization_type
|
|
||||||
#
|
|
||||||
#def_key "delete"
|
|
||||||
# delete_playlist_items
|
|
||||||
#
|
|
||||||
#def_key "delete"
|
|
||||||
# delete_browser_items
|
|
||||||
#
|
|
||||||
#def_key "delete"
|
|
||||||
# delete_stored_playlist
|
|
||||||
#
|
|
||||||
#def_key "right"
|
|
||||||
# next_column
|
|
||||||
#
|
|
||||||
#def_key "right"
|
|
||||||
# slave_screen
|
|
||||||
#
|
|
||||||
#def_key "right"
|
|
||||||
# volume_up
|
|
||||||
#
|
|
||||||
#def_key "+"
|
|
||||||
# volume_up
|
|
||||||
#
|
|
||||||
#def_key "left"
|
|
||||||
# previous_column
|
|
||||||
#
|
|
||||||
#def_key "left"
|
|
||||||
# master_screen
|
|
||||||
#
|
|
||||||
#def_key "left"
|
|
||||||
# volume_down
|
|
||||||
#
|
|
||||||
#def_key "-"
|
|
||||||
# volume_down
|
|
||||||
#
|
|
||||||
#def_key ":"
|
|
||||||
# execute_command
|
|
||||||
#
|
|
||||||
#def_key "tab"
|
|
||||||
# next_screen
|
|
||||||
#
|
|
||||||
#def_key "shift-tab"
|
|
||||||
# previous_screen
|
|
||||||
#
|
|
||||||
#def_key "f1"
|
|
||||||
# show_help
|
|
||||||
#
|
|
||||||
#def_key "1"
|
|
||||||
# show_playlist
|
|
||||||
#
|
|
||||||
#def_key "2"
|
|
||||||
# show_browser
|
|
||||||
#
|
|
||||||
#def_key "2"
|
|
||||||
# change_browse_mode
|
|
||||||
#
|
|
||||||
#def_key "3"
|
|
||||||
# show_search_engine
|
|
||||||
#
|
|
||||||
#def_key "3"
|
|
||||||
# reset_search_engine
|
|
||||||
#
|
|
||||||
#def_key "4"
|
|
||||||
# show_media_library
|
|
||||||
#
|
|
||||||
#def_key "4"
|
|
||||||
# toggle_media_library_columns_mode
|
|
||||||
#
|
|
||||||
#def_key "5"
|
|
||||||
# show_playlist_editor
|
|
||||||
#
|
|
||||||
#def_key "6"
|
|
||||||
# show_tag_editor
|
|
||||||
#
|
|
||||||
#def_key "7"
|
|
||||||
# show_outputs
|
|
||||||
#
|
|
||||||
#def_key "8"
|
|
||||||
# show_visualizer
|
|
||||||
#
|
|
||||||
#def_key "="
|
|
||||||
# show_clock
|
|
||||||
#
|
|
||||||
#def_key "@"
|
|
||||||
# show_server_info
|
|
||||||
#
|
|
||||||
#def_key "s"
|
|
||||||
# stop
|
|
||||||
#
|
|
||||||
#def_key "p"
|
|
||||||
# pause
|
|
||||||
#
|
|
||||||
#def_key ">"
|
|
||||||
# next
|
|
||||||
#
|
|
||||||
#def_key "<"
|
|
||||||
# previous
|
|
||||||
#
|
|
||||||
#def_key "ctrl-h"
|
|
||||||
# jump_to_parent_directory
|
|
||||||
#
|
|
||||||
#def_key "ctrl-h"
|
|
||||||
# replay_song
|
|
||||||
#
|
|
||||||
#def_key "backspace"
|
|
||||||
# jump_to_parent_directory
|
|
||||||
#
|
|
||||||
#def_key "backspace"
|
|
||||||
# replay_song
|
|
||||||
#
|
|
||||||
#def_key "f"
|
|
||||||
# seek_forward
|
|
||||||
#
|
|
||||||
#def_key "b"
|
|
||||||
# seek_backward
|
|
||||||
#
|
|
||||||
#def_key "r"
|
|
||||||
# toggle_repeat
|
|
||||||
#
|
|
||||||
#def_key "z"
|
|
||||||
# toggle_random
|
|
||||||
#
|
|
||||||
#def_key "y"
|
|
||||||
# save_tag_changes
|
|
||||||
#
|
|
||||||
#def_key "y"
|
|
||||||
# start_searching
|
|
||||||
#
|
|
||||||
#def_key "y"
|
|
||||||
# toggle_single
|
|
||||||
#
|
|
||||||
#def_key "R"
|
|
||||||
# toggle_consume
|
|
||||||
#
|
|
||||||
#def_key "Y"
|
|
||||||
# toggle_replay_gain_mode
|
|
||||||
#
|
|
||||||
#def_key "T"
|
|
||||||
# toggle_add_mode
|
|
||||||
#
|
|
||||||
#def_key "|"
|
|
||||||
# toggle_mouse
|
|
||||||
#
|
|
||||||
#def_key "#"
|
|
||||||
# toggle_bitrate_visibility
|
|
||||||
#
|
|
||||||
#def_key "Z"
|
|
||||||
# shuffle
|
|
||||||
#
|
|
||||||
#def_key "x"
|
|
||||||
# toggle_crossfade
|
|
||||||
#
|
|
||||||
#def_key "X"
|
|
||||||
# set_crossfade
|
|
||||||
#
|
|
||||||
#def_key "u"
|
|
||||||
# update_database
|
|
||||||
#
|
|
||||||
#def_key "ctrl-s"
|
|
||||||
# sort_playlist
|
|
||||||
#
|
|
||||||
#def_key "ctrl-s"
|
|
||||||
# toggle_browser_sort_mode
|
|
||||||
#
|
|
||||||
#def_key "ctrl-s"
|
|
||||||
# toggle_media_library_sort_mode
|
|
||||||
#
|
|
||||||
#def_key "ctrl-r"
|
|
||||||
# reverse_playlist
|
|
||||||
#
|
|
||||||
#def_key "ctrl-f"
|
|
||||||
# apply_filter
|
|
||||||
#
|
|
||||||
#def_key "ctrl-_"
|
|
||||||
# select_found_items
|
|
||||||
#
|
|
||||||
#def_key "/"
|
|
||||||
# find
|
|
||||||
#
|
|
||||||
#def_key "/"
|
|
||||||
# find_item_forward
|
|
||||||
#
|
|
||||||
#def_key "?"
|
|
||||||
# find
|
|
||||||
#
|
|
||||||
#def_key "?"
|
|
||||||
# find_item_backward
|
|
||||||
#
|
|
||||||
#def_key "."
|
|
||||||
# next_found_item
|
|
||||||
#
|
|
||||||
#def_key ","
|
|
||||||
# previous_found_item
|
|
||||||
#
|
|
||||||
#def_key "w"
|
|
||||||
# toggle_find_mode
|
|
||||||
#
|
|
||||||
#def_key "e"
|
|
||||||
# edit_song
|
|
||||||
#
|
|
||||||
#def_key "e"
|
|
||||||
# edit_library_tag
|
|
||||||
#
|
|
||||||
#def_key "e"
|
|
||||||
# edit_library_album
|
|
||||||
#
|
|
||||||
#def_key "e"
|
|
||||||
# edit_directory_name
|
|
||||||
#
|
|
||||||
#def_key "e"
|
|
||||||
# edit_playlist_name
|
|
||||||
#
|
|
||||||
#def_key "e"
|
|
||||||
# edit_lyrics
|
|
||||||
#
|
|
||||||
#def_key "i"
|
|
||||||
# show_song_info
|
|
||||||
#
|
|
||||||
#def_key "I"
|
|
||||||
# show_artist_info
|
|
||||||
#
|
|
||||||
#def_key "g"
|
|
||||||
# jump_to_position_in_song
|
|
||||||
#
|
|
||||||
#def_key "l"
|
|
||||||
# show_lyrics
|
|
||||||
#
|
|
||||||
#def_key "ctrl-v"
|
|
||||||
# select_range
|
|
||||||
#
|
|
||||||
#def_key "v"
|
|
||||||
# reverse_selection
|
|
||||||
#
|
|
||||||
#def_key "V"
|
|
||||||
# remove_selection
|
|
||||||
#
|
|
||||||
#def_key "B"
|
|
||||||
# select_album
|
|
||||||
#
|
|
||||||
#def_key "a"
|
|
||||||
# add_selected_items
|
|
||||||
#
|
|
||||||
#def_key "c"
|
|
||||||
# clear_playlist
|
|
||||||
#
|
|
||||||
#def_key "c"
|
|
||||||
# clear_main_playlist
|
|
||||||
#
|
|
||||||
#def_key "C"
|
|
||||||
# crop_playlist
|
|
||||||
#
|
|
||||||
#def_key "C"
|
|
||||||
# crop_main_playlist
|
|
||||||
#
|
|
||||||
#def_key "m"
|
|
||||||
# move_sort_order_up
|
|
||||||
#
|
|
||||||
#def_key "m"
|
|
||||||
# move_selected_items_up
|
|
||||||
#
|
|
||||||
#def_key "n"
|
|
||||||
# move_sort_order_down
|
|
||||||
#
|
|
||||||
#def_key "n"
|
|
||||||
# move_selected_items_down
|
|
||||||
#
|
|
||||||
#def_key "M"
|
|
||||||
# move_selected_items_to
|
|
||||||
#
|
|
||||||
#def_key "A"
|
|
||||||
# add
|
|
||||||
#
|
|
||||||
#def_key "S"
|
|
||||||
# save_playlist
|
|
||||||
#
|
|
||||||
#def_key "o"
|
|
||||||
# jump_to_playing_song
|
|
||||||
#
|
|
||||||
#def_key "G"
|
|
||||||
# jump_to_browser
|
|
||||||
#
|
|
||||||
#def_key "G"
|
|
||||||
# jump_to_playlist_editor
|
|
||||||
#
|
|
||||||
#def_key "~"
|
|
||||||
# jump_to_media_library
|
|
||||||
#
|
|
||||||
#def_key "E"
|
|
||||||
# jump_to_tag_editor
|
|
||||||
#
|
|
||||||
#def_key "U"
|
|
||||||
# toggle_playing_song_centering
|
|
||||||
#
|
|
||||||
#def_key "P"
|
|
||||||
# toggle_display_mode
|
|
||||||
#
|
|
||||||
#def_key "\\"
|
|
||||||
# toggle_interface
|
|
||||||
#
|
|
||||||
#def_key "!"
|
|
||||||
# toggle_separators_between_albums
|
|
||||||
#
|
|
||||||
#def_key "L"
|
|
||||||
# toggle_lyrics_fetcher
|
|
||||||
#
|
|
||||||
#def_key "F"
|
|
||||||
# fetch_lyrics_in_background
|
|
||||||
#
|
|
||||||
#def_key "alt-l"
|
|
||||||
# toggle_fetching_lyrics_in_background
|
|
||||||
#
|
|
||||||
#def_key "ctrl-l"
|
|
||||||
# toggle_screen_lock
|
|
||||||
#
|
|
||||||
#def_key "`"
|
|
||||||
# toggle_library_tag_type
|
|
||||||
#
|
|
||||||
#def_key "`"
|
|
||||||
# refetch_lyrics
|
|
||||||
#
|
|
||||||
#def_key "`"
|
|
||||||
# add_random_items
|
|
||||||
#
|
|
||||||
#def_key "ctrl-p"
|
|
||||||
# set_selected_items_priority
|
|
||||||
#
|
|
||||||
#def_key "q"
|
|
||||||
# quit
|
|
||||||
#
|
|
||||||
#
|
|
||||||
#def_key "f"
|
|
||||||
# find
|
|
||||||
#def_key "f"
|
|
||||||
# find_item_forward
|
|
||||||
|
|
||||||
def_key "+"
|
|
||||||
show_clock
|
|
||||||
def_key "="
|
|
||||||
volume_up
|
|
||||||
|
|
||||||
def_key "j"
|
|
||||||
scroll_down
|
|
||||||
def_key "k"
|
|
||||||
scroll_up
|
|
||||||
|
|
||||||
def_key "ctrl-u"
|
|
||||||
page_up
|
|
||||||
#push_characters "kkkkkkkkkkkkkkk"
|
|
||||||
def_key "ctrl-d"
|
|
||||||
page_down
|
|
||||||
#push_characters "jjjjjjjjjjjjjjj"
|
|
||||||
def_key "u"
|
|
||||||
page_up
|
|
||||||
#push_characters "kkkkkkkkkkkkkkk"
|
|
||||||
def_key "d"
|
|
||||||
page_down
|
|
||||||
#push_characters "jjjjjjjjjjjjjjj"
|
|
||||||
def_key "h"
|
|
||||||
previous_column
|
|
||||||
def_key "l"
|
|
||||||
next_column
|
|
||||||
|
|
||||||
def_key "."
|
|
||||||
show_lyrics
|
|
||||||
|
|
||||||
def_key "n"
|
|
||||||
next_found_item
|
|
||||||
def_key "N"
|
|
||||||
previous_found_item
|
|
||||||
|
|
||||||
# not used but bound
|
|
||||||
def_key "J"
|
|
||||||
move_sort_order_down
|
|
||||||
def_key "K"
|
|
||||||
move_sort_order_up
|
|
||||||
def_key "h"
|
|
||||||
jump_to_parent_directory
|
|
||||||
def_key "l"
|
|
||||||
enter_directory
|
|
||||||
def_key "l"
|
|
||||||
run_action
|
|
||||||
def_key "l"
|
|
||||||
play_item
|
|
||||||
def_key "m"
|
|
||||||
show_media_library
|
|
||||||
def_key "m"
|
|
||||||
toggle_media_library_columns_mode
|
|
||||||
def_key "t"
|
|
||||||
show_tag_editor
|
|
||||||
def_key "v"
|
|
||||||
show_visualizer
|
|
||||||
def_key "G"
|
|
||||||
move_end
|
|
||||||
def_key "g"
|
|
||||||
move_home
|
|
||||||
#jump_to_position_in_song
|
|
||||||
def_key "U"
|
|
||||||
update_database
|
|
||||||
def_key "s"
|
|
||||||
reset_search_engine
|
|
||||||
def_key "s"
|
|
||||||
show_search_engine
|
|
||||||
def_key "f"
|
|
||||||
show_browser
|
|
||||||
def_key "f"
|
|
||||||
change_browse_mode
|
|
||||||
def_key "x"
|
|
||||||
delete_playlist_items
|
|
||||||
def_key "P"
|
|
||||||
show_playlist
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
|
|
||||||
mpd_host = "127.0.0.1"
|
|
||||||
mpd_port = "6660"
|
|
||||||
mpd_music_dir = "/mnt/media/music"
|
|
||||||
|
|
||||||
ncmpcpp_directory = "~/.config/ncmpcpp"
|
|
||||||
lyrics_directory = "~/.config/ncmpcpp/lyrics"
|
|
||||||
visualizer_type = "spectrum"
|
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ highlight article ":.*\\(link\\)$" cyan default
|
|||||||
highlight article ":.*\\(image\\)$" blue default
|
highlight article ":.*\\(image\\)$" blue default
|
||||||
highlight article ":.*\\(embedded flash\\)$" magenta default
|
highlight article ":.*\\(embedded flash\\)$" magenta default
|
||||||
|
|
||||||
#urls-source "ttrss"
|
urls-source "ttrss"
|
||||||
#ttrss-url "https://rss.opal.sh/tt-rss/"
|
ttrss-url "https://rss.opal.sh/tt-rss/"
|
||||||
#ttrss-login "ryan"
|
ttrss-login "ryan"
|
||||||
#ttrss-passwordeval "gopass show -o self-hosted/rss.opal.sh"
|
ttrss-passwordeval "gopass show -o self-hosted/rss.opal.sh"
|
||||||
|
|||||||
+2
-25
@@ -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
|
|
||||||
|
|
||||||
|
|||||||
+48
-17
@@ -1,20 +1,51 @@
|
|||||||
-- ~/.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 = 'light'
|
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]]
|
|
||||||
|
-- Disables automatic commenting on newline:
|
||||||
|
vim.api.nvim_exec([[
|
||||||
|
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
|
||||||
|
]], false)
|
||||||
|
|
||||||
|
-- Perform dot commands over visual blocks:
|
||||||
|
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.api.nvim_create_autocmd("BufRead", {
|
|
||||||
pattern = "*",
|
|
||||||
callback = function()
|
|
||||||
if vim.fn.getline(1):match("^#!.*/python") then
|
|
||||||
vim.bo.filetype = "python"
|
|
||||||
end
|
|
||||||
end
|
|
||||||
})
|
|
||||||
|
|||||||
@@ -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" },
|
||||||
|
},
|
||||||
|
})
|
||||||
|
vim.cmd("colorscheme gruvbox")
|
||||||
|
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,7 +1,7 @@
|
|||||||
;; vi keybindings
|
;; vi keybindings
|
||||||
(define-configuration buffer
|
(define-configuration buffer
|
||||||
((default-modes
|
((default-modes
|
||||||
(pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%))))
|
(pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%))))
|
||||||
|
|
||||||
;; Vi-insert mode for prompt-buffer (minibuffer)
|
;; Vi-insert mode for prompt-buffer (minibuffer)
|
||||||
(define-configuration prompt-buffer
|
(define-configuration prompt-buffer
|
||||||
@@ -9,11 +9,11 @@
|
|||||||
|
|
||||||
(defvar *my-search-engines*
|
(defvar *my-search-engines*
|
||||||
(list
|
(list
|
||||||
'("ddg" "https://duckduckgo.com/?q=~a" "https://duckduckgo.com"))
|
'("ddg" "https://duckduckgo.com/search?q=~a" "https://duckduckgo.com"))
|
||||||
"List of search engines.")
|
"List of search engines.")
|
||||||
|
|
||||||
(define-configuration context-buffer
|
(define-configuration context-buffer
|
||||||
"Set DuckDuckGo as the default search engine."
|
"Set DuckDuckGo as the default search engine."
|
||||||
((search-engines
|
((search-engines
|
||||||
(append %slot-default%
|
(append %slot-default%
|
||||||
(mapcar
|
(mapcar
|
||||||
|
|||||||
Submodule
+1
Submodule .config/qutebrowser/dracula added at 791de19ce6
@@ -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;
|
|
||||||
}
|
|
||||||
+150
-179
@@ -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";
|
|
||||||
*/
|
|
||||||
}
|
}
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user