Add initial dotfiles

This commit is contained in:
2021-12-15 12:59:29 +00:00
parent 61ba238a88
commit 2aa8f732d6
448 changed files with 29562 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
# Available Styles
# >> Created and tested on : rofi 1.6.0-1
#
# style_1 style_2 style_3 style_4 style_5 style_6 style_7
theme="style_2"
dir="$HOME/.config/rofi/launchers/text"
styles=($(ls -p --hide="colors.rasi" $dir/styles))
color="${styles[$(( $RANDOM % 10 ))]}"
rofi -show combi \
-combi-modi "window,drun,run" \
-modi "combi,drun,window,ssh,powermenu:/home/nick/.config/rofi/launchers/text/powermenu" \
-theme $dir/"$theme" \
-kb-modi-tab "Tab"
#rofi -show combi \
# -combi-modi "window,drun,run" \
# -run-shell-command 'alacritty -e zsh -ic "{cmd} && read"' \
# -modi "combi,drun,window,ssh,powermenu:/home/nick/.config/rofi/launchers/text/powermenu" \
# -theme $dir/"$theme" \
# -kb-modi-tab "Tab"

View File

@@ -0,0 +1,251 @@
#!/usr/bin/env bash
# This script defines just a mode for rofi instead of being a self-contained
# executable that launches rofi by itself. This makes it more flexible than
# running rofi inside this script as now the user can call rofi as one pleases.
# For instance:
#
# rofi -show powermenu -modi powermenu:./rofi-power-menu
#
# See README.md for more information.
set -e
set -u
# All supported choices
all=(shutdown reboot suspend hibernate logout lockscreen reboot-windows reboot-uefi)
# By default, show all (i.e., just copy the array)
show=("${all[@]}")
declare -A texts
texts[lockscreen]="lock screen"
texts[switchuser]="switch user"
texts[logout]="log out"
texts[suspend]="suspend"
texts[hibernate]="hibernate"
texts[reboot]="reboot"
texts[reboot-windows]="reboot to Windows"
texts[reboot-uefi]="reboot to UEFI"
texts[shutdown]="shut down"
declare -A icons
icons[lockscreen]="\uf023"
icons[switchuser]="\uf518"
icons[logout]="\uf842"
icons[suspend]="\uf9b1"
icons[hibernate]="\uf7c9"
icons[reboot]="\ufc07"
icons[reboot-windows]="\ufc07"
icons[reboot-uefi]="\ufc07"
icons[shutdown]="\uf011"
icons[cancel]="\u00d7"
declare -A actions
actions[lockscreen]="dm-tool lock"
actions[logout]="pkill awesome"
actions[suspend]="systemctl suspend"
actions[hibernate]="systemctl hibernate"
actions[reboot]="systemctl reboot"
actions[reboot-windows]="sudo grub-reboot 2; systemctl reboot"
actions[reboot-uefi]="sudo grub-reboot 3; systemctl reboot"
actions[shutdown]="systemctl poweroff"
# By default, ask for confirmation for actions that are irreversible
confirmations=(reboot reboot-windows shutdown logout)
# By default, no dry run
dryrun=false
showsymbols=true
function check_valid {
option="$1"
shift 1
for entry in "${@}"
do
if [ -z "${actions[$entry]+x}" ]
then
echo "Invalid choice in $1: $entry" >&2
exit 1
fi
done
}
# Parse command-line options
parsed=$(getopt --options=h --longoptions=help,dry-run,confirm:,choices:,choose:,symbols,no-symbols --name "$0" -- "$@")
if [ $? -ne 0 ]; then
echo 'Terminating...' >&2
exit 1
fi
eval set -- "$parsed"
unset parsed
while true; do
case "$1" in
"-h"|"--help")
echo "rofi-power-menu - a power menu mode for Rofi"
echo
echo "Usage: rofi-power-menu [--choices CHOICES] [--confirm CHOICES]"
echo " [--choose CHOICE] [--dry-run] [--symbols|--no-symbols]"
echo
echo "Use with Rofi in script mode. For instance, to ask for shutdown or reboot:"
echo
echo " rofi -show menu -modi \"menu:rofi-power-menu --choices=shutdown/reboot\""
echo
echo "Available options:"
echo " --dry-run Don't perform the selected action but print it to stderr."
echo " --choices CHOICES Show only the selected choices in the given order. Use / "
echo " as the separator. Available choices are lockscreen, logout,"
echo " suspend, hibernate, reboot and shutdown. By default, all"
echo " available choices are shown."
echo " --confirm CHOICES Require confirmation for the gives choices only. Use / as"
echo " the separator. Available choices are lockscreen, logout,"
echo " suspend, hibernate, reboot and shutdown. By default, only"
echo " irreversible actions logout, reboot and shutdown require"
echo " confirmation."
echo " --choose CHOICE Preselect the given choice and only ask for a confirmation"
echo " (if confirmation is set to be requested). It is strongly"
echo " recommended to combine this option with --confirm=CHOICE"
echo " if the choice wouldn't require confirmation by default."
echo " Available choices are lockscreen, logout, suspend,"
echo " hibernate, reboot and shutdown."
echo " --[no-]symbols Show Unicode symbols or not. Requires a font with support"
echo " for the symbols. Use, for instance, fonts from the"
echo " Nerdfonts collection. By default, they are shown"
echo " -h,--help Show this help text."
exit 0
;;
"--dry-run")
dryrun=true
shift 1
;;
"--confirm")
IFS='/' read -ra confirmations <<< "$2"
check_valid "$1" "${confirmations[@]}"
shift 2
;;
"--choices")
IFS='/' read -ra show <<< "$2"
check_valid "$1" "${show[@]}"
shift 2
;;
"--choose")
# Check that the choice is valid
check_valid "$1" "$2"
selectionID="$2"
shift 2
;;
"--symbols")
showsymbols=true
shift 1
;;
"--no-symbols")
showsymbols=false
shift 1
;;
"--")
shift
break
;;
*)
echo "Internal error" >&2
exit 1
;;
esac
done
# Define the messages after parsing the CLI options so that it is possible to
# configure them in the future.
function write_message {
icon="<span font_size=\"medium\">$1</span>"
text="<span font_size=\"medium\">$2</span>"
if [ "$showsymbols" = "true" ]
then
echo -n "\u200e$icon \u2068$text\u2069"
else
echo -n "$text"
fi
}
function print_selection {
echo -e "$1" | $(read -r -d '' entry; echo "echo $entry")
}
declare -A messages
declare -A confirmationMessages
for entry in "${all[@]}"
do
messages[$entry]=$(write_message "${icons[$entry]}" "${texts[$entry]^}")
done
for entry in "${all[@]}"
do
confirmationMessages[$entry]=$(write_message "${icons[$entry]}" "Yes, ${texts[$entry]}")
done
confirmationMessages[cancel]=$(write_message "${icons[cancel]}" "No, cancel")
if [ $# -gt 0 ]
then
# If arguments given, use those as the selection
selection="${@}"
else
# Otherwise, use the CLI passed choice if given
if [ -n "${selectionID+x}" ]
then
selection="${messages[$selectionID]}"
fi
fi
# Don't allow custom entries
echo -e "\0no-custom\x1ftrue"
# Use markup
echo -e "\0markup-rows\x1ftrue"
if [ -z "${selection+x}" ]
then
echo -e "\0prompt\x1f"
for entry in "${show[@]}"
do
echo -e "${messages[$entry]}\0icon\x1f${icons[$entry]}"
done
else
for entry in "${show[@]}"
do
if [ "$selection" = "$(print_selection "${messages[$entry]}")" ]
then
# Check if the selected entry is listed in confirmation requirements
for confirmation in "${confirmations[@]}"
do
if [ "$entry" = "$confirmation" ]
then
# Ask for confirmation
echo -e "\0prompt\x1fAre you sure"
echo -e "${confirmationMessages[$entry]}\0icon\x1f${icons[$entry]}"
echo -e "${confirmationMessages[cancel]}\0icon\x1f${icons[cancel]}"
exit 0
fi
done
# If not, then no confirmation is required, so mark confirmed
selection=$(print_selection "${confirmationMessages[$entry]}")
fi
if [ "$selection" = "$(print_selection "${confirmationMessages[$entry]}")" ]
then
if [ $dryrun = true ]
then
# Tell what would have been done
echo "Selected: $entry" >&2
else
# Perform the action
eval ${actions[$entry]}
fi
exit 0
fi
if [ "$selection" = "$(print_selection "${confirmationMessages[cancel]}")" ]
then
# Do nothing
exit 0
fi
done
# The selection didn't match anything, so raise an error
echo "Invalid selection: $selection" >&2
exit 1
fi

View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
# Available Styles
# >> Created and tested on : rofi 1.6.0-1
#
# style_1 style_2 style_3 style_4 style_5 style_6 style_7
theme="style_3"
dir="$HOME/.config/rofi/launchers/text"
styles=($(ls -p --hide="colors.rasi" $dir/styles))
color="${styles[$(( $RANDOM % 10 ))]}"
rofi -show powermenu \
-modi "powermenu:/home/nick/.config/rofi/launchers/text/powermenu" \
-theme $dir/"$theme" \

View File

@@ -0,0 +1,175 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Iosevka Nerd Font 12";
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
scroll-method: 1;
window-format: "[{w}] ··· {c} ··· {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "styles/colors.rasi"
* {
background-color: @bg;
}
window {
border: 0px;
border-color: @ac;
border-radius: 12px;
padding: 40;
width: 50%;
height: 50%;
}
prompt {
spacing: 0;
border: 0;
text-color: @fg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 4px 0px 0px;
text-color: inherit;
}
entry {
spacing: 0;
text-color: @fg;
}
case-indicator {
spacing: 0;
text-color: @fg;
}
inputbar {
spacing: 0px;
text-color: @fg;
padding: 1px;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
mainbox {
border: 0px;
border-color: @ac;
padding: 6;
}
listview {
lines: 10;
columns: 2;
fixed-height: 0;
border: 0px;
border-color: @ac;
spacing: 4px;
scrollbar: false;
padding: 4px 0px 0px;
}
element-text, element-icon {
background-color: #00000000;
text-color: inherit;
}
element {
border: 0px;
padding: 1px;
}
element normal.normal {
background-color: @bg;
text-color: @fg;
}
element normal.urgent {
background-color: @bg;
text-color: @red;
}
element normal.active {
background-color: @bg;
text-color: @green;
}
element selected.normal {
background-color: @bg;
text-color: @ac;
}
element selected.urgent {
background-color: @bg;
text-color: @red;
}
element selected.active {
background-color: @bg;
text-color: @ac;
}
element alternate.normal {
background-color: @bg;
text-color: @fg;
}
element alternate.urgent {
background-color: @bg;
text-color: @fg;
}
element alternate.active {
background-color: @bg;
text-color: @fg;
}
sidebar {
border: 0px;
border-color: @ac;
border-radius: 20px;
}
button {
horizontal-align: 0.5;
vertical-align: 0.5;
margin: 5px;
padding: 5px;
text-color: @fg;
border: 0px;
border-radius: 20px;
border-color: @fg;
}
button selected {
text-color: @fg;
border: 3px;
border-radius: 20px;
border-color: @ac;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @fg;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @ac;
padding: 1px;
}
textbox {
text-color: @fg;
}

View File

@@ -0,0 +1,177 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Iosevka Nerd Font 12";
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
scroll-method: 0;
window-format: "[{w}] ··· {c} ··· {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "styles/colors.rasi"
* {
background-color: @bg;
}
window {
border: 0px;
border-color: @ac;
border-radius: 6px;
padding: 30;
width: 20%;
}
prompt {
spacing: 0;
border: 0;
text-color: @fg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 4px 0px 0px;
text-color: inherit;
}
entry {
spacing: 0;
text-color: @fg;
}
case-indicator {
spacing: 0;
text-color: @fg;
}
inputbar {
spacing: 0px;
text-color: @fg;
padding: 1px;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
mainbox {
border: 0px;
border-color: @ac;
padding: 6;
}
listview {
lines: 15;
columns: 1;
fixed-height: 0;
border: 0px;
border-color: @ac;
spacing: 4px;
scrollbar: false;
padding: 5px 5px 0px 5px;
}
element-text, element-icon {
background-color: #00000000;
text-color: inherit;
}
element {
border: 0px;
border-radius: 4px;
padding: 5px;
}
element normal.normal {
background-color: @bg;
text-color: @fg;
}
element normal.urgent {
background-color: @bg;
text-color: @red;
}
element normal.active {
background-color: @green;
text-color: @bg;
}
element selected.normal {
background-color: @fg;
text-color: @bg;
}
element selected.urgent {
background-color: @bg;
text-color: @red;
}
element selected.active {
background-color: @fg;
text-color: @bg;
}
element alternate.normal {
background-color: @bg;
text-color: @fg;
}
element alternate.urgent {
background-color: @bg;
text-color: @fg;
}
element alternate.active {
background-color: @bg;
text-color: @fg;
}
sidebar {
border: 0px;
border-color: @ac;
border-radius: 0px;
}
button {
horizontal-align: 0.5;
vertical-align: 0.5;
background-color: @fg;
margin: 5px;
padding: 5px;
text-color: @bg;
border: 0px;
border-radius: 4px;
border-color: @fg;
}
button selected {
background-color: @ac;
text-color: @fg;
border: 0px;
border-radius: 4px;
border-color: @fg;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @fg;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @ac;
padding: 1px;
}
textbox {
text-color: @fg;
}

View File

@@ -0,0 +1,177 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Iosevka Nerd Font 12";
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
scroll-method: 0;
window-format: "[{w}] ··· {c} ··· {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "styles/colors.rasi"
* {
background-color: @bg;
}
window {
border: 0px;
border-color: @ac;
border-radius: 6px;
padding: 15;
width: 20%;
}
prompt {
spacing: 0;
border: 0;
text-color: @fg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 4px 0px 0px;
text-color: inherit;
}
entry {
spacing: 0;
text-color: @fg;
}
case-indicator {
spacing: 0;
text-color: @fg;
}
inputbar {
spacing: 0px;
text-color: @fg;
padding: 1px;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
mainbox {
border: 0px;
border-color: @ac;
padding: 6;
}
listview {
lines: 6;
columns: 1;
fixed-height: 0;
border: 0px;
border-color: @ac;
spacing: 4px;
scrollbar: false;
padding: 5px 5px 0px 5px;
}
element-text, element-icon {
background-color: #00000000;
text-color: inherit;
}
element {
border: 0px;
border-radius: 4px;
padding: 5px;
}
element normal.normal {
background-color: @bg;
text-color: @fg;
}
element normal.urgent {
background-color: @bg;
text-color: @red;
}
element normal.active {
background-color: @green;
text-color: @bg;
}
element selected.normal {
background-color: @fg;
text-color: @bg;
}
element selected.urgent {
background-color: @bg;
text-color: @red;
}
element selected.active {
background-color: @fg;
text-color: @bg;
}
element alternate.normal {
background-color: @bg;
text-color: @fg;
}
element alternate.urgent {
background-color: @bg;
text-color: @fg;
}
element alternate.active {
background-color: @bg;
text-color: @fg;
}
sidebar {
border: 0px;
border-color: @ac;
border-radius: 0px;
}
button {
horizontal-align: 0.5;
vertical-align: 0.5;
background-color: @fg;
margin: 5px;
padding: 5px;
text-color: @bg;
border: 0px;
border-radius: 4px;
border-color: @fg;
}
button selected {
background-color: @ac;
text-color: @fg;
border: 0px;
border-radius: 4px;
border-color: @fg;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @fg;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @ac;
padding: 1px;
}
textbox {
text-color: @fg;
}

View File

@@ -0,0 +1,179 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Iosevka Nerd Font 12";
location: 1;
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
scroll-method: 0;
window-format: "[{w}] ··· {c} ··· {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "styles/colors.rasi"
* {
background-color: @bg;
}
window {
border: 0px;
border-color: @ac;
border-radius: 0px;
padding: 30;
width: 20%;
height: 100%;
}
prompt {
spacing: 0;
border: 0;
text-color: @fg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 4px 0px 0px;
text-color: inherit;
}
entry {
spacing: 0;
text-color: @fg;
}
case-indicator {
spacing: 0;
text-color: @fg;
}
inputbar {
spacing: 0px;
text-color: @fg;
padding: 1px;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
mainbox {
border: 0px;
border-color: @ac;
padding: 6;
}
listview {
lines: 15;
columns: 1;
fixed-height: 0;
border: 0px;
border-color: @ac;
spacing: 4px;
scrollbar: false;
padding: 15px 5px 0px 5px;
}
element-text, element-icon {
background-color: #00000000;
text-color: inherit;
}
element {
border: 0px;
border-radius: 4px;
padding: 5px;
}
element normal.normal {
background-color: @bg;
text-color: @fg;
}
element normal.urgent {
background-color: @bg;
text-color: @red;
}
element normal.active {
background-color: @green;
text-color: @bg;
}
element selected.normal {
background-color: @ac;
text-color: @bg;
}
element selected.urgent {
background-color: @bg;
text-color: @red;
}
element selected.active {
background-color: @ac;
text-color: @bg;
}
element alternate.normal {
background-color: @bg;
text-color: @fg;
}
element alternate.urgent {
background-color: @bg;
text-color: @fg;
}
element alternate.active {
background-color: @bg;
text-color: @fg;
}
sidebar {
border: 0px;
border-color: @ac;
border-radius: 0px;
}
button {
horizontal-align: 0.5;
vertical-align: 0.5;
background-color: @red;
margin: 5px;
padding: 5px;
text-color: @fg;
border: 0px;
border-radius: 4px;
border-color: @fg;
}
button selected {
background-color: @green;
text-color: @fg;
border: 0px;
border-radius: 4px;
border-color: @fg;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @fg;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @ac;
padding: 1px;
}
textbox {
text-color: @fg;
}

View File

@@ -0,0 +1,181 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Iosevka Nerd Font 12";
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
scroll-method: 0;
window-format: "[{w}] ··· {c} ··· {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "styles/colors.rasi"
* {
background-color: @bg;
}
window {
border: 0px;
border-color: @ac;
border-radius: 0px;
padding: 300px;
width: 100%;
height: 100%;
}
prompt {
spacing: 0;
border: 0;
text-color: @fg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 4px 0px 0px;
text-color: inherit;
}
entry {
spacing: 0;
text-color: @fg;
}
case-indicator {
spacing: 0;
text-color: @fg;
}
inputbar {
spacing: 0px;
text-color: @fg;
padding: 1px;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
mainbox {
border: 0px;
border-color: @ac;
padding: 6;
}
listview {
lines: 5;
columns: 3;
fixed-height: 0;
border: 0px;
border-color: @ac;
spacing: 5px;
scrollbar: false;
padding: 25px 5px -20px 5px;
}
element-text, element-icon {
background-color: #00000000;
text-color: inherit;
}
element {
border: 4px;
border-radius: 4px;
padding: 15px;
}
element normal.normal {
background-color: @bg;
text-color: @fg;
}
element normal.urgent {
background-color: @bg;
text-color: @red;
}
element normal.active {
background-color: @bg;
text-color: @fg;
border-color: @green;
}
element selected.normal {
background-color: @bg;
text-color: @fg;
border-color: @fg;
}
element selected.urgent {
background-color: @bg;
text-color: @red;
}
element selected.active {
background-color: @bg;
text-color: @fg;
border-color: @fg;
}
element alternate.normal {
background-color: @bg;
text-color: @fg;
}
element alternate.urgent {
background-color: @bg;
text-color: @fg;
}
element alternate.active {
background-color: @bg;
text-color: @fg;
}
sidebar {
border: 0px;
border-color: @ac;
border-radius: 0px;
}
button {
horizontal-align: 0.5;
vertical-align: 0.5;
background-color: @se;
margin: 5px;
padding: 15px;
text-color: @fg;
border: 0px;
border-radius: 4px;
border-color: @fg;
}
button selected {
background-color: @bg;
text-color: @fg;
border: 4px;
border-radius: 4px;
border-color: @fg;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @fg;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @ac;
padding: 1px;
}
textbox {
text-color: @fg;
}

View File

@@ -0,0 +1,178 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Iosevka Nerd Font 12";
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
scroll-method: 0;
window-format: "[{w}] ··· {c} ··· {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "styles/colors.rasi"
* {
background-color: @bg;
}
window {
border: 0px;
border-color: @ac;
border-radius: 0px;
padding: 30%;
width: 100%;
height: 100%;
}
prompt {
spacing: 0;
border: 0;
text-color: @fg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 4px 0px 0px;
text-color: inherit;
}
entry {
spacing: 0;
text-color: @fg;
}
case-indicator {
spacing: 0;
text-color: @fg;
}
inputbar {
spacing: 0px;
text-color: @fg;
padding: 1px;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
mainbox {
border: 0px;
border-color: @ac;
padding: 6;
}
listview {
lines: 10;
columns: 1;
fixed-height: 0;
border: 0px;
border-color: @ac;
spacing: 5px;
scrollbar: false;
padding: 35px 5px 25px 5px;
}
element-text, element-icon {
background-color: #00000000;
text-color: inherit;
}
element {
border: 0px;
border-radius: 100%;
padding: 15px;
}
element normal.normal {
background-color: @bg;
text-color: @fg;
}
element normal.urgent {
background-color: @bg;
text-color: @red;
}
element normal.active {
background-color: @green;
text-color: @bg;
}
element selected.normal {
background-color: @fg;
text-color: @bg;
}
element selected.urgent {
background-color: @bg;
text-color: @red;
}
element selected.active {
background-color: @fg;
text-color: @bg;
}
element alternate.normal {
background-color: @bg;
text-color: @fg;
}
element alternate.urgent {
background-color: @bg;
text-color: @fg;
}
element alternate.active {
background-color: @bg;
text-color: @fg;
}
sidebar {
border: 0px;
border-color: @ac;
border-radius: 0px;
}
button {
horizontal-align: 0.5;
vertical-align: 0.5;
background-color: @fg;
margin: 0px 5px 0px 5px;
padding: 15px;
text-color: @bg;
border: 0px;
border-radius: 100%;
border-color: @fg;
}
button selected {
background-color: @ac;
text-color: @fg;
border: 0px;
border-radius: 100%;
border-color: @fg;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @fg;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @ac;
padding: 1px;
}
textbox {
text-color: @fg;
}

View File

@@ -0,0 +1,177 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Iosevka Nerd Font 12";
fixed-num-lines: true;
show-icons: false;
sidebar-mode: true;
scroll-method: 1;
window-format: "[{w}] ··· {c} ··· {t}";
click-to-exit: true;
combi-hide-mode-prefix: false;
display-window: "";
display-windowcd: "";
display-run: "";
display-ssh: "";
display-drun: "";
display-combi: "";
}
@import "styles/colors.rasi"
* {
background-color: @bg;
}
window {
border: 0px;
border-color: @ac;
border-radius: 20px;
padding: 30;
width: 40%;
}
prompt {
spacing: 0;
border: 0;
text-color: @fg;
}
textbox-prompt-colon {
expand: false;
str: " ";
margin: 0px 4px 0px 0px;
text-color: inherit;
}
entry {
spacing: 0;
text-color: @fg;
}
case-indicator {
spacing: 0;
text-color: @fg;
}
inputbar {
spacing: 0px;
text-color: @fg;
padding: 1px;
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
}
mainbox {
border: 0px;
border-color: @ac;
padding: 6;
}
listview {
lines: 10;
columns: 2;
fixed-height: 0;
border: 0px;
border-color: @ac;
spacing: 4px;
scrollbar: false;
padding: 5px 5px 0px 5px;
}
element-text, element-icon {
background-color: #00000000;
text-color: inherit;
}
element {
border: 0px;
border-radius: 100%;
padding: 5px;
}
element normal.normal {
background-color: @bg;
text-color: @fg;
}
element normal.urgent {
background-color: @bg;
text-color: @red;
}
element normal.active {
background-color: @green;
text-color: @bg;
}
element selected.normal {
background-color: @ac;
text-color: @bg;
}
element selected.urgent {
background-color: @bg;
text-color: @red;
}
element selected.active {
background-color: @ac;
text-color: @bg;
}
element alternate.normal {
background-color: @bg;
text-color: @fg;
}
element alternate.urgent {
background-color: @bg;
text-color: @fg;
}
element alternate.active {
background-color: @bg;
text-color: @fg;
}
sidebar {
border: 0px;
border-color: @ac;
border-radius: 0px;
}
button {
horizontal-align: 0.5;
vertical-align: 0.5;
background-color: @red;
margin: 5px;
padding: 5px;
text-color: @fg;
border: 0px;
border-radius: 100%;
border-color: @fg;
}
button selected {
background-color: @green;
text-color: @fg;
border: 0px;
border-radius: 100%;
border-color: @fg;
}
scrollbar {
width: 4px;
border: 0px;
handle-color: @fg;
handle-width: 8px;
padding: 0;
}
message {
border: 0px;
border-color: @ac;
padding: 1px;
}
textbox {
text-color: @fg;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #280F28ff;
se: #2D142Cff;
fg: #ffffffA6;
ac: #EE4540ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #101010ff;
se: #151515ff;
fg: #f5f5f5ff;
ac: #42A5F5ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #EFF0F1FF;
se: #E3E3E3FF;
fg: #000000A6;
ac: #000B83FF;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #3C3945FF;
se: #413E4Aff;
fg: #F7C7B2ff;
ac: #B38184ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,11 @@
/*
* Change the colorscheme for every menu simply by editing this file...
*
* Available Color Schemes
*
* bluish berry nordic nightly gotham mask faded cocoa
* black white
*
*/
@import "black.rasi"

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #57678CFF;
se: #5E6C91ff;
fg: #FFFCFFff;
ac: #FF83A7ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #24334Aff;
se: #29384Fff;
fg: #FEFFF1ff;
ac: #3A6081ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #3E4667ff;
se: #434C6Dff;
fg: #FAF7CCff;
ac: #CA8CA5ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #25344Bff;
se: #2A3950ff;
fg: #FEFFF1ff;
ac: #A162F7ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #425775ff;
se: #475C7Bff;
fg: #ffffffcc;
ac: #FDBB6Dff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}

View File

@@ -0,0 +1,15 @@
/* colors */
* {
al: #00000000;
bg: #ffffffff;
se: #f5f5f5ff;
fg: #000000ff;
ac: #2900D0ff;
red: #EC7875ff;
green: #61C766ff;
yellow: #FDD835ff;
blue: #42A5F5ff;
purple: #BA68C8ff;
cyan: #4DD0E1ff;
}