initial dotfiles commit
202
.gitignore
vendored
Normal file
@ -0,0 +1,202 @@
|
|||||||
|
# --- Core System/Desktop Configs ---
|
||||||
|
gtk-2.0/
|
||||||
|
gtk-4.0/
|
||||||
|
kdedefaults/
|
||||||
|
kde.org/
|
||||||
|
kdeglobals
|
||||||
|
kcminputrc
|
||||||
|
kconf_updaterc
|
||||||
|
kiorc
|
||||||
|
kleopatrarc
|
||||||
|
kritadisplayrc
|
||||||
|
kritarc
|
||||||
|
ktimezonedrc
|
||||||
|
kscreenlockerrc
|
||||||
|
ksmserverrc
|
||||||
|
kwinoutputconfig.json
|
||||||
|
kwinrc
|
||||||
|
kglobalshortcutsrc
|
||||||
|
kded5rc
|
||||||
|
kactivitymanagerdrc
|
||||||
|
kactivitymanagerd-statsrc
|
||||||
|
plasma-localerc
|
||||||
|
plasmanotifyrc
|
||||||
|
plasmashellrc
|
||||||
|
plasma-org.kde.plasma.desktop-appletsrc
|
||||||
|
plasma-workspace/
|
||||||
|
powerdevilrc
|
||||||
|
systemsettingsrc
|
||||||
|
systemd/
|
||||||
|
trashrc
|
||||||
|
xdg-desktop-portal-kderc
|
||||||
|
user-dirs.locale
|
||||||
|
user-dirs.dirs
|
||||||
|
autostart/
|
||||||
|
mimeapps.list
|
||||||
|
dconf/
|
||||||
|
pavucontrol.ini
|
||||||
|
QtProject.conf
|
||||||
|
Trolltech.conf
|
||||||
|
lib/
|
||||||
|
libvirt/
|
||||||
|
pulse/
|
||||||
|
wireplumber/
|
||||||
|
xfce4/
|
||||||
|
KDE/
|
||||||
|
cosmic/
|
||||||
|
|
||||||
|
# --- Development/Terminal Tools ---
|
||||||
|
ansible/
|
||||||
|
amass/
|
||||||
|
binwalk/
|
||||||
|
btop/
|
||||||
|
cava/
|
||||||
|
chromium/
|
||||||
|
chromium-flags.conf
|
||||||
|
configstore/
|
||||||
|
config.{zip,tar,gz,7z,rar,bz2}
|
||||||
|
copyq/
|
||||||
|
frida/
|
||||||
|
gitui/
|
||||||
|
go/
|
||||||
|
gnuradio/
|
||||||
|
gqrx/
|
||||||
|
httpx/
|
||||||
|
httpx-toolkit/
|
||||||
|
imhex/
|
||||||
|
kicad/
|
||||||
|
lftp/
|
||||||
|
lxc/
|
||||||
|
matplotlib/
|
||||||
|
naabu/
|
||||||
|
nextjs-nodejs/
|
||||||
|
nushell/
|
||||||
|
projectM/
|
||||||
|
rustdesk/
|
||||||
|
searx.settings
|
||||||
|
shodan/
|
||||||
|
subfinder/
|
||||||
|
Subdominator/
|
||||||
|
thefuck/
|
||||||
|
Thunar/
|
||||||
|
urh/
|
||||||
|
wayvnc/
|
||||||
|
weechat/
|
||||||
|
|
||||||
|
# --- Applications (Browsers, Messaging, Multimedia, etc.) ---
|
||||||
|
Android Open Source Project/
|
||||||
|
Arduino IDE/
|
||||||
|
arduino-ide/
|
||||||
|
audacity/
|
||||||
|
balena-etcher/
|
||||||
|
baloofileinformationrc
|
||||||
|
baloofilerc
|
||||||
|
Bitwarden/
|
||||||
|
blender/
|
||||||
|
BraveSoftware/
|
||||||
|
browser-launcher/
|
||||||
|
browsh/
|
||||||
|
Caido/
|
||||||
|
cef_user_data/
|
||||||
|
cmus/
|
||||||
|
conky/
|
||||||
|
crow-translate/
|
||||||
|
discord/
|
||||||
|
dolphinrc
|
||||||
|
easyeffects/
|
||||||
|
Electron/
|
||||||
|
Element/
|
||||||
|
emaildefaults
|
||||||
|
evolution/
|
||||||
|
Exodus/
|
||||||
|
expressvpn/
|
||||||
|
fabric/
|
||||||
|
falkTX/
|
||||||
|
ffuf/
|
||||||
|
'Fiddler Everywhere'/
|
||||||
|
'Flipper Devices Inc'/
|
||||||
|
fontconfig/
|
||||||
|
fontforge/
|
||||||
|
FreeCAD/
|
||||||
|
freerdp/
|
||||||
|
geary/
|
||||||
|
geonkick/
|
||||||
|
GIMP/
|
||||||
|
glib-2.0/
|
||||||
|
Google/
|
||||||
|
google-chrome-for-testing/
|
||||||
|
gwenviewrc
|
||||||
|
hexchat/
|
||||||
|
htop/
|
||||||
|
httptoolkit/
|
||||||
|
ibus/
|
||||||
|
joplin-desktop/
|
||||||
|
Joplin/
|
||||||
|
karboncalligraphyrc
|
||||||
|
keepassxc/
|
||||||
|
kdenlive-layoutsrc
|
||||||
|
kdenliverc
|
||||||
|
Kvantum/
|
||||||
|
Ladybird/
|
||||||
|
LibreCAD/
|
||||||
|
libreoffice/
|
||||||
|
Logseq/
|
||||||
|
lsp-plugins/
|
||||||
|
Meltytech/
|
||||||
|
menus/
|
||||||
|
monero-project/
|
||||||
|
MQTT-Explorer/
|
||||||
|
MQTTX/
|
||||||
|
'Mullvad VPN'/
|
||||||
|
nautilus/
|
||||||
|
ncspot/
|
||||||
|
Nextcloud/
|
||||||
|
nicotine/
|
||||||
|
nordvpn/
|
||||||
|
obs-studio/
|
||||||
|
osci-render/
|
||||||
|
osci-render_globals.settings
|
||||||
|
osci-render.settings
|
||||||
|
pamac/
|
||||||
|
PINCE/
|
||||||
|
Projucer/
|
||||||
|
Proton/
|
||||||
|
qBittorrent/
|
||||||
|
'Raspberry Pi'/
|
||||||
|
remmina/
|
||||||
|
'Sandbox Interactive GmbH'/
|
||||||
|
scdl/
|
||||||
|
SEGGER/
|
||||||
|
Session/
|
||||||
|
Signal/
|
||||||
|
simplex/
|
||||||
|
sierra/
|
||||||
|
sonic-visualiser/
|
||||||
|
spectaclerc
|
||||||
|
'Surge XT.settings'
|
||||||
|
sx/
|
||||||
|
TeraBox/
|
||||||
|
terabox/
|
||||||
|
transmission/
|
||||||
|
uad/
|
||||||
|
uncover/
|
||||||
|
unity3d/
|
||||||
|
vlc/
|
||||||
|
via-nativia/
|
||||||
|
weechat/
|
||||||
|
whoozle.github.io/
|
||||||
|
winapps/
|
||||||
|
wireshark/
|
||||||
|
yowsup/
|
||||||
|
|
||||||
|
gtk-3.0/bookmarks
|
||||||
|
*.swp
|
||||||
|
fish/fish_variables
|
||||||
|
powermanagementprofilesrc
|
||||||
|
session/
|
||||||
|
libaccounts-glib/
|
||||||
|
kdeconnect/
|
||||||
|
github-copilot/
|
||||||
|
content_shell/
|
||||||
|
bleachbit/
|
||||||
|
gh/
|
||||||
13
Surge XT.settings
Normal file
42
alacritty/alacritty.toml
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
[colors.bright]
|
||||||
|
black = "0x928374"
|
||||||
|
blue = "0x7daea3"
|
||||||
|
cyan = "0x89b482"
|
||||||
|
green = "0xa9b665"
|
||||||
|
magenta = "0xd3869b"
|
||||||
|
red = "0xea6962"
|
||||||
|
white = "0xdfbf8e"
|
||||||
|
yellow = "0xe3a84e"
|
||||||
|
|
||||||
|
[colors.normal]
|
||||||
|
black = "0x665c54"
|
||||||
|
blue = "0x7daea3"
|
||||||
|
cyan = "0x89b482"
|
||||||
|
green = "0xa9b665"
|
||||||
|
magenta = "0xd3869b"
|
||||||
|
red = "0xea6962"
|
||||||
|
white = "0xdfbf8e"
|
||||||
|
yellow = "0xe78a4e"
|
||||||
|
|
||||||
|
[colors.primary]
|
||||||
|
background = "0x1f0d00"
|
||||||
|
#background = "0x282828"
|
||||||
|
foreground = "0xdfbf8e"
|
||||||
|
|
||||||
|
[env]
|
||||||
|
EDITOR = "nvim"
|
||||||
|
#TERM = "xterm"
|
||||||
|
[font]
|
||||||
|
size = 13
|
||||||
|
|
||||||
|
[font.normal]
|
||||||
|
family = "SauceCodePro Nerd Font"
|
||||||
|
#family = "CodeNewRoman Nerd Font"
|
||||||
|
|
||||||
|
[terminal.shell]
|
||||||
|
program = "/usr/bin/fish"
|
||||||
|
|
||||||
|
[scrolling]
|
||||||
|
history = 5000
|
||||||
|
|
||||||
|
[terminal]
|
||||||
126
dunst/dunstrc
Normal file
@ -0,0 +1,126 @@
|
|||||||
|
[global]
|
||||||
|
|
||||||
|
### Display ###
|
||||||
|
|
||||||
|
# Display notifications on monitor with mouse focus
|
||||||
|
follow = mouse
|
||||||
|
# Set {width}x{height} and {x_pos}+{y_pos}
|
||||||
|
geometry = "300x30-5+60"
|
||||||
|
# Show number of hidden notifications
|
||||||
|
indicate_hidden = yes
|
||||||
|
# Shrink window if smaller than width
|
||||||
|
shrink = no
|
||||||
|
# Set transparency of notifications
|
||||||
|
transparency = 0
|
||||||
|
# Height of whole notification
|
||||||
|
notification_height = 0
|
||||||
|
# Height of seperators
|
||||||
|
separator_height = 2
|
||||||
|
# Text and seperator padding
|
||||||
|
padding = 8
|
||||||
|
# Horizontal padding
|
||||||
|
horizontal_padding = 8
|
||||||
|
# Width of frame around window
|
||||||
|
frame_width = 1
|
||||||
|
# Color of frame around window
|
||||||
|
frame_color = "#4287f5"
|
||||||
|
# Sort messages by urgency
|
||||||
|
sort = yes
|
||||||
|
# Idle seconds
|
||||||
|
idle_threshold = 0
|
||||||
|
|
||||||
|
### Text ###
|
||||||
|
|
||||||
|
# Set font of notifications
|
||||||
|
font = Iosevka 10
|
||||||
|
# Spacing between lines
|
||||||
|
line-height = 0
|
||||||
|
# Markup parsing
|
||||||
|
markup = full
|
||||||
|
# Message format:
|
||||||
|
# %a - appname
|
||||||
|
# %s - summary
|
||||||
|
# %b - body
|
||||||
|
# %i - iconname (with path)
|
||||||
|
# %I - iconname (without path)
|
||||||
|
# %p - progress value (if set)
|
||||||
|
# %n - progress value no extra characters
|
||||||
|
# %% - literal %
|
||||||
|
format = "<b>%a</b>\n<i>%s</i>\n%b"
|
||||||
|
# Align message text horizontally
|
||||||
|
alignment = center
|
||||||
|
# Align message text vertically
|
||||||
|
vertical_alignment = center
|
||||||
|
# Show age of message if message is older than x seconds
|
||||||
|
show_age_threshold = -1
|
||||||
|
# Split notifications into multiple lines
|
||||||
|
word_wrap = no
|
||||||
|
# If message too long, add ellipsize to...
|
||||||
|
ellipsize = middle
|
||||||
|
# Ignore newlines in notifications
|
||||||
|
ignore_newline = no
|
||||||
|
# Stack duplicate notifications
|
||||||
|
stack_duplicates = true
|
||||||
|
# Hide number of duplicate notifications
|
||||||
|
hide_duplicate_count = true
|
||||||
|
# Show indicatiors for urls and actions
|
||||||
|
show_indicators = no
|
||||||
|
|
||||||
|
### Icons ###
|
||||||
|
|
||||||
|
# Disable icons
|
||||||
|
icon_position = off
|
||||||
|
|
||||||
|
### History ###
|
||||||
|
|
||||||
|
# Length of history
|
||||||
|
history_length = 20
|
||||||
|
|
||||||
|
### Misc ###
|
||||||
|
|
||||||
|
# Dmenu path
|
||||||
|
dmenu = /usr/bin/dmenu -p dunst:
|
||||||
|
# Browser
|
||||||
|
browser = /usr/bin/firefox -new-tab
|
||||||
|
# Always run scripts
|
||||||
|
always_run_script = true
|
||||||
|
# Title of notification
|
||||||
|
title = Dunst
|
||||||
|
# Notification class
|
||||||
|
class = Dunst
|
||||||
|
# Print notification on startup
|
||||||
|
startup_notification = false
|
||||||
|
# Dunst verbosity
|
||||||
|
verbosity = mesg
|
||||||
|
# Corner radius of dunst
|
||||||
|
corner_radius = 15
|
||||||
|
# Ignore dbus closeNotification message
|
||||||
|
ignore_dbusclose = false
|
||||||
|
|
||||||
|
### Mouse ###
|
||||||
|
|
||||||
|
# Left click
|
||||||
|
mouse_left_click = close_current
|
||||||
|
# Middle click
|
||||||
|
mouse_middle_click = do_action
|
||||||
|
# Right click
|
||||||
|
mouse_right_click = do_action
|
||||||
|
|
||||||
|
[shortcuts]
|
||||||
|
|
||||||
|
# Close one notification
|
||||||
|
close = ctrl+space
|
||||||
|
# Close all notifications
|
||||||
|
close_all = ctrl+shift+space
|
||||||
|
|
||||||
|
[urgency_normal]
|
||||||
|
|
||||||
|
# Normal urgency notifications
|
||||||
|
background = "#202632"
|
||||||
|
foreground = "#ffffff"
|
||||||
|
timeout = 5
|
||||||
|
|
||||||
|
[urgency_critical]
|
||||||
|
|
||||||
|
# High urgency notifications
|
||||||
|
background =
|
||||||
137
fish/config.fish
Normal file
@ -0,0 +1,137 @@
|
|||||||
|
# Only run in interactive sessions
|
||||||
|
if status is-interactive
|
||||||
|
# Prompt: Starship
|
||||||
|
if type -q starship
|
||||||
|
starship init fish | source
|
||||||
|
else
|
||||||
|
echo "Starship is not installed. Install it from https://starship.rs/"
|
||||||
|
end
|
||||||
|
|
||||||
|
# Flashing cursor
|
||||||
|
printf '\e[5 q'
|
||||||
|
|
||||||
|
# Bind Ctrl+U to clear the line backward
|
||||||
|
bind \cU backward-kill-line
|
||||||
|
end
|
||||||
|
|
||||||
|
# PATH setup
|
||||||
|
set -gx PYENV_ROOT "$HOME/.pyenv"
|
||||||
|
set -gx PATH $HOME/bin $HOME/.local/bin /usr/local/bin $HOME/go/bin $HOME/.cargo/bin $PYENV_ROOT/bin $HOME/.local/share/gem/ruby/3.4.0/bin $PATH
|
||||||
|
|
||||||
|
# Pyenv init
|
||||||
|
if type -q pyenv
|
||||||
|
pyenv init - | source
|
||||||
|
end
|
||||||
|
|
||||||
|
# Enable auto-correction
|
||||||
|
set -g fish_autocorrect true
|
||||||
|
|
||||||
|
# Aliases
|
||||||
|
alias nl 'nl -ba'
|
||||||
|
alias cat bat
|
||||||
|
alias bat 'bat --theme=gruvbox-dark'
|
||||||
|
alias find fd
|
||||||
|
alias fd 'fd -H'
|
||||||
|
#alias grep rg
|
||||||
|
alias pdf evince
|
||||||
|
alias ls 'eza -lah --grid -s modified --smart-group --group-directories-first'
|
||||||
|
alias l 'eza -ah --grid -s modified --smart-group --group-directories-first'
|
||||||
|
alias cp 'cp -riv'
|
||||||
|
alias mv 'mv -iv'
|
||||||
|
alias mkdir 'mkdir -pv'
|
||||||
|
alias less 'less -FSRXc'
|
||||||
|
# CAUSES PROBLEMS WITH git.fish autocomplection alias path 'echo $PATH | tr ":" "\n"'
|
||||||
|
alias myip 'curl ipinfo.io'
|
||||||
|
alias moan_myip='sh -c '\''X=$(echo "aHR0cHM6Ly93d3cubW9hbm15aXAuY29tLw==" | base64 -d); curl -s "$X" | grep -o "output/[0-9.]*.mp3" | sed "s|^|$X|" | xargs -n1 -I{} sh -c "wget -qO- \"{}\" | (mpg123 - || ffplay -nodisp -autoexit -)"'\''' # sh -c 'X=$(echo "aHR0cHM6Ly93d3cubW9hbm15aXAuY29tLw==" | base64 -d); curl -s "$X" | grep -o "output/[0-9.]*.mp3" | sed "s|^|$X|" | xargs -n1 -I{} sh -c "wget -qO- \"{}\" | (mpg123 - || ffplay -nodisp -autoexit -)"'
|
||||||
|
alias ss 'ss -tulpn'
|
||||||
|
alias pscpu 'ps -eo pid,ppid,cmd,%mem,%cpu,etime --sort=-%cpu | head -n 21'
|
||||||
|
alias psmem 'ps -eo pid,ppid,cmd,%mem,%cpu,etime --sort=-%mem | head -n 21'
|
||||||
|
alias c clear
|
||||||
|
alias weer weather
|
||||||
|
alias v nvim
|
||||||
|
alias rm 'rm -r'
|
||||||
|
alias httpx httpx-toolkit
|
||||||
|
alias copy wl-copy
|
||||||
|
alias android_files aft-mtp-cli
|
||||||
|
alias open_raid_drives 'sudo cryptsetup open /dev/md0 md0_crypt; and sudo mount /dev/mapper/md0_crypt /mnt/raid_storage'
|
||||||
|
|
||||||
|
# Weather function
|
||||||
|
function weather
|
||||||
|
if test "$argv[1]" = week
|
||||||
|
wthrr -f w $argv[2]
|
||||||
|
else if test -z "$argv[1]"
|
||||||
|
wthrr -f d
|
||||||
|
wthrr -f t
|
||||||
|
else
|
||||||
|
wthrr -f d $argv[1]
|
||||||
|
wthrr -f t $argv[1]
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function extract
|
||||||
|
if test -f "$argv[1]"
|
||||||
|
set file "$argv[1]"
|
||||||
|
set filename (basename "$file")
|
||||||
|
set dirname (string replace -r '\.tar\.bz2$|\.tar\.gz$|\.tbz2$|\.tgz$|\.tar$|\.bz2$|\.gz$|\.zip$|\.Z$|\.7z$|\.xz$|\.rar$' '' "$filename")
|
||||||
|
|
||||||
|
mkdir -p "$dirname"
|
||||||
|
|
||||||
|
switch $file
|
||||||
|
case "*.tar.bz2"
|
||||||
|
tar xjf "$file" -C "$dirname"
|
||||||
|
case "*.tar.gz"
|
||||||
|
tar xzf "$file" -C "$dirname"
|
||||||
|
case "*.tbz2"
|
||||||
|
tar xjf "$file" -C "$dirname"
|
||||||
|
case "*.tgz"
|
||||||
|
tar xzf "$file" -C "$dirname"
|
||||||
|
case "*.tar"
|
||||||
|
tar xf "$file" -C "$dirname"
|
||||||
|
case "*.bz2"
|
||||||
|
bunzip2 -c "$file" >"$dirname/$dirname"
|
||||||
|
case "*.gz"
|
||||||
|
gunzip -c "$file" >"$dirname/$dirname"
|
||||||
|
case "*.zip"
|
||||||
|
unzip "$file" -d "$dirname"
|
||||||
|
case "*.Z"
|
||||||
|
uncompress -c "$file" >"$dirname/$dirname"
|
||||||
|
case "*.7z"
|
||||||
|
7z x "$file" -o"$dirname"
|
||||||
|
case "*.xz"
|
||||||
|
xz -dc "$file" >"$dirname/$dirname"
|
||||||
|
case "*.rar"
|
||||||
|
unrar x "$file" "$dirname"
|
||||||
|
case "*"
|
||||||
|
echo "'$file' cannot be extracted via extract()"
|
||||||
|
end
|
||||||
|
else
|
||||||
|
echo "'$argv[1]' is not a valid file"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
# Arch Linux mirror ranking function
|
||||||
|
function mirrors
|
||||||
|
curl -s "https://archlinux.org/mirrorlist/?country=BE&country=DK&country=DE&country=IS&country=NL&protocol=https&ip_version=4&ip_version=6" |
|
||||||
|
sed -e 's/^#Server/Server/' -e '/^#/d' |
|
||||||
|
rankmirrors -n 10 - | sudo tee /etc/pacman.d/mirrorlist >/dev/null
|
||||||
|
end
|
||||||
|
|
||||||
|
#function !!
|
||||||
|
# eval (history --max=1)
|
||||||
|
#end
|
||||||
|
|
||||||
|
function __expand_bang_bang --on-event fish_preexec
|
||||||
|
# Get the current command line
|
||||||
|
set cmd (commandline)
|
||||||
|
|
||||||
|
# Get the last command from history
|
||||||
|
set last (history | head -n1)
|
||||||
|
|
||||||
|
# Replace !! with the last command
|
||||||
|
set new_cmd (string replace -r '!!' $last -- $cmd)
|
||||||
|
|
||||||
|
# Apply expansion if it changed
|
||||||
|
if test "$cmd" != "$new_cmd"
|
||||||
|
commandline -r $new_cmd
|
||||||
|
end
|
||||||
|
end
|
||||||
2
gtk-3.0/settings.ini
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[Settings]
|
||||||
|
gtk-application-prefer-dark-theme=1
|
||||||
5
inkscape/cphistory.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<cphistory>
|
||||||
|
<operations />
|
||||||
|
<params />
|
||||||
|
</cphistory>
|
||||||
35
inkscape/dialogs-state-ex.ini
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
[Windows]
|
||||||
|
Count=1
|
||||||
|
|
||||||
|
[Window0Column0]
|
||||||
|
Notebook0Dialogs=Objects;FillStroke;Export;
|
||||||
|
Notebook0Height=873
|
||||||
|
Notebook0ActiveTab=1
|
||||||
|
ColumnWidth=465
|
||||||
|
NotebookCount=1
|
||||||
|
BeforeCanvas=false
|
||||||
|
|
||||||
|
[Window0]
|
||||||
|
ColumnCount=1
|
||||||
|
Floating=false
|
||||||
|
|
||||||
|
[transient]
|
||||||
|
state1=
|
||||||
|
dialogs1=CloneTiler;
|
||||||
|
state2=
|
||||||
|
dialogs2=DocumentProperties;
|
||||||
|
state3=
|
||||||
|
dialogs3=DocumentResources;
|
||||||
|
state4=
|
||||||
|
dialogs4=ExtensionsGallery;
|
||||||
|
state5=
|
||||||
|
dialogs5=FilterEffects;
|
||||||
|
state6=
|
||||||
|
dialogs6=FilterGallery;
|
||||||
|
state7=
|
||||||
|
dialogs7=FontCollections;
|
||||||
|
state8=
|
||||||
|
dialogs8=Preferences;
|
||||||
|
state9=
|
||||||
|
dialogs9=XMLEditor;
|
||||||
|
count=9
|
||||||
24
inkscape/extension-errors.log
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
Extension "XFIG Input" failed to load because a dependency was not met.
|
||||||
|
Dependency:
|
||||||
|
type: executable
|
||||||
|
location: path
|
||||||
|
string: fig2dev
|
||||||
|
|
||||||
|
Extension "Optimized PNG" failed to load because a dependency was not met.
|
||||||
|
Dependency:
|
||||||
|
type: executable
|
||||||
|
location: path
|
||||||
|
string: optipng
|
||||||
|
|
||||||
|
Extension "Export to PDF via Scribus" failed to load because a dependency was not met.
|
||||||
|
Dependency:
|
||||||
|
type: executable
|
||||||
|
location: path
|
||||||
|
string: scribus
|
||||||
|
|
||||||
|
Extension "Formula (typst)" failed to load because a dependency was not met.
|
||||||
|
Dependency:
|
||||||
|
type: executable
|
||||||
|
location: path
|
||||||
|
string: typst
|
||||||
|
|
||||||
1162
inkscape/preferences.xml
Normal file
206
katana/config.yaml
Normal file
@ -0,0 +1,206 @@
|
|||||||
|
# katana config file
|
||||||
|
# generated by https://github.com/projectdiscovery/goflags
|
||||||
|
|
||||||
|
# target url / list to crawl
|
||||||
|
#list: []
|
||||||
|
|
||||||
|
# resume scan using resume.cfg
|
||||||
|
#resume:
|
||||||
|
|
||||||
|
# exclude host matching specified filter ('cdn', 'private-ips', cidr, ip, regex)
|
||||||
|
#exclude: []
|
||||||
|
|
||||||
|
# list of custom resolver (file or comma separated)
|
||||||
|
#resolvers: []
|
||||||
|
|
||||||
|
# maximum depth to crawl
|
||||||
|
#depth: 3
|
||||||
|
|
||||||
|
# enable endpoint parsing / crawling in javascript file
|
||||||
|
#js-crawl: false
|
||||||
|
|
||||||
|
# enable jsluice parsing in javascript file (memory intensive)
|
||||||
|
#jsluice: false
|
||||||
|
|
||||||
|
# maximum duration to crawl the target for (s, m, h, d) (default s)
|
||||||
|
#crawl-duration:
|
||||||
|
|
||||||
|
# enable crawling of known files (all,robotstxt,sitemapxml), a minimum depth of 3 is required to ensure all known files are properly crawled.
|
||||||
|
#known-files:
|
||||||
|
|
||||||
|
# maximum response size to read
|
||||||
|
#max-response-size: 9223372036854775807
|
||||||
|
|
||||||
|
# time to wait for request in seconds
|
||||||
|
#timeout: 10
|
||||||
|
|
||||||
|
# enable automatic form filling (experimental)
|
||||||
|
#automatic-form-fill: false
|
||||||
|
|
||||||
|
# extract form, input, textarea & select elements in jsonl output
|
||||||
|
#form-extraction: false
|
||||||
|
|
||||||
|
# number of times to retry the request
|
||||||
|
#retry: 1
|
||||||
|
|
||||||
|
# http/socks5 proxy to use
|
||||||
|
#proxy:
|
||||||
|
|
||||||
|
# custom header/cookie to include in all http request in header:value format (file)
|
||||||
|
#headers: []
|
||||||
|
|
||||||
|
# path to the katana configuration file
|
||||||
|
#config:
|
||||||
|
|
||||||
|
# path to custom form configuration file
|
||||||
|
#form-config:
|
||||||
|
|
||||||
|
# path to custom field configuration file
|
||||||
|
#field-config:
|
||||||
|
|
||||||
|
# visit strategy (depth-first, breadth-first)
|
||||||
|
#strategy: depth-first
|
||||||
|
|
||||||
|
# ignore crawling same path with different query-param values
|
||||||
|
#ignore-query-params: false
|
||||||
|
|
||||||
|
# enable experimental client hello (ja3) tls randomization
|
||||||
|
#tls-impersonate: false
|
||||||
|
|
||||||
|
# disable following redirects (default false)
|
||||||
|
#disable-redirects: false
|
||||||
|
|
||||||
|
# run diagnostic check up
|
||||||
|
#hc: false
|
||||||
|
|
||||||
|
# file to write sent requests error log
|
||||||
|
#error-log:
|
||||||
|
|
||||||
|
# enable headless hybrid crawling (experimental)
|
||||||
|
#headless: false
|
||||||
|
|
||||||
|
# use local installed chrome browser instead of katana installed
|
||||||
|
#system-chrome: false
|
||||||
|
|
||||||
|
# show the browser on the screen with headless mode
|
||||||
|
#show-browser: false
|
||||||
|
|
||||||
|
# start headless chrome with additional options
|
||||||
|
#headless-options: []
|
||||||
|
|
||||||
|
# start headless chrome in --no-sandbox mode
|
||||||
|
#no-sandbox: false
|
||||||
|
|
||||||
|
# path to store chrome browser data
|
||||||
|
#chrome-data-dir:
|
||||||
|
|
||||||
|
# use specified chrome browser for headless crawling
|
||||||
|
#system-chrome-path:
|
||||||
|
|
||||||
|
# start headless chrome without incognito mode
|
||||||
|
#no-incognito: false
|
||||||
|
|
||||||
|
# use chrome browser instance launched elsewhere with the debugger listening at this url
|
||||||
|
#chrome-ws-url:
|
||||||
|
|
||||||
|
# extract xhr request url,method in jsonl output
|
||||||
|
#xhr-extraction: false
|
||||||
|
|
||||||
|
# enable passive sources to discover target endpoints
|
||||||
|
#passive: false
|
||||||
|
|
||||||
|
# passive source to use for url discovery (waybackarchive,commoncrawl,alienvault)
|
||||||
|
#passive-source: []
|
||||||
|
|
||||||
|
# in scope url regex to be followed by crawler
|
||||||
|
#crawl-scope: []
|
||||||
|
|
||||||
|
# out of scope url regex to be excluded by crawler
|
||||||
|
#crawl-out-scope: []
|
||||||
|
|
||||||
|
# pre-defined scope field (dn,rdn,fqdn) or custom regex (e.g., '(company-staging.io|company.com)')
|
||||||
|
#field-scope: rdn
|
||||||
|
|
||||||
|
# disables host based default scope
|
||||||
|
#no-scope: false
|
||||||
|
|
||||||
|
# display external endpoint from scoped crawling
|
||||||
|
#display-out-scope: false
|
||||||
|
|
||||||
|
# regex or list of regex to match on output url (cli, file)
|
||||||
|
#match-regex: []
|
||||||
|
|
||||||
|
# regex or list of regex to filter on output url (cli, file)
|
||||||
|
#filter-regex: []
|
||||||
|
|
||||||
|
# field to display in output (url,path,fqdn,rdn,rurl,qurl,qpath,file,ufile,key,value,kv,dir,udir)
|
||||||
|
#field:
|
||||||
|
|
||||||
|
# field to store in per-host output (url,path,fqdn,rdn,rurl,qurl,qpath,file,ufile,key,value,kv,dir,udir)
|
||||||
|
#store-field:
|
||||||
|
|
||||||
|
# match output for given extension (eg, -em php,html,js)
|
||||||
|
#extension-match: []
|
||||||
|
|
||||||
|
# filter output for given extension (eg, -ef png,css)
|
||||||
|
#extension-filter: []
|
||||||
|
|
||||||
|
# match response with dsl based condition
|
||||||
|
#match-condition:
|
||||||
|
|
||||||
|
# filter response with dsl based condition
|
||||||
|
#filter-condition:
|
||||||
|
|
||||||
|
# number of concurrent fetchers to use
|
||||||
|
#concurrency: 10
|
||||||
|
|
||||||
|
# number of concurrent inputs to process
|
||||||
|
#parallelism: 10
|
||||||
|
|
||||||
|
# request delay between each request in seconds
|
||||||
|
#delay: 0
|
||||||
|
|
||||||
|
# maximum requests to send per second
|
||||||
|
#rate-limit: 150
|
||||||
|
|
||||||
|
# maximum number of requests to send per minute
|
||||||
|
#rate-limit-minute: 0
|
||||||
|
|
||||||
|
# update katana to latest version
|
||||||
|
#update: false
|
||||||
|
|
||||||
|
# disable automatic katana update check
|
||||||
|
#disable-update-check: false
|
||||||
|
|
||||||
|
# file to write output to
|
||||||
|
#output:
|
||||||
|
|
||||||
|
# store http requests/responses
|
||||||
|
#store-response: false
|
||||||
|
|
||||||
|
# store http requests/responses to custom directory
|
||||||
|
#store-response-dir:
|
||||||
|
|
||||||
|
# omit raw requests/responses from jsonl output
|
||||||
|
#omit-raw: false
|
||||||
|
|
||||||
|
# omit response body from jsonl output
|
||||||
|
#omit-body: false
|
||||||
|
|
||||||
|
# write output in jsonl format
|
||||||
|
#jsonl: false
|
||||||
|
|
||||||
|
# disable output content coloring (ansi escape codes)
|
||||||
|
#no-color: false
|
||||||
|
|
||||||
|
# display output only
|
||||||
|
#silent: false
|
||||||
|
|
||||||
|
# display verbose output
|
||||||
|
#verbose: false
|
||||||
|
|
||||||
|
# display debug output
|
||||||
|
#debug: false
|
||||||
|
|
||||||
|
# display project version
|
||||||
|
#version: false
|
||||||
5
katana/field-config.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
- name: email
|
||||||
|
type: regex
|
||||||
|
part: response
|
||||||
|
regex:
|
||||||
|
- ([a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z0-9_-]+)
|
||||||
5
katana/form-config.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
email: crku4u59ve2crm0ki1dg@example.org
|
||||||
|
color: '#e66465'
|
||||||
|
password: katanaP@assw0rd1
|
||||||
|
phone: "2124567890"
|
||||||
|
placeholder: katana
|
||||||
1
katana/resume-d4mscvt9ve20eh5ovheg.cfg
Executable file
@ -0,0 +1 @@
|
|||||||
|
{"InFlightUrls":{"ReadOnly":{},"Map":{"http://localhost:8080":{}}}}
|
||||||
1
katana/resume-d4msdjt9ve20i3j8dijg.cfg
Executable file
@ -0,0 +1 @@
|
|||||||
|
{"InFlightUrls":{"ReadOnly":{},"Map":{"http://localhost:8080":{}}}}
|
||||||
1
katana/resume-d4mshnt9ve21qp7lhsqg.cfg
Executable file
@ -0,0 +1 @@
|
|||||||
|
{"InFlightUrls":{"ReadOnly":{},"Map":{"http://localhost:8080":{}}}}
|
||||||
1
katana/resume-d4msi9d9ve222m5n29s0.cfg
Executable file
@ -0,0 +1 @@
|
|||||||
|
{"InFlightUrls":{"ReadOnly":{},"Map":{"http://localhost:8080":{}}}}
|
||||||
4
mpv/input.conf
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
l af add @pan:stereo|c0=c0|c1=c0
|
||||||
|
r af add @pan:stereo|c0=c1|c1=c1
|
||||||
|
c show-text "Chapters:\\n${chapter-list}"
|
||||||
|
s ignore
|
||||||
39
nuclei/.nuclei-ignore
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# ==| Nuclei Templates Ignore list |==
|
||||||
|
# ====================================
|
||||||
|
#
|
||||||
|
# This is default list of tags and files to excluded from default nuclei scan.
|
||||||
|
# More details - https://docs.projectdiscovery.io/tools/nuclei/running#template-exclusion
|
||||||
|
#
|
||||||
|
# ============ DO NOT EDIT ============
|
||||||
|
# Automatically updated by nuclei on execution from nuclei-templates
|
||||||
|
# User changes should be in nuclei config file
|
||||||
|
# ============ DO NOT EDIT ============
|
||||||
|
|
||||||
|
# tags is a list of tags to ignore execution for
|
||||||
|
# unless asked for by the user.
|
||||||
|
|
||||||
|
tags:
|
||||||
|
- "dos"
|
||||||
|
- "local"
|
||||||
|
- "fuzz"
|
||||||
|
- "bruteforce"
|
||||||
|
|
||||||
|
# The following templates have been excluded because they have weak matchers and may generate FP results.
|
||||||
|
# Please feel free to create PR if you can update the templates with strict matchers.
|
||||||
|
|
||||||
|
# files is a list of files to ignore template execution
|
||||||
|
# unless asked for by the user.
|
||||||
|
|
||||||
|
files:
|
||||||
|
- http/cves/2019/CVE-2019-14696.yaml
|
||||||
|
- http/cves/2021/CVE-2021-28164.yaml
|
||||||
|
- http/fuzzing/wordpress-themes-detect.yaml
|
||||||
|
- http/fuzzing/mdb-database-file.yaml
|
||||||
|
- http/fuzzing/iis-shortname.yaml
|
||||||
|
- dns/soa-detect.yaml
|
||||||
|
- dns/txt-service-detect.yaml
|
||||||
|
- javascript/enumeration/pop3/pop3-capabilities-enum.yaml
|
||||||
|
- javascript/enumeration/redis/redis-require-auth.yaml
|
||||||
|
- dast/vulnerabilities/sqli/time-based-sqli.yaml
|
||||||
|
- javascript/enumeration/minecraft-enum.yaml
|
||||||
|
- javascript/enumeration/minecraft-enum.yaml
|
||||||
1
nuclei/.templates-config.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{"nuclei-templates-directory":"/home/someone/nuclei-templates","custom-s3-templates-directory":"/home/someone/nuclei-templates/s3","custom-github-templates-directory":"/home/someone/nuclei-templates/github","custom-gitlab-templates-directory":"/home/someone/nuclei-templates/gitlab","custom-azure-templates-directory":"/home/someone/nuclei-templates/azure","nuclei-templates-version":"v10.2.2","nuclei-ignore-hash":"17185a179f20c2653cb0f9433191a942","nuclei-latest-version":"v3.4.4","nuclei-templates-latest-version":"v10.2.2","nuclei-latest-ignore-hash":"17185a179f20c2653cb0f9433191a942"}
|
||||||
518
nuclei/config.yaml
Normal file
@ -0,0 +1,518 @@
|
|||||||
|
# nuclei config file
|
||||||
|
# generated by https://github.com/projectdiscovery/goflags
|
||||||
|
|
||||||
|
# target urls/hosts to scan
|
||||||
|
#target: []
|
||||||
|
|
||||||
|
# path to file containing a list of target urls/hosts to scan (one per line)
|
||||||
|
#list:
|
||||||
|
|
||||||
|
# hosts to exclude to scan from the input list (ip, cidr, hostname)
|
||||||
|
#exclude-hosts: []
|
||||||
|
|
||||||
|
# resume scan using resume.cfg (clustering will be disabled)
|
||||||
|
#resume:
|
||||||
|
|
||||||
|
# scan all the ip's associated with dns record
|
||||||
|
#scan-all-ips: false
|
||||||
|
|
||||||
|
# ip version to scan of hostname (4,6) - (default 4)
|
||||||
|
#ip-version: []
|
||||||
|
|
||||||
|
# mode of input file (list, burp, jsonl, yaml, openapi, swagger)
|
||||||
|
#input-mode: list
|
||||||
|
|
||||||
|
# use only required fields in input format when generating requests
|
||||||
|
#required-only: false
|
||||||
|
|
||||||
|
# skip format validation (like missing vars) when parsing input file
|
||||||
|
#skip-format-validation: false
|
||||||
|
|
||||||
|
# run only new templates added in latest nuclei-templates release
|
||||||
|
#new-templates: false
|
||||||
|
|
||||||
|
# run new templates added in specific version
|
||||||
|
#new-templates-version: []
|
||||||
|
|
||||||
|
# automatic web scan using wappalyzer technology detection to tags mapping
|
||||||
|
#automatic-scan: false
|
||||||
|
|
||||||
|
# list of template or template directory to run (comma-separated, file)
|
||||||
|
#templates: []
|
||||||
|
|
||||||
|
# template url or list containing template urls to run (comma-separated, file)
|
||||||
|
#template-url: []
|
||||||
|
|
||||||
|
# list of workflow or workflow directory to run (comma-separated, file)
|
||||||
|
#workflows: []
|
||||||
|
|
||||||
|
# workflow url or list containing workflow urls to run (comma-separated, file)
|
||||||
|
#workflow-url: []
|
||||||
|
|
||||||
|
# validate the passed templates to nuclei
|
||||||
|
#validate: false
|
||||||
|
|
||||||
|
# disable strict syntax check on templates
|
||||||
|
#no-strict-syntax: false
|
||||||
|
|
||||||
|
# displays the templates content
|
||||||
|
#template-display: false
|
||||||
|
|
||||||
|
# list all available templates
|
||||||
|
#tl: false
|
||||||
|
|
||||||
|
# list all available tags
|
||||||
|
#tgl: false
|
||||||
|
|
||||||
|
# allowed domain list to load remote templates from
|
||||||
|
#remote-template-domain:
|
||||||
|
|
||||||
|
# signs the templates with the private key defined in nuclei_signature_private_key env variable
|
||||||
|
#sign: false
|
||||||
|
|
||||||
|
# enable loading code protocol-based templates
|
||||||
|
#code: false
|
||||||
|
|
||||||
|
# disable running unsigned templates or templates with mismatched signature
|
||||||
|
#disable-unsigned-templates: false
|
||||||
|
|
||||||
|
# templates to run based on authors (comma-separated, file)
|
||||||
|
#author: []
|
||||||
|
|
||||||
|
# templates to run based on tags (comma-separated, file)
|
||||||
|
#tags: []
|
||||||
|
|
||||||
|
# templates to exclude based on tags (comma-separated, file)
|
||||||
|
#exclude-tags: []
|
||||||
|
|
||||||
|
# tags to be executed even if they are excluded either by default or configuration
|
||||||
|
#include-tags: []
|
||||||
|
|
||||||
|
# templates to run based on template ids (comma-separated, file, allow-wildcard)
|
||||||
|
#template-id: []
|
||||||
|
|
||||||
|
# templates to exclude based on template ids (comma-separated, file)
|
||||||
|
#exclude-id: []
|
||||||
|
|
||||||
|
# path to template file or directory to be executed even if they are excluded either by default or configuration
|
||||||
|
#include-templates: []
|
||||||
|
|
||||||
|
# path to template file or directory to exclude (comma-separated, file)
|
||||||
|
#exclude-templates: []
|
||||||
|
|
||||||
|
# template matchers to exclude in result
|
||||||
|
#exclude-matchers: []
|
||||||
|
|
||||||
|
# templates to run based on severity. possible values: info, low, medium, high, critical, unknown
|
||||||
|
#severity:
|
||||||
|
|
||||||
|
# templates to exclude based on severity. possible values: info, low, medium, high, critical, unknown
|
||||||
|
#exclude-severity:
|
||||||
|
|
||||||
|
# templates to run based on protocol type. possible values: dns, file, http, headless, tcp, workflow, ssl, websocket, whois, code, javascript
|
||||||
|
#type:
|
||||||
|
|
||||||
|
# templates to exclude based on protocol type. possible values: dns, file, http, headless, tcp, workflow, ssl, websocket, whois, code, javascript
|
||||||
|
#exclude-type:
|
||||||
|
|
||||||
|
# templates to run based on expression condition
|
||||||
|
#template-condition: []
|
||||||
|
|
||||||
|
# output file to write found issues/vulnerabilities
|
||||||
|
#output:
|
||||||
|
|
||||||
|
# store all request/response passed through nuclei to output directory
|
||||||
|
#store-resp: false
|
||||||
|
|
||||||
|
# store all request/response passed through nuclei to custom directory
|
||||||
|
#store-resp-dir: output
|
||||||
|
|
||||||
|
# display findings only
|
||||||
|
#silent: false
|
||||||
|
|
||||||
|
# disable output content coloring (ansi escape codes)
|
||||||
|
#no-color: false
|
||||||
|
|
||||||
|
# write output in jsonl(ines) format
|
||||||
|
#jsonl: false
|
||||||
|
|
||||||
|
# include request/response pairs in the json, jsonl, and markdown outputs (for findings only) [deprecated use `-omit-raw`]
|
||||||
|
#include-rr: true
|
||||||
|
|
||||||
|
# omit request/response pairs in the json, jsonl, and markdown outputs (for findings only)
|
||||||
|
#omit-raw: false
|
||||||
|
|
||||||
|
# omit encoded template in the json, jsonl output
|
||||||
|
#omit-template: false
|
||||||
|
|
||||||
|
# disable printing result metadata in cli output
|
||||||
|
#no-meta: false
|
||||||
|
|
||||||
|
# enables printing timestamp in cli output
|
||||||
|
#timestamp: false
|
||||||
|
|
||||||
|
# nuclei reporting database (always use this to persist report data)
|
||||||
|
#report-db:
|
||||||
|
|
||||||
|
# display match failure status
|
||||||
|
#matcher-status: false
|
||||||
|
|
||||||
|
# directory to export results in markdown format
|
||||||
|
#markdown-export:
|
||||||
|
|
||||||
|
# file to export results in sarif format
|
||||||
|
#sarif-export:
|
||||||
|
|
||||||
|
# file to export results in json format
|
||||||
|
#json-export:
|
||||||
|
|
||||||
|
# file to export results in jsonl(ine) format
|
||||||
|
#jsonl-export:
|
||||||
|
|
||||||
|
# redact given list of keys from query parameter, request header and body
|
||||||
|
#redact: []
|
||||||
|
|
||||||
|
# path to the nuclei configuration file
|
||||||
|
#config:
|
||||||
|
|
||||||
|
# template profile config file to run
|
||||||
|
#profile:
|
||||||
|
|
||||||
|
# list community template profiles
|
||||||
|
#profile-list: false
|
||||||
|
|
||||||
|
# enable following redirects for http templates
|
||||||
|
#follow-redirects: false
|
||||||
|
|
||||||
|
# follow redirects on the same host
|
||||||
|
#follow-host-redirects: false
|
||||||
|
|
||||||
|
# max number of redirects to follow for http templates
|
||||||
|
#max-redirects: 10
|
||||||
|
|
||||||
|
# disable redirects for http templates
|
||||||
|
#disable-redirects: false
|
||||||
|
|
||||||
|
# nuclei reporting module configuration file
|
||||||
|
#report-config:
|
||||||
|
|
||||||
|
# custom header/cookie to include in all http request in header:value format (cli, file)
|
||||||
|
#header: []
|
||||||
|
|
||||||
|
# custom vars in key=value format
|
||||||
|
#var:
|
||||||
|
|
||||||
|
# file containing resolver list for nuclei
|
||||||
|
#resolvers:
|
||||||
|
|
||||||
|
# use system dns resolving as error fallback
|
||||||
|
#system-resolvers: false
|
||||||
|
|
||||||
|
# disable clustering of requests
|
||||||
|
#disable-clustering: false
|
||||||
|
|
||||||
|
# enable passive http response processing mode
|
||||||
|
#passive: false
|
||||||
|
|
||||||
|
# force http2 connection on requests
|
||||||
|
#force-http2: false
|
||||||
|
|
||||||
|
# enable environment variables to be used in template
|
||||||
|
#env-vars: false
|
||||||
|
|
||||||
|
# client certificate file (pem-encoded) used for authenticating against scanned hosts
|
||||||
|
#client-cert:
|
||||||
|
|
||||||
|
# client key file (pem-encoded) used for authenticating against scanned hosts
|
||||||
|
#client-key:
|
||||||
|
|
||||||
|
# client certificate authority file (pem-encoded) used for authenticating against scanned hosts
|
||||||
|
#client-ca:
|
||||||
|
|
||||||
|
# show match lines for file templates, works with extractors only
|
||||||
|
#show-match-line: false
|
||||||
|
|
||||||
|
# use ztls library with autofallback to standard one for tls13 [deprecated] autofallback to ztls is enabled by default
|
||||||
|
#ztls: false
|
||||||
|
|
||||||
|
# tls sni hostname to use (default: input domain name)
|
||||||
|
#sni:
|
||||||
|
|
||||||
|
# keep-alive duration for network requests.
|
||||||
|
#dialer-keep-alive:
|
||||||
|
|
||||||
|
# allows file (payload) access anywhere on the system
|
||||||
|
#allow-local-file-access: false
|
||||||
|
|
||||||
|
# blocks connections to the local / private network
|
||||||
|
#restrict-local-network-access: false
|
||||||
|
|
||||||
|
# network interface to use for network scan
|
||||||
|
#interface:
|
||||||
|
|
||||||
|
# type of payload combinations to perform (batteringram,pitchfork,clusterbomb)
|
||||||
|
#attack-type:
|
||||||
|
|
||||||
|
# source ip address to use for network scan
|
||||||
|
#source-ip:
|
||||||
|
|
||||||
|
# max response size to read in bytes
|
||||||
|
#response-size-read: 0
|
||||||
|
|
||||||
|
# max response size to read in bytes
|
||||||
|
#response-size-save: 1048576
|
||||||
|
|
||||||
|
# reset removes all nuclei configuration and data files (including nuclei-templates)
|
||||||
|
#reset: false
|
||||||
|
|
||||||
|
# enable experimental client hello (ja3) tls randomization
|
||||||
|
#tls-impersonate: false
|
||||||
|
|
||||||
|
# experimental http api endpoint
|
||||||
|
#http-api-endpoint:
|
||||||
|
|
||||||
|
# interactsh server url for self-hosted instance (default: oast.pro,oast.live,oast.site,oast.online,oast.fun,oast.me)
|
||||||
|
#interactsh-server:
|
||||||
|
|
||||||
|
# authentication token for self-hosted interactsh server
|
||||||
|
#interactsh-token:
|
||||||
|
|
||||||
|
# number of requests to keep in the interactions cache
|
||||||
|
#interactions-cache-size: 5000
|
||||||
|
|
||||||
|
# number of seconds to wait before evicting requests from cache
|
||||||
|
#interactions-eviction: 60
|
||||||
|
|
||||||
|
# number of seconds to wait before each interaction poll request
|
||||||
|
#interactions-poll-duration: 5
|
||||||
|
|
||||||
|
# extra time for interaction polling before exiting
|
||||||
|
#interactions-cooldown-period: 5
|
||||||
|
|
||||||
|
# disable interactsh server for oast testing, exclude oast based templates
|
||||||
|
#no-interactsh: false
|
||||||
|
|
||||||
|
# overrides fuzzing type set in template (replace, prefix, postfix, infix)
|
||||||
|
#fuzzing-type:
|
||||||
|
|
||||||
|
# overrides fuzzing mode set in template (multiple, single)
|
||||||
|
#fuzzing-mode:
|
||||||
|
|
||||||
|
# enable loading fuzzing templates (deprecated: use -dast instead)
|
||||||
|
#fuzz: false
|
||||||
|
|
||||||
|
# enable / run dast (fuzz) nuclei templates
|
||||||
|
#dast: false
|
||||||
|
|
||||||
|
# display fuzz points in the output for debugging
|
||||||
|
#display-fuzz-points: false
|
||||||
|
|
||||||
|
# frequency of uninteresting parameters for fuzzing before skipping
|
||||||
|
#fuzz-param-frequency: 10
|
||||||
|
|
||||||
|
# fuzzing aggression level controls payload count for fuzz (low, medium, high)
|
||||||
|
#fuzz-aggression: low
|
||||||
|
|
||||||
|
# enable uncover engine
|
||||||
|
#uncover: false
|
||||||
|
|
||||||
|
# uncover search query
|
||||||
|
#uncover-query: []
|
||||||
|
|
||||||
|
# uncover search engine (shodan,censys,fofa,shodan-idb,quake,hunter,zoomeye,netlas,criminalip,publicwww,hunterhow,google) (default shodan)
|
||||||
|
#uncover-engine: []
|
||||||
|
|
||||||
|
# uncover fields to return (ip,port,host)
|
||||||
|
#uncover-field: ip:port
|
||||||
|
|
||||||
|
# uncover results to return
|
||||||
|
#uncover-limit: 100
|
||||||
|
|
||||||
|
# override ratelimit of engines with unknown ratelimit (default 60 req/min)
|
||||||
|
#uncover-ratelimit: 60
|
||||||
|
|
||||||
|
# maximum number of requests to send per second
|
||||||
|
#rate-limit: 150
|
||||||
|
|
||||||
|
# maximum number of requests to send per second
|
||||||
|
#rate-limit-duration:
|
||||||
|
|
||||||
|
# maximum number of requests to send per minute (deprecated)
|
||||||
|
#rate-limit-minute: 0
|
||||||
|
|
||||||
|
# maximum number of hosts to be analyzed in parallel per template
|
||||||
|
#bulk-size: 25
|
||||||
|
|
||||||
|
# maximum number of templates to be executed in parallel
|
||||||
|
#concurrency: 25
|
||||||
|
|
||||||
|
# maximum number of headless hosts to be analyzed in parallel per template
|
||||||
|
#headless-bulk-size: 10
|
||||||
|
|
||||||
|
# maximum number of headless templates to be executed in parallel
|
||||||
|
#headless-concurrency: 10
|
||||||
|
|
||||||
|
# maximum number of javascript runtimes to be executed in parallel
|
||||||
|
#js-concurrency: 120
|
||||||
|
|
||||||
|
# max payload concurrency for each template
|
||||||
|
#payload-concurrency: 25
|
||||||
|
|
||||||
|
# http probe concurrency with httpx
|
||||||
|
#probe-concurrency: 50
|
||||||
|
|
||||||
|
# time to wait in seconds before timeout
|
||||||
|
#timeout: 10
|
||||||
|
|
||||||
|
# number of times to retry a failed request
|
||||||
|
#retries: 1
|
||||||
|
|
||||||
|
# leave default http/https ports (eg. host:80,host:443)
|
||||||
|
#leave-default-ports: false
|
||||||
|
|
||||||
|
# max errors for a host before skipping from scan
|
||||||
|
#max-host-error: 30
|
||||||
|
|
||||||
|
# adds given error to max-host-error watchlist (standard, file)
|
||||||
|
#track-error: []
|
||||||
|
|
||||||
|
# disable skipping host from scan based on errors
|
||||||
|
#no-mhe: false
|
||||||
|
|
||||||
|
# use a project folder to avoid sending same request multiple times
|
||||||
|
#project: false
|
||||||
|
|
||||||
|
# set a specific project path
|
||||||
|
#project-path: /tmp
|
||||||
|
|
||||||
|
# stop processing http requests after the first match (may break template/workflow logic)
|
||||||
|
#stop-at-first-match: false
|
||||||
|
|
||||||
|
# stream mode - start elaborating without sorting the input
|
||||||
|
#stream: false
|
||||||
|
|
||||||
|
# strategy to use while scanning(auto/host-spray/template-spray)
|
||||||
|
#scan-strategy: auto
|
||||||
|
|
||||||
|
# timeout on input read
|
||||||
|
#input-read-timeout:
|
||||||
|
|
||||||
|
# disable httpx probing for non-url input
|
||||||
|
#no-httpx: false
|
||||||
|
|
||||||
|
# disable stdin processing
|
||||||
|
#no-stdin: false
|
||||||
|
|
||||||
|
# enable templates that require headless browser support (root user on linux will disable sandbox)
|
||||||
|
#headless: false
|
||||||
|
|
||||||
|
# seconds to wait for each page in headless mode
|
||||||
|
#page-timeout: 20
|
||||||
|
|
||||||
|
# show the browser on the screen when running templates with headless mode
|
||||||
|
#show-browser: false
|
||||||
|
|
||||||
|
# start headless chrome with additional options
|
||||||
|
#headless-options: []
|
||||||
|
|
||||||
|
# use local installed chrome browser instead of nuclei installed
|
||||||
|
#system-chrome: false
|
||||||
|
|
||||||
|
# list available headless actions
|
||||||
|
#list-headless-action: false
|
||||||
|
|
||||||
|
# show all requests and responses
|
||||||
|
#debug: false
|
||||||
|
|
||||||
|
# show all sent requests
|
||||||
|
#debug-req: false
|
||||||
|
|
||||||
|
# show all received responses
|
||||||
|
#debug-resp: false
|
||||||
|
|
||||||
|
# list of http/socks5 proxy to use (comma separated or file input)
|
||||||
|
#proxy: []
|
||||||
|
|
||||||
|
# proxy all internal requests
|
||||||
|
#proxy-internal: false
|
||||||
|
|
||||||
|
# list all supported dsl function signatures
|
||||||
|
#list-dsl-function: false
|
||||||
|
|
||||||
|
# file to write sent requests trace log
|
||||||
|
#trace-log:
|
||||||
|
|
||||||
|
# file to write sent requests error log
|
||||||
|
#error-log:
|
||||||
|
|
||||||
|
# show nuclei version
|
||||||
|
#version: false
|
||||||
|
|
||||||
|
# enable nuclei hang monitoring
|
||||||
|
#hang-monitor: false
|
||||||
|
|
||||||
|
# show verbose output
|
||||||
|
#verbose: false
|
||||||
|
|
||||||
|
# optional nuclei memory profile dump file
|
||||||
|
#profile-mem:
|
||||||
|
|
||||||
|
# display templates loaded for scan
|
||||||
|
#vv: false
|
||||||
|
|
||||||
|
# show variables dump for debugging
|
||||||
|
#show-var-dump: false
|
||||||
|
|
||||||
|
# enable pprof debugging server
|
||||||
|
#enable-pprof: false
|
||||||
|
|
||||||
|
# shows the version of the installed nuclei-templates
|
||||||
|
#templates-version: false
|
||||||
|
|
||||||
|
# run diagnostic check up
|
||||||
|
#health-check: false
|
||||||
|
|
||||||
|
# update nuclei engine to the latest released version
|
||||||
|
#update: false
|
||||||
|
|
||||||
|
# update nuclei-templates to latest released version
|
||||||
|
#update-templates: false
|
||||||
|
|
||||||
|
# custom directory to install / update nuclei-templates
|
||||||
|
#update-template-dir:
|
||||||
|
|
||||||
|
# disable automatic nuclei/templates update check
|
||||||
|
#disable-update-check: false
|
||||||
|
|
||||||
|
# display statistics about the running scan
|
||||||
|
#stats: false
|
||||||
|
|
||||||
|
# display statistics in jsonl(ines) format
|
||||||
|
#stats-json: false
|
||||||
|
|
||||||
|
# number of seconds to wait between showing a statistics update
|
||||||
|
#stats-interval: 5
|
||||||
|
|
||||||
|
# port to expose nuclei metrics on
|
||||||
|
#metrics-port: 9092
|
||||||
|
|
||||||
|
# configure projectdiscovery cloud (pdcp) api key
|
||||||
|
#auth: true
|
||||||
|
|
||||||
|
# upload scan results to given team id (optional)
|
||||||
|
#team-id: none
|
||||||
|
|
||||||
|
# upload scan results to pdcp dashboard
|
||||||
|
#cloud-upload: false
|
||||||
|
|
||||||
|
# upload scan results to existing scan id (optional)
|
||||||
|
#scan-id:
|
||||||
|
|
||||||
|
# scan name to set (optional)
|
||||||
|
#scan-name:
|
||||||
|
|
||||||
|
# path to config file containing secrets for nuclei authenticated scan
|
||||||
|
#secret-file: []
|
||||||
|
|
||||||
|
# prefetch secrets from the secrets file
|
||||||
|
#prefetch-secrets: false
|
||||||
82
nuclei/reporting-config.yaml
Normal file
@ -0,0 +1,82 @@
|
|||||||
|
allow-list:
|
||||||
|
severity: []
|
||||||
|
tags: []
|
||||||
|
deny-list:
|
||||||
|
severity: []
|
||||||
|
tags: []
|
||||||
|
github:
|
||||||
|
base-url: ""
|
||||||
|
username: ""
|
||||||
|
owner: ""
|
||||||
|
token: ""
|
||||||
|
project-name: ""
|
||||||
|
issue-label: ""
|
||||||
|
severity-as-label: false
|
||||||
|
allow-list: null
|
||||||
|
deny-list: null
|
||||||
|
duplicate-issue-check: false
|
||||||
|
gitlab:
|
||||||
|
base-url: ""
|
||||||
|
username: ""
|
||||||
|
token: ""
|
||||||
|
project-name: ""
|
||||||
|
issue-label: ""
|
||||||
|
severity-as-label: false
|
||||||
|
allow-list: null
|
||||||
|
deny-list: null
|
||||||
|
duplicate-issue-check: false
|
||||||
|
gitea:
|
||||||
|
base-url: ""
|
||||||
|
token: ""
|
||||||
|
project-owner: ""
|
||||||
|
project-name: ""
|
||||||
|
issue-label: ""
|
||||||
|
severity-as-label: false
|
||||||
|
allow-list: null
|
||||||
|
deny-list: null
|
||||||
|
duplicate-issue-check: false
|
||||||
|
jira:
|
||||||
|
cloud: false
|
||||||
|
update-existing: false
|
||||||
|
url: ""
|
||||||
|
account-id: ""
|
||||||
|
email: ""
|
||||||
|
token: ""
|
||||||
|
project-name: ""
|
||||||
|
project-id: ""
|
||||||
|
issue-type: ""
|
||||||
|
issue-type-id: ""
|
||||||
|
severity-as-label: false
|
||||||
|
allow-list: null
|
||||||
|
deny-list: null
|
||||||
|
severity: []
|
||||||
|
custom-fields: {}
|
||||||
|
status-not: ""
|
||||||
|
markdown:
|
||||||
|
directory: ""
|
||||||
|
omit-raw: false
|
||||||
|
sort-mode: ""
|
||||||
|
sarif:
|
||||||
|
file: ""
|
||||||
|
elasticsearch:
|
||||||
|
host: ""
|
||||||
|
ip: ""
|
||||||
|
port: 0
|
||||||
|
ssl: false
|
||||||
|
ssl-verification: false
|
||||||
|
username: ""
|
||||||
|
password: ""
|
||||||
|
index-name: ""
|
||||||
|
splunkhec:
|
||||||
|
host: ""
|
||||||
|
port: 0
|
||||||
|
ssl: false
|
||||||
|
ssl-verification: false
|
||||||
|
token: ""
|
||||||
|
index-name: ""
|
||||||
|
json:
|
||||||
|
file: ""
|
||||||
|
omit-raw: false
|
||||||
|
jsonl:
|
||||||
|
file: ""
|
||||||
|
omit-raw: false
|
||||||
8
nvim/.gitignore
vendored
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
tt.*
|
||||||
|
.tests
|
||||||
|
doc/tags
|
||||||
|
debug
|
||||||
|
.repro
|
||||||
|
foo.*
|
||||||
|
*.log
|
||||||
|
data
|
||||||
15
nvim/.neoconf.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"neodev": {
|
||||||
|
"library": {
|
||||||
|
"enabled": true,
|
||||||
|
"plugins": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"neoconf": {
|
||||||
|
"plugins": {
|
||||||
|
"lua_ls": {
|
||||||
|
"enabled": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
201
nvim/LICENSE
Normal file
@ -0,0 +1,201 @@
|
|||||||
|
Apache License
|
||||||
|
Version 2.0, January 2004
|
||||||
|
http://www.apache.org/licenses/
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||||
|
|
||||||
|
1. Definitions.
|
||||||
|
|
||||||
|
"License" shall mean the terms and conditions for use, reproduction,
|
||||||
|
and distribution as defined by Sections 1 through 9 of this document.
|
||||||
|
|
||||||
|
"Licensor" shall mean the copyright owner or entity authorized by
|
||||||
|
the copyright owner that is granting the License.
|
||||||
|
|
||||||
|
"Legal Entity" shall mean the union of the acting entity and all
|
||||||
|
other entities that control, are controlled by, or are under common
|
||||||
|
control with that entity. For the purposes of this definition,
|
||||||
|
"control" means (i) the power, direct or indirect, to cause the
|
||||||
|
direction or management of such entity, whether by contract or
|
||||||
|
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||||
|
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||||
|
|
||||||
|
"You" (or "Your") shall mean an individual or Legal Entity
|
||||||
|
exercising permissions granted by this License.
|
||||||
|
|
||||||
|
"Source" form shall mean the preferred form for making modifications,
|
||||||
|
including but not limited to software source code, documentation
|
||||||
|
source, and configuration files.
|
||||||
|
|
||||||
|
"Object" form shall mean any form resulting from mechanical
|
||||||
|
transformation or translation of a Source form, including but
|
||||||
|
not limited to compiled object code, generated documentation,
|
||||||
|
and conversions to other media types.
|
||||||
|
|
||||||
|
"Work" shall mean the work of authorship, whether in Source or
|
||||||
|
Object form, made available under the License, as indicated by a
|
||||||
|
copyright notice that is included in or attached to the work
|
||||||
|
(an example is provided in the Appendix below).
|
||||||
|
|
||||||
|
"Derivative Works" shall mean any work, whether in Source or Object
|
||||||
|
form, that is based on (or derived from) the Work and for which the
|
||||||
|
editorial revisions, annotations, elaborations, or other modifications
|
||||||
|
represent, as a whole, an original work of authorship. For the purposes
|
||||||
|
of this License, Derivative Works shall not include works that remain
|
||||||
|
separable from, or merely link (or bind by name) to the interfaces of,
|
||||||
|
the Work and Derivative Works thereof.
|
||||||
|
|
||||||
|
"Contribution" shall mean any work of authorship, including
|
||||||
|
the original version of the Work and any modifications or additions
|
||||||
|
to that Work or Derivative Works thereof, that is intentionally
|
||||||
|
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||||
|
or by an individual or Legal Entity authorized to submit on behalf of
|
||||||
|
the copyright owner. For the purposes of this definition, "submitted"
|
||||||
|
means any form of electronic, verbal, or written communication sent
|
||||||
|
to the Licensor or its representatives, including but not limited to
|
||||||
|
communication on electronic mailing lists, source code control systems,
|
||||||
|
and issue tracking systems that are managed by, or on behalf of, the
|
||||||
|
Licensor for the purpose of discussing and improving the Work, but
|
||||||
|
excluding communication that is conspicuously marked or otherwise
|
||||||
|
designated in writing by the copyright owner as "Not a Contribution."
|
||||||
|
|
||||||
|
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||||
|
on behalf of whom a Contribution has been received by Licensor and
|
||||||
|
subsequently incorporated within the Work.
|
||||||
|
|
||||||
|
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
copyright license to reproduce, prepare Derivative Works of,
|
||||||
|
publicly display, publicly perform, sublicense, and distribute the
|
||||||
|
Work and such Derivative Works in Source or Object form.
|
||||||
|
|
||||||
|
3. Grant of Patent License. Subject to the terms and conditions of
|
||||||
|
this License, each Contributor hereby grants to You a perpetual,
|
||||||
|
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||||
|
(except as stated in this section) patent license to make, have made,
|
||||||
|
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||||
|
where such license applies only to those patent claims licensable
|
||||||
|
by such Contributor that are necessarily infringed by their
|
||||||
|
Contribution(s) alone or by combination of their Contribution(s)
|
||||||
|
with the Work to which such Contribution(s) was submitted. If You
|
||||||
|
institute patent litigation against any entity (including a
|
||||||
|
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||||
|
or a Contribution incorporated within the Work constitutes direct
|
||||||
|
or contributory patent infringement, then any patent licenses
|
||||||
|
granted to You under this License for that Work shall terminate
|
||||||
|
as of the date such litigation is filed.
|
||||||
|
|
||||||
|
4. Redistribution. You may reproduce and distribute copies of the
|
||||||
|
Work or Derivative Works thereof in any medium, with or without
|
||||||
|
modifications, and in Source or Object form, provided that You
|
||||||
|
meet the following conditions:
|
||||||
|
|
||||||
|
(a) You must give any other recipients of the Work or
|
||||||
|
Derivative Works a copy of this License; and
|
||||||
|
|
||||||
|
(b) You must cause any modified files to carry prominent notices
|
||||||
|
stating that You changed the files; and
|
||||||
|
|
||||||
|
(c) You must retain, in the Source form of any Derivative Works
|
||||||
|
that You distribute, all copyright, patent, trademark, and
|
||||||
|
attribution notices from the Source form of the Work,
|
||||||
|
excluding those notices that do not pertain to any part of
|
||||||
|
the Derivative Works; and
|
||||||
|
|
||||||
|
(d) If the Work includes a "NOTICE" text file as part of its
|
||||||
|
distribution, then any Derivative Works that You distribute must
|
||||||
|
include a readable copy of the attribution notices contained
|
||||||
|
within such NOTICE file, excluding those notices that do not
|
||||||
|
pertain to any part of the Derivative Works, in at least one
|
||||||
|
of the following places: within a NOTICE text file distributed
|
||||||
|
as part of the Derivative Works; within the Source form or
|
||||||
|
documentation, if provided along with the Derivative Works; or,
|
||||||
|
within a display generated by the Derivative Works, if and
|
||||||
|
wherever such third-party notices normally appear. The contents
|
||||||
|
of the NOTICE file are for informational purposes only and
|
||||||
|
do not modify the License. You may add Your own attribution
|
||||||
|
notices within Derivative Works that You distribute, alongside
|
||||||
|
or as an addendum to the NOTICE text from the Work, provided
|
||||||
|
that such additional attribution notices cannot be construed
|
||||||
|
as modifying the License.
|
||||||
|
|
||||||
|
You may add Your own copyright statement to Your modifications and
|
||||||
|
may provide additional or different license terms and conditions
|
||||||
|
for use, reproduction, or distribution of Your modifications, or
|
||||||
|
for any such Derivative Works as a whole, provided Your use,
|
||||||
|
reproduction, and distribution of the Work otherwise complies with
|
||||||
|
the conditions stated in this License.
|
||||||
|
|
||||||
|
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||||
|
any Contribution intentionally submitted for inclusion in the Work
|
||||||
|
by You to the Licensor shall be under the terms and conditions of
|
||||||
|
this License, without any additional terms or conditions.
|
||||||
|
Notwithstanding the above, nothing herein shall supersede or modify
|
||||||
|
the terms of any separate license agreement you may have executed
|
||||||
|
with Licensor regarding such Contributions.
|
||||||
|
|
||||||
|
6. Trademarks. This License does not grant permission to use the trade
|
||||||
|
names, trademarks, service marks, or product names of the Licensor,
|
||||||
|
except as required for reasonable and customary use in describing the
|
||||||
|
origin of the Work and reproducing the content of the NOTICE file.
|
||||||
|
|
||||||
|
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||||
|
agreed to in writing, Licensor provides the Work (and each
|
||||||
|
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||||
|
implied, including, without limitation, any warranties or conditions
|
||||||
|
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||||
|
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||||
|
appropriateness of using or redistributing the Work and assume any
|
||||||
|
risks associated with Your exercise of permissions under this License.
|
||||||
|
|
||||||
|
8. Limitation of Liability. In no event and under no legal theory,
|
||||||
|
whether in tort (including negligence), contract, or otherwise,
|
||||||
|
unless required by applicable law (such as deliberate and grossly
|
||||||
|
negligent acts) or agreed to in writing, shall any Contributor be
|
||||||
|
liable to You for damages, including any direct, indirect, special,
|
||||||
|
incidental, or consequential damages of any character arising as a
|
||||||
|
result of this License or out of the use or inability to use the
|
||||||
|
Work (including but not limited to damages for loss of goodwill,
|
||||||
|
work stoppage, computer failure or malfunction, or any and all
|
||||||
|
other commercial damages or losses), even if such Contributor
|
||||||
|
has been advised of the possibility of such damages.
|
||||||
|
|
||||||
|
9. Accepting Warranty or Additional Liability. While redistributing
|
||||||
|
the Work or Derivative Works thereof, You may choose to offer,
|
||||||
|
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||||
|
or other liability obligations and/or rights consistent with this
|
||||||
|
License. However, in accepting such obligations, You may act only
|
||||||
|
on Your own behalf and on Your sole responsibility, not on behalf
|
||||||
|
of any other Contributor, and only if You agree to indemnify,
|
||||||
|
defend, and hold each Contributor harmless for any liability
|
||||||
|
incurred by, or claims asserted against, such Contributor by reason
|
||||||
|
of your accepting any such warranty or additional liability.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
APPENDIX: How to apply the Apache License to your work.
|
||||||
|
|
||||||
|
To apply the Apache License to your work, attach the following
|
||||||
|
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||||
|
replaced with your own identifying information. (Don't include
|
||||||
|
the brackets!) The text should be enclosed in the appropriate
|
||||||
|
comment syntax for the file format. We also recommend that a
|
||||||
|
file or class name and description of purpose be included on the
|
||||||
|
same "printed page" as the copyright notice for easier
|
||||||
|
identification within third-party archives.
|
||||||
|
|
||||||
|
Copyright [yyyy] [name of copyright owner]
|
||||||
|
|
||||||
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
you may not use this file except in compliance with the License.
|
||||||
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
|
Unless required by applicable law or agreed to in writing, software
|
||||||
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
See the License for the specific language governing permissions and
|
||||||
|
limitations under the License.
|
||||||
4
nvim/README.md
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# 💤 LazyVim
|
||||||
|
|
||||||
|
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
|
||||||
|
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.
|
||||||
3
nvim/init.lua
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-- bootstrap lazy.nvim, LazyVim and your plugins
|
||||||
|
require("config.lazy")
|
||||||
|
require("custom_colorschemes.alacritty_colour_jory").setup()
|
||||||
32
nvim/lazy-lock.json
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
{
|
||||||
|
"LazyVim": { "branch": "main", "commit": "28db03f958d58dfff3c647ce28fdc1cb88ac158d" },
|
||||||
|
"bufferline.nvim": { "branch": "main", "commit": "655133c3b4c3e5e05ec549b9f8cc2894ac6f51b3" },
|
||||||
|
"catppuccin": { "branch": "main", "commit": "da33755d00e09bff2473978910168ff9ea5dc453" },
|
||||||
|
"conform.nvim": { "branch": "master", "commit": "afce105eb47b0869dfafdac90d82f02ef2419d61" },
|
||||||
|
"flash.nvim": { "branch": "main", "commit": "fcea7ff883235d9024dc41e638f164a450c14ca2" },
|
||||||
|
"gitsigns.nvim": { "branch": "main", "commit": "cdafc320f03f2572c40ab93a4eecb733d4016d07" },
|
||||||
|
"grug-far.nvim": { "branch": "main", "commit": "b58b2d65863f4ebad88b10a1ddd519e5380466e0" },
|
||||||
|
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
||||||
|
"lazydev.nvim": { "branch": "main", "commit": "5231c62aa83c2f8dc8e7ba957aa77098cda1257d" },
|
||||||
|
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
|
||||||
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "7d527c76c43f46294de9c19d39c5a86317809b4b" },
|
||||||
|
"mason.nvim": { "branch": "main", "commit": "57e5a8addb8c71fb063ee4acda466c7cf6ad2800" },
|
||||||
|
"mini.ai": { "branch": "main", "commit": "bfb26d9072670c3aaefab0f53024b2f3729c8083" },
|
||||||
|
"mini.icons": { "branch": "main", "commit": "ff2e4f1d29f659cc2bad0f9256f2f6195c6b2428" },
|
||||||
|
"mini.pairs": { "branch": "main", "commit": "b316e68f2d242d5bd010deaab645daa27ed86297" },
|
||||||
|
"noice.nvim": { "branch": "main", "commit": "7bfd942445fb63089b59f97ca487d605e715f155" },
|
||||||
|
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||||
|
"nvim-lint": { "branch": "master", "commit": "d1118791070d090777398792a73032a0ca5c79ff" },
|
||||||
|
"nvim-lspconfig": { "branch": "master", "commit": "a2a277114dbb93e98f04b5087a9b832918b7da15" },
|
||||||
|
"nvim-treesitter": { "branch": "main", "commit": "bb83a676128d95c865e40ba71376d883bdadec14" },
|
||||||
|
"nvim-treesitter-textobjects": { "branch": "main", "commit": "227165aaeb07b567fb9c066f224816aa8f3ce63f" },
|
||||||
|
"nvim-ts-autotag": { "branch": "main", "commit": "c4ca798ab95b316a768d51eaaaee48f64a4a46bc" },
|
||||||
|
"persistence.nvim": { "branch": "main", "commit": "b20b2a7887bd39c1a356980b45e03250f3dce49c" },
|
||||||
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
|
"snacks.nvim": { "branch": "main", "commit": "fe7cfe9800a182274d0f868a74b7263b8c0c020b" },
|
||||||
|
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
||||||
|
"tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" },
|
||||||
|
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
||||||
|
"ts-comments.nvim": { "branch": "main", "commit": "123a9fb12e7229342f807ec9e6de478b1102b041" },
|
||||||
|
"which-key.nvim": { "branch": "main", "commit": "3aab2147e74890957785941f0c1ad87d0a44c15a" }
|
||||||
|
}
|
||||||
10
nvim/lazyvim.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"extras": [
|
||||||
|
"lazyvim.plugins.extras.ai.copilot",
|
||||||
|
"lazyvim.plugins.extras.ai.copilot-chat"
|
||||||
|
],
|
||||||
|
"news": {
|
||||||
|
"NEWS.md": "11866"
|
||||||
|
},
|
||||||
|
"version": 8
|
||||||
|
}
|
||||||
3
nvim/lua/config/autocmds.lua
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-- Autocmds are automatically loaded on the VeryLazy event
|
||||||
|
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
||||||
|
-- Add any additional autocmds here
|
||||||
3
nvim/lua/config/keymaps.lua
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-- Keymaps are automatically loaded on the VeryLazy event
|
||||||
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
||||||
|
-- Add any additional keymaps here
|
||||||
43
nvim/lua/config/lazy.lua
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
|
||||||
|
if not (vim.uv or vim.loop).fs_stat(lazypath) then
|
||||||
|
-- bootstrap lazy.nvim
|
||||||
|
-- stylua: ignore
|
||||||
|
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
|
||||||
|
end
|
||||||
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
|
require("lazy").setup({
|
||||||
|
spec = {
|
||||||
|
-- add LazyVim and import its plugins
|
||||||
|
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||||
|
-- import/override with your plugins
|
||||||
|
{ import = "plugins" },
|
||||||
|
},
|
||||||
|
defaults = {
|
||||||
|
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
|
||||||
|
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
|
||||||
|
lazy = false,
|
||||||
|
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
|
||||||
|
-- have outdated releases, which may break your Neovim install.
|
||||||
|
version = false, -- always use the latest git commit
|
||||||
|
-- version = "*", -- try installing the latest stable version for plugins that support semver
|
||||||
|
},
|
||||||
|
install = { colorscheme = { "tokyonight", "habamax" } },
|
||||||
|
checker = { enabled = true }, -- automatically check for plugin updates
|
||||||
|
performance = {
|
||||||
|
rtp = {
|
||||||
|
-- disable some rtp plugins
|
||||||
|
disabled_plugins = {
|
||||||
|
"gzip",
|
||||||
|
-- "matchit",
|
||||||
|
-- "matchparen",
|
||||||
|
-- "netrwPlugin",
|
||||||
|
"tarPlugin",
|
||||||
|
"tohtml",
|
||||||
|
"tutor",
|
||||||
|
"zipPlugin",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
3
nvim/lua/config/options.lua
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
-- Options are automatically loaded before lazy.nvim startup
|
||||||
|
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
|
||||||
|
-- Add any additional options here
|
||||||
36
nvim/lua/custom_colorschemes/alacritty_colour_jory.lua
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
-- ~/.config/nvim/lua/custom_colorschemes/alacritty_colour_jory.lua
|
||||||
|
|
||||||
|
local alacritty_colour_jory = {}
|
||||||
|
|
||||||
|
alacritty_colour_jory.setup = function()
|
||||||
|
vim.cmd("highlight clear")
|
||||||
|
vim.cmd("syntax reset")
|
||||||
|
vim.o.background = "dark"
|
||||||
|
vim.g.colors_name = "alacritty_colour_jory"
|
||||||
|
|
||||||
|
local colors = {
|
||||||
|
bg = "#1f0d00",
|
||||||
|
fg = "#dfbf8e",
|
||||||
|
black = "#665c54",
|
||||||
|
blue = "#7daea3",
|
||||||
|
cyan = "#89b482",
|
||||||
|
green = "#a9b665",
|
||||||
|
magenta = "#d3869b",
|
||||||
|
red = "#ea6962",
|
||||||
|
white = "#dfbf8e",
|
||||||
|
yellow = "#e78a4e",
|
||||||
|
}
|
||||||
|
|
||||||
|
vim.api.nvim_set_hl(0, "Normal", { fg = colors.fg, bg = colors.bg })
|
||||||
|
vim.api.nvim_set_hl(0, "Comment", { fg = colors.black, italic = true })
|
||||||
|
vim.api.nvim_set_hl(0, "Constant", { fg = colors.magenta })
|
||||||
|
vim.api.nvim_set_hl(0, "String", { fg = colors.green })
|
||||||
|
vim.api.nvim_set_hl(0, "Function", { fg = colors.blue })
|
||||||
|
vim.api.nvim_set_hl(0, "Identifier", { fg = colors.red })
|
||||||
|
vim.api.nvim_set_hl(0, "Statement", { fg = colors.yellow })
|
||||||
|
vim.api.nvim_set_hl(0, "Type", { fg = colors.cyan })
|
||||||
|
vim.api.nvim_set_hl(0, "Special", { fg = colors.white })
|
||||||
|
-- Add more highlight groups as needed
|
||||||
|
end
|
||||||
|
|
||||||
|
return alacritty_colour_jory
|
||||||
242
nvim/lua/plugins/example.lua
Normal file
@ -0,0 +1,242 @@
|
|||||||
|
-- since this is just an example spec, don't actually load anything here and return an empty spec
|
||||||
|
-- stylua: ignore
|
||||||
|
if true then return {} end
|
||||||
|
|
||||||
|
-- every spec file under the "plugins" directory will be loaded automatically by lazy.nvim
|
||||||
|
--
|
||||||
|
-- In your plugin files, you can:
|
||||||
|
-- * add extra plugins
|
||||||
|
-- * disable/enabled LazyVim plugins
|
||||||
|
-- * override the configuration of LazyVim plugins
|
||||||
|
return {
|
||||||
|
-- add gruvbox
|
||||||
|
{ "ellisonleao/gruvbox.nvim" },
|
||||||
|
|
||||||
|
-- Configure LazyVim to load gruvbox
|
||||||
|
{
|
||||||
|
"LazyVim/LazyVim",
|
||||||
|
opts = {
|
||||||
|
colorscheme = "gruvbox",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"Exafunction/codeium.vim",
|
||||||
|
event = "BufEnter",
|
||||||
|
},
|
||||||
|
-- change trouble config
|
||||||
|
{
|
||||||
|
"folke/trouble.nvim",
|
||||||
|
-- opts will be merged with the parent spec
|
||||||
|
opts = { use_diagnostic_signs = true },
|
||||||
|
},
|
||||||
|
|
||||||
|
-- disable trouble
|
||||||
|
{ "folke/trouble.nvim", enabled = false },
|
||||||
|
|
||||||
|
-- override nvim-cmp and add cmp-emoji
|
||||||
|
{
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
dependencies = { "hrsh7th/cmp-emoji" },
|
||||||
|
---@param opts cmp.ConfigSchema
|
||||||
|
opts = function(_, opts)
|
||||||
|
table.insert(opts.sources, { name = "emoji" })
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- change some telescope options and a keymap to browse plugin files
|
||||||
|
{
|
||||||
|
"nvim-telescope/telescope.nvim",
|
||||||
|
keys = {
|
||||||
|
-- add a keymap to browse plugin files
|
||||||
|
-- stylua: ignore
|
||||||
|
{
|
||||||
|
"<leader>fp",
|
||||||
|
function() require("telescope.builtin").find_files({ cwd = require("lazy.core.config").options.root }) end,
|
||||||
|
desc = "Find Plugin File",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
-- change some options
|
||||||
|
opts = {
|
||||||
|
defaults = {
|
||||||
|
layout_strategy = "horizontal",
|
||||||
|
layout_config = { prompt_position = "top" },
|
||||||
|
sorting_strategy = "ascending",
|
||||||
|
winblend = 0,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- add pyright to lspconfig
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
---@class PluginLspOpts
|
||||||
|
opts = {
|
||||||
|
---@type lspconfig.options
|
||||||
|
servers = {
|
||||||
|
-- pyright will be automatically installed with mason and loaded with lspconfig
|
||||||
|
pyright = {},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- add tsserver and setup with typescript.nvim instead of lspconfig
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
dependencies = {
|
||||||
|
"jose-elias-alvarez/typescript.nvim",
|
||||||
|
init = function()
|
||||||
|
require("lazyvim.util").lsp.on_attach(function(_, buffer)
|
||||||
|
-- stylua: ignore
|
||||||
|
vim.keymap.set( "n", "<leader>co", "TypescriptOrganizeImports", { buffer = buffer, desc = "Organize Imports" })
|
||||||
|
vim.keymap.set("n", "<leader>cR", "TypescriptRenameFile", { desc = "Rename File", buffer = buffer })
|
||||||
|
end)
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
---@class PluginLspOpts
|
||||||
|
opts = {
|
||||||
|
---@type lspconfig.options
|
||||||
|
servers = {
|
||||||
|
-- tsserver will be automatically installed with mason and loaded with lspconfig
|
||||||
|
tsserver = {},
|
||||||
|
},
|
||||||
|
-- you can do any additional lsp server setup here
|
||||||
|
-- return true if you don't want this server to be setup with lspconfig
|
||||||
|
---@type table<string, fun(server:string, opts:_.lspconfig.options):boolean?>
|
||||||
|
setup = {
|
||||||
|
-- example to setup with typescript.nvim
|
||||||
|
tsserver = function(_, opts)
|
||||||
|
require("typescript").setup({ server = opts })
|
||||||
|
return true
|
||||||
|
end,
|
||||||
|
-- Specify * to use this function as a fallback for any server
|
||||||
|
-- ["*"] = function(server, opts) end,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- for typescript, LazyVim also includes extra specs to properly setup lspconfig,
|
||||||
|
-- treesitter, mason and typescript.nvim. So instead of the above, you can use:
|
||||||
|
{ import = "lazyvim.plugins.extras.lang.typescript" },
|
||||||
|
|
||||||
|
-- add more treesitter parsers
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"bash",
|
||||||
|
"html",
|
||||||
|
"javascript",
|
||||||
|
"json",
|
||||||
|
"lua",
|
||||||
|
"markdown",
|
||||||
|
"markdown_inline",
|
||||||
|
"python",
|
||||||
|
"query",
|
||||||
|
"regex",
|
||||||
|
"tsx",
|
||||||
|
"typescript",
|
||||||
|
"vim",
|
||||||
|
"yaml",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- since `vim.tbl_deep_extend`, can only merge tables and not lists, the code above
|
||||||
|
-- would overwrite `ensure_installed` with the new value.
|
||||||
|
-- If you'd rather extend the default config, use the code below instead:
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
opts = function(_, opts)
|
||||||
|
-- add tsx and treesitter
|
||||||
|
vim.list_extend(opts.ensure_installed, {
|
||||||
|
"tsx",
|
||||||
|
"typescript",
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- the opts function can also be used to change the default opts:
|
||||||
|
{
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = function(_, opts)
|
||||||
|
table.insert(opts.sections.lualine_x, "😄")
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- or you can return new options to override all the defaults
|
||||||
|
{
|
||||||
|
"nvim-lualine/lualine.nvim",
|
||||||
|
event = "VeryLazy",
|
||||||
|
opts = function()
|
||||||
|
return {
|
||||||
|
--[[add your custom lualine config here]]
|
||||||
|
}
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
|
||||||
|
-- use mini.starter instead of alpha
|
||||||
|
{ import = "lazyvim.plugins.extras.ui.mini-starter" },
|
||||||
|
|
||||||
|
-- add jsonls and schemastore packages, and setup treesitter for json, json5 and jsonc
|
||||||
|
{ import = "lazyvim.plugins.extras.lang.json" },
|
||||||
|
|
||||||
|
-- add any tools you want to have installed below
|
||||||
|
{
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
opts = {
|
||||||
|
ensure_installed = {
|
||||||
|
"stylua",
|
||||||
|
"shellcheck",
|
||||||
|
"shfmt",
|
||||||
|
"flake8",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Use <tab> for completion and snippets (supertab)
|
||||||
|
{
|
||||||
|
"hrsh7th/nvim-cmp",
|
||||||
|
dependencies = {
|
||||||
|
"hrsh7th/cmp-emoji",
|
||||||
|
},
|
||||||
|
---@param opts cmp.ConfigSchema
|
||||||
|
opts = function(_, opts)
|
||||||
|
local has_words_before = function()
|
||||||
|
unpack = unpack or table.unpack
|
||||||
|
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
|
||||||
|
return col ~= 0 and vim.api.nvim_buf_get_lines(0, line - 1, line, true)[1]:sub(col, col):match("%s") == nil
|
||||||
|
end
|
||||||
|
|
||||||
|
local cmp = require("cmp")
|
||||||
|
|
||||||
|
opts.mapping = vim.tbl_extend("force", opts.mapping, {
|
||||||
|
["<Tab>"] = cmp.mapping(function(fallback)
|
||||||
|
if cmp.visible() then
|
||||||
|
cmp.select_next_item()
|
||||||
|
elseif vim.snippet.active({ direction = 1 }) then
|
||||||
|
vim.schedule(function()
|
||||||
|
vim.snippet.jump(1)
|
||||||
|
end)
|
||||||
|
elseif has_words_before() then
|
||||||
|
cmp.complete()
|
||||||
|
else
|
||||||
|
fallback()
|
||||||
|
end
|
||||||
|
end, { "i", "s" }),
|
||||||
|
["<S-Tab>"] = cmp.mapping(function(fallback)
|
||||||
|
if cmp.visible() then
|
||||||
|
cmp.select_prev_item()
|
||||||
|
elseif vim.snippet.active({ direction = -1 }) then
|
||||||
|
vim.schedule(function()
|
||||||
|
vim.snippet.jump(-1)
|
||||||
|
end)
|
||||||
|
else
|
||||||
|
fallback()
|
||||||
|
end
|
||||||
|
end, { "i", "s" }),
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
3
nvim/stylua.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
indent_type = "Spaces"
|
||||||
|
indent_width = 2
|
||||||
|
column_width = 120
|
||||||
102
rofi/applets/bin/appasroot.sh
Executable file
@ -0,0 +1,102 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Run Applications as Root
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt='Applications'
|
||||||
|
mesg='Run Applications as Root'
|
||||||
|
|
||||||
|
if [[ "$theme" == *'type-1'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='400px'
|
||||||
|
elif [[ "$theme" == *'type-3'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='120px'
|
||||||
|
elif [[ "$theme" == *'type-5'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='520px'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='5'
|
||||||
|
list_row='1'
|
||||||
|
win_width='670px'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Alacritty"
|
||||||
|
option_2=" Thunar"
|
||||||
|
option_3=" Geany"
|
||||||
|
option_4=" Ranger"
|
||||||
|
option_5=" Vim"
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
option_2=""
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
option_5=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "window {width: $win_width;}" \
|
||||||
|
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
${polkit_cmd} alacritty
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
${polkit_cmd} dbus-run-session thunar
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
${polkit_cmd} geany
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
${polkit_cmd} alacritty -e ranger
|
||||||
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
${polkit_cmd} alacritty -e vim
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
$option_5)
|
||||||
|
run_cmd --opt5
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
104
rofi/applets/bin/apps.sh
Executable file
@ -0,0 +1,104 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Favorite Applications
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt='Applications'
|
||||||
|
mesg="Installed Packages : `pacman -Q | wc -l` (pacman)"
|
||||||
|
|
||||||
|
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='6'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='6'
|
||||||
|
list_row='1'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# CMDs (add your apps here)
|
||||||
|
term_cmd='alacritty'
|
||||||
|
file_cmd='thunar'
|
||||||
|
text_cmd='geany'
|
||||||
|
web_cmd='firefox'
|
||||||
|
music_cmd='alacritty -e ncmpcpp'
|
||||||
|
setting_cmd='xfce4-settings-manager'
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Terminal <span weight='light' size='small'><i>($term_cmd)</i></span>"
|
||||||
|
option_2=" Files <span weight='light' size='small'><i>($file_cmd)</i></span>"
|
||||||
|
option_3=" Editor <span weight='light' size='small'><i>($text_cmd)</i></span>"
|
||||||
|
option_4=" Browser <span weight='light' size='small'><i>($web_cmd)</i></span>"
|
||||||
|
option_5=" Music <span weight='light' size='small'><i>($music_cmd)</i></span>"
|
||||||
|
option_6=" Settings <span weight='light' size='small'><i>($setting_cmd)</i></span>"
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
option_2=""
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
option_5=""
|
||||||
|
option_6=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
${term_cmd}
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
${file_cmd}
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
${text_cmd}
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
${web_cmd}
|
||||||
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
${music_cmd}
|
||||||
|
elif [[ "$1" == '--opt6' ]]; then
|
||||||
|
${setting_cmd}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
$option_5)
|
||||||
|
run_cmd --opt5
|
||||||
|
;;
|
||||||
|
$option_6)
|
||||||
|
run_cmd --opt6
|
||||||
|
;;
|
||||||
|
esac
|
||||||
134
rofi/applets/bin/battery.sh
Executable file
@ -0,0 +1,134 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Battery
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Battery Info
|
||||||
|
battery="`acpi -b | cut -d',' -f1 | cut -d':' -f1`"
|
||||||
|
status="`acpi -b | cut -d',' -f1 | cut -d':' -f2 | tr -d ' '`"
|
||||||
|
percentage="`acpi -b | cut -d',' -f2 | tr -d ' ',\%`"
|
||||||
|
time="`acpi -b | cut -d',' -f3`"
|
||||||
|
|
||||||
|
if [[ -z "$time" ]]; then
|
||||||
|
time=' Fully Charged'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt="$status"
|
||||||
|
mesg="${battery}: ${percentage}%,${time}"
|
||||||
|
|
||||||
|
if [[ "$theme" == *'type-1'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='4'
|
||||||
|
win_width='400px'
|
||||||
|
elif [[ "$theme" == *'type-3'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='4'
|
||||||
|
win_width='120px'
|
||||||
|
elif [[ "$theme" == *'type-5'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='4'
|
||||||
|
win_width='500px'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='4'
|
||||||
|
list_row='1'
|
||||||
|
win_width='550px'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Charging Status
|
||||||
|
active=""
|
||||||
|
urgent=""
|
||||||
|
if [[ $status = *"Charging"* ]]; then
|
||||||
|
active="-a 1"
|
||||||
|
ICON_CHRG=""
|
||||||
|
elif [[ $status = *"Full"* ]]; then
|
||||||
|
active="-u 1"
|
||||||
|
ICON_CHRG=""
|
||||||
|
else
|
||||||
|
urgent="-u 1"
|
||||||
|
ICON_CHRG=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Discharging
|
||||||
|
if [[ $percentage -ge 5 ]] && [[ $percentage -le 19 ]]; then
|
||||||
|
ICON_DISCHRG=""
|
||||||
|
elif [[ $percentage -ge 20 ]] && [[ $percentage -le 39 ]]; then
|
||||||
|
ICON_DISCHRG=""
|
||||||
|
elif [[ $percentage -ge 40 ]] && [[ $percentage -le 59 ]]; then
|
||||||
|
ICON_DISCHRG=""
|
||||||
|
elif [[ $percentage -ge 60 ]] && [[ $percentage -le 79 ]]; then
|
||||||
|
ICON_DISCHRG=""
|
||||||
|
elif [[ $percentage -ge 80 ]] && [[ $percentage -le 100 ]]; then
|
||||||
|
ICON_DISCHRG=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Remaining ${percentage}%"
|
||||||
|
option_2=" $status"
|
||||||
|
option_3=" Power Manager"
|
||||||
|
option_4=" Diagnose"
|
||||||
|
else
|
||||||
|
option_1="$ICON_DISCHRG"
|
||||||
|
option_2="$ICON_CHRG"
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "window {width: $win_width;}" \
|
||||||
|
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str "textbox-prompt-colon {str: \"$ICON_DISCHRG\";}" \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
${active} ${urgent} \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
polkit_cmd="pkexec env PATH=$PATH DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY"
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
notify-send -u low " Remaining : ${percentage}%"
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
notify-send -u low "$ICON_CHRG Status : $status"
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
xfce4-power-manager-settings
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
${polkit_cmd} alacritty -e powertop
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
107
rofi/applets/bin/brightness.sh
Executable file
@ -0,0 +1,107 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Brightness
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Brightness Info
|
||||||
|
backlight="$(printf "%.0f\n" `light -G`)"
|
||||||
|
card="`light -L | grep 'backlight' | head -n1 | cut -d'/' -f3`"
|
||||||
|
|
||||||
|
if [[ $backlight -ge 0 ]] && [[ $backlight -le 29 ]]; then
|
||||||
|
level="Low"
|
||||||
|
elif [[ $backlight -ge 30 ]] && [[ $backlight -le 49 ]]; then
|
||||||
|
level="Optimal"
|
||||||
|
elif [[ $backlight -ge 50 ]] && [[ $backlight -le 69 ]]; then
|
||||||
|
level="High"
|
||||||
|
elif [[ $backlight -ge 70 ]] && [[ $backlight -le 100 ]]; then
|
||||||
|
level="Peak"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt="${backlight}%"
|
||||||
|
mesg="Device: ${card}, Level: $level"
|
||||||
|
|
||||||
|
if [[ "$theme" == *'type-1'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='4'
|
||||||
|
win_width='400px'
|
||||||
|
elif [[ "$theme" == *'type-3'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='4'
|
||||||
|
win_width='120px'
|
||||||
|
elif [[ "$theme" == *'type-5'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='4'
|
||||||
|
win_width='425px'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='4'
|
||||||
|
list_row='1'
|
||||||
|
win_width='550px'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Increase"
|
||||||
|
option_2=" Optimal"
|
||||||
|
option_3=" Decrease"
|
||||||
|
option_4=" Settings"
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
option_2=""
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "window {width: $win_width;}" \
|
||||||
|
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
light -A 5
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
light -S 25
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
light -U 5
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
xfce4-power-manager-settings
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
esac
|
||||||
131
rofi/applets/bin/mpd.sh
Executable file
@ -0,0 +1,131 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : MPD (music)
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
status="`mpc status`"
|
||||||
|
if [[ -z "$status" ]]; then
|
||||||
|
prompt='Offline'
|
||||||
|
mesg="MPD is Offline"
|
||||||
|
else
|
||||||
|
prompt="`mpc -f "%artist%" current`"
|
||||||
|
mesg="`mpc -f "%title%" current` :: `mpc status | grep "#" | awk '{print $3}'`"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='6'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='6'
|
||||||
|
list_row='1'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
if [[ ${status} == *"[playing]"* ]]; then
|
||||||
|
option_1=" Pause"
|
||||||
|
else
|
||||||
|
option_1=" Play"
|
||||||
|
fi
|
||||||
|
option_2=" Stop"
|
||||||
|
option_3=" Previous"
|
||||||
|
option_4=" Next"
|
||||||
|
option_5=" Repeat"
|
||||||
|
option_6=" Random"
|
||||||
|
else
|
||||||
|
if [[ ${status} == *"[playing]"* ]]; then
|
||||||
|
option_1=""
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
fi
|
||||||
|
option_2=""
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
option_5=""
|
||||||
|
option_6=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Toggle Actions
|
||||||
|
active=''
|
||||||
|
urgent=''
|
||||||
|
# Repeat
|
||||||
|
if [[ ${status} == *"repeat: on"* ]]; then
|
||||||
|
active="-a 4"
|
||||||
|
elif [[ ${status} == *"repeat: off"* ]]; then
|
||||||
|
urgent="-u 4"
|
||||||
|
else
|
||||||
|
option_5=" Parsing Error"
|
||||||
|
fi
|
||||||
|
# Random
|
||||||
|
if [[ ${status} == *"random: on"* ]]; then
|
||||||
|
[ -n "$active" ] && active+=",5" || active="-a 5"
|
||||||
|
elif [[ ${status} == *"random: off"* ]]; then
|
||||||
|
[ -n "$urgent" ] && urgent+=",5" || urgent="-u 5"
|
||||||
|
else
|
||||||
|
option_6=" Parsing Error"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
${active} ${urgent} \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
mpc -q toggle && notify-send -u low -t 1000 " `mpc current`"
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
mpc -q stop
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
mpc -q prev && notify-send -u low -t 1000 " `mpc current`"
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
mpc -q next && notify-send -u low -t 1000 " `mpc current`"
|
||||||
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
mpc -q repeat
|
||||||
|
elif [[ "$1" == '--opt6' ]]; then
|
||||||
|
mpc -q random
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
$option_5)
|
||||||
|
run_cmd --opt5
|
||||||
|
;;
|
||||||
|
$option_6)
|
||||||
|
run_cmd --opt6
|
||||||
|
;;
|
||||||
|
esac
|
||||||
129
rofi/applets/bin/powermenu.sh
Executable file
@ -0,0 +1,129 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Power Menu
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt="`hostname`"
|
||||||
|
mesg="Uptime : `uptime -p | sed -e 's/up //g'`"
|
||||||
|
|
||||||
|
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='6'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='6'
|
||||||
|
list_row='1'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Lock"
|
||||||
|
option_2=" Logout"
|
||||||
|
option_3=" Suspend"
|
||||||
|
option_4=" Hibernate"
|
||||||
|
option_5=" Reboot"
|
||||||
|
option_6=" Shutdown"
|
||||||
|
yes=' Yes'
|
||||||
|
no=' No'
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
option_2=""
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
option_5=""
|
||||||
|
option_6=""
|
||||||
|
yes=''
|
||||||
|
no=''
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Confirmation CMD
|
||||||
|
confirm_cmd() {
|
||||||
|
rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 350px;}' \
|
||||||
|
-theme-str 'mainbox {orientation: vertical; children: [ "message", "listview" ];}' \
|
||||||
|
-theme-str 'listview {columns: 2; lines: 1;}' \
|
||||||
|
-theme-str 'element-text {horizontal-align: 0.5;}' \
|
||||||
|
-theme-str 'textbox {horizontal-align: 0.5;}' \
|
||||||
|
-dmenu \
|
||||||
|
-p 'Confirmation' \
|
||||||
|
-mesg 'Are you Sure?' \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Ask for confirmation
|
||||||
|
confirm_exit() {
|
||||||
|
echo -e "$yes\n$no" | confirm_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Confirm and execute
|
||||||
|
confirm_run () {
|
||||||
|
selected="$(confirm_exit)"
|
||||||
|
if [[ "$selected" == "$yes" ]]; then
|
||||||
|
${1} && ${2} && ${3}
|
||||||
|
else
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
betterlockscreen -l
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
confirm_run 'kill -9 -1'
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
confirm_run 'mpc -q pause' 'amixer set Master mute' 'systemctl suspend'
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
confirm_run 'systemctl hibernate'
|
||||||
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
confirm_run 'systemctl reboot'
|
||||||
|
elif [[ "$1" == '--opt6' ]]; then
|
||||||
|
confirm_run 'systemctl poweroff'
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
$option_5)
|
||||||
|
run_cmd --opt5
|
||||||
|
;;
|
||||||
|
$option_6)
|
||||||
|
run_cmd --opt6
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
103
rofi/applets/bin/quicklinks.sh
Executable file
@ -0,0 +1,103 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Quick Links
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt='Quick Links'
|
||||||
|
mesg="Using '$BROWSER' as web browser"
|
||||||
|
|
||||||
|
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-3'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='6'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='6'
|
||||||
|
list_row='1'
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ ( "$theme" == *'type-1'* ) || ( "$theme" == *'type-5'* ) ]]; then
|
||||||
|
efonts="JetBrains Mono Nerd Font 10"
|
||||||
|
else
|
||||||
|
efonts="JetBrains Mono Nerd Font 28"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Google"
|
||||||
|
option_2=" Gmail"
|
||||||
|
option_3=" Youtube"
|
||||||
|
option_4=" Github"
|
||||||
|
option_5=" Reddit"
|
||||||
|
option_6=" Twitter"
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
option_2=""
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
option_5=""
|
||||||
|
option_6=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-theme-str "element-text {font: \"$efonts\";}" \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5\n$option_6" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
xdg-open 'https://www.google.com/'
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
xdg-open 'https://mail.google.com/'
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
xdg-open 'https://www.youtube.com/'
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
xdg-open 'https://www.github.com/'
|
||||||
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
xdg-open 'https://www.reddit.com/'
|
||||||
|
elif [[ "$1" == '--opt6' ]]; then
|
||||||
|
xdg-open 'https://www.twitter.com/'
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
$option_5)
|
||||||
|
run_cmd --opt5
|
||||||
|
;;
|
||||||
|
$option_6)
|
||||||
|
run_cmd --opt6
|
||||||
|
;;
|
||||||
|
esac
|
||||||
165
rofi/applets/bin/screenshot.sh
Executable file
@ -0,0 +1,165 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Screenshot
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt='Screenshot'
|
||||||
|
mesg="DIR: `xdg-user-dir PICTURES`/Screenshots"
|
||||||
|
|
||||||
|
if [[ "$theme" == *'type-1'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='400px'
|
||||||
|
elif [[ "$theme" == *'type-3'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='120px'
|
||||||
|
elif [[ "$theme" == *'type-5'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='520px'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='5'
|
||||||
|
list_row='1'
|
||||||
|
win_width='670px'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Capture Desktop"
|
||||||
|
option_2=" Capture Area"
|
||||||
|
option_3=" Capture Window"
|
||||||
|
option_4=" Capture in 5s"
|
||||||
|
option_5=" Capture in 10s"
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
option_2=""
|
||||||
|
option_3=""
|
||||||
|
option_4=""
|
||||||
|
option_5=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "window {width: $win_width;}" \
|
||||||
|
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Screenshot
|
||||||
|
time=`date +%Y-%m-%d-%H-%M-%S`
|
||||||
|
geometry=`xrandr | grep 'current' | head -n1 | cut -d',' -f2 | tr -d '[:blank:],current'`
|
||||||
|
dir="`xdg-user-dir PICTURES`/Screenshots"
|
||||||
|
file="Screenshot_${time}_${geometry}.png"
|
||||||
|
|
||||||
|
if [[ ! -d "$dir" ]]; then
|
||||||
|
mkdir -p "$dir"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# notify and view screenshot
|
||||||
|
notify_view() {
|
||||||
|
notify_cmd_shot='dunstify -u low --replace=699'
|
||||||
|
${notify_cmd_shot} "Copied to clipboard."
|
||||||
|
viewnior ${dir}/"$file"
|
||||||
|
if [[ -e "$dir/$file" ]]; then
|
||||||
|
${notify_cmd_shot} "Screenshot Saved."
|
||||||
|
else
|
||||||
|
${notify_cmd_shot} "Screenshot Deleted."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Copy screenshot to clipboard
|
||||||
|
copy_shot () {
|
||||||
|
tee "$file" | xclip -selection clipboard -t image/png
|
||||||
|
}
|
||||||
|
|
||||||
|
# countdown
|
||||||
|
countdown () {
|
||||||
|
for sec in `seq $1 -1 1`; do
|
||||||
|
dunstify -t 1000 --replace=699 "Taking shot in : $sec"
|
||||||
|
sleep 1
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
# take shots
|
||||||
|
shotnow () {
|
||||||
|
cd ${dir} && sleep 0.5 && maim -u -f png | copy_shot
|
||||||
|
notify_view
|
||||||
|
}
|
||||||
|
|
||||||
|
shot5 () {
|
||||||
|
countdown '5'
|
||||||
|
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
||||||
|
notify_view
|
||||||
|
}
|
||||||
|
|
||||||
|
shot10 () {
|
||||||
|
countdown '10'
|
||||||
|
sleep 1 && cd ${dir} && maim -u -f png | copy_shot
|
||||||
|
notify_view
|
||||||
|
}
|
||||||
|
|
||||||
|
shotwin () {
|
||||||
|
cd ${dir} && maim -u -f png -i `xdotool getactivewindow` | copy_shot
|
||||||
|
notify_view
|
||||||
|
}
|
||||||
|
|
||||||
|
shotarea () {
|
||||||
|
cd ${dir} && maim -u -f png -s -b 2 -c 0.35,0.55,0.85,0.25 -l | copy_shot
|
||||||
|
notify_view
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
shotnow
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
shotarea
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
shotwin
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
shot5
|
||||||
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
shot10
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
$option_5)
|
||||||
|
run_cmd --opt5
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
|
||||||
134
rofi/applets/bin/volume.sh
Executable file
@ -0,0 +1,134 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Applets : Volume
|
||||||
|
|
||||||
|
# Import Current Theme
|
||||||
|
source "$HOME"/.config/rofi/applets/shared/theme.bash
|
||||||
|
theme="$type/$style"
|
||||||
|
|
||||||
|
# Volume Info
|
||||||
|
mixer="`amixer info Master | grep 'Mixer name' | cut -d':' -f2 | tr -d \',' '`"
|
||||||
|
speaker="`amixer get Master | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
||||||
|
mic="`amixer get Capture | tail -n1 | awk -F ' ' '{print $5}' | tr -d '[]'`"
|
||||||
|
|
||||||
|
active=""
|
||||||
|
urgent=""
|
||||||
|
|
||||||
|
# Speaker Info
|
||||||
|
amixer get Master | grep '\[on\]' &>/dev/null
|
||||||
|
if [[ "$?" == 0 ]]; then
|
||||||
|
active="-a 1"
|
||||||
|
stext='Unmute'
|
||||||
|
sicon=''
|
||||||
|
else
|
||||||
|
urgent="-u 1"
|
||||||
|
stext='Mute'
|
||||||
|
sicon=''
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Microphone Info
|
||||||
|
amixer get Capture | grep '\[on\]' &>/dev/null
|
||||||
|
if [[ "$?" == 0 ]]; then
|
||||||
|
[ -n "$active" ] && active+=",3" || active="-a 3"
|
||||||
|
mtext='Unmute'
|
||||||
|
micon=''
|
||||||
|
else
|
||||||
|
[ -n "$urgent" ] && urgent+=",3" || urgent="-u 3"
|
||||||
|
mtext='Mute'
|
||||||
|
micon=''
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Theme Elements
|
||||||
|
prompt="S:$stext, M:$mtext"
|
||||||
|
mesg="$mixer - Speaker: $speaker, Mic: $mic"
|
||||||
|
|
||||||
|
if [[ "$theme" == *'type-1'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='400px'
|
||||||
|
elif [[ "$theme" == *'type-3'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='120px'
|
||||||
|
elif [[ "$theme" == *'type-5'* ]]; then
|
||||||
|
list_col='1'
|
||||||
|
list_row='5'
|
||||||
|
win_width='520px'
|
||||||
|
elif [[ ( "$theme" == *'type-2'* ) || ( "$theme" == *'type-4'* ) ]]; then
|
||||||
|
list_col='5'
|
||||||
|
list_row='1'
|
||||||
|
win_width='670px'
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Options
|
||||||
|
layout=`cat ${theme} | grep 'USE_ICON' | cut -d'=' -f2`
|
||||||
|
if [[ "$layout" == 'NO' ]]; then
|
||||||
|
option_1=" Increase"
|
||||||
|
option_2="$sicon $stext"
|
||||||
|
option_3=" Decrese"
|
||||||
|
option_4="$micon $mtext"
|
||||||
|
option_5=" Settings"
|
||||||
|
else
|
||||||
|
option_1=""
|
||||||
|
option_2="$sicon"
|
||||||
|
option_3=""
|
||||||
|
option_4="$micon"
|
||||||
|
option_5=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Rofi CMD
|
||||||
|
rofi_cmd() {
|
||||||
|
rofi -theme-str "window {width: $win_width;}" \
|
||||||
|
-theme-str "listview {columns: $list_col; lines: $list_row;}" \
|
||||||
|
-theme-str 'textbox-prompt-colon {str: "";}' \
|
||||||
|
-dmenu \
|
||||||
|
-p "$prompt" \
|
||||||
|
-mesg "$mesg" \
|
||||||
|
${active} ${urgent} \
|
||||||
|
-markup-rows \
|
||||||
|
-theme ${theme}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Pass variables to rofi dmenu
|
||||||
|
run_rofi() {
|
||||||
|
echo -e "$option_1\n$option_2\n$option_3\n$option_4\n$option_5" | rofi_cmd
|
||||||
|
}
|
||||||
|
|
||||||
|
# Execute Command
|
||||||
|
run_cmd() {
|
||||||
|
if [[ "$1" == '--opt1' ]]; then
|
||||||
|
amixer -Mq set Master,0 5%+ unmute
|
||||||
|
elif [[ "$1" == '--opt2' ]]; then
|
||||||
|
amixer set Master toggle
|
||||||
|
elif [[ "$1" == '--opt3' ]]; then
|
||||||
|
amixer -Mq set Master,0 5%- unmute
|
||||||
|
elif [[ "$1" == '--opt4' ]]; then
|
||||||
|
amixer set Capture toggle
|
||||||
|
elif [[ "$1" == '--opt5' ]]; then
|
||||||
|
pavucontrol
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Actions
|
||||||
|
chosen="$(run_rofi)"
|
||||||
|
case ${chosen} in
|
||||||
|
$option_1)
|
||||||
|
run_cmd --opt1
|
||||||
|
;;
|
||||||
|
$option_2)
|
||||||
|
run_cmd --opt2
|
||||||
|
;;
|
||||||
|
$option_3)
|
||||||
|
run_cmd --opt3
|
||||||
|
;;
|
||||||
|
$option_4)
|
||||||
|
run_cmd --opt4
|
||||||
|
;;
|
||||||
|
$option_5)
|
||||||
|
run_cmd --opt5
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
18
rofi/applets/shared/colors.rasi
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
*
|
||||||
|
* Available Colors Schemes
|
||||||
|
*
|
||||||
|
* adapta catppuccin everforest navy paper
|
||||||
|
* arc cyberpunk gruvbox nord solarized
|
||||||
|
* black dracula lovelace onedark yousai
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
|
/* Import color-scheme from `colors` directory */
|
||||||
|
|
||||||
|
@import "~/.config/rofi/colors/onedark.rasi"
|
||||||
12
rofi/applets/shared/fonts.rasi
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Fonts
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
}
|
||||||
4
rofi/applets/shared/theme.bash
Executable file
@ -0,0 +1,4 @@
|
|||||||
|
## Current Theme
|
||||||
|
|
||||||
|
type="$HOME/.config/rofi/applets/type-1"
|
||||||
|
style='style-1.rasi'
|
||||||
152
rofi/applets/type-1/style-1.rasi
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=NO
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 400px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 1;
|
||||||
|
lines: 6;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
152
rofi/applets/type-1/style-2.rasi
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=NO
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 400px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 12px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 12px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 12px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 12px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 1;
|
||||||
|
lines: 6;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 12px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
152
rofi/applets/type-1/style-3.rasi
Normal file
@ -0,0 +1,152 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=NO
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 400px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 1px solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 1;
|
||||||
|
lines: 6;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
153
rofi/applets/type-2/style-1.rasi
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 800px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 30px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 28";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
153
rofi/applets/type-2/style-2.rasi
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 800px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 12px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 12px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 12px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 12px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 12px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 30px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 12px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 28";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
153
rofi/applets/type-2/style-3.rasi
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 800px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 30px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 28";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
153
rofi/applets/type-3/style-1.rasi
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: east;
|
||||||
|
anchor: east;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 120px;
|
||||||
|
x-offset: -20px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 23px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 24";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
153
rofi/applets/type-3/style-2.rasi
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: east;
|
||||||
|
anchor: east;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 120px;
|
||||||
|
x-offset: -20px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 23px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 24";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
153
rofi/applets/type-3/style-3.rasi
Normal file
@ -0,0 +1,153 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "../shared/colors.rasi"
|
||||||
|
@import "../shared/fonts.rasi"
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: east;
|
||||||
|
anchor: east;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 120px;
|
||||||
|
x-offset: -20px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 23px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 24";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
164
rofi/applets/type-4/style-1.rasi
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
background: #11092D;
|
||||||
|
background-alt: #281657;
|
||||||
|
foreground: #FFFFFF;
|
||||||
|
selected: #DF5296;
|
||||||
|
active: #6E77FF;
|
||||||
|
urgent: #8E3596;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 800px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 20px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 25px;
|
||||||
|
padding: 100px 50px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url("~/.config/rofi/images/a.png", width);
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
dummy{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 30px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 28";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
164
rofi/applets/type-4/style-2.rasi
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
background: #2D1B14;
|
||||||
|
background-alt: #462D23;
|
||||||
|
foreground: #FFFFFF;
|
||||||
|
selected: #E25F3E;
|
||||||
|
active: #716251;
|
||||||
|
urgent: #934A1C;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 800px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 20px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "listview", "message" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 25px;
|
||||||
|
padding: 100px 50px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url("~/.config/rofi/images/d.png", width);
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
||||||
|
}
|
||||||
|
|
||||||
|
dummy{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 10px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 30px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 28";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
164
rofi/applets/type-4/style-3.rasi
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
background: #131D1F;
|
||||||
|
background-alt: #183A43;
|
||||||
|
foreground: #FFFFFF;
|
||||||
|
selected: #649094;
|
||||||
|
active: #E9CC9D;
|
||||||
|
urgent: #FEA861;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=YES
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 800px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 50px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 20px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 25px;
|
||||||
|
padding: 100px 50px;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 40px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url("~/.config/rofi/images/i.jpg", width);
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "textbox-prompt-colon", "dummy", "prompt"];
|
||||||
|
}
|
||||||
|
|
||||||
|
dummy{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 100%;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 30px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
font: "feather 28";
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background-alt);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
166
rofi/applets/type-5/style-1.rasi
Normal file
@ -0,0 +1,166 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
background: #231419;
|
||||||
|
background-alt: #2D1E23;
|
||||||
|
foreground: #FFFFFF;
|
||||||
|
selected: #426647;
|
||||||
|
active: #2E3F34;
|
||||||
|
urgent: #D08261;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=NO
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 600px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
background-color: transparent;
|
||||||
|
orientation: horizontal;
|
||||||
|
children: [ "imagebox", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Imagebox -----*****/
|
||||||
|
imagebox {
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url("~/.config/rofi/images/e.jpg", height);
|
||||||
|
children: [ "dummy", "inputbar", "dummy" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
||||||
|
}
|
||||||
|
|
||||||
|
dummy{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 0px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
167
rofi/applets/type-5/style-2.rasi
Normal file
@ -0,0 +1,167 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
background: #11092D;
|
||||||
|
background-alt: #281657;
|
||||||
|
foreground: #FFFFFF;
|
||||||
|
selected: #DF5296;
|
||||||
|
active: #6E77FF;
|
||||||
|
urgent: #8E3596;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=NO
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 600px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
background-color: transparent;
|
||||||
|
orientation: horizontal;
|
||||||
|
children: [ "imagebox", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Imagebox -----*****/
|
||||||
|
imagebox {
|
||||||
|
border-radius: 20px;
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url("~/.config/rofi/images/j.jpg", height);
|
||||||
|
children: [ "dummy", "inputbar", "dummy" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
||||||
|
}
|
||||||
|
|
||||||
|
dummy{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border-radius: 15px;
|
||||||
|
background-color: @urgent;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border-radius: 15px;
|
||||||
|
background-color: @active;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 15px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
176
rofi/applets/type-5/style-3.rasi
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
show-icons: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
background: #101010;
|
||||||
|
background-alt: #252525;
|
||||||
|
foreground: #FFFFFF;
|
||||||
|
selected: #505050;
|
||||||
|
active: #909090;
|
||||||
|
urgent: #707070;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
USE_ICON=NO
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 600px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 30px;
|
||||||
|
border-color: @selected;
|
||||||
|
cursor: "default";
|
||||||
|
background-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 30px;
|
||||||
|
background-color: transparent;
|
||||||
|
orientation: horizontal;
|
||||||
|
children: [ "imagebox", "listview" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Imagebox -----*****/
|
||||||
|
imagebox {
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
background-image: url("~/.config/rofi/images/g.png", height);
|
||||||
|
children: [ "dummy", "inputbar", "dummy" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 15px;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
children: [ "dummy", "textbox-prompt-colon", "prompt", "dummy"];
|
||||||
|
}
|
||||||
|
|
||||||
|
dummy{
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "";
|
||||||
|
padding: 10px 13px;
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
padding: 10px;
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @foreground;
|
||||||
|
background-color: @foreground;
|
||||||
|
text-color: @background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: @background-alt;
|
||||||
|
text-color: @foreground;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 6;
|
||||||
|
lines: 1;
|
||||||
|
cycle: true;
|
||||||
|
scrollbar: false;
|
||||||
|
layout: vertical;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
background-color: transparent;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
padding: 11px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal,
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(background);
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent,
|
||||||
|
element alternate.urgent,
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(urgent);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element normal.active,
|
||||||
|
element alternate.active,
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(active);
|
||||||
|
text-color: var(background);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 100%;
|
||||||
|
border-color: @selected;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: var(foreground);
|
||||||
|
}
|
||||||
16
rofi/colors/adapta.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #222D32FF;
|
||||||
|
background-alt: #29353BFF;
|
||||||
|
foreground: #B8C2C6FF;
|
||||||
|
selected: #00BCD4FF;
|
||||||
|
active: #21FF90FF;
|
||||||
|
urgent: #FF4B60FF;
|
||||||
|
}
|
||||||
16
rofi/colors/arc.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #2F343FFF;
|
||||||
|
background-alt: #383C4AFF;
|
||||||
|
foreground: #BAC5D0FF;
|
||||||
|
selected: #5294E2FF;
|
||||||
|
active: #98C379FF;
|
||||||
|
urgent: #E06B74FF;
|
||||||
|
}
|
||||||
16
rofi/colors/black.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #000000FF;
|
||||||
|
background-alt: #101010FF;
|
||||||
|
foreground: #FFFFFFFF;
|
||||||
|
selected: #62AEEFFF;
|
||||||
|
active: #98C379FF;
|
||||||
|
urgent: #E06B74FF;
|
||||||
|
}
|
||||||
16
rofi/colors/catppuccin.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1E1D2FFF;
|
||||||
|
background-alt: #282839FF;
|
||||||
|
foreground: #D9E0EEFF;
|
||||||
|
selected: #7AA2F7FF;
|
||||||
|
active: #ABE9B3FF;
|
||||||
|
urgent: #F28FADFF;
|
||||||
|
}
|
||||||
16
rofi/colors/cyberpunk.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #000B1EFF;
|
||||||
|
background-alt: #0A1528FF;
|
||||||
|
foreground: #0ABDC6FF;
|
||||||
|
selected: #0ABDC6FF;
|
||||||
|
active: #00FF00FF;
|
||||||
|
urgent: #FF0000FF;
|
||||||
|
}
|
||||||
16
rofi/colors/dracula.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1E1F29FF;
|
||||||
|
background-alt: #282A36FF;
|
||||||
|
foreground: #FFFFFFFF;
|
||||||
|
selected: #BD93F9FF;
|
||||||
|
active: #50FA7BFF;
|
||||||
|
urgent: #FF5555FF;
|
||||||
|
}
|
||||||
16
rofi/colors/everforest.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #323D43FF;
|
||||||
|
background-alt: #3C474DFF;
|
||||||
|
foreground: #DAD1BEFF;
|
||||||
|
selected: #7FBBB3FF;
|
||||||
|
active: #A7C080FF;
|
||||||
|
urgent: #E67E80FF;
|
||||||
|
}
|
||||||
16
rofi/colors/gruvbox.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #282828FF;
|
||||||
|
background-alt: #353535FF;
|
||||||
|
foreground: #EBDBB2FF;
|
||||||
|
selected: #83A598FF;
|
||||||
|
active: #B8BB26FF;
|
||||||
|
urgent: #FB4934FF;
|
||||||
|
}
|
||||||
16
rofi/colors/lovelace.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1D1F28FF;
|
||||||
|
background-alt: #282A36FF;
|
||||||
|
foreground: #FDFDFDFF;
|
||||||
|
selected: #79E6F3FF;
|
||||||
|
active: #5ADECDFF;
|
||||||
|
urgent: #F37F97FF;
|
||||||
|
}
|
||||||
16
rofi/colors/navy.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #021B21FF;
|
||||||
|
background-alt: #0C252BFF;
|
||||||
|
foreground: #F2F1B9FF;
|
||||||
|
selected: #44B5B1FF;
|
||||||
|
active: #7CBF9EFF;
|
||||||
|
urgent: #C2454EFF;
|
||||||
|
}
|
||||||
16
rofi/colors/nord.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #2E3440FF;
|
||||||
|
background-alt: #383E4AFF;
|
||||||
|
foreground: #E5E9F0FF;
|
||||||
|
selected: #81A1C1FF;
|
||||||
|
active: #A3BE8CFF;
|
||||||
|
urgent: #BF616AFF;
|
||||||
|
}
|
||||||
16
rofi/colors/onedark.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #1E2127FF;
|
||||||
|
background-alt: #282B31FF;
|
||||||
|
foreground: #FFFFFFFF;
|
||||||
|
selected: #61AFEFFF;
|
||||||
|
active: #98C379FF;
|
||||||
|
urgent: #E06C75FF;
|
||||||
|
}
|
||||||
16
rofi/colors/paper.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #F1F1F1FF;
|
||||||
|
background-alt: #E0E0E0FF;
|
||||||
|
foreground: #252525FF;
|
||||||
|
selected: #008EC4FF;
|
||||||
|
active: #10A778FF;
|
||||||
|
urgent: #C30771FF;
|
||||||
|
}
|
||||||
16
rofi/colors/solarized.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #002B36FF;
|
||||||
|
background-alt: #073642FF;
|
||||||
|
foreground: #EEE8D5FF;
|
||||||
|
selected: #268BD2FF;
|
||||||
|
active: #859900FF;
|
||||||
|
urgent: #DC322FFF;
|
||||||
|
}
|
||||||
16
rofi/colors/tokyonight.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Levi Lacoss (fishyfishfish55)
|
||||||
|
* Github : @fishyfishfish55
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #15161EFF;
|
||||||
|
background-alt: #1A1B26FF;
|
||||||
|
foreground: #C0CAF5FF;
|
||||||
|
selected: #33467CFF;
|
||||||
|
active: #414868FF;
|
||||||
|
urgent: #F7768EFF;
|
||||||
|
}
|
||||||
16
rofi/colors/yousai.rasi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
background: #F5E7DEFF;
|
||||||
|
background-alt: #EBDCD2FF;
|
||||||
|
foreground: #34302DFF;
|
||||||
|
selected: #D97742FF;
|
||||||
|
active: #BF8F60FF;
|
||||||
|
urgent: #B23636FF;
|
||||||
|
}
|
||||||
181
rofi/config.rasi
Normal file
@ -0,0 +1,181 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Configuration For Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
configuration {
|
||||||
|
/*---------- General setting ----------*/
|
||||||
|
modi: "drun,run,filebrowser,window";
|
||||||
|
case-sensitive: false;
|
||||||
|
cycle: true;
|
||||||
|
filter: "";
|
||||||
|
scroll-method: 0;
|
||||||
|
normalize-match: true;
|
||||||
|
show-icons: true;
|
||||||
|
icon-theme: "Papirus";
|
||||||
|
/* cache-dir: ;*/
|
||||||
|
steal-focus: false;
|
||||||
|
/* dpi: -1;*/
|
||||||
|
|
||||||
|
/*---------- Matching setting ----------*/
|
||||||
|
matching: "normal";
|
||||||
|
tokenize: true;
|
||||||
|
|
||||||
|
/*---------- SSH settings ----------*/
|
||||||
|
ssh-client: "ssh";
|
||||||
|
ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]";
|
||||||
|
parse-hosts: true;
|
||||||
|
parse-known-hosts: true;
|
||||||
|
|
||||||
|
/*---------- Drun settings ----------*/
|
||||||
|
drun-categories: "";
|
||||||
|
drun-match-fields: "name,generic,exec,categories,keywords";
|
||||||
|
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
||||||
|
drun-show-actions: false;
|
||||||
|
drun-url-launcher: "xdg-open";
|
||||||
|
drun-use-desktop-cache: false;
|
||||||
|
drun-reload-desktop-cache: false;
|
||||||
|
drun {
|
||||||
|
/** Parse user desktop files. */
|
||||||
|
parse-user: true;
|
||||||
|
/** Parse system desktop files. */
|
||||||
|
parse-system: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------- Run settings ----------*/
|
||||||
|
run-command: "{cmd}";
|
||||||
|
run-list-command: "";
|
||||||
|
run-shell-command: "{terminal} -e {cmd}";
|
||||||
|
|
||||||
|
/*---------- Fallback Icon ----------*/
|
||||||
|
run,drun {
|
||||||
|
fallback-icon: "application-x-addon";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------- Window switcher settings ----------*/
|
||||||
|
window-match-fields: "title,class,role,name,desktop";
|
||||||
|
window-command: "wmctrl -i -R {window}";
|
||||||
|
window-format: "{w} - {c} - {t:0}";
|
||||||
|
window-thumbnail: false;
|
||||||
|
|
||||||
|
/*---------- Combi settings ----------*/
|
||||||
|
/* combi-modi: "window,run";*/
|
||||||
|
/* combi-hide-mode-prefix: false;*/
|
||||||
|
/* combi-display-format: "{mode} {text}";*/
|
||||||
|
|
||||||
|
/*---------- History and Sorting ----------*/
|
||||||
|
disable-history: false;
|
||||||
|
sorting-method: "normal";
|
||||||
|
max-history-size: 25;
|
||||||
|
|
||||||
|
/*---------- Display setting ----------*/
|
||||||
|
display-window: "Windows";
|
||||||
|
display-windowcd: "Window CD";
|
||||||
|
display-run: "Run";
|
||||||
|
display-ssh: "SSH";
|
||||||
|
display-drun: "Apps";
|
||||||
|
display-combi: "Combi";
|
||||||
|
display-keys: "Keys";
|
||||||
|
display-filebrowser: "Files";
|
||||||
|
|
||||||
|
/*---------- Misc setting ----------*/
|
||||||
|
terminal: "rofi-sensible-terminal";
|
||||||
|
font: "Mono 12";
|
||||||
|
sort: false;
|
||||||
|
threads: 0;
|
||||||
|
click-to-exit: true;
|
||||||
|
/* ignored-prefixes: "";*/
|
||||||
|
/* pid: "/run/user/1000/rofi.pid";*/
|
||||||
|
|
||||||
|
/*---------- File browser settings ----------*/
|
||||||
|
filebrowser {
|
||||||
|
/* directory: "/home";*/
|
||||||
|
directories-first: true;
|
||||||
|
sorting-method: "name";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------- Other settings ----------*/
|
||||||
|
timeout {
|
||||||
|
action: "kb-cancel";
|
||||||
|
delay: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*---------- Keybindings ----------*/
|
||||||
|
/*
|
||||||
|
kb-primary-paste: "Control+V,Shift+Insert";
|
||||||
|
kb-secondary-paste: "Control+v,Insert";
|
||||||
|
kb-clear-line: "Control+w";
|
||||||
|
kb-move-front: "Control+a";
|
||||||
|
kb-move-end: "Control+e";
|
||||||
|
kb-move-word-back: "Alt+b,Control+Left";
|
||||||
|
kb-move-word-forward: "Alt+f,Control+Right";
|
||||||
|
kb-move-char-back: "Left,Control+b";
|
||||||
|
kb-move-char-forward: "Right,Control+f";
|
||||||
|
kb-remove-word-back: "Control+Alt+h,Control+BackSpace";
|
||||||
|
kb-remove-word-forward: "Control+Alt+d";
|
||||||
|
kb-remove-char-forward: "Delete,Control+d";
|
||||||
|
kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h";
|
||||||
|
kb-remove-to-eol: "Control+k";
|
||||||
|
kb-remove-to-sol: "Control+u";
|
||||||
|
kb-accept-entry: "Control+j,Control+m,Return,KP_Enter";
|
||||||
|
kb-accept-custom: "Control+Return";
|
||||||
|
kb-accept-custom-alt: "Control+Shift+Return";
|
||||||
|
kb-accept-alt: "Shift+Return";
|
||||||
|
kb-delete-entry: "Shift+Delete";
|
||||||
|
kb-mode-next: "Shift+Right,Control+Tab";
|
||||||
|
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab";
|
||||||
|
kb-mode-complete: "Control+l";
|
||||||
|
kb-row-left: "Control+Page_Up";
|
||||||
|
kb-row-right: "Control+Page_Down";
|
||||||
|
kb-row-down: "Down,Control+n";
|
||||||
|
kb-page-prev: "Page_Up";
|
||||||
|
kb-page-next: "Page_Down";
|
||||||
|
kb-row-first: "Home,KP_Home";
|
||||||
|
kb-row-last: "End,KP_End";
|
||||||
|
kb-row-select: "Control+space";
|
||||||
|
kb-screenshot: "Alt+S";
|
||||||
|
kb-ellipsize: "Alt+period";
|
||||||
|
kb-toggle-case-sensitivity: "grave,dead_grave";
|
||||||
|
kb-toggle-sort: "Alt+grave";
|
||||||
|
kb-cancel: "Escape,Control+g,Control+bracketleft";
|
||||||
|
kb-custom-1: "Alt+1";
|
||||||
|
kb-custom-2: "Alt+2";
|
||||||
|
kb-custom-3: "Alt+3";
|
||||||
|
kb-custom-4: "Alt+4";
|
||||||
|
kb-custom-5: "Alt+5";
|
||||||
|
kb-custom-6: "Alt+6";
|
||||||
|
kb-custom-7: "Alt+7";
|
||||||
|
kb-custom-8: "Alt+8";
|
||||||
|
kb-custom-9: "Alt+9";
|
||||||
|
kb-custom-10: "Alt+0";
|
||||||
|
kb-custom-11: "Alt+exclam";
|
||||||
|
kb-custom-12: "Alt+at";
|
||||||
|
kb-custom-13: "Alt+numbersign";
|
||||||
|
kb-custom-14: "Alt+dollar";
|
||||||
|
kb-custom-15: "Alt+percent";
|
||||||
|
kb-custom-16: "Alt+dead_circumflex";
|
||||||
|
kb-custom-17: "Alt+ampersand";
|
||||||
|
kb-custom-18: "Alt+asterisk";
|
||||||
|
kb-custom-19: "Alt+parenleft";
|
||||||
|
kb-select-1: "Super+1";
|
||||||
|
kb-select-2: "Super+2";
|
||||||
|
kb-select-3: "Super+3";
|
||||||
|
kb-select-4: "Super+4";
|
||||||
|
kb-select-5: "Super+5";
|
||||||
|
kb-select-6: "Super+6";
|
||||||
|
kb-select-7: "Super+7";
|
||||||
|
kb-select-8: "Super+8";
|
||||||
|
kb-select-9: "Super+9";
|
||||||
|
kb-select-10: "Super+0";
|
||||||
|
ml-row-left: "ScrollLeft";
|
||||||
|
ml-row-right: "ScrollRight";
|
||||||
|
ml-row-up: "ScrollUp";
|
||||||
|
ml-row-down: "ScrollDown";
|
||||||
|
me-select-entry: "MousePrimary";
|
||||||
|
me-accept-entry: "MouseDPrimary";
|
||||||
|
me-accept-custom: "Control+MouseDPrimary";
|
||||||
|
*/
|
||||||
|
}
|
||||||
BIN
rofi/images/a.png
Normal file
|
After Width: | Height: | Size: 266 KiB |
BIN
rofi/images/b.png
Normal file
|
After Width: | Height: | Size: 197 KiB |
BIN
rofi/images/c.png
Normal file
|
After Width: | Height: | Size: 223 KiB |
BIN
rofi/images/d.png
Normal file
|
After Width: | Height: | Size: 2.4 MiB |
BIN
rofi/images/e.jpg
Normal file
|
After Width: | Height: | Size: 1.4 MiB |
BIN
rofi/images/f.png
Normal file
|
After Width: | Height: | Size: 441 KiB |
BIN
rofi/images/flowers-1.png
Normal file
|
After Width: | Height: | Size: 648 KiB |
BIN
rofi/images/flowers-2.png
Normal file
|
After Width: | Height: | Size: 339 KiB |
BIN
rofi/images/flowers-3.png
Normal file
|
After Width: | Height: | Size: 125 KiB |
BIN
rofi/images/g.png
Normal file
|
After Width: | Height: | Size: 1.5 MiB |
BIN
rofi/images/gradient.png
Normal file
|
After Width: | Height: | Size: 666 KiB |
BIN
rofi/images/h.jpg
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
rofi/images/i.jpg
Normal file
|
After Width: | Height: | Size: 2.0 MiB |
BIN
rofi/images/j.jpg
Normal file
|
After Width: | Height: | Size: 1.3 MiB |
BIN
rofi/images/paper.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
rofi/images/user.jpeg
Normal file
|
After Width: | Height: | Size: 96 KiB |
20
rofi/launchers/type-1/launcher.sh
Executable file
@ -0,0 +1,20 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
## Author : Aditya Shakya (adi1090x)
|
||||||
|
## Github : @adi1090x
|
||||||
|
#
|
||||||
|
## Rofi : Launcher (Modi Drun, Run, File Browser, Window)
|
||||||
|
#
|
||||||
|
## Available Styles
|
||||||
|
#
|
||||||
|
## style-1 style-2 style-3 style-4 style-5
|
||||||
|
## style-6 style-7 style-8 style-9 style-10
|
||||||
|
## style-11 style-12 style-13 style-14 style-15
|
||||||
|
|
||||||
|
dir="$HOME/.config/rofi/launchers/type-1"
|
||||||
|
theme='style-1'
|
||||||
|
|
||||||
|
## Run
|
||||||
|
rofi \
|
||||||
|
-show drun \
|
||||||
|
-theme ${dir}/${theme}.rasi
|
||||||
18
rofi/launchers/type-1/shared/colors.rasi
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
*
|
||||||
|
* Available Colors Schemes
|
||||||
|
*
|
||||||
|
* adapta catppuccin everforest navy paper
|
||||||
|
* arc cyberpunk gruvbox nord solarized
|
||||||
|
* black dracula lovelace onedark yousai
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
|
/* Import color-scheme from `colors` directory */
|
||||||
|
|
||||||
|
@import "~/.config/rofi/colors/onedark.rasi"
|
||||||
12
rofi/launchers/type-1/shared/fonts.rasi
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Fonts
|
||||||
|
*
|
||||||
|
**/
|
||||||
|
|
||||||
|
* {
|
||||||
|
font: "JetBrains Mono Nerd Font 10";
|
||||||
|
}
|
||||||
307
rofi/launchers/type-1/style-1.rasi
Normal file
@ -0,0 +1,307 @@
|
|||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Aditya Shakya (adi1090x)
|
||||||
|
* Github : @adi1090x
|
||||||
|
*
|
||||||
|
* Rofi Theme File
|
||||||
|
* Rofi Version: 1.7.3
|
||||||
|
**/
|
||||||
|
|
||||||
|
/*****----- Configuration -----*****/
|
||||||
|
configuration {
|
||||||
|
modi: "drun,run,filebrowser";
|
||||||
|
show-icons: false;
|
||||||
|
display-drun: " Apps";
|
||||||
|
display-run: " Run";
|
||||||
|
display-filebrowser: " Files";
|
||||||
|
display-window: " Windows";
|
||||||
|
drun-display-format: "{name} [<span weight='light' size='small'><i>({generic})</i></span>]";
|
||||||
|
window-format: "{w} · {c} · {t}";
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Global Properties -----*****/
|
||||||
|
@import "shared/colors.rasi"
|
||||||
|
@import "shared/fonts.rasi"
|
||||||
|
|
||||||
|
* {
|
||||||
|
border-colour: var(selected);
|
||||||
|
handle-colour: var(selected);
|
||||||
|
background-colour: var(background);
|
||||||
|
foreground-colour: var(foreground);
|
||||||
|
alternate-background: var(background-alt);
|
||||||
|
normal-background: var(background);
|
||||||
|
normal-foreground: var(foreground);
|
||||||
|
urgent-background: var(urgent);
|
||||||
|
urgent-foreground: var(background);
|
||||||
|
active-background: var(active);
|
||||||
|
active-foreground: var(background);
|
||||||
|
selected-normal-background: var(selected);
|
||||||
|
selected-normal-foreground: var(background);
|
||||||
|
selected-urgent-background: var(active);
|
||||||
|
selected-urgent-foreground: var(background);
|
||||||
|
selected-active-background: var(urgent);
|
||||||
|
selected-active-foreground: var(background);
|
||||||
|
alternate-normal-background: var(background);
|
||||||
|
alternate-normal-foreground: var(foreground);
|
||||||
|
alternate-urgent-background: var(urgent);
|
||||||
|
alternate-urgent-foreground: var(background);
|
||||||
|
alternate-active-background: var(active);
|
||||||
|
alternate-active-foreground: var(background);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Window -----*****/
|
||||||
|
window {
|
||||||
|
/* properties for window widget */
|
||||||
|
transparency: "real";
|
||||||
|
location: center;
|
||||||
|
anchor: center;
|
||||||
|
fullscreen: false;
|
||||||
|
width: 800px;
|
||||||
|
x-offset: 0px;
|
||||||
|
y-offset: 0px;
|
||||||
|
|
||||||
|
/* properties for all widgets */
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
cursor: "default";
|
||||||
|
/* Backgroud Colors */
|
||||||
|
background-color: @background-colour;
|
||||||
|
/* Backgroud Image */
|
||||||
|
//background-image: url("/path/to/image.png", none);
|
||||||
|
/* Simple Linear Gradient */
|
||||||
|
//background-image: linear-gradient(red, orange, pink, purple);
|
||||||
|
/* Directional Linear Gradient */
|
||||||
|
//background-image: linear-gradient(to bottom, pink, yellow, magenta);
|
||||||
|
/* Angle Linear Gradient */
|
||||||
|
//background-image: linear-gradient(45, cyan, purple, indigo);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Main Box -----*****/
|
||||||
|
mainbox {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 40px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
children: [ "inputbar", "message", "listview", "mode-switcher" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Inputbar -----*****/
|
||||||
|
inputbar {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
children: [ "prompt", "textbox-prompt-colon", "entry" ];
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
enabled: true;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "::";
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
entry {
|
||||||
|
enabled: true;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: text;
|
||||||
|
placeholder: "Search...";
|
||||||
|
placeholder-color: inherit;
|
||||||
|
}
|
||||||
|
num-filtered-rows {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
textbox-num-sep {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
str: "/";
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
num-rows {
|
||||||
|
enabled: true;
|
||||||
|
expand: false;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
case-indicator {
|
||||||
|
enabled: true;
|
||||||
|
background-color: inherit;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Listview -----*****/
|
||||||
|
listview {
|
||||||
|
enabled: true;
|
||||||
|
columns: 2;
|
||||||
|
lines: 10;
|
||||||
|
cycle: true;
|
||||||
|
dynamic: true;
|
||||||
|
scrollbar: true;
|
||||||
|
layout: vertical;
|
||||||
|
reverse: false;
|
||||||
|
fixed-height: true;
|
||||||
|
fixed-columns: true;
|
||||||
|
|
||||||
|
spacing: 5px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
cursor: "default";
|
||||||
|
}
|
||||||
|
scrollbar {
|
||||||
|
handle-width: 10px ;
|
||||||
|
handle-color: @handle-colour;
|
||||||
|
border-radius: 10px;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Elements -----*****/
|
||||||
|
element {
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 5px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
element normal.normal {
|
||||||
|
background-color: var(normal-background);
|
||||||
|
text-color: var(normal-foreground);
|
||||||
|
}
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: var(urgent-background);
|
||||||
|
text-color: var(urgent-foreground);
|
||||||
|
}
|
||||||
|
element normal.active {
|
||||||
|
background-color: var(active-background);
|
||||||
|
text-color: var(active-foreground);
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(selected-normal-foreground);
|
||||||
|
}
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: var(selected-urgent-background);
|
||||||
|
text-color: var(selected-urgent-foreground);
|
||||||
|
}
|
||||||
|
element selected.active {
|
||||||
|
background-color: var(selected-active-background);
|
||||||
|
text-color: var(selected-active-foreground);
|
||||||
|
}
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: var(alternate-normal-background);
|
||||||
|
text-color: var(alternate-normal-foreground);
|
||||||
|
}
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: var(alternate-urgent-background);
|
||||||
|
text-color: var(alternate-urgent-foreground);
|
||||||
|
}
|
||||||
|
element alternate.active {
|
||||||
|
background-color: var(alternate-active-background);
|
||||||
|
text-color: var(alternate-active-foreground);
|
||||||
|
}
|
||||||
|
element-icon {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
size: 24px;
|
||||||
|
cursor: inherit;
|
||||||
|
}
|
||||||
|
element-text {
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: inherit;
|
||||||
|
highlight: inherit;
|
||||||
|
cursor: inherit;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Mode Switcher -----*****/
|
||||||
|
mode-switcher{
|
||||||
|
enabled: true;
|
||||||
|
spacing: 10px;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
padding: 5px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: inherit;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
button selected {
|
||||||
|
background-color: var(selected-normal-background);
|
||||||
|
text-color: var(selected-normal-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
/*****----- Message -----*****/
|
||||||
|
message {
|
||||||
|
enabled: true;
|
||||||
|
margin: 0px;
|
||||||
|
padding: 0px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 0px 0px 0px 0px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: transparent;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
padding: 5px 10px;
|
||||||
|
border: 0px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @alternate-background;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
vertical-align: 0.5;
|
||||||
|
horizontal-align: 0.0;
|
||||||
|
highlight: none;
|
||||||
|
placeholder-color: @foreground-colour;
|
||||||
|
blink: true;
|
||||||
|
markup: true;
|
||||||
|
}
|
||||||
|
error-message {
|
||||||
|
padding: 10px;
|
||||||
|
border: 2px solid;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @border-colour;
|
||||||
|
background-color: @background-colour;
|
||||||
|
text-color: @foreground-colour;
|
||||||
|
}
|
||||||