nie wiem co zmieniałem, a dużo tego było

This commit is contained in:
2022-01-08 14:53:36 +01:00
parent 7f01e3c578
commit 8c1b3b2423
385 changed files with 24002 additions and 180 deletions

View File

@ -26,12 +26,18 @@ scrolling:
# Font configuration
font:
normal:
family: xos4 Terminus
family: Terminus (TTF)
style: Regular
bold:
family: Terminus (TTF)
style: Bold
italic:
family: Terminus (TTF)
style: Italic
size: 9.0
offset:
x: 0
y: 1
y: 0
background_opacity: 0.9
@ -49,12 +55,12 @@ shell:
working_directory: None
#mouse:
# hide_when_typing: true
# url:
# launcher:
# program: xdg-open
# args: []
mouse:
hide_when_typing: true
hints:
launcher:
program: xdg-open
args: []
mouse_bindings:
- { mouse: Middle, mods: Shift, action: PasteSelection }
@ -152,31 +158,44 @@ key_bindings:
#- { key: W, mods: Command, action: Quit }
#- { key: N, mods: Command, action: SpawnNewInstance }
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
# BEGIN ACE
colors:
primary:
background: '0x030806'
foreground: '0xEEEFE6'
cursor:
text: '0x030806'
cursor: '0xEEEFE6'
normal:
black: '0x030806'
red: '0x606855'
green: '0x976432'
yellow: '0x73897B'
blue: '0xB89C60'
magenta: '0xA3AA96'
cyan: '0xCFCAA9'
white: '0xEEEFE6'
bright:
black: '0x666666'
red: '0x606855'
green: '0x976432'
yellow: '0x73897B'
blue: '0xB89C60'
magenta: '0xA3AA96'
cyan: '0xCFCAA9'
white: '0xEEEFE6'
# END ACE
colors:
# Default colors
primary:
background: '0x000000'
foreground: '0xbcbcbc'
# Colors the cursor will use if `custom_cursor_colors` is true
cursor:
text: '0x262626'
cursor: '0xbcbcbc'
# Normal colors
normal:
black: '0x262626'
red: '0x5f8787'
green: '0x87af87'
yellow: '0x5f8787'
blue: '0xffffaf'
magenta: '0x87afd7'
cyan: '0x5f875f'
white: '0xbcbcbc'
# Bright colors
bright:
black: '0x6c6c6c'
red: '0x5f8787'
green: '0x87af87'
yellow: '0x5f8787'
blue: '0xffffaf'
magenta: '0x87afd7'
cyan: '0x5f875f'
white: '0xffffff'
indexed_colors:
- { index: 16, color: '0xff8700' }
- { index: 17, color: '0x5f87af' }
- { index: 18, color: '0x303030' }
- { index: 19, color: '0x333333' }
- { index: 20, color: '0x787878' }
- { index: 21, color: '0xc9c9c9' }

View File

@ -0,0 +1,188 @@
env:
TERM: xterm-256color
window:
dimensions:
columns: 80
lines: 20
position:
x: 0
y: 0
padding:
x: 12
y: 12
dynamic_padding: true
dynamic_title: true
decorations: none
class:
instance: Alacritty
general: Alacritty
scrolling:
history: 10000
multiplier: 3
# Font configuration
font:
normal:
family: Terminus (TTF)
style: Regular
bold:
family: Terminus (TTF)
style: Bold
italic:
family: Terminus (TTF)
style: Italic
size: 9.0
offset:
x: 0
y: 0
background_opacity: 0.9
selection:
semantic_escape_chars: ",│`|:\"' ()[]{}<>\t"
ave_to_clipboard: true
cursor:
style: Beam
shell:
program: /bin/zsh
args:
- -l
working_directory: None
mouse:
hide_when_typing: true
hints:
launcher:
program: xdg-open
args: []
mouse_bindings:
- { mouse: Middle, mods: Shift, action: PasteSelection }
- { mouse: Right, mods: Shift, action: Paste }
- { mouse: Middle, action: None }
- { mouse: Right, action: None }
key_bindings:
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
- { key: V, mods: Alt, action: Paste}
- { key: J, mods: Alt, action: IncreaseFontSize }
- { key: K, mods: Alt, action: DecreaseFontSize }
# - { key: J, mods: Shift, action: ScrollLineUp}
# - { key: K, mods: Shift, action: ScrollLineDown}
# { mouse: Middle, action: PasteSelection }
#- { key: Paste, action: Paste }
#- { key: Copy, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice }
#- { key: L, mods: Control, mode: ~Vi, chars: "\x0c" }
- { key: PageUp, mods: Shift, action: ScrollPageUp, }
- { key: PageDown, mods: Shift, action: ScrollPageDown }
#- { key: Home, mods: Shift, mode: ~Alt, action: ScrollToTop, }
#- { key: End, mods: Shift, mode: ~Alt, action: ScrollToBottom }
# Vi Mode
#- { key: Space, mods: Shift|Control, mode: Vi, action: ScrollToBottom }
#- { key: Space, mods: Shift|Control, action: ToggleViMode }
#- { key: Escape, mode: Vi, action: ClearSelection }
#- { key: I, mode: Vi, action: ScrollToBottom }
#- { key: I, mode: Vi, action: ToggleViMode }
#- { key: Y, mods: Control, mode: Vi, action: ScrollLineUp }
#- { key: E, mods: Control, mode: Vi, action: ScrollLineDown }
#- { key: G, mode: Vi, action: ScrollToTop }
#- { key: G, mods: Shift, mode: Vi, action: ScrollToBottom }
#- { key: B, mods: Control, mode: Vi, action: ScrollPageUp }
#- { key: F, mods: Control, mode: Vi, action: ScrollPageDown }
#- { key: U, mods: Control, mode: Vi, action: ScrollHalfPageUp }
#- { key: D, mods: Control, mode: Vi, action: ScrollHalfPageDown }
#- { key: Y, mode: Vi, action: Copy }
#- { key: Y, mode: Vi, action: ClearSelection }
#- { key: Copy, mode: Vi, action: ClearSelection }
#- { key: V, mode: Vi, action: ToggleNormalSelection }
#- { key: V, mods: Shift, mode: Vi, action: ToggleLineSelection }
#- { key: V, mods: Control, mode: Vi, action: ction }
#- { key: Return, mode: Vi, action: Open }
#- { key: K, mode: Vi, action: Up }
#- { key: J, mode: Vi, action: Down }
#- { key: H, mode: Vi, action: Left }
#- { key: L, mode: Vi, action: Right }
#- { key: Up, mode: Vi, action: Up }
#- { key: Down, mode: Vi, action: Down }
#- { key: Left, mode: Vi, action: Left }
#- { key: Right, mode: Vi, action: Right }
#- { key: Key0, mode: Vi, action: First }
#- { key: Key4, mods: Shift, mode: Vi, action: Last }
#- { key: Key6, mods: Shift, mode: Vi, action: FirstOccupied }
#- { key: H, mods: Shift, mode: Vi, action: High }
#- { key: M, mods: Shift, mode: Vi, action: Middle }
#- { key: L, mods: Shift, mode: Vi, action: Low }
#- { key: B, mode: Vi, action: SemanticLeft }
#- { key: W, mode: Vi, action: SemanticRight }
#- { key: E, mode: Vi, action: SemanticRightEnd }
#- { key: B, mods: Shift, mode: Vi, action: WordLeft }
#- { key: W, mods: Shift, mode: Vi, action: WordRight }
#- { key: E, mods: Shift, mode: Vi, action: WordRightEnd }
#- { key: Key5, mods: Shift, mode: Vi, action: Bracket }
# (Windows, Linux, and BSD only)
#- { key: V, mods: Control|Shift, action: Paste }
#- { key: C, mods: Control|Shift, action: Copy }
#- { key: C, mods: Control|Shift, mode: Vi, action: ClearSelection }
#- { key: Insert, mods: Shift, action: PasteSelection }
#- { key: Key0, mods: Control, action: ResetFontSize }
#- { key: Equals, mods: Control, action: IncreaseFontSize }
#- { key: Add, mods: Control, action: IncreaseFontSize }
#- { key: Subtract, mods: Control, action: DecreaseFontSize }
#- { key: Minus, mods: Control, action: DecreaseFontSize }
# (Windows only)
#- { key: Return, mods: Alt, action: ToggleFullscreen }
# (macOS only)
#- { key: K, mods: Command, mode: ~Vi, chars: "\x0c" }
#- { key: Key0, mods: Command, action: ResetFontSize }
#- { key: Equals, mods: Command, action: IncreaseFontSize }
#- { key: Add, mods: Command, action: IncreaseFontSize }
#- { key: Minus, mods: Command, action: DecreaseFontSize }
#- { key: K, mods: Command, action: ClearHistory }
#- { key: V, mods: Command, action: Paste }
#- { key: C, mods: Command, action: Copy }
#- { key: C, mods: Command, mode: Vi, action: ClearSelection }
#- { key: H, mods: Command, action: Hide }
#- { key: M, mods: Command, action: Minimize }
#- { key: Q, mods: Command, action: Quit }
#- { key: W, mods: Command, action: Quit }
#- { key: N, mods: Command, action: SpawnNewInstance }
#- { key: F, mods: Command|Control, action: ToggleFullscreen }
# BEGIN ACE
colors:
primary:
background: '0x0f0e09'
foreground: '0xdbcdac'
cursor:
text: '0x0f0e09'
cursor: '0xdbcdac'
normal:
black: '0x0f0e09'
red: '0x6B5835'
green: '0x324443'
yellow: '0x746A46'
blue: '0x8C552E'
magenta: '0x89784D'
cyan: '0x9F8D5E'
white: '0xdbcdac'
bright:
black: '0x998f78'
red: '0x6B5835'
green: '0x324443'
yellow: '0x746A46'
blue: '0x8C552E'
magenta: '0x89784D'
cyan: '0x9F8D5E'
white: '0xdbcdac'
# END ACE

View File

@ -0,0 +1,11 @@
[Filechooser Settings]
LocationMode=path-bar
ShowHidden=false
ShowSizeColumn=true
GeometryX=1920
GeometryY=62
GeometryWidth=1008
GeometryHeight=690
SortColumn=name
SortOrder=ascending
StartupMode=recent

View File

@ -0,0 +1,77 @@
@define-color theme_fg_color #dedede;
@define-color theme_bg_color #262626;
@define-color theme_text_color #dedede;
@define-color theme_base_color #2e2e2e;
@define-color theme_view_hover_decoration_color #2d9d91;
@define-color theme_hovering_selected_bg_color #2d9d91;
@define-color theme_selected_bg_color #2d9d91;
@define-color theme_selected_fg_color #ffffff;
@define-color theme_view_active_decoration_color #2d9d91;
@define-color theme_button_background_normal #424242;
@define-color theme_button_decoration_hover #2d9d91;
@define-color theme_button_decoration_focus #2d9d91;
@define-color theme_button_foreground_normal #ffffff;
@define-color theme_button_foreground_active #ffffff;
@define-color borders #545454;
@define-color warning_color #f09805;
@define-color success_color #18ca63;
@define-color error_color #d14949;
@define-color theme_unfocused_fg_color #dedede;
@define-color theme_unfocused_text_color #dedede;
@define-color theme_unfocused_bg_color #262626;
@define-color theme_unfocused_base_color #2e2e2e;
@define-color theme_unfocused_selected_bg_color_alt #18413d;
@define-color theme_unfocused_selected_bg_color #18413d;
@define-color theme_unfocused_selected_fg_color #dedede;
@define-color theme_button_background_backdrop #424242;
@define-color theme_button_decoration_hover_backdrop #2d9d91;
@define-color theme_button_decoration_focus_backdrop #2d9d91;
@define-color theme_button_foreground_backdrop #ffffff;
@define-color theme_button_foreground_active_backdrop #dedede;
@define-color unfocused_borders #545454;
@define-color warning_color_backdrop #f09805;
@define-color success_color_backdrop #18ca63;
@define-color error_color_backdrop #d14949;
@define-color insensitive_fg_color #616161;
@define-color insensitive_base_fg_color #666666;
@define-color insensitive_bg_color #242424;
@define-color insensitive_base_color #2c2c2c;
@define-color insensitive_selected_bg_color #242424;
@define-color insensitive_selected_fg_color #616161;
@define-color theme_button_background_insensitive #3f3f3f;
@define-color theme_button_decoration_hover_insensitive #385d59;
@define-color theme_button_decoration_focus_insensitive #385d59;
@define-color theme_button_foreground_insensitive #7e7e7e;
@define-color theme_button_foreground_active_insensitive #616161;
@define-color insensitive_borders #333333;
@define-color warning_color_insensitive #6c4f1e;
@define-color success_color_insensitive #24603d;
@define-color error_color_insensitive #623535;
@define-color insensitive_unfocused_fg_color #616161;
@define-color theme_unfocused_view_text_color #666666;
@define-color insensitive_unfocused_bg_color #242424;
@define-color theme_unfocused_view_bg_color #2c2c2c;
@define-color insensitive_unfocused_selected_bg_color #242424;
@define-color insensitive_unfocused_selected_fg_color #616161;
@define-color theme_button_background_backdrop_insensitive #3f3f3f;
@define-color theme_button_decoration_hover_backdrop_insensitive #385d59;
@define-color theme_button_decoration_focus_backdrop_insensitive #385d59;
@define-color theme_button_foreground_backdrop_insensitive #7e7e7e;
@define-color theme_button_foreground_active_backdrop_insensitive #616161;
@define-color unfocused_insensitive_borders #333333;
@define-color warning_color_insensitive_backdrop #6c4f1e;
@define-color success_color_insensitive_backdrop #24603d;
@define-color error_color_insensitive_backdrop #623535;
@define-color link_color #33b1a4;
@define-color link_visited_color #38c5b6;
@define-color tooltip_text #dedede;
@define-color tooltip_background #2e2e2e;
@define-color tooltip_border #5a5a5a;
@define-color content_view_bg #2e2e2e;
@define-color theme_titlebar_background rgb(38,38,38);
@define-color theme_titlebar_foreground rgb(222,222,222);
@define-color theme_titlebar_background_light #262626;
@define-color theme_titlebar_foreground_backdrop rgb(104,104,104);
@define-color theme_titlebar_background_backdrop rgb(38,38,38);
@define-color theme_titlebar_foreground_insensitive rgb(104,104,104);
@define-color theme_titlebar_foreground_insensitive_backdrop rgb(104,104,104);

View File

@ -0,0 +1,11 @@
[Settings]
gtk-application-prefer-dark-theme=1
gtk-button-images=1
gtk-cursor-theme-name=Adwaita
gtk-fallback-icon-theme=Adwaita
gtk-font-name=Noto Sans Cypriot Regular 9
gtk-icon-theme-name=Gruvbox
gtk-menu-images=0
gtk-primary-button-warps-slider=false
gtk-theme-name=Breeze-Dark
gtk-toolbar-style=GTK_TOOLBAR_ICONS

View File

@ -0,0 +1,2 @@
[Settings]
gtk-application-prefer-dark-theme=1

View File

@ -1,8 +1,8 @@
# https://github.com/altercation/solarized#the-values
font=Terminus 10
background-color=#946634
text-color=#0C130C
border-color=#0C130C
background-color=#324443
text-color=#0f0e09
border-color=#0f0e09
default-timeout=5000
[urgency=high]

View File

@ -0,0 +1,94 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/six.rasi"
# Links
terminal=""
files=""
editor=""
browser=""
music=""
settings=""
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "$1"
}
# Variable passed to rofi
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
case $chosen in
$terminal)
if [[ -f /usr/bin/termite ]]; then
termite &
elif [[ -f /usr/bin/urxvt ]]; then
urxvt &
elif [[ -f /usr/bin/kitty ]]; then
kitty &
elif [[ -f /usr/bin/xterm ]]; then
xterm &
elif [[ -f /usr/bin/xfce4-terminal ]]; then
xfce4-terminal &
elif [[ -f /usr/bin/gnome-terminal ]]; then
gnome-terminal &
else
msg "No suitable terminal found!"
fi
;;
$files)
if [[ -f /usr/bin/thunar ]]; then
thunar &
elif [[ -f /usr/bin/pcmanfm ]]; then
pcmanfm &
else
msg "No suitable file manager found!"
fi
;;
$editor)
if [[ -f /usr/bin/geany ]]; then
geany &
elif [[ -f /usr/bin/leafpad ]]; then
leafpad &
elif [[ -f /usr/bin/mousepad ]]; then
mousepad &
elif [[ -f /usr/bin/code ]]; then
code &
else
msg "No suitable text editor found!"
fi
;;
$browser)
if [[ -f /usr/bin/firefox ]]; then
firefox &
elif [[ -f /usr/bin/chromium ]]; then
chromium &
elif [[ -f /usr/bin/midori ]]; then
midori &
else
msg "No suitable web browser found!"
fi
;;
$music)
if [[ -f /usr/bin/lxmusic ]]; then
lxmusic &
else
msg "No suitable music player found!"
fi
;;
$settings)
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
xfce4-settings-manager &
else
msg "No suitable settings manager found!"
fi
;;
esac

View File

@ -0,0 +1,73 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/three.rasi"
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "$1"
}
## Get Brightness
if [[ -f /usr/bin/blight ]]; then
DEVICE=$(ls /sys/class/backlight | head -n 1)
BNESS="$(blight -d $DEVICE get brightness)"
PERC="$(($BNESS*100/255))"
BLIGHT=${PERC%.*}
elif [[ -f /usr/bin/xbacklight ]]; then
VAR="$(xbacklight -get)"
BLIGHT="$(printf "%.0f\n" "$VAR")"
else
msg "No suitable backlight utility found!"
exit 1
fi
if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then
MSG="Low"
elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then
MSG="Optimal"
elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then
MSG="High"
elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then
MSG="Too Much"
fi
## Icons
ICON_UP=""
ICON_DOWN=""
ICON_OPT=""
notify="notify-send -u low -t 1500"
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)"
case $chosen in
$ICON_UP)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
fi
;;
$ICON_DOWN)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
fi
;;
$ICON_OPT)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
fi
;;
esac

View File

@ -0,0 +1,22 @@
/*
* Change the colorscheme for every menu simply by editing this file...
*
* Available Color Schemes
* // Dark
* material-dark/amber material-dark/blue material-dark/blue_grey material-dark/brown material-dark/cyan material-dark/deep_orange
* material-dark/deep_purple material-dark/green material-dark/grey material-dark/indigo material-dark/light_blue material-dark/light_green
* material-dark/lime material-dark/orange material-dark/pink material-dark/purple material-dark/red material-dark/teal
* material-dark/yellow
* // Light
* material-light/amber material-light/blue material-light/blue_grey material-light/brown material-light/cyan material-light/deep_orange
* material-light/deep_purple material-light/green material-light/grey material-light/indigo material-light/light_blue material-light/light_green
* material-light/lime material-light/orange material-light/pink material-light/purple material-light/red material-light/teal
* material-light/yellow
*
* // Other
* adapta, adapta-nokto, arc, arc-dark, adwaita, gruvbox, dark
* armchair, darkpink, fresh, inside, party, sirin
*
*/
@import "../styles/arc.rasi"

View File

@ -0,0 +1,24 @@
/* Confirm Dialog */
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
font: "Iosevka Nerd Font 12";
}
window {
width: 225px;
padding: 25px;
border: 0px;
border-radius: 12px;
border-color: @accent;
location: center;
y-offset: -20px;
}
entry {
expand: true;
text-color: @accent;
}

View File

@ -0,0 +1,91 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
width: 100px;
location: east;
x-offset: -15px;
y-offset: 0px;
}
listview {
lines: 5;
margin: 8px;
spacing: 8px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ listview ];
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 10px 10px 33px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @urgent;
text-color: @foreground;
border-radius: 10px;
}
element normal.active,
element alternate.active {
background-color: @background-alt;
text-color: @foreground;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 10px;
border-color: @border;
}
element selected.urgent {
background-color: @urgent;
text-color: @foreground;
}
element selected.active {
background-color: @background-alt;
color: @foreground;
}

View File

@ -0,0 +1,24 @@
/* Confirm Dialog */
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
font: "Iosevka Nerd Font 12";
}
window {
width: 360px;
padding: 25px;
border: 0px;
border-radius: 12px;
border-color: @accent;
location: center;
y-offset: -20px;
}
entry {
expand: true;
text-color: @accent;
}

View File

@ -0,0 +1,76 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/six.rasi"
# Gets the current status of mpd (for us to parse it later on)
status="$(mpc status)"
# Defines the Play / Pause option content
if [[ $status == *"[playing]"* ]]; then
play_pause=""
else
play_pause=""
fi
active=""
urgent=""
# Display if repeat mode is on / off
tog_repeat=""
if [[ $status == *"repeat: on"* ]]; then
active="-a 4"
elif [[ $status == *"repeat: off"* ]]; then
urgent="-u 4"
else
tog_repeat=" Parsing error"
fi
# Display if random mode is on / off
tog_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
tog_random=" Parsing error"
fi
stop=""
next=""
previous=""
# Variable passed to rofi
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
# Get the current playing song
current=$(mpc -f %title% current)
# If mpd isn't running it will return an empty string, we don't want to display that
if [[ -z "$current" ]]; then
current="-"
fi
# Spawn the mpd menu with the "Play / Pause" entry selected by default
chosen="$(echo -e "$options" | $rofi_command -p "$current" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$previous)
mpc -q prev && notify-send -u low -t 1800 "$(mpc current)"
;;
$play_pause)
mpc -q toggle && notify-send -u low -t 1800 "$(mpc current)"
;;
$stop)
mpc -q stop
;;
$next)
mpc -q next && notify-send -u low -t 1800 "$(mpc current)"
;;
$tog_repeat)
mpc -q repeat
;;
$tog_random)
mpc -q random
;;
esac

View File

@ -0,0 +1,94 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/five.rasi"
uptime=$(uptime -p | sed -e 's/up //g')
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $dir/confirm.rasi
}
# Message
msg() {
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
chosen="$(echo -e "$options" | $rofi_command -p "Uptime: $uptime" -dmenu -selected-row 2)"
case $chosen in
$shutdown)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl poweroff
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$reboot)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl reboot
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$lock)
if [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l
fi
;;
$suspend)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
mpc -q pause
amixer set Master mute
systemctl suspend
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$logout)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
esac

View File

@ -0,0 +1,60 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/six.rasi"
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "$1"
}
# Browser
if [[ -f /usr/bin/firefox ]]; then
app="firefox"
elif [[ -f /usr/bin/chromium ]]; then
app="chromium"
elif [[ -f /usr/bin/midori ]]; then
app="midori"
else
msg "No suitable web browser found!"
exit 1
fi
# Links
google=""
facebook=""
twitter=""
github=""
mail=""
youtube=""
# Variable passed to rofi
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
chosen="$(echo -e "$options" | $rofi_command -p "Open In : Firefox" -dmenu -selected-row 0)"
case $chosen in
$google)
$app https://www.google.com &
;;
$facebook)
$app https://www.facebook.com &
;;
$twitter)
$app https://www.twitter.com &
;;
$github)
$app https://www.github.com &
;;
$mail)
$app https://www.gmail.com &
;;
$youtube)
$app https://www.youtube.com &
;;
esac

View File

@ -0,0 +1,48 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/three.rasi"
# Error msg
msg() {
rofi -theme "$dir/message.rasi" -e "Please install 'scrot' first."
}
# Options
screen=""
area=""
window=""
# Variable passed to rofi
options="$screen\n$area\n$window"
chosen="$(echo -e "$options" | $rofi_command -p '' -dmenu -selected-row 1)"
case $chosen in
$screen)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$area)
if [[ -f /usr/bin/scrot ]]; then
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$window)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
esac

View File

@ -0,0 +1,91 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
width: 100px;
location: east;
x-offset: -15px;
y-offset: 0px;
}
listview {
lines: 6;
margin: 8px;
spacing: 8px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ listview ];
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 10px 10px 33px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 10px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 10px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,91 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
width: 100px;
location: east;
x-offset: -15px;
y-offset: 0px;
}
listview {
lines: 3;
margin: 8px;
spacing: 8px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ listview ];
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 10px 10px 33px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 10px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 10px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,56 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
dir="$HOME/.config/rofi/applets/android"
rofi_command="rofi -theme $dir/three.rasi"
## Get Volume
#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')
MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%')
active=""
urgent=""
if [[ $MUTE == *"off"* ]]; then
active="-a 1"
else
urgent="-u 1"
fi
if [[ $MUTE == *"off"* ]]; then
active="-a 1"
else
urgent="-u 1"
fi
if [[ $MUTE == *"on"* ]]; then
VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%"
else
VOLUME="Mu..."
fi
## Icons
ICON_UP=""
ICON_DOWN=""
ICON_MUTED=""
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_UP)
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP"
;;
$ICON_DOWN)
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN"
;;
$ICON_MUTED)
amixer -q set Master toggle
;;
esac

View File

@ -0,0 +1,95 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/apps.rasi"
# Links
terminal=""
files=""
editor=""
browser=""
music=""
settings=""
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Variable passed to rofi
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
case $chosen in
$terminal)
if [[ -f /usr/bin/termite ]]; then
termite &
elif [[ -f /usr/bin/urxvt ]]; then
urxvt &
elif [[ -f /usr/bin/kitty ]]; then
kitty &
elif [[ -f /usr/bin/xterm ]]; then
xterm &
elif [[ -f /usr/bin/xfce4-terminal ]]; then
xfce4-terminal &
elif [[ -f /usr/bin/gnome-terminal ]]; then
gnome-terminal &
else
msg "No suitable terminal found!"
fi
;;
$files)
if [[ -f /usr/bin/thunar ]]; then
thunar &
elif [[ -f /usr/bin/pcmanfm ]]; then
pcmanfm &
else
msg "No suitable file manager found!"
fi
;;
$editor)
if [[ -f /usr/bin/geany ]]; then
geany &
elif [[ -f /usr/bin/leafpad ]]; then
leafpad &
elif [[ -f /usr/bin/mousepad ]]; then
mousepad &
elif [[ -f /usr/bin/code ]]; then
code &
else
msg "No suitable text editor found!"
fi
;;
$browser)
if [[ -f /usr/bin/firefox ]]; then
firefox &
elif [[ -f /usr/bin/chromium ]]; then
chromium &
elif [[ -f /usr/bin/midori ]]; then
midori &
else
msg "No suitable web browser found!"
fi
;;
$music)
if [[ -f /usr/bin/lxmusic ]]; then
lxmusic &
else
msg "No suitable music player found!"
fi
;;
$settings)
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
xfce4-settings-manager &
else
msg "No suitable settings manager found!"
fi
;;
esac

View File

@ -0,0 +1,75 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/backlight.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
## Get Brightness
if [[ -f /usr/bin/blight ]]; then
DEVICE=$(ls /sys/class/backlight | head -n 1)
BNESS="$(blight -d $DEVICE get brightness)"
PERC="$(($BNESS*100/255))"
BLIGHT=${PERC%.*}
elif [[ -f /usr/bin/xbacklight ]]; then
VAR="$(xbacklight -get)"
BLIGHT="$(printf "%.0f\n" "$VAR")"
else
msg "No suitable backlight utility found!"
exit 1
fi
if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then
MSG="Low"
elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then
MSG="Optimal"
elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then
MSG="High"
elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then
MSG="Too Much"
fi
## Icons
ICON_UP=""
ICON_DOWN=""
ICON_OPT=""
notify="notify-send -u low -t 1500"
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT%" -dmenu -selected-row 1)"
case $chosen in
$ICON_UP)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
fi
;;
$ICON_DOWN)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
fi
;;
$ICON_OPT)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
fi
;;
esac

View File

@ -0,0 +1,65 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/battery.rasi"
## Get data
BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)"
CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)"
active=""
urgent=""
if [[ $CHARGE = *"Charging"* ]]; then
active="-a 1"
ICON_CHRG=""
MSG=$CHARGE
elif [[ $CHARGE = *"Full"* ]]; then
active="-u 1"
ICON_CHRG=""
MSG=$CHARGE
else
urgent="-u 1"
ICON_CHRG=""
MSG=$CHARGE
fi
# Discharging
#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then
# ICON_DISCHRG=""
if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then
ICON_DISCHRG=""
fi
## Icons
ICON_PMGR=""
options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$BATTERY%" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_CHRG)
;;
$ICON_DISCHRG)
;;
$ICON_PMGR)
xfce4-power-manager-settings
;;
esac

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 260px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Iosevka Nerd Font 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 335px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 420px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 450px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Hurmit Nerd Font Mono 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 50px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 40px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 25px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
border-radius: 25px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 0px 2px 0px;
border-radius: 100%;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "Iosevka Nerd Font 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 335px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 420px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 450px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "Hurmit Nerd Font Mono 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 50px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 12px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 10px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 12px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 12px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 12px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @background-light;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Iosevka Nerd Font 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 350px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 420px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 500px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 450px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Hurmit Nerd Font Mono 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 50px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 12";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: southeast;
width: 250px;
x-offset: -15px;
y-offset: -45px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 12px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 12px;
margin: 12px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 20";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 5px 10px 30px 10px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,78 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/mpd.rasi"
# Gets the current status of mpd (for us to parse it later on)
status="$(mpc status)"
# Defines the Play / Pause option content
if [[ $status == *"[playing]"* ]]; then
play_pause=""
else
play_pause=""
fi
active=""
urgent=""
# Display if repeat mode is on / off
tog_repeat=""
if [[ $status == *"repeat: on"* ]]; then
active="-a 4"
elif [[ $status == *"repeat: off"* ]]; then
urgent="-u 4"
else
tog_repeat=" Parsing error"
fi
# Display if random mode is on / off
tog_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
tog_random=" Parsing error"
fi
stop=""
next=""
previous=""
# Variable passed to rofi
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
# Get the current playing song
current=$(mpc -f "%title%" current)
# If mpd isn't running it will return an empty string, we don't want to display that
if [[ -z "$current" ]]; then
current="-"
fi
# Spawn the mpd menu with the "Play / Pause" entry selected by default
chosen="$(echo -e "$options" | $rofi_command -p "$current" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$previous)
mpc -q prev && notify-send -u low -t 1800 "$(mpc current)"
;;
$play_pause)
mpc -q toggle && notify-send -u low -t 1800 "$(mpc current)"
;;
$stop)
mpc -q stop
;;
$next)
mpc -q next && notify-send -u low -t 1800 "$(mpc current)"
;;
$tog_repeat)
mpc -q repeat
;;
$tog_random)
mpc -q random
;;
esac

View File

@ -0,0 +1,68 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/network.rasi"
## Get info
IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')"
#SSID="$(iwgetid -r)"
#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')"
#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )"
STATUS="$(nmcli radio wifi)"
active=""
urgent=""
if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then
if [[ $STATUS == *"enable"* ]]; then
if [[ $IFACE == e* ]]; then
connected=""
else
connected=""
fi
active="-a 0"
SSID="$(iwgetid -r)"
PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)"
fi
else
urgent="-u 0"
SSID="Disconnected"
PIP="Not Available"
connected=""
fi
## Icons
bmon=""
launch_cli=""
launch=""
options="$connected\n$bmon\n$launch_cli\n$launch"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$SSID" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$connected)
if [[ $STATUS == *"enable"* ]]; then
nmcli radio wifi off
else
nmcli radio wifi on
fi
;;
$bmon)
termite -e bmon
;;
$launch_cli)
termite -e nmtui
;;
$launch)
nm-connection-editor
;;
esac

View File

@ -0,0 +1,98 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram)
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $HOME/.config/rofi/applets/styles/confirm.rasi
}
# Message
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
chosen="$(echo -e "$options" | $rofi_command -p "UP - $uptime" -dmenu -selected-row 2)"
case $chosen in
$shutdown)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl poweroff
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$reboot)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl reboot
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$lock)
if [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l
fi
;;
$suspend)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
mpc -q pause
amixer set Master mute
systemctl suspend
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$logout)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
esac

View File

@ -0,0 +1,62 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/quicklinks.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Browser
if [[ -f /usr/bin/firefox ]]; then
app="firefox"
elif [[ -f /usr/bin/chromium ]]; then
app="chromium"
elif [[ -f /usr/bin/midori ]]; then
app="midori"
else
msg "No suitable web browser found!"
exit 1
fi
# Links
google=""
facebook=""
twitter=""
github=""
mail=""
youtube=""
# Variable passed to rofi
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)"
case $chosen in
$google)
$app https://www.google.com &
;;
$facebook)
$app https://www.facebook.com &
;;
$twitter)
$app https://www.twitter.com &
;;
$github)
$app https://www.github.com &
;;
$mail)
$app https://www.gmail.com &
;;
$youtube)
$app https://www.youtube.com &
;;
esac

View File

@ -0,0 +1,50 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/screenshot.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first."
}
# Options
screen=""
area=""
window=""
# Variable passed to rofi
options="$screen\n$area\n$window"
chosen="$(echo -e "$options" | $rofi_command -p 'scrot' -dmenu -selected-row 1)"
case $chosen in
$screen)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$area)
if [[ -f /usr/bin/scrot ]]; then
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$window)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
esac

View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Available Styles
# >> Created and tested on : rofi 1.6.0-1
#
# square circle rounded
style="square"
# uncomment these lines to enable random style
#styles=('square' 'circle' 'rounded')
#style="${styles[$(( $RANDOM % 3 ))]}"
# print style name
echo "$style"

View File

@ -0,0 +1,24 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/time.rasi"
## Get time and date
TIME="$(date +"%I:%M %p")"
DN=$(date +"%A")
MN=$(date +"%B")
DAY="$(date +"%d")"
MONTH="$(date +"%m")"
YEAR="$(date +"%Y")"
options="$DAY\n$MONTH\n$YEAR"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$DN, $TIME" -dmenu -selected-row 1)"

View File

@ -0,0 +1,58 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/applets/style.sh)"
dir="$HOME/.config/rofi/applets/applets/configs/$style"
rofi_command="rofi -theme $dir/volume.rasi"
## Get Volume
#VOLUME=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')
MUTE=$(amixer get Master | tail -n 1 | awk -F ' ' '{print $6}' | tr -d '[]%')
active=""
urgent=""
if [[ $MUTE == *"off"* ]]; then
active="-a 1"
else
urgent="-u 1"
fi
if [[ $MUTE == *"off"* ]]; then
active="-a 1"
else
urgent="-u 1"
fi
if [[ $MUTE == *"on"* ]]; then
VOLUME="$(amixer get Master | tail -n 1 | awk -F ' ' '{print $5}' | tr -d '[]%')%"
else
VOLUME="Mute"
fi
## Icons
ICON_UP=""
ICON_DOWN=""
ICON_MUTED=""
options="$ICON_UP\n$ICON_MUTED\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$VOLUME" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_UP)
amixer -Mq set Master,0 5%+ unmute && notify-send -u low -t 1500 "Volume Up $ICON_UP"
;;
$ICON_DOWN)
amixer -Mq set Master,0 5%- unmute && notify-send -u low -t 1500 "Volume Down $ICON_DOWN"
;;
$ICON_MUTED)
amixer -q set Master toggle
;;
esac

View File

@ -0,0 +1,95 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/apps.rasi"
# Links
terminal=""
files=""
editor=""
browser=""
music=""
settings=""
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Variable passed to rofi
options="$terminal\n$files\n$editor\n$browser\n$music\n$settings"
chosen="$(echo -e "$options" | $rofi_command -p "Most Used" -dmenu -selected-row 0)"
case $chosen in
$terminal)
if [[ -f /usr/bin/termite ]]; then
termite &
elif [[ -f /usr/bin/urxvt ]]; then
urxvt &
elif [[ -f /usr/bin/kitty ]]; then
kitty &
elif [[ -f /usr/bin/xterm ]]; then
xterm &
elif [[ -f /usr/bin/xfce4-terminal ]]; then
xfce4-terminal &
elif [[ -f /usr/bin/gnome-terminal ]]; then
gnome-terminal &
else
msg "No suitable terminal found!"
fi
;;
$files)
if [[ -f /usr/bin/thunar ]]; then
thunar &
elif [[ -f /usr/bin/pcmanfm ]]; then
pcmanfm &
else
msg "No suitable file manager found!"
fi
;;
$editor)
if [[ -f /usr/bin/geany ]]; then
geany &
elif [[ -f /usr/bin/leafpad ]]; then
leafpad &
elif [[ -f /usr/bin/mousepad ]]; then
mousepad &
elif [[ -f /usr/bin/code ]]; then
code &
else
msg "No suitable text editor found!"
fi
;;
$browser)
if [[ -f /usr/bin/firefox ]]; then
firefox &
elif [[ -f /usr/bin/chromium ]]; then
chromium &
elif [[ -f /usr/bin/midori ]]; then
midori &
else
msg "No suitable web browser found!"
fi
;;
$music)
if [[ -f /usr/bin/lxmusic ]]; then
lxmusic &
else
msg "No suitable music player found!"
fi
;;
$settings)
if [[ -f /usr/bin/xfce4-settings-manager ]]; then
xfce4-settings-manager &
else
msg "No suitable settings manager found!"
fi
;;
esac

View File

@ -0,0 +1,75 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/backlight.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
## Get Brightness
if [[ -f /usr/bin/blight ]]; then
DEVICE=$(ls /sys/class/backlight | head -n 1)
BNESS="$(blight -d $DEVICE get brightness)"
PERC="$(($BNESS*100/255))"
BLIGHT=${PERC%.*}
elif [[ -f /usr/bin/xbacklight ]]; then
VAR="$(xbacklight -get)"
BLIGHT="$(printf "%.0f\n" "$VAR")"
else
msg "No suitable backlight utility found!"
exit 1
fi
if [[ $BLIGHT -ge 1 ]] && [[ $BLIGHT -le 29 ]]; then
MSG="Low"
elif [[ $BLIGHT -ge 30 ]] && [[ $BLIGHT -le 49 ]]; then
MSG="Optimal"
elif [[ $BLIGHT -ge 50 ]] && [[ $BLIGHT -le 69 ]]; then
MSG="High"
elif [[ $BLIGHT -ge 70 ]] && [[ $BLIGHT -le 99 ]]; then
MSG="Too Much"
fi
## Icons
ICON_UP=""
ICON_DOWN=""
ICON_OPT=""
notify="notify-send -u low -t 1500"
options="$ICON_UP\n$ICON_OPT\n$ICON_DOWN"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$BLIGHT% : $MSG" -dmenu -selected-row 1)"
case $chosen in
$ICON_UP)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set +10% && $notify "Brightness Up $ICON_UP"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -inc 10 && $notify "Brightness Up $ICON_UP"
fi
;;
$ICON_DOWN)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set -10% && $notify "Brightness Down $ICON_DOWN"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -dec 10 && $notify "Brightness Down $ICON_DOWN"
fi
;;
$ICON_OPT)
if [[ -f /usr/bin/blight ]]; then
blight -d $DEVICE set 25% && $notify "Optimal Brightness $ICON_OPT"
elif [[ -f /usr/bin/xbacklight ]]; then
xbacklight -set 30 && $notify "Optimal Brightness $ICON_OPT"
fi
;;
esac

View File

@ -0,0 +1,65 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/battery.rasi"
## Get data
BATTERY="$(acpi | awk -F ' ' '{print $4}' | tr -d \%,)"
CHARGE="$(acpi | awk -F ' ' '{print $3}' | tr -d \,)"
active=""
urgent=""
if [[ $CHARGE = *"Charging"* ]]; then
active="-a 1"
ICON_CHRG=""
MSG=$CHARGE
elif [[ $CHARGE = *"Full"* ]]; then
active="-u 1"
ICON_CHRG=""
MSG=$CHARGE
else
urgent="-u 1"
ICON_CHRG=""
MSG=$CHARGE
fi
# Discharging
#if [[ $CHARGE -eq 1 ]] && [[ $BATTERY -eq 100 ]]; then
# ICON_DISCHRG=""
if [[ $BATTERY -ge 5 ]] && [[ $BATTERY -le 19 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 20 ]] && [[ $BATTERY -le 39 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 40 ]] && [[ $BATTERY -le 59 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 60 ]] && [[ $BATTERY -le 79 ]]; then
ICON_DISCHRG=""
elif [[ $BATTERY -ge 80 ]] && [[ $BATTERY -le 100 ]]; then
ICON_DISCHRG=""
fi
## Icons
ICON_PMGR=""
options="$ICON_DISCHRG\n$ICON_CHRG\n$ICON_PMGR"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$MSG : $BATTERY%" -dmenu $active $urgent -selected-row 0)"
case $chosen in
$ICON_CHRG)
;;
$ICON_DISCHRG)
;;
$ICON_PMGR)
xfce4-power-manager-settings
;;
esac

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Iosevka Nerd Font 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 650px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 800px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 700px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "Hurmit Nerd Font Mono 48";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 90px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 100%;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 100%;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 100%;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 100%;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 100%;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "Iosevka Nerd Font 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 650px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 800px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 700px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "Hurmit Nerd Font Mono 48";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 90px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,127 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 20px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background;
text-color: @accent;
border: 0px 2px 0px 2px;
border-radius: 12px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 10px 10px 0px 10px;
border-radius: 12px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 15px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 20px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 20px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 20px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Apps ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Brightness ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Battery ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Iosevka Nerd Font 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 4px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " MPD ";
background-color: @accent;
text-color: @background;
padding: 14px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 650px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Network ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 4;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 800px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " System ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 5;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 950px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Quick Links ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 6;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Screenshot ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 700px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Time ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "Hurmit Nerd Font Mono 48";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 30px 0px 90px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,126 @@
/*
*
* Author : Aditya Shakya
* Mail : adi1090x@gmail.com
* Github : @adi1090x
* Twitter : @adi1090x
*
*/
configuration {
font: "Comfortaa 14";
disable-history: false;
fullscreen: false;
hide-scrollbar: true;
sidebar-mode: false;
}
@import "../../../styles/colors.rasi"
* {
background-color: @background;
text-color: @foreground;
}
window {
transparency: "real";
border-radius: 0px;
location: center;
width: 500px;
x-offset: 0px;
y-offset: 0px;
}
prompt {
enabled: true;
padding: 10px;
background-color: @background-light;
text-color: @accent;
border: 2px 2px 2px 2px;
border-radius: 0px;
border-color: @accent;
}
textbox-prompt-colon {
expand: false;
str: " Volume ";
background-color: @accent;
text-color: @background;
padding: 12px 10px 0px 10px;
}
inputbar {
children: [ textbox-prompt-colon, prompt ];
spacing: 0px;
background-color: @background;
text-color: @foreground;
expand: false;
border: 0px;
border-radius: 0px;
border-color: @accent;
margin: 0px 0px 0px 0px;
padding: 0px;
position: center;
}
listview {
columns: 3;
lines: 1;
spacing: 15px;
cycle: true;
dynamic: true;
layout: vertical;
}
mainbox {
background-color: @background;
children: [ inputbar, listview ];
spacing: 15px;
margin: 40px;
}
element {
background-color: @background-light;
text-color: @foreground;
orientation: vertical;
border-radius: 0px;
}
element-text {
font: "feather 32";
expand: true;
horizontal-align: 0.5;
vertical-align: 0;
margin: 25px 0px 65px 0px;
}
element normal.urgent,
element alternate.urgent {
background-color: @off;
text-color: @background;
border-radius: 0px;
}
element normal.active,
element alternate.active {
background-color: @on;
text-color: @background;
}
element selected {
background-color: @accent;
text-color: @background;
border: 0px;
border-radius: 0px;
border-color: @border;
}
element selected.urgent {
background-color: @on;
text-color: @background;
}
element selected.active {
background-color: @off;
color: @background;
}

View File

@ -0,0 +1,78 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/mpd.rasi"
# Gets the current status of mpd (for us to parse it later on)
status="$(mpc status)"
# Defines the Play / Pause option content
if [[ $status == *"[playing]"* ]]; then
play_pause=""
else
play_pause=""
fi
active=""
urgent=""
# Display if repeat mode is on / off
tog_repeat=""
if [[ $status == *"repeat: on"* ]]; then
active="-a 4"
elif [[ $status == *"repeat: off"* ]]; then
urgent="-u 4"
else
tog_repeat=" Parsing error"
fi
# Display if random mode is on / off
tog_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
tog_random=" Parsing error"
fi
stop=""
next=""
previous=""
# Variable passed to rofi
options="$previous\n$play_pause\n$stop\n$next\n$tog_repeat\n$tog_random"
# Get the current playing song
current=$(mpc -f "%artist% - %title%" current)
# If mpd isn't running it will return an empty string, we don't want to display that
if [[ -z "$current" ]]; then
current="-"
fi
# Spawn the mpd menu with the "Play / Pause" entry selected by default
chosen="$(echo -e "$options" | $rofi_command -p "$current" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$previous)
mpc -q prev && notify-send -u low -t 1800 "$(mpc current)"
;;
$play_pause)
mpc -q toggle && notify-send -u low -t 1800 "$(mpc current)"
;;
$stop)
mpc -q stop
;;
$next)
mpc -q next && notify-send -u low -t 1800 "$(mpc current)"
;;
$tog_repeat)
mpc -q repeat
;;
$tog_random)
mpc -q random
;;
esac

View File

@ -0,0 +1,68 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/network.rasi"
## Get info
IFACE="$(nmcli | grep -i interface | awk '/interface/ {print $2}')"
#SSID="$(iwgetid -r)"
#LIP="$(nmcli | grep -i server | awk '/server/ {print $2}')"
#PIP="$(dig +short myip.opendns.com @resolver1.opendns.com )"
STATUS="$(nmcli radio wifi)"
active=""
urgent=""
if (ping -c 1 archlinux.org || ping -c 1 google.com || ping -c 1 bitbucket.org || ping -c 1 github.com || ping -c 1 sourceforge.net) &>/dev/null; then
if [[ $STATUS == *"enable"* ]]; then
if [[ $IFACE == e* ]]; then
connected=""
else
connected=""
fi
active="-a 0"
SSID="$(iwgetid -r)"
PIP="$(wget --timeout=30 http://ipinfo.io/ip -qO -)"
fi
else
urgent="-u 0"
SSID="Disconnected"
PIP="Not Available"
connected=""
fi
## Icons
bmon=""
launch_cli=""
launch=""
options="$connected\n$bmon\n$launch_cli\n$launch"
## Main
chosen="$(echo -e "$options" | $rofi_command -p "$SSID : $PIP" -dmenu $active $urgent -selected-row 1)"
case $chosen in
$connected)
if [[ $STATUS == *"enable"* ]]; then
nmcli radio wifi off
else
nmcli radio wifi on
fi
;;
$bmon)
termite -e bmon
;;
$launch_cli)
termite -e nmtui
;;
$launch)
nm-connection-editor
;;
esac

View File

@ -0,0 +1,98 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/powermenu.rasi"
uptime=$(uptime -p | sed -e 's/up //g')
cpu=$(sh ~/.config/rofi/bin/usedcpu)
memory=$(sh ~/.config/rofi/bin/usedram)
# Options
shutdown=""
reboot=""
lock=""
suspend=""
logout=""
# Confirmation
confirm_exit() {
rofi -dmenu\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
-theme $HOME/.config/rofi/applets/styles/confirm.rasi
}
# Message
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi
options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
chosen="$(echo -e "$options" | $rofi_command -p "$uptime |  $cpu | ﬙ $memory " -dmenu -selected-row 2)"
case $chosen in
$shutdown)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl poweroff
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$reboot)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
systemctl reboot
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$lock)
if [[ -f /usr/bin/i3lock ]]; then
i3lock
elif [[ -f /usr/bin/betterlockscreen ]]; then
betterlockscreen -l
fi
;;
$suspend)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
mpc -q pause
amixer set Master mute
systemctl suspend
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
$logout)
ans=$(confirm_exit &)
if [[ $ans == "yes" || $ans == "YES" || $ans == "y" || $ans == "Y" ]]; then
if [[ "$DESKTOP_SESSION" == "Openbox" ]]; then
openbox --exit
elif [[ "$DESKTOP_SESSION" == "bspwm" ]]; then
bspc quit
elif [[ "$DESKTOP_SESSION" == "i3" ]]; then
i3-msg exit
fi
elif [[ $ans == "no" || $ans == "NO" || $ans == "n" || $ans == "N" ]]; then
exit 0
else
msg
fi
;;
esac

View File

@ -0,0 +1,62 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/quicklinks.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "$1"
}
# Browser
if [[ -f /usr/bin/firefox ]]; then
app="firefox"
elif [[ -f /usr/bin/chromium ]]; then
app="chromium"
elif [[ -f /usr/bin/midori ]]; then
app="midori"
else
msg "No suitable web browser found!"
exit 1
fi
# Links
google=""
facebook=""
twitter=""
github=""
mail=""
youtube=""
# Variable passed to rofi
options="$google\n$facebook\n$twitter\n$github\n$mail\n$youtube"
chosen="$(echo -e "$options" | $rofi_command -p "Open In : $app" -dmenu -selected-row 0)"
case $chosen in
$google)
$app https://www.google.com &
;;
$facebook)
$app https://www.facebook.com &
;;
$twitter)
$app https://www.twitter.com &
;;
$github)
$app https://www.github.com &
;;
$mail)
$app https://www.gmail.com &
;;
$youtube)
$app https://www.youtube.com &
;;
esac

View File

@ -0,0 +1,50 @@
#!/usr/bin/env bash
## Author : Aditya Shakya
## Mail : adi1090x@gmail.com
## Github : @adi1090x
## Twitter : @adi1090x
style="$($HOME/.config/rofi/applets/menu/style.sh)"
dir="$HOME/.config/rofi/applets/menu/configs/$style"
rofi_command="rofi -theme $dir/screenshot.rasi"
# Error msg
msg() {
rofi -theme "$HOME/.config/rofi/applets/styles/message.rasi" -e "Please install 'scrot' first."
}
# Options
screen=""
area=""
window=""
# Variable passed to rofi
options="$screen\n$area\n$window"
chosen="$(echo -e "$options" | $rofi_command -p 'App : scrot' -dmenu -selected-row 1)"
case $chosen in
$screen)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$area)
if [[ -f /usr/bin/scrot ]]; then
scrot -s 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
$window)
if [[ -f /usr/bin/scrot ]]; then
sleep 1; scrot -u 'Screenshot_%Y-%m-%d-%S_$wx$h.png' -e 'mv $f $$(xdg-user-dir PICTURES) ; viewnior $$(xdg-user-dir PICTURES)/$f'
else
msg
fi
;;
esac

View File

@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Available Styles
# >> Created and tested on : rofi 1.6.0-1
#
# square circle rounded
style="square"
# uncomment these lines to enable random style
#styles=('square' 'circle' 'rounded')
#style="${styles[$(( $RANDOM % 3 ))]}"
# print style name
echo "$style"

Some files were not shown because too many files have changed in this diff Show More