diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml index 6913776..d5a3265 100644 --- a/.config/alacritty/alacritty.yml +++ b/.config/alacritty/alacritty.yml @@ -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' } diff --git a/.config/alacritty/backup.yml b/.config/alacritty/backup.yml new file mode 100644 index 0000000..e851dda --- /dev/null +++ b/.config/alacritty/backup.yml @@ -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 diff --git a/.config/gtk-2.0/gtkfilechooser.ini b/.config/gtk-2.0/gtkfilechooser.ini new file mode 100644 index 0000000..7694304 --- /dev/null +++ b/.config/gtk-2.0/gtkfilechooser.ini @@ -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 diff --git a/.config/gtk-3.0/colors.css b/.config/gtk-3.0/colors.css new file mode 100644 index 0000000..8db6761 --- /dev/null +++ b/.config/gtk-3.0/colors.css @@ -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); diff --git a/.config/gtk-3.0/settings.ini b/.config/gtk-3.0/settings.ini new file mode 100644 index 0000000..cde545b --- /dev/null +++ b/.config/gtk-3.0/settings.ini @@ -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 diff --git a/.config/gtk-4.0/settings.ini b/.config/gtk-4.0/settings.ini new file mode 100644 index 0000000..29322c1 --- /dev/null +++ b/.config/gtk-4.0/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-application-prefer-dark-theme=1 diff --git a/.config/mako/config b/.config/mako/config index 626c1b9..8e7a18e 100644 --- a/.config/mako/config +++ b/.config/mako/config @@ -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] diff --git a/.config/rofi/applets/android/apps.sh b/.config/rofi/applets/android/apps.sh new file mode 100755 index 0000000..466c629 --- /dev/null +++ b/.config/rofi/applets/android/apps.sh @@ -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 + diff --git a/.config/rofi/applets/android/backlight.sh b/.config/rofi/applets/android/backlight.sh new file mode 100755 index 0000000..141b9ae --- /dev/null +++ b/.config/rofi/applets/android/backlight.sh @@ -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 + diff --git a/.config/rofi/applets/android/colors.rasi b/.config/rofi/applets/android/colors.rasi new file mode 100644 index 0000000..5ce46fc --- /dev/null +++ b/.config/rofi/applets/android/colors.rasi @@ -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" diff --git a/.config/rofi/applets/android/confirm.rasi b/.config/rofi/applets/android/confirm.rasi new file mode 100644 index 0000000..970783f --- /dev/null +++ b/.config/rofi/applets/android/confirm.rasi @@ -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; +} diff --git a/.config/rofi/applets/android/five.rasi b/.config/rofi/applets/android/five.rasi new file mode 100644 index 0000000..bcf13fc --- /dev/null +++ b/.config/rofi/applets/android/five.rasi @@ -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; +} diff --git a/.config/rofi/applets/android/message.rasi b/.config/rofi/applets/android/message.rasi new file mode 100644 index 0000000..f35d3a2 --- /dev/null +++ b/.config/rofi/applets/android/message.rasi @@ -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; +} diff --git a/.config/rofi/applets/android/mpd.sh b/.config/rofi/applets/android/mpd.sh new file mode 100755 index 0000000..6f15be0 --- /dev/null +++ b/.config/rofi/applets/android/mpd.sh @@ -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 diff --git a/.config/rofi/applets/android/powermenu.sh b/.config/rofi/applets/android/powermenu.sh new file mode 100755 index 0000000..e28c731 --- /dev/null +++ b/.config/rofi/applets/android/powermenu.sh @@ -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 diff --git a/.config/rofi/applets/android/quicklinks.sh b/.config/rofi/applets/android/quicklinks.sh new file mode 100755 index 0000000..e2ae62f --- /dev/null +++ b/.config/rofi/applets/android/quicklinks.sh @@ -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 + diff --git a/.config/rofi/applets/android/screenshot.sh b/.config/rofi/applets/android/screenshot.sh new file mode 100755 index 0000000..95abe34 --- /dev/null +++ b/.config/rofi/applets/android/screenshot.sh @@ -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 + diff --git a/.config/rofi/applets/android/six.rasi b/.config/rofi/applets/android/six.rasi new file mode 100644 index 0000000..f57394b --- /dev/null +++ b/.config/rofi/applets/android/six.rasi @@ -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; +} diff --git a/.config/rofi/applets/android/three.rasi b/.config/rofi/applets/android/three.rasi new file mode 100644 index 0000000..cdac3de --- /dev/null +++ b/.config/rofi/applets/android/three.rasi @@ -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; +} diff --git a/.config/rofi/applets/android/volume.sh b/.config/rofi/applets/android/volume.sh new file mode 100755 index 0000000..429db8c --- /dev/null +++ b/.config/rofi/applets/android/volume.sh @@ -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 + diff --git a/.config/rofi/applets/applets/apps.sh b/.config/rofi/applets/applets/apps.sh new file mode 100755 index 0000000..f8129ce --- /dev/null +++ b/.config/rofi/applets/applets/apps.sh @@ -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 diff --git a/.config/rofi/applets/applets/backlight.sh b/.config/rofi/applets/applets/backlight.sh new file mode 100755 index 0000000..4bc20f0 --- /dev/null +++ b/.config/rofi/applets/applets/backlight.sh @@ -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 + diff --git a/.config/rofi/applets/applets/battery.sh b/.config/rofi/applets/applets/battery.sh new file mode 100755 index 0000000..8a38ab4 --- /dev/null +++ b/.config/rofi/applets/applets/battery.sh @@ -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 + diff --git a/.config/rofi/applets/applets/configs/circle/apps.rasi b/.config/rofi/applets/applets/configs/circle/apps.rasi new file mode 100644 index 0000000..50c304c --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/apps.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/backlight.rasi b/.config/rofi/applets/applets/configs/circle/backlight.rasi new file mode 100644 index 0000000..f425394 --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/backlight.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/battery.rasi b/.config/rofi/applets/applets/configs/circle/battery.rasi new file mode 100644 index 0000000..613b3e8 --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/battery.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/mpd.rasi b/.config/rofi/applets/applets/configs/circle/mpd.rasi new file mode 100644 index 0000000..c6d90f1 --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/mpd.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/network.rasi b/.config/rofi/applets/applets/configs/circle/network.rasi new file mode 100644 index 0000000..95ca4f6 --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/network.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/powermenu.rasi b/.config/rofi/applets/applets/configs/circle/powermenu.rasi new file mode 100644 index 0000000..3fb72bd --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/powermenu.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/quicklinks.rasi b/.config/rofi/applets/applets/configs/circle/quicklinks.rasi new file mode 100644 index 0000000..3a68738 --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/quicklinks.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/screenshot.rasi b/.config/rofi/applets/applets/configs/circle/screenshot.rasi new file mode 100644 index 0000000..d69f1af --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/screenshot.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/time.rasi b/.config/rofi/applets/applets/configs/circle/time.rasi new file mode 100644 index 0000000..27ce99e --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/time.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/circle/volume.rasi b/.config/rofi/applets/applets/configs/circle/volume.rasi new file mode 100644 index 0000000..66cc4b9 --- /dev/null +++ b/.config/rofi/applets/applets/configs/circle/volume.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/apps.rasi b/.config/rofi/applets/applets/configs/rounded/apps.rasi new file mode 100644 index 0000000..d76bfff --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/apps.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/backlight.rasi b/.config/rofi/applets/applets/configs/rounded/backlight.rasi new file mode 100644 index 0000000..e898df8 --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/backlight.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/battery.rasi b/.config/rofi/applets/applets/configs/rounded/battery.rasi new file mode 100644 index 0000000..8a5f409 --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/battery.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/mpd.rasi b/.config/rofi/applets/applets/configs/rounded/mpd.rasi new file mode 100644 index 0000000..f6dc27d --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/mpd.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/network.rasi b/.config/rofi/applets/applets/configs/rounded/network.rasi new file mode 100644 index 0000000..b083893 --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/network.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/powermenu.rasi b/.config/rofi/applets/applets/configs/rounded/powermenu.rasi new file mode 100644 index 0000000..1842292 --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/powermenu.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/quicklinks.rasi b/.config/rofi/applets/applets/configs/rounded/quicklinks.rasi new file mode 100644 index 0000000..95da05d --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/quicklinks.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/screenshot.rasi b/.config/rofi/applets/applets/configs/rounded/screenshot.rasi new file mode 100644 index 0000000..308186d --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/screenshot.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/time.rasi b/.config/rofi/applets/applets/configs/rounded/time.rasi new file mode 100644 index 0000000..d4241c0 --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/time.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/rounded/volume.rasi b/.config/rofi/applets/applets/configs/rounded/volume.rasi new file mode 100644 index 0000000..658fc15 --- /dev/null +++ b/.config/rofi/applets/applets/configs/rounded/volume.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/apps.rasi b/.config/rofi/applets/applets/configs/square/apps.rasi new file mode 100644 index 0000000..ca4aaf9 --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/apps.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/backlight.rasi b/.config/rofi/applets/applets/configs/square/backlight.rasi new file mode 100644 index 0000000..546cda9 --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/backlight.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/battery.rasi b/.config/rofi/applets/applets/configs/square/battery.rasi new file mode 100644 index 0000000..0b3017c --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/battery.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/mpd.rasi b/.config/rofi/applets/applets/configs/square/mpd.rasi new file mode 100644 index 0000000..66658d7 --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/mpd.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/network.rasi b/.config/rofi/applets/applets/configs/square/network.rasi new file mode 100644 index 0000000..d30db77 --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/network.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/powermenu.rasi b/.config/rofi/applets/applets/configs/square/powermenu.rasi new file mode 100644 index 0000000..ed1a48f --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/powermenu.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/quicklinks.rasi b/.config/rofi/applets/applets/configs/square/quicklinks.rasi new file mode 100644 index 0000000..0817a17 --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/quicklinks.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/screenshot.rasi b/.config/rofi/applets/applets/configs/square/screenshot.rasi new file mode 100644 index 0000000..85d5b4c --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/screenshot.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/time.rasi b/.config/rofi/applets/applets/configs/square/time.rasi new file mode 100644 index 0000000..fd0836c --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/time.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/configs/square/volume.rasi b/.config/rofi/applets/applets/configs/square/volume.rasi new file mode 100644 index 0000000..74eaaf6 --- /dev/null +++ b/.config/rofi/applets/applets/configs/square/volume.rasi @@ -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; +} diff --git a/.config/rofi/applets/applets/mpd.sh b/.config/rofi/applets/applets/mpd.sh new file mode 100755 index 0000000..d1f3d2b --- /dev/null +++ b/.config/rofi/applets/applets/mpd.sh @@ -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 diff --git a/.config/rofi/applets/applets/network.sh b/.config/rofi/applets/applets/network.sh new file mode 100755 index 0000000..260eddb --- /dev/null +++ b/.config/rofi/applets/applets/network.sh @@ -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 + diff --git a/.config/rofi/applets/applets/powermenu.sh b/.config/rofi/applets/applets/powermenu.sh new file mode 100755 index 0000000..75d58c7 --- /dev/null +++ b/.config/rofi/applets/applets/powermenu.sh @@ -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 diff --git a/.config/rofi/applets/applets/quicklinks.sh b/.config/rofi/applets/applets/quicklinks.sh new file mode 100755 index 0000000..e736b71 --- /dev/null +++ b/.config/rofi/applets/applets/quicklinks.sh @@ -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 + diff --git a/.config/rofi/applets/applets/screenshot.sh b/.config/rofi/applets/applets/screenshot.sh new file mode 100755 index 0000000..f614599 --- /dev/null +++ b/.config/rofi/applets/applets/screenshot.sh @@ -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 + diff --git a/.config/rofi/applets/applets/style.sh b/.config/rofi/applets/applets/style.sh new file mode 100755 index 0000000..68b9668 --- /dev/null +++ b/.config/rofi/applets/applets/style.sh @@ -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" diff --git a/.config/rofi/applets/applets/time.sh b/.config/rofi/applets/applets/time.sh new file mode 100755 index 0000000..b8e7e8c --- /dev/null +++ b/.config/rofi/applets/applets/time.sh @@ -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)" diff --git a/.config/rofi/applets/applets/volume.sh b/.config/rofi/applets/applets/volume.sh new file mode 100755 index 0000000..7be3242 --- /dev/null +++ b/.config/rofi/applets/applets/volume.sh @@ -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 + diff --git a/.config/rofi/applets/menu/apps.sh b/.config/rofi/applets/menu/apps.sh new file mode 100755 index 0000000..b5dd989 --- /dev/null +++ b/.config/rofi/applets/menu/apps.sh @@ -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 diff --git a/.config/rofi/applets/menu/backlight.sh b/.config/rofi/applets/menu/backlight.sh new file mode 100755 index 0000000..144c76c --- /dev/null +++ b/.config/rofi/applets/menu/backlight.sh @@ -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 + diff --git a/.config/rofi/applets/menu/battery.sh b/.config/rofi/applets/menu/battery.sh new file mode 100755 index 0000000..c279794 --- /dev/null +++ b/.config/rofi/applets/menu/battery.sh @@ -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 + diff --git a/.config/rofi/applets/menu/configs/circle/apps.rasi b/.config/rofi/applets/menu/configs/circle/apps.rasi new file mode 100644 index 0000000..ba22543 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/apps.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/backlight.rasi b/.config/rofi/applets/menu/configs/circle/backlight.rasi new file mode 100644 index 0000000..8387b32 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/backlight.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/battery.rasi b/.config/rofi/applets/menu/configs/circle/battery.rasi new file mode 100644 index 0000000..8b4a0c2 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/battery.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/mpd.rasi b/.config/rofi/applets/menu/configs/circle/mpd.rasi new file mode 100644 index 0000000..b1c6716 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/mpd.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/network.rasi b/.config/rofi/applets/menu/configs/circle/network.rasi new file mode 100644 index 0000000..49263b6 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/network.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/powermenu.rasi b/.config/rofi/applets/menu/configs/circle/powermenu.rasi new file mode 100644 index 0000000..029f613 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/powermenu.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/quicklinks.rasi b/.config/rofi/applets/menu/configs/circle/quicklinks.rasi new file mode 100644 index 0000000..64a58ba --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/quicklinks.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/screenshot.rasi b/.config/rofi/applets/menu/configs/circle/screenshot.rasi new file mode 100644 index 0000000..790e927 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/screenshot.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/time.rasi b/.config/rofi/applets/menu/configs/circle/time.rasi new file mode 100644 index 0000000..7dead61 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/time.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/circle/volume.rasi b/.config/rofi/applets/menu/configs/circle/volume.rasi new file mode 100644 index 0000000..59c9d46 --- /dev/null +++ b/.config/rofi/applets/menu/configs/circle/volume.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/apps.rasi b/.config/rofi/applets/menu/configs/rounded/apps.rasi new file mode 100644 index 0000000..e8435de --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/apps.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/backlight.rasi b/.config/rofi/applets/menu/configs/rounded/backlight.rasi new file mode 100644 index 0000000..ef6549f --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/backlight.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/battery.rasi b/.config/rofi/applets/menu/configs/rounded/battery.rasi new file mode 100644 index 0000000..85cb2db --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/battery.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/mpd.rasi b/.config/rofi/applets/menu/configs/rounded/mpd.rasi new file mode 100644 index 0000000..7a2063b --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/mpd.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/network.rasi b/.config/rofi/applets/menu/configs/rounded/network.rasi new file mode 100644 index 0000000..ab1bc02 --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/network.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/powermenu.rasi b/.config/rofi/applets/menu/configs/rounded/powermenu.rasi new file mode 100644 index 0000000..28910f0 --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/powermenu.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/quicklinks.rasi b/.config/rofi/applets/menu/configs/rounded/quicklinks.rasi new file mode 100644 index 0000000..e3f65d8 --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/quicklinks.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/screenshot.rasi b/.config/rofi/applets/menu/configs/rounded/screenshot.rasi new file mode 100644 index 0000000..e8efd03 --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/screenshot.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/time.rasi b/.config/rofi/applets/menu/configs/rounded/time.rasi new file mode 100644 index 0000000..a033820 --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/time.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/rounded/volume.rasi b/.config/rofi/applets/menu/configs/rounded/volume.rasi new file mode 100644 index 0000000..fe1737c --- /dev/null +++ b/.config/rofi/applets/menu/configs/rounded/volume.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/apps.rasi b/.config/rofi/applets/menu/configs/square/apps.rasi new file mode 100644 index 0000000..4561d46 --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/apps.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/backlight.rasi b/.config/rofi/applets/menu/configs/square/backlight.rasi new file mode 100644 index 0000000..213446d --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/backlight.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/battery.rasi b/.config/rofi/applets/menu/configs/square/battery.rasi new file mode 100644 index 0000000..ddfbc4f --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/battery.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/mpd.rasi b/.config/rofi/applets/menu/configs/square/mpd.rasi new file mode 100644 index 0000000..bbaa763 --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/mpd.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/network.rasi b/.config/rofi/applets/menu/configs/square/network.rasi new file mode 100644 index 0000000..3464a6f --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/network.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/powermenu.rasi b/.config/rofi/applets/menu/configs/square/powermenu.rasi new file mode 100644 index 0000000..958db5a --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/powermenu.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/quicklinks.rasi b/.config/rofi/applets/menu/configs/square/quicklinks.rasi new file mode 100644 index 0000000..0da3bff --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/quicklinks.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/screenshot.rasi b/.config/rofi/applets/menu/configs/square/screenshot.rasi new file mode 100644 index 0000000..a7b46d4 --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/screenshot.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/time.rasi b/.config/rofi/applets/menu/configs/square/time.rasi new file mode 100644 index 0000000..35ab8d5 --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/time.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/configs/square/volume.rasi b/.config/rofi/applets/menu/configs/square/volume.rasi new file mode 100644 index 0000000..1f8ab28 --- /dev/null +++ b/.config/rofi/applets/menu/configs/square/volume.rasi @@ -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; +} diff --git a/.config/rofi/applets/menu/mpd.sh b/.config/rofi/applets/menu/mpd.sh new file mode 100755 index 0000000..3eb5498 --- /dev/null +++ b/.config/rofi/applets/menu/mpd.sh @@ -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 diff --git a/.config/rofi/applets/menu/network.sh b/.config/rofi/applets/menu/network.sh new file mode 100755 index 0000000..6e50332 --- /dev/null +++ b/.config/rofi/applets/menu/network.sh @@ -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 + diff --git a/.config/rofi/applets/menu/powermenu.sh b/.config/rofi/applets/menu/powermenu.sh new file mode 100755 index 0000000..9755d64 --- /dev/null +++ b/.config/rofi/applets/menu/powermenu.sh @@ -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 diff --git a/.config/rofi/applets/menu/quicklinks.sh b/.config/rofi/applets/menu/quicklinks.sh new file mode 100755 index 0000000..c2f0495 --- /dev/null +++ b/.config/rofi/applets/menu/quicklinks.sh @@ -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 + diff --git a/.config/rofi/applets/menu/screenshot.sh b/.config/rofi/applets/menu/screenshot.sh new file mode 100755 index 0000000..24c5e1b --- /dev/null +++ b/.config/rofi/applets/menu/screenshot.sh @@ -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 + diff --git a/.config/rofi/applets/menu/style.sh b/.config/rofi/applets/menu/style.sh new file mode 100755 index 0000000..68b9668 --- /dev/null +++ b/.config/rofi/applets/menu/style.sh @@ -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" diff --git a/.config/rofi/applets/menu/time.sh b/.config/rofi/applets/menu/time.sh new file mode 100755 index 0000000..4432676 --- /dev/null +++ b/.config/rofi/applets/menu/time.sh @@ -0,0 +1,24 @@ +#!/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/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 " at $TIME on $DN in $MN" -dmenu -selected-row 1)" diff --git a/.config/rofi/applets/menu/volume.sh b/.config/rofi/applets/menu/volume.sh new file mode 100755 index 0000000..7e4a0d8 --- /dev/null +++ b/.config/rofi/applets/menu/volume.sh @@ -0,0 +1,58 @@ +#!/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/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 + diff --git a/.config/rofi/applets/styles/adapta-nokto.rasi b/.config/rofi/applets/styles/adapta-nokto.rasi new file mode 100644 index 0000000..3c4ef95 --- /dev/null +++ b/.config/rofi/applets/styles/adapta-nokto.rasi @@ -0,0 +1,8 @@ +* { + accent: #00BCD4; + background: #263238; + background-light: #293840; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/applets/styles/adapta.rasi b/.config/rofi/applets/styles/adapta.rasi new file mode 100644 index 0000000..c1c9999 --- /dev/null +++ b/.config/rofi/applets/styles/adapta.rasi @@ -0,0 +1,8 @@ +* { + accent: #00ADC2; + background: #FFFFFF; + background-light: #E7E7E7; + foreground: #535353; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/applets/styles/adwaita.rasi b/.config/rofi/applets/styles/adwaita.rasi new file mode 100644 index 0000000..81cd482 --- /dev/null +++ b/.config/rofi/applets/styles/adwaita.rasi @@ -0,0 +1,8 @@ +* { + accent: #2E6BB6; + background: #2D2D2D; + background-light: #353535; + foreground: #E7E8EB; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/applets/styles/arc-dark.rasi b/.config/rofi/applets/styles/arc-dark.rasi new file mode 100644 index 0000000..41f775f --- /dev/null +++ b/.config/rofi/applets/styles/arc-dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #6BA0DE; + background: #383C4A; + background-light: #404552; + foreground: #E4E4E4; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/applets/styles/arc.rasi b/.config/rofi/applets/styles/arc.rasi new file mode 100644 index 0000000..a5c211b --- /dev/null +++ b/.config/rofi/applets/styles/arc.rasi @@ -0,0 +1,8 @@ +* { + accent: #5294E2; + background: #FFFFFF; + background-light: #E7E8EB; + foreground: #333333; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/applets/styles/armchair.rasi b/.config/rofi/applets/styles/armchair.rasi new file mode 100644 index 0000000..93a9e2f --- /dev/null +++ b/.config/rofi/applets/styles/armchair.rasi @@ -0,0 +1,8 @@ +* { + accent: #E85A50; + background: #EAE8DC; + background-light: #E4D9C8; + foreground: #8E8D89; + on: #66bb6a; + off: #F68887; +} diff --git a/.config/rofi/applets/styles/colors.rasi b/.config/rofi/applets/styles/colors.rasi new file mode 100644 index 0000000..f9043a3 --- /dev/null +++ b/.config/rofi/applets/styles/colors.rasi @@ -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 "dark.rasi" diff --git a/.config/rofi/applets/styles/confirm.rasi b/.config/rofi/applets/styles/confirm.rasi new file mode 100644 index 0000000..79a4be2 --- /dev/null +++ b/.config/rofi/applets/styles/confirm.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Comfortaa 12"; +} + +window { + width: 225px; + padding: 25px; + border: 0px; + border-radius: 0px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/.config/rofi/applets/styles/dark.rasi b/.config/rofi/applets/styles/dark.rasi new file mode 100644 index 0000000..162207b --- /dev/null +++ b/.config/rofi/applets/styles/dark.rasi @@ -0,0 +1,8 @@ +* { + accent: #A9C03F; + background: #141c21; + background-light: #1C252A; + foreground: #93a1a1; + on: #5BB462; + off: #DE635E; +} diff --git a/.config/rofi/applets/styles/darkpink.rasi b/.config/rofi/applets/styles/darkpink.rasi new file mode 100644 index 0000000..3bae851 --- /dev/null +++ b/.config/rofi/applets/styles/darkpink.rasi @@ -0,0 +1,8 @@ +* { + accent: #F75176; + background: #414656; + background-light: #4B5060; + foreground: #F2F7E3; + on: #CDF0D9; + off: #FF796A; +} diff --git a/.config/rofi/applets/styles/fresh.rasi b/.config/rofi/applets/styles/fresh.rasi new file mode 100644 index 0000000..a19ceb1 --- /dev/null +++ b/.config/rofi/applets/styles/fresh.rasi @@ -0,0 +1,8 @@ +* { + accent: #043968; + background: #5CDB94; + background-light: #59C78A; + foreground: #303030; + on: #2e7d32; + off: #d32f2f; +} diff --git a/.config/rofi/applets/styles/gruvbox.rasi b/.config/rofi/applets/styles/gruvbox.rasi new file mode 100644 index 0000000..9f686f0 --- /dev/null +++ b/.config/rofi/applets/styles/gruvbox.rasi @@ -0,0 +1,8 @@ +* { + accent: #83a598; + background: #282828; + background-light: #303030; + foreground: #ebdbb2; + on: #44ad4d; + off: #fb4934; +} diff --git a/.config/rofi/applets/styles/inside.rasi b/.config/rofi/applets/styles/inside.rasi new file mode 100644 index 0000000..8436894 --- /dev/null +++ b/.config/rofi/applets/styles/inside.rasi @@ -0,0 +1,8 @@ +* { + accent: #C7493A; + background: #151515; + background-light: #202020; + foreground: #AD8174; + on: #689775; + off: #A33327; +} diff --git a/.config/rofi/applets/styles/material-dark/amber.rasi b/.config/rofi/applets/styles/material-dark/amber.rasi new file mode 100644 index 0000000..14cbfcd --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffc107; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/blue.rasi b/.config/rofi/applets/styles/material-dark/blue.rasi new file mode 100644 index 0000000..821e449 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1e88e5; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/blue_grey.rasi b/.config/rofi/applets/styles/material-dark/blue_grey.rasi new file mode 100644 index 0000000..d810c0d --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/blue_grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #607d8b; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/brown.rasi b/.config/rofi/applets/styles/material-dark/brown.rasi new file mode 100644 index 0000000..edf7633 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #8d6e63; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/cyan.rasi b/.config/rofi/applets/styles/material-dark/cyan.rasi new file mode 100644 index 0000000..8de289c --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #26c6da; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/deep_orange.rasi b/.config/rofi/applets/styles/material-dark/deep_orange.rasi new file mode 100644 index 0000000..6c061b3 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/deep_orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff5722; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/deep_purple.rasi b/.config/rofi/applets/styles/material-dark/deep_purple.rasi new file mode 100644 index 0000000..d30571e --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/deep_purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #7e57c2; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/green.rasi b/.config/rofi/applets/styles/material-dark/green.rasi new file mode 100644 index 0000000..674280b --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #4caf50; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #a5d6a7; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/grey.rasi b/.config/rofi/applets/styles/material-dark/grey.rasi new file mode 100644 index 0000000..6c5e57c --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #9e9e9e; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/indigo.rasi b/.config/rofi/applets/styles/material-dark/indigo.rasi new file mode 100644 index 0000000..8f89719 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #5c6bc0; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/light_blue.rasi b/.config/rofi/applets/styles/material-dark/light_blue.rasi new file mode 100644 index 0000000..d3f4e1b --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/light_blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #039be5; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/light_green.rasi b/.config/rofi/applets/styles/material-dark/light_green.rasi new file mode 100644 index 0000000..5afdf7a --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/light_green.rasi @@ -0,0 +1,8 @@ +* { + accent: #8bc34a; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #4caf50; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/lime.rasi b/.config/rofi/applets/styles/material-dark/lime.rasi new file mode 100644 index 0000000..c32550e --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #cddc39; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/orange.rasi b/.config/rofi/applets/styles/material-dark/orange.rasi new file mode 100644 index 0000000..2f26952 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff9800; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/pink.rasi b/.config/rofi/applets/styles/material-dark/pink.rasi new file mode 100644 index 0000000..ef7a0af --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #ec407a; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/purple.rasi b/.config/rofi/applets/styles/material-dark/purple.rasi new file mode 100644 index 0000000..a1dd6d4 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #ab47bc; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/red.rasi b/.config/rofi/applets/styles/material-dark/red.rasi new file mode 100644 index 0000000..f5d3862 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef5350; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef9a9a; +} diff --git a/.config/rofi/applets/styles/material-dark/teal.rasi b/.config/rofi/applets/styles/material-dark/teal.rasi new file mode 100644 index 0000000..e6cdb73 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #009688; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-dark/yellow.rasi b/.config/rofi/applets/styles/material-dark/yellow.rasi new file mode 100644 index 0000000..d2788b0 --- /dev/null +++ b/.config/rofi/applets/styles/material-dark/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #ffeb3b; + background: #212121; + background-light: #272727; + foreground: #bdbdbd; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/amber.rasi b/.config/rofi/applets/styles/material-light/amber.rasi new file mode 100644 index 0000000..c02ae2a --- /dev/null +++ b/.config/rofi/applets/styles/material-light/amber.rasi @@ -0,0 +1,8 @@ +* { + accent: #ff8f00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/blue.rasi b/.config/rofi/applets/styles/material-light/blue.rasi new file mode 100644 index 0000000..780663e --- /dev/null +++ b/.config/rofi/applets/styles/material-light/blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #1565c0; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/blue_grey.rasi b/.config/rofi/applets/styles/material-light/blue_grey.rasi new file mode 100644 index 0000000..8e15a53 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/blue_grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #607d8b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/brown.rasi b/.config/rofi/applets/styles/material-light/brown.rasi new file mode 100644 index 0000000..3f7d39f --- /dev/null +++ b/.config/rofi/applets/styles/material-light/brown.rasi @@ -0,0 +1,8 @@ +* { + accent: #795548; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/cyan.rasi b/.config/rofi/applets/styles/material-light/cyan.rasi new file mode 100644 index 0000000..d879af0 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/cyan.rasi @@ -0,0 +1,8 @@ +* { + accent: #00acc1; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/deep_orange.rasi b/.config/rofi/applets/styles/material-light/deep_orange.rasi new file mode 100644 index 0000000..23f5815 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/deep_orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #f4511e; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/deep_purple.rasi b/.config/rofi/applets/styles/material-light/deep_purple.rasi new file mode 100644 index 0000000..cc5ec7d --- /dev/null +++ b/.config/rofi/applets/styles/material-light/deep_purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #5e35b1; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/green.rasi b/.config/rofi/applets/styles/material-light/green.rasi new file mode 100644 index 0000000..f476e01 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/green.rasi @@ -0,0 +1,8 @@ +* { + accent: #43a047; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/grey.rasi b/.config/rofi/applets/styles/material-light/grey.rasi new file mode 100644 index 0000000..6936929 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/grey.rasi @@ -0,0 +1,8 @@ +* { + accent: #555555; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/indigo.rasi b/.config/rofi/applets/styles/material-light/indigo.rasi new file mode 100644 index 0000000..f0508c3 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/indigo.rasi @@ -0,0 +1,8 @@ +* { + accent: #3949ab; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/light_blue.rasi b/.config/rofi/applets/styles/material-light/light_blue.rasi new file mode 100644 index 0000000..a0db87a --- /dev/null +++ b/.config/rofi/applets/styles/material-light/light_blue.rasi @@ -0,0 +1,8 @@ +* { + accent: #039be5; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/light_green.rasi b/.config/rofi/applets/styles/material-light/light_green.rasi new file mode 100644 index 0000000..0e33cef --- /dev/null +++ b/.config/rofi/applets/styles/material-light/light_green.rasi @@ -0,0 +1,8 @@ +* { + accent: #558b2f; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/lime.rasi b/.config/rofi/applets/styles/material-light/lime.rasi new file mode 100644 index 0000000..044eb62 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/lime.rasi @@ -0,0 +1,8 @@ +* { + accent: #afb42b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/orange.rasi b/.config/rofi/applets/styles/material-light/orange.rasi new file mode 100644 index 0000000..072c9e2 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/orange.rasi @@ -0,0 +1,8 @@ +* { + accent: #ef6c00; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/pink.rasi b/.config/rofi/applets/styles/material-light/pink.rasi new file mode 100644 index 0000000..e17d94d --- /dev/null +++ b/.config/rofi/applets/styles/material-light/pink.rasi @@ -0,0 +1,8 @@ +* { + accent: #d81b60; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/purple.rasi b/.config/rofi/applets/styles/material-light/purple.rasi new file mode 100644 index 0000000..fa95bb9 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/purple.rasi @@ -0,0 +1,8 @@ +* { + accent: #8e24aa; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/red.rasi b/.config/rofi/applets/styles/material-light/red.rasi new file mode 100644 index 0000000..d3ebcc0 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/red.rasi @@ -0,0 +1,8 @@ +* { + accent: #d32f2f; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/teal.rasi b/.config/rofi/applets/styles/material-light/teal.rasi new file mode 100644 index 0000000..b137892 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/teal.rasi @@ -0,0 +1,8 @@ +* { + accent: #00796b; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/material-light/yellow.rasi b/.config/rofi/applets/styles/material-light/yellow.rasi new file mode 100644 index 0000000..8f68244 --- /dev/null +++ b/.config/rofi/applets/styles/material-light/yellow.rasi @@ -0,0 +1,8 @@ +* { + accent: #f9a825; + background: #f5f5f5; + background-light: #e0e0e0; + foreground: #424242; + on: #66bb6a; + off: #ef5350; +} diff --git a/.config/rofi/applets/styles/message.rasi b/.config/rofi/applets/styles/message.rasi new file mode 100644 index 0000000..69d5b07 --- /dev/null +++ b/.config/rofi/applets/styles/message.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "Comfortaa 12"; +} + +window { + width: 360px; + padding: 25px; + border: 0px; + border-radius: 0px; + border-color: @accent; + location: center; + y-offset: -20px; +} + +entry { + expand: true; + text-color: @accent; +} diff --git a/.config/rofi/applets/styles/minimo.rasi b/.config/rofi/applets/styles/minimo.rasi new file mode 100644 index 0000000..b6fa284 --- /dev/null +++ b/.config/rofi/applets/styles/minimo.rasi @@ -0,0 +1,8 @@ +* { + accent: #656565; + background: #C6C6C4; + background-light: #FFFFFF; + foreground: #909090; + on: #226827; + off: #682226; +} diff --git a/.config/rofi/applets/styles/party.rasi b/.config/rofi/applets/styles/party.rasi new file mode 100644 index 0000000..d8ea9af --- /dev/null +++ b/.config/rofi/applets/styles/party.rasi @@ -0,0 +1,8 @@ +* { + accent: #FFE401; + background: #272727; + background-light: #323232; + foreground: #747474; + on: #13A76B; + off: #FF652F; +} diff --git a/.config/rofi/applets/styles/sirin.rasi b/.config/rofi/applets/styles/sirin.rasi new file mode 100644 index 0000000..302cbce --- /dev/null +++ b/.config/rofi/applets/styles/sirin.rasi @@ -0,0 +1,8 @@ +* { + accent: #106466; + background: #FFCB9B; + background-light: #D8B08C; + foreground: #2C3532; + on: #43a047; + off: #ef5350; +} diff --git a/.config/rofi/bin/android_apps b/.config/rofi/bin/android_apps new file mode 120000 index 0000000..7b11b66 --- /dev/null +++ b/.config/rofi/bin/android_apps @@ -0,0 +1 @@ +../applets/android/apps.sh \ No newline at end of file diff --git a/.config/rofi/bin/android_backlight b/.config/rofi/bin/android_backlight new file mode 120000 index 0000000..9de32b8 --- /dev/null +++ b/.config/rofi/bin/android_backlight @@ -0,0 +1 @@ +../applets/android/backlight.sh \ No newline at end of file diff --git a/.config/rofi/bin/android_mpd b/.config/rofi/bin/android_mpd new file mode 120000 index 0000000..1f16126 --- /dev/null +++ b/.config/rofi/bin/android_mpd @@ -0,0 +1 @@ +../applets/android/mpd.sh \ No newline at end of file diff --git a/.config/rofi/bin/android_powermenu b/.config/rofi/bin/android_powermenu new file mode 120000 index 0000000..7d66a76 --- /dev/null +++ b/.config/rofi/bin/android_powermenu @@ -0,0 +1 @@ +../applets/android/powermenu.sh \ No newline at end of file diff --git a/.config/rofi/bin/android_quicklinks b/.config/rofi/bin/android_quicklinks new file mode 120000 index 0000000..7d44c74 --- /dev/null +++ b/.config/rofi/bin/android_quicklinks @@ -0,0 +1 @@ +../applets/android/quicklinks.sh \ No newline at end of file diff --git a/.config/rofi/bin/android_screenshot b/.config/rofi/bin/android_screenshot new file mode 120000 index 0000000..1bd8694 --- /dev/null +++ b/.config/rofi/bin/android_screenshot @@ -0,0 +1 @@ +../applets/android/screenshot.sh \ No newline at end of file diff --git a/.config/rofi/bin/android_volume b/.config/rofi/bin/android_volume new file mode 120000 index 0000000..33bcea2 --- /dev/null +++ b/.config/rofi/bin/android_volume @@ -0,0 +1 @@ +../applets/android/volume.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_apps b/.config/rofi/bin/applet_apps new file mode 120000 index 0000000..0cbf8f8 --- /dev/null +++ b/.config/rofi/bin/applet_apps @@ -0,0 +1 @@ +../applets/applets/apps.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_backlight b/.config/rofi/bin/applet_backlight new file mode 120000 index 0000000..0663ec3 --- /dev/null +++ b/.config/rofi/bin/applet_backlight @@ -0,0 +1 @@ +../applets/applets/backlight.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_battery b/.config/rofi/bin/applet_battery new file mode 120000 index 0000000..4b660cb --- /dev/null +++ b/.config/rofi/bin/applet_battery @@ -0,0 +1 @@ +../applets/applets/battery.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_mpd b/.config/rofi/bin/applet_mpd new file mode 120000 index 0000000..2a55e5f --- /dev/null +++ b/.config/rofi/bin/applet_mpd @@ -0,0 +1 @@ +../applets/applets/mpd.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_network b/.config/rofi/bin/applet_network new file mode 120000 index 0000000..cecf37c --- /dev/null +++ b/.config/rofi/bin/applet_network @@ -0,0 +1 @@ +../applets/applets/network.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_powermenu b/.config/rofi/bin/applet_powermenu new file mode 120000 index 0000000..0a0635d --- /dev/null +++ b/.config/rofi/bin/applet_powermenu @@ -0,0 +1 @@ +../applets/applets/powermenu.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_quicklinks b/.config/rofi/bin/applet_quicklinks new file mode 120000 index 0000000..319e0b2 --- /dev/null +++ b/.config/rofi/bin/applet_quicklinks @@ -0,0 +1 @@ +../applets/applets/quicklinks.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_screenshot b/.config/rofi/bin/applet_screenshot new file mode 120000 index 0000000..3107901 --- /dev/null +++ b/.config/rofi/bin/applet_screenshot @@ -0,0 +1 @@ +../applets/applets/screenshot.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_time b/.config/rofi/bin/applet_time new file mode 120000 index 0000000..0565f05 --- /dev/null +++ b/.config/rofi/bin/applet_time @@ -0,0 +1 @@ +../applets/applets/time.sh \ No newline at end of file diff --git a/.config/rofi/bin/applet_volume b/.config/rofi/bin/applet_volume new file mode 120000 index 0000000..493275a --- /dev/null +++ b/.config/rofi/bin/applet_volume @@ -0,0 +1 @@ +../applets/applets/volume.sh \ No newline at end of file diff --git a/.config/rofi/bin/launcher_colorful b/.config/rofi/bin/launcher_colorful new file mode 120000 index 0000000..8e48b54 --- /dev/null +++ b/.config/rofi/bin/launcher_colorful @@ -0,0 +1 @@ +../launchers/colorful/launcher.sh \ No newline at end of file diff --git a/.config/rofi/bin/launcher_misc b/.config/rofi/bin/launcher_misc new file mode 120000 index 0000000..ff3f68f --- /dev/null +++ b/.config/rofi/bin/launcher_misc @@ -0,0 +1 @@ +../launchers/misc/launcher.sh \ No newline at end of file diff --git a/.config/rofi/bin/launcher_ribbon b/.config/rofi/bin/launcher_ribbon new file mode 120000 index 0000000..925a1a8 --- /dev/null +++ b/.config/rofi/bin/launcher_ribbon @@ -0,0 +1 @@ +../launchers/ribbon/launcher.sh \ No newline at end of file diff --git a/.config/rofi/bin/launcher_slate b/.config/rofi/bin/launcher_slate new file mode 120000 index 0000000..d409300 --- /dev/null +++ b/.config/rofi/bin/launcher_slate @@ -0,0 +1 @@ +../launchers/slate/launcher.sh \ No newline at end of file diff --git a/.config/rofi/bin/launcher_text b/.config/rofi/bin/launcher_text new file mode 120000 index 0000000..65eac28 --- /dev/null +++ b/.config/rofi/bin/launcher_text @@ -0,0 +1 @@ +../launchers/text/launcher.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_apps b/.config/rofi/bin/menu_apps new file mode 120000 index 0000000..a07c955 --- /dev/null +++ b/.config/rofi/bin/menu_apps @@ -0,0 +1 @@ +../applets/menu/apps.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_backlight b/.config/rofi/bin/menu_backlight new file mode 120000 index 0000000..18eea2f --- /dev/null +++ b/.config/rofi/bin/menu_backlight @@ -0,0 +1 @@ +../applets/menu/backlight.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_battery b/.config/rofi/bin/menu_battery new file mode 120000 index 0000000..10f11b5 --- /dev/null +++ b/.config/rofi/bin/menu_battery @@ -0,0 +1 @@ +../applets/menu/battery.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_mpd b/.config/rofi/bin/menu_mpd new file mode 120000 index 0000000..b3e204b --- /dev/null +++ b/.config/rofi/bin/menu_mpd @@ -0,0 +1 @@ +../applets/menu/mpd.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_network b/.config/rofi/bin/menu_network new file mode 120000 index 0000000..2c4c1d9 --- /dev/null +++ b/.config/rofi/bin/menu_network @@ -0,0 +1 @@ +../applets/menu/network.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_powermenu b/.config/rofi/bin/menu_powermenu new file mode 120000 index 0000000..da40a0b --- /dev/null +++ b/.config/rofi/bin/menu_powermenu @@ -0,0 +1 @@ +../applets/menu/powermenu.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_quicklinks b/.config/rofi/bin/menu_quicklinks new file mode 120000 index 0000000..e873658 --- /dev/null +++ b/.config/rofi/bin/menu_quicklinks @@ -0,0 +1 @@ +../applets/menu/quicklinks.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_screenshot b/.config/rofi/bin/menu_screenshot new file mode 120000 index 0000000..8c4b92d --- /dev/null +++ b/.config/rofi/bin/menu_screenshot @@ -0,0 +1 @@ +../applets/menu/screenshot.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_time b/.config/rofi/bin/menu_time new file mode 120000 index 0000000..a7d56c1 --- /dev/null +++ b/.config/rofi/bin/menu_time @@ -0,0 +1 @@ +../applets/menu/time.sh \ No newline at end of file diff --git a/.config/rofi/bin/menu_volume b/.config/rofi/bin/menu_volume new file mode 120000 index 0000000..b0f235a --- /dev/null +++ b/.config/rofi/bin/menu_volume @@ -0,0 +1 @@ +../applets/menu/volume.sh \ No newline at end of file diff --git a/.config/rofi/bin/powermenu b/.config/rofi/bin/powermenu new file mode 120000 index 0000000..d9f9d95 --- /dev/null +++ b/.config/rofi/bin/powermenu @@ -0,0 +1 @@ +../powermenu/powermenu.sh \ No newline at end of file diff --git a/.config/rofi/bin/usedcpu b/.config/rofi/bin/usedcpu new file mode 100755 index 0000000..512933c --- /dev/null +++ b/.config/rofi/bin/usedcpu @@ -0,0 +1,45 @@ +#!/usr/bin/env bash + +PREV_TOTAL=0 +PREV_IDLE=0 + +cpuFile="/tmp/.cpu" + +if [[ -f "${cpuFile}" ]]; then + fileCont=$(cat "${cpuFile}") + PREV_TOTAL=$(echo "${fileCont}" | head -n 1) + PREV_IDLE=$(echo "${fileCont}" | tail -n 1) +fi + +CPU=(`cat /proc/stat | grep '^cpu '`) # Get the total CPU statistics. +unset CPU[0] # Discard the "cpu" prefix. +IDLE=${CPU[4]} # Get the idle CPU time. + +# Calculate the total CPU time. +TOTAL=0 + +for VALUE in "${CPU[@]:0:4}"; do + let "TOTAL=$TOTAL+$VALUE" +done + +if [[ "${PREV_TOTAL}" != "" ]] && [[ "${PREV_IDLE}" != "" ]]; then + # Calculate the CPU usage since we last checked. + let "DIFF_IDLE=$IDLE-$PREV_IDLE" + let "DIFF_TOTAL=$TOTAL-$PREV_TOTAL" + let "DIFF_USAGE=(1000*($DIFF_TOTAL-$DIFF_IDLE)/$DIFF_TOTAL+5)/10" + if [[ $1 = "-i" ]]; then + echo " ${DIFF_USAGE}%" + else + echo "${DIFF_USAGE}%" + fi +else + if [[ $1 = "-i" ]]; then + echo " ?" + else + echo "?" + fi +fi + +# Remember the total and idle CPU times for the next check. +echo "${TOTAL}" > "${cpuFile}" +echo "${IDLE}" >> "${cpuFile}" diff --git a/.config/rofi/bin/usedram b/.config/rofi/bin/usedram new file mode 100755 index 0000000..e8a6108 --- /dev/null +++ b/.config/rofi/bin/usedram @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +mem_info=$(> Created and tested on : rofi 1.6.0-1 +# +# style_1 style_2 style_3 style_4 style_5 style_6 +# style_7 style_8 style_9 style_10 style_11 style_12 + +theme="style_1" +dir="$HOME/.config/rofi/launchers/colorful" + +# dark +ALPHA="#00000000" +BG="#000000ff" +FG="#FFFFFFff" +SELECT="#101010ff" + +# light +#ALPHA="#00000000" +#BG="#FFFFFFff" +#FG="#000000ff" +#SELECT="#f3f3f3ff" + +# accent colors +COLORS=('#EC7875' '#61C766' '#FDD835' '#42A5F5' '#BA68C8' '#4DD0E1' '#00B19F' \ + '#FBC02D' '#E57C46' '#AC8476' '#6D8895' '#EC407A' '#B9C244' '#6C77BB') +ACCENT="${COLORS[$(( $RANDOM % 14 ))]}ff" + +# overwrite colors file +cat > $dir/colors.rasi <<- EOF + /* colors */ + + * { + al: $ALPHA; + bg: $BG; + se: $SELECT; + fg: $FG; + ac: $ACCENT; + } +EOF + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="colors.rasi" $dir)) +theme="${themes[$(( $RANDOM % 12 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/.config/rofi/launchers/colorful/style_1.rasi b/.config/rofi/launchers/colorful/style_1.rasi new file mode 100644 index 0000000..60ab3ee --- /dev/null +++ b/.config/rofi/launchers/colorful/style_1.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @bg; +} diff --git a/.config/rofi/launchers/colorful/style_10.rasi b/.config/rofi/launchers/colorful/style_10.rasi new file mode 100644 index 0000000..2ef21bb --- /dev/null +++ b/.config/rofi/launchers/colorful/style_10.rasi @@ -0,0 +1,117 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + border-radius: 100%; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 100%; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 20% 15% 20% 15%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 100%; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0.3% 0.2%; + border-radius: 100%; + border-color: @ac; +} diff --git a/.config/rofi/launchers/colorful/style_11.rasi b/.config/rofi/launchers/colorful/style_11.rasi new file mode 100644 index 0000000..4a6792f --- /dev/null +++ b/.config/rofi/launchers/colorful/style_11.rasi @@ -0,0 +1,125 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 25px; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1.25% 0.75% 1.25% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; + border-radius: 100%; +} + +textbox-prompt-colon { + padding: 1.40% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 1.5% 0.5% 1% 0%; + blink: true; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 3; + lines: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @bg; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 0%; +} + +element-icon { + size: 24px; + border: 1%; + border-color: @ac; + border-radius: 15px; + background-color: @ac; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @ac; +} diff --git a/.config/rofi/launchers/colorful/style_12.rasi b/.config/rofi/launchers/colorful/style_12.rasi new file mode 100644 index 0000000..713d569 --- /dev/null +++ b/.config/rofi/launchers/colorful/style_12.rasi @@ -0,0 +1,128 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: " Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 50px; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1.25% 0.75% 1.25% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; + border-radius: 100%; +} + +textbox-prompt-colon { + padding: 1.40% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 1.5% 0.5% 1% 0%; + blink: true; +} + +inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0%; + border-radius: 100%; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 6; + lines: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 10px 0px 10px 0px; + border-radius: 50px; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 2% 2%; +} + +element { + background-color: @bg; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 0%; +} + +element-icon { + size: 64px; + border: 1%; + border-color: @se; + border-radius: 15px; + background-color: @se; + padding: 2% 1% 2% 1%; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.25% 0.5% 0.25%; + padding: 1% 0.5% 1% 0.5%; +} + +element-text selected { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + background-color: @ac; + text-color: @bg; + border-radius: 100%; +} diff --git a/.config/rofi/launchers/colorful/style_2.rasi b/.config/rofi/launchers/colorful/style_2.rasi new file mode 100644 index 0000000..12368cf --- /dev/null +++ b/.config/rofi/launchers/colorful/style_2.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 18%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + size: 32px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/.config/rofi/launchers/colorful/style_3.rasi b/.config/rofi/launchers/colorful/style_3.rasi new file mode 100644 index 0000000..fe0e6ad --- /dev/null +++ b/.config/rofi/launchers/colorful/style_3.rasi @@ -0,0 +1,116 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 18%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 1; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + size: 32px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/.config/rofi/launchers/colorful/style_4.rasi b/.config/rofi/launchers/colorful/style_4.rasi new file mode 100644 index 0000000..2e34f33 --- /dev/null +++ b/.config/rofi/launchers/colorful/style_4.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + height: 100%; + width: 19%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px 10px 0px 10px; + columns: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 48px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/.config/rofi/launchers/colorful/style_5.rasi b/.config/rofi/launchers/colorful/style_5.rasi new file mode 100644 index 0000000..10739d7 --- /dev/null +++ b/.config/rofi/launchers/colorful/style_5.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @fg; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 2; + lines: 10; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.5%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @ac; + text-color: @bg; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @bg; +} diff --git a/.config/rofi/launchers/colorful/style_6.rasi b/.config/rofi/launchers/colorful/style_6.rasi new file mode 100644 index 0000000..e2bd1c3 --- /dev/null +++ b/.config/rofi/launchers/colorful/style_6.rasi @@ -0,0 +1,110 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @bg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @bg; + placeholder-color: @bg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @ac; + text-color: @bg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100%; + border-color: @ac; + margin: 0% 54.5% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 0px; + columns: 10; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2.5%; + padding: 20% 5% 20% 5%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: vertical; + border-radius: 0%; + padding: 4% 0% 4% 0%; +} + +element-icon { + size: 80px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @se; + text-color: @fg; + border: 0% 0% 0.5% 0%; + border-radius: 25px; + border-color: @ac; +} diff --git a/.config/rofi/launchers/colorful/style_7.rasi b/.config/rofi/launchers/colorful/style_7.rasi new file mode 100644 index 0000000..e66e126 --- /dev/null +++ b/.config/rofi/launchers/colorful/style_7.rasi @@ -0,0 +1,115 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 12px; + width: 30%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @al; + text-color: @fg; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @bg; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @al; + padding: 10px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 0%; + padding: 0%; +} + +element { + background-color: @al; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 0.5% 0.5% 0.5% 0.5%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @ac; + text-color: @bg; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @bg; +} diff --git a/.config/rofi/launchers/colorful/style_8.rasi b/.config/rofi/launchers/colorful/style_8.rasi new file mode 100644 index 0000000..78f8fd3 --- /dev/null +++ b/.config/rofi/launchers/colorful/style_8.rasi @@ -0,0 +1,121 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 0px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 0%; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0% 0% 0.3%; + border-radius: 0px; + border-color: @ac; +} diff --git a/.config/rofi/launchers/colorful/style_9.rasi b/.config/rofi/launchers/colorful/style_9.rasi new file mode 100644 index 0000000..8c98050 --- /dev/null +++ b/.config/rofi/launchers/colorful/style_9.rasi @@ -0,0 +1,122 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Iosevka Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: "Applications"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "colors.rasi" + +window { + transparency: "real"; + background-color: @bg; + text-color: @fg; + border: 0px; + border-color: @ac; + border-radius: 15px; + width: 35%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 0.75% 1% 0.75%; + background-color: @ac; + text-color: @fg; + border-radius: 10px; + font: "Iosevka Nerd Font 12"; +} + +textbox-prompt-colon { + padding: 1% 0% 1% 0%; + background-color: @se; + text-color: @fg; + expand: false; + str: " :: "; +} + +entry { + background-color: @al; + text-color: @fg; + placeholder-color: @fg; + expand: true; + horizontal-align: 0; + placeholder: "Search..."; + padding: 1.15% 0.5% 1% 0.5%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @se; + text-color: @fg; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 10px; + border-color: @ac; +} + +listview { + background-color: @al; + padding: 0px; + columns: 2; + lines: 7; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @al; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @ac; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 4% 2% 4% 2%; +} + +element { + background-color: @se; + text-color: @fg; + orientation: horizontal; + border-radius: 12px; + padding: 1% 0.5% 1% 0.75%; +} + +element-icon { + size: 24px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0.25% 0% 0.25%; +} + +element selected { + background-color: @se; + text-color: @ac; + border: 0% 0.3% 0% 0.3%; + border-radius: 12px; + border-color: @ac; +} diff --git a/.config/rofi/launchers/misc/appdrawer.rasi b/.config/rofi/launchers/misc/appdrawer.rasi new file mode 100644 index 0000000..f139fc7 --- /dev/null +++ b/.config/rofi/launchers/misc/appdrawer.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + height: 100%; + width: 30%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Apps"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 5% 1.5% 0% 1.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/appdrawer_alt.rasi b/.config/rofi/launchers/misc/appdrawer_alt.rasi new file mode 100644 index 0000000..0e2a9c5 --- /dev/null +++ b/.config/rofi/launchers/misc/appdrawer_alt.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 30px; + width: 30%; + location: west; + x-offset: 20px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Apps"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 4; + lines: 5; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/appfolder.rasi b/.config/rofi/launchers/misc/appfolder.rasi new file mode 100644 index 0000000..22e2b05 --- /dev/null +++ b/.config/rofi/launchers/misc/appfolder.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 5px; + width: 27%; + location: east; + x-offset: -20px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 4; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.25%; + padding: 1.5% 0.75% 1.5% 0.75%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/blurry.rasi b/.config/rofi/launchers/misc/blurry.rasi new file mode 100644 index 0000000..eba5bfc --- /dev/null +++ b/.config/rofi/launchers/misc/blurry.rasi @@ -0,0 +1,120 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.5%; +} + +listview { + background-color: @background-alt; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/.config/rofi/launchers/misc/blurry_full.rasi b/.config/rofi/launchers/misc/blurry_full.rasi new file mode 100644 index 0000000..0b95f91 --- /dev/null +++ b/.config/rofi/launchers/misc/blurry_full.rasi @@ -0,0 +1,116 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; + margin: 0% 25% 0% 25%; + padding: 1.5%; +} + +listview { + background-color: @background-alt; + columns: 8; + lines: 4; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 8%; + padding: 10% 12.5% 10% 12.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 80px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/.config/rofi/launchers/misc/column.rasi b/.config/rofi/launchers/misc/column.rasi new file mode 100644 index 0000000..1ed8f38 --- /dev/null +++ b/.config/rofi/launchers/misc/column.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + height: 100%; + width: 9%; + location: east; + x-offset: 0px; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.25%; + padding: 3.5% 0.75% 0% 0.75%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.25% 0% 2.25% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 5px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/gnome_do.rasi b/.config/rofi/launchers/misc/gnome_do.rasi new file mode 100644 index 0000000..02161f2 --- /dev/null +++ b/.config/rofi/launchers/misc/gnome_do.rasi @@ -0,0 +1,165 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Classical -- */ +* { + background: #27639AFF; + background-alt: #00000000; + background-bar: #f2f2f240; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} + +/* -- Transparent -- */ +/* +* { + background: #00000000; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #3DAEE966; +} +*/ + +/* -- Light -- */ +/* +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #20202040; + foreground: #404040EE; + accent: #3DAEE966; +} +*/ + +/* -- Dark -- */ +/* +* { + background: #252525ff; + background-alt: #00000000; + background-bar: #10101040; + foreground: #e5e5e5EE; + accent: #3DAEE966; +} +*/ + +/* -- Black -- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #101010ff; + foreground: #e5e5e5EE; + accent: #3DAEE966; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 25px; + width: 26%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: false; + padding: 0%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: " Search"; + padding: 0% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 0px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 0%; +} + +listview { + background-color: @background-alt; + columns: 2; + lines: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 128px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @accent; +} diff --git a/.config/rofi/launchers/misc/kde_krunner.rasi b/.config/rofi/launchers/misc/kde_krunner.rasi new file mode 100644 index 0000000..473ce18 --- /dev/null +++ b/.config/rofi/launchers/misc/kde_krunner.rasi @@ -0,0 +1,143 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Breeze Light-- */ +* { + background: #EFF0F1FF; + background-alt: #00000000; + background-bar: #93CEE999; + foreground: #000000A6; + accent: #3DAEE9FF; +} + +/* -- Breeze Dark-- */ +/* +* { + background: #31363bff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5e6; + accent: #1d99f3ff; +} +*/ + +/* -- Black-- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5b3; + accent: #1d99f3ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 38%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 0.75% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 1; + lines: 7; + spacing: 0.5%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1% 0.5% 1% 0.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; + padding: 0.5%; +} + +element-icon { + size: 32px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0; + vertical-align: 0.5; + margin: 0% 0% 0% 0.25%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0.1%; + border-radius: 4px; + border-color: @accent; +} diff --git a/.config/rofi/launchers/misc/kde_simplemenu.rasi b/.config/rofi/launchers/misc/kde_simplemenu.rasi new file mode 100644 index 0000000..5931c22 --- /dev/null +++ b/.config/rofi/launchers/misc/kde_simplemenu.rasi @@ -0,0 +1,143 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Breeze Light-- */ +* { + background: #EFF0F1FF; + background-alt: #00000000; + background-bar: #93CEE999; + foreground: #000000A6; + accent: #3DAEE9FF; +} + +/* -- Breeze Dark-- */ +/* +* { + background: #31363bff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5e6; + accent: #1d99f3ff; +} +*/ + +/* -- Black-- */ +/* +* { + background: #000000ff; + background-alt: #00000000; + background-bar: #3daee966; + foreground: #f5f5f5b3; + accent: #1d99f3ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 38%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.30% 0.75% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 6; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1% 0.5% 1% 0.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0.1%; + border-radius: 4px; + border-color: @accent; +} diff --git a/.config/rofi/launchers/misc/launcher.sh b/.config/rofi/launchers/misc/launcher.sh new file mode 100755 index 0000000..a25dce9 --- /dev/null +++ b/.config/rofi/launchers/misc/launcher.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# blurry blurry_full kde_simplemenu kde_krunner launchpad +# gnome_do slingshot appdrawer appdrawer_alt appfolder +# column row row_center screen row_dock row_dropdown + +theme="screen" +dir="$HOME/.config/rofi/launchers/misc" + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" $dir)) +theme="${themes[$(( $RANDOM % 16 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/.config/rofi/launchers/misc/launchpad.rasi b/.config/rofi/launchers/misc/launchpad.rasi new file mode 100644 index 0000000..77d6ab8 --- /dev/null +++ b/.config/rofi/launchers/misc/launchpad.rasi @@ -0,0 +1,116 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans Bold 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +* { + background: #00000060; + background-alt: #00000000; + background-bar: #f2f2f215; + foreground: #f2f2f2EE; + accent: #ffffff66; +} + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.30% 1% 0% -0.5%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + padding: 0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 6px; + border-color: @accent; + margin: 0% 30% 0% 30%; + padding: 1%; +} + +listview { + background-color: @background-alt; + columns: 7; + lines: 4; + spacing: 2%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 8%; + padding: 10% 8.5% 10% 8.5%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 81px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 12px; + border-color: @accent; +} diff --git a/.config/rofi/launchers/misc/row.rasi b/.config/rofi/launchers/misc/row.rasi new file mode 100644 index 0000000..9793627 --- /dev/null +++ b/.config/rofi/launchers/misc/row.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 73.75% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 1; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 80px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/row_center.rasi b/.config/rofi/launchers/misc/row_center.rasi new file mode 100644 index 0000000..85c98bc --- /dev/null +++ b/.config/rofi/launchers/misc/row_center.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.3%; + border-radius: 0% 100% 100% 0%; + border-color: @border; + margin: 0% 73.75% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 80px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.3%; + border-radius: 0px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/row_dock.rasi b/.config/rofi/launchers/misc/row_dock.rasi new file mode 100644 index 0000000..9cbe1c0 --- /dev/null +++ b/.config/rofi/launchers/misc/row_dock.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 50px 50px 0px 0px; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 35% 0% 35%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1.5%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 80px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/row_dropdown.rasi b/.config/rofi/launchers/misc/row_dropdown.rasi new file mode 100644 index 0000000..8df78de --- /dev/null +++ b/.config/rofi/launchers/misc/row_dropdown.rasi @@ -0,0 +1,136 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px 0px 50px 50px; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0.5; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 100%; + border-color: @accent; + margin: 0% 35% 0% 35%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 12; + lines: 2; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ listview, inputbar ]; + spacing: 2%; + padding: 2% 1% 2% 1%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2.5% 0% 2.5% 0%; +} + +element-icon { + size: 80px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/screen.rasi b/.config/rofi/launchers/misc/screen.rasi new file mode 100644 index 0000000..f811d5e --- /dev/null +++ b/.config/rofi/launchers/misc/screen.rasi @@ -0,0 +1,132 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light -- */ +* { + background: #e5e5e5ff; + background-alt: #00000000; + background-bar: #FFFFFFFF; + foreground: #000000A6; + accent: #80808066; + border: #1A73E9FF; + selected: #D7D7D7FF; +} + +/* -- Dark -- */ +/* +* { + background: #212121ff; + background-alt: #00000000; + background-bar: #151515FF; + foreground: #EDEDEDFF; + accent: #EDEDED4d; + border: #1A73E9FF; + selected: #151515ff; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 0.25% 0.75% 0% -0.25%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.10% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background-bar; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0.2%; + border-radius: 10%; + border-color: @border; + margin: 0% 50% 0% 0%; + padding: 1.25%; +} + +listview { + background-color: @background-alt; + columns: 8; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 15% 10% 10% 10%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 3% 0% 3% 0%; +} + +element-icon { + size: 80px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0.2%; + border-radius: 25px; + border-color: @border; +} diff --git a/.config/rofi/launchers/misc/slingshot.rasi b/.config/rofi/launchers/misc/slingshot.rasi new file mode 100644 index 0000000..0268c84 --- /dev/null +++ b/.config/rofi/launchers/misc/slingshot.rasi @@ -0,0 +1,132 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "Noto Sans 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +/* -- Light-- */ +* { + background: #F5F5F5FF; + background-alt: #00000000; + background-bar: #D7D7D7FF; + foreground: #000000A6; + accent: #80808066; +} + +/* -- Dark -- */ +/* +* { + background: #3E4148FF; + background-alt: #00000000; + background-bar: #363A3FFF; + foreground: #F5F5F5FF; + accent: #00000066; +} +*/ + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0px; + border-color: @border; + border-radius: 4px; + width: 32%; + location: northwest; + x-offset: 10px; + y-offset: 50px; +} + +prompt { + enabled: true; + padding: 0.30% 0.5% 0% 0%; + background-color: @background-alt; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 10"; +} + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: -0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0.1%; + border-radius: 4px; + border-color: @accent; + margin: 0% 0% 0% 0%; + padding: 0.50%; +} + +listview { + background-color: @background-alt; + columns: 5; + lines: 3; + spacing: 0%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background-alt; + border: 0% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @accent; + children: [ inputbar, listview ]; + spacing: 1%; + padding: 1.25% 0.65% 1.25% 0.65%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 0.5% -0.5% 0.5%; +} + +element selected { + background-color: @background-bar; + text-color: @foreground; + border: 0.1%; + border-radius: 4px; + border-color: @accent; +} diff --git a/.config/rofi/launchers/ribbon/full_bottom.rasi b/.config/rofi/launchers/ribbon/full_bottom.rasi new file mode 100644 index 0000000..50dc5c7 --- /dev/null +++ b/.config/rofi/launchers/ribbon/full_bottom.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 48.75% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 12.50% 10% 5% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/full_left.rasi b/.config/rofi/launchers/ribbon/full_left.rasi new file mode 100644 index 0000000..bec29a6 --- /dev/null +++ b/.config/rofi/launchers/ribbon/full_left.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 47% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 15% 10% 10% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/full_right.rasi b/.config/rofi/launchers/ribbon/full_right.rasi new file mode 100644 index 0000000..cfd3b63 --- /dev/null +++ b/.config/rofi/launchers/ribbon/full_right.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 47% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 15% 10% 10% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/full_top.rasi b/.config/rofi/launchers/ribbon/full_top.rasi new file mode 100644 index 0000000..1d04591 --- /dev/null +++ b/.config/rofi/launchers/ribbon/full_top.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 48.75% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 12.50% 10% 5% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/launcher.sh b/.config/rofi/launchers/ribbon/launcher.sh new file mode 100755 index 0000000..7e7c21b --- /dev/null +++ b/.config/rofi/launchers/ribbon/launcher.sh @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# ribbon_top ribbon_top_round ribbon_bottom ribbon_bottom_round +# ribbon_left ribbon_left_round ribbon_right ribbon_right_round +# full_bottom full_top full_left full_right + +theme="ribbon_top_round" + +dir="$HOME/.config/rofi/launchers/ribbon" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 8 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 12 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/.config/rofi/launchers/ribbon/ribbon_bottom.rasi b/.config/rofi/launchers/ribbon/ribbon_bottom.rasi new file mode 100644 index 0000000..63a20b3 --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_bottom.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 68.5%; + width: 55%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/ribbon_bottom_round.rasi b/.config/rofi/launchers/ribbon/ribbon_bottom_round.rasi new file mode 100644 index 0000000..1f652af --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_bottom_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 3% 0%; + border-color: @border; + border-radius: 25px 25px 50px 50px; + height: 68.5%; + width: 55%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 3% 0%; + border-radius: 50px; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 25px; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/ribbon_left.rasi b/.config/rofi/launchers/ribbon/ribbon_left.rasi new file mode 100644 index 0000000..3a5f774 --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_left.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 49.50%; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 17% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 4; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/ribbon_left_round.rasi b/.config/rofi/launchers/ribbon/ribbon_left_round.rasi new file mode 100644 index 0000000..5324c9c --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_left_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 0% 0% 1.5%; + border-color: @border; + border-radius: 0% 0% 0% 2.5%; + height: 49.50%; + width: 40%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0.2%; + border-radius: 1.5% 1.0% 1.5% 1.5%; + border-color: @border-alt; + margin: 0% 17% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 4; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 0% 0% 1.5%; + border-radius: 0% 0% 0% 2.5%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0.2%; + border-radius: 1.5% 1.0% 1.5% 1.5%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/ribbon_right.rasi b/.config/rofi/launchers/ribbon/ribbon_right.rasi new file mode 100644 index 0000000..75292ed --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_right.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 36.50%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 22.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/ribbon_right_round.rasi b/.config/rofi/launchers/ribbon/ribbon_right_round.rasi new file mode 100644 index 0000000..8dd9ad3 --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_right_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 0% 1.5% 0% 0%; + border-color: @border; + border-radius: 0% 1.5% 0% 0%; + height: 36.50%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 0% 1.5% 1.5% 1.5%; + border-color: @border-alt; + margin: 0% 22.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 6; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 0% 1.5% 0% 0%; + border-radius: 0% 1.5% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 1.5% 1.5% 1.5%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/ribbon_top.rasi b/.config/rofi/launchers/ribbon/ribbon_top.rasi new file mode 100644 index 0000000..42ea207 --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_top.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 55.50%; + width: 45%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 5; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/ribbon_top_round.rasi b/.config/rofi/launchers/ribbon/ribbon_top_round.rasi new file mode 100644 index 0000000..af4ff7d --- /dev/null +++ b/.config/rofi/launchers/ribbon/ribbon_top_round.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 3% 0% 0% 0%; + border-color: @border; + border-radius: 2.5% 0% 0% 0%; + height: 55.50%; + width: 45%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 0% 1.5% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 5; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 3% 0% 0% 0%; + border-radius: 2.5% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 2.5% 2% 2.5% 2%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 2% 0% 2% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.3% 0%; + border-radius: 1.5% 0% 1.5% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/ribbon/styles/berry.rasi b/.config/rofi/launchers/ribbon/styles/berry.rasi new file mode 100644 index 0000000..6621231 --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/berry.rasi @@ -0,0 +1,9 @@ +* { + background: #2D142Cff; + background-alt: #2D142Cff; + foreground: #ffffffA6; + border: #EE4540ff; + border-alt: #C92A42ff; + selected: #510A3299; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/ribbon/styles/bluish.rasi b/.config/rofi/launchers/ribbon/styles/bluish.rasi new file mode 100644 index 0000000..c3254ee --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/bluish.rasi @@ -0,0 +1,9 @@ +* { + background: #EFF0F1FF; + background-alt: #EFF0F1FF; + foreground: #000000A6; + border: #000B83FF; + border-alt: #3DAEE9FF; + selected: #93CEE999; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/ribbon/styles/cocoa.rasi b/.config/rofi/launchers/ribbon/styles/cocoa.rasi new file mode 100644 index 0000000..cf85282 --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/cocoa.rasi @@ -0,0 +1,9 @@ +* { + background: #413E4Aff; + background-alt: #413E4Aff; + foreground: #F7C7B2ff; + border: #B38184ff; + border-alt: #F3B69Eff; + selected: #B381841a; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/ribbon/styles/colors.rasi b/.config/rofi/launchers/ribbon/styles/colors.rasi new file mode 100644 index 0000000..7e6b155 --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/colors.rasi @@ -0,0 +1,10 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * + */ + +@import "cocoa.rasi" diff --git a/.config/rofi/launchers/ribbon/styles/faded.rasi b/.config/rofi/launchers/ribbon/styles/faded.rasi new file mode 100644 index 0000000..99e929a --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/faded.rasi @@ -0,0 +1,9 @@ +* { + background: #5E6C91ff; + background-alt: #5E6C91ff; + foreground: #FFFCFFff; + border: #FF83A7ff; + border-alt: #F4BB6Cff; + selected: #A0B5F44c; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/ribbon/styles/gotham.rasi b/.config/rofi/launchers/ribbon/styles/gotham.rasi new file mode 100644 index 0000000..ce71b9c --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/gotham.rasi @@ -0,0 +1,9 @@ +* { + background: #29384Fff; + background-alt: #29384Fff; + foreground: #FEFFF1ff; + border: #345B7Cff; + border-alt: #715979ff; + selected: #C46C851a; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/ribbon/styles/mask.rasi b/.config/rofi/launchers/ribbon/styles/mask.rasi new file mode 100644 index 0000000..4e81074 --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/mask.rasi @@ -0,0 +1,9 @@ +* { + background: #434C6Dff; + background-alt: #434C6Dff; + foreground: #FAF7CCff; + border: #CA8CA5ff; + border-alt: #F0B2B3ff; + selected: #EFD4B61a; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/ribbon/styles/nightly.rasi b/.config/rofi/launchers/ribbon/styles/nightly.rasi new file mode 100644 index 0000000..027ffab --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/nightly.rasi @@ -0,0 +1,9 @@ +* { + background: #2A3950ff; + background-alt: #2A3950ff; + foreground: #FEFFF1ff; + border: #A162F7ff; + border-alt: #45E3FFff; + selected: #6F88FE1a; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/ribbon/styles/nordic.rasi b/.config/rofi/launchers/ribbon/styles/nordic.rasi new file mode 100644 index 0000000..300ba35 --- /dev/null +++ b/.config/rofi/launchers/ribbon/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #475C7Bff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +} diff --git a/.config/rofi/launchers/slate/launcher.sh b/.config/rofi/launchers/slate/launcher.sh new file mode 100755 index 0000000..8c12862 --- /dev/null +++ b/.config/rofi/launchers/slate/launcher.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# slate_full slate_center slate_left +# slate_right slate_top slate_bottom + +theme="slate_full" + +dir="$HOME/.config/rofi/launchers/slate" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 20 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 6 ))]}" + +rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/.config/rofi/launchers/slate/slate_bottom.rasi b/.config/rofi/launchers/slate/slate_bottom.rasi new file mode 100644 index 0000000..bfdd155 --- /dev/null +++ b/.config/rofi/launchers/slate/slate_bottom.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 50%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 52.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 8% 5% 0% 5%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/slate/slate_center.rasi b/.config/rofi/launchers/slate/slate_center.rasi new file mode 100644 index 0000000..14080ff --- /dev/null +++ b/.config/rofi/launchers/slate/slate_center.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 70%; + width: 70%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 38.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 6% 3% 6% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/slate/slate_full.rasi b/.config/rofi/launchers/slate/slate_full.rasi new file mode 100644 index 0000000..f3d2556 --- /dev/null +++ b/.config/rofi/launchers/slate/slate_full.rasi @@ -0,0 +1,133 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 5% 3% 5% 3%; + border-color: @border; + border-radius: 0% 0% 0% 0%; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 49.5% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 8; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 5% 3% 5% 3%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 15% 10% 15% 10%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/slate/slate_left.rasi b/.config/rofi/launchers/slate/slate_left.rasi new file mode 100644 index 0000000..0eb5082 --- /dev/null +++ b/.config/rofi/launchers/slate/slate_left.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 100%; + width: 30%; + location: west; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 5% 3% 5% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/slate/slate_right.rasi b/.config/rofi/launchers/slate/slate_right.rasi new file mode 100644 index 0000000..e3a5fa3 --- /dev/null +++ b/.config/rofi/launchers/slate/slate_right.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 100%; + width: 30%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 0% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 3; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 5% 3% 5% 3%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/slate/slate_top.rasi b/.config/rofi/launchers/slate/slate_top.rasi new file mode 100644 index 0000000..3ea779f --- /dev/null +++ b/.config/rofi/launchers/slate/slate_top.rasi @@ -0,0 +1,138 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 10"; + show-icons: true; + icon-theme: "Papirus"; + display-drun: ""; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border: 2% 1% 2% 1%; + border-color: @border; + border-radius: 0% 0% 0% 0%; + height: 50%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0% 1% 0% 0%; + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +entry { + background-color: @background; + text-color: @foreground; + placeholder-color: @foreground; + expand: true; + horizontal-align: 0; + placeholder: "Search Applications"; + padding: 0.15% 0% 0% 0%; + blink: true; +} + +inputbar { + children: [ prompt, entry ]; + background-color: @background; + text-color: @foreground; + expand: false; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + margin: 0% 52.25% 0% 0%; + padding: 1%; + position: center; +} + +listview { + background-color: @background; + columns: 10; + spacing: 1%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + border: 2% 1% 2% 1%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; + children: [ inputbar, listview ]; + spacing: 2%; + padding: 8% 5% 0% 5%; +} + +element { + background-color: @background; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; + padding: 1% 0% 1% 0%; +} + +element-icon { + size: 64px; + border: 0px; +} + +element-text { + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 0.5% 1% 0% 1%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 1%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.3% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border-alt; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/launchers/slate/styles/Amber.rasi b/.config/rofi/launchers/slate/styles/Amber.rasi new file mode 100644 index 0000000..f2efa55 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Amber.rasi @@ -0,0 +1,36 @@ +/* -- Amber -- */ + +* { +shade1: #FF6F00; +shade2: #FF8F00; +shade3: #FFA000; +shade4: #FFB300; +shade5: #FFC107; +shade6: #FFCA28; +shade7: #FFD54F; +shade8: #FFE082; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #404040; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #404040; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Black.rasi b/.config/rofi/launchers/slate/styles/Black.rasi new file mode 100644 index 0000000..ec8c1fb --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Black.rasi @@ -0,0 +1,36 @@ +/* -- Gray -- */ + +* { +shade1: #000000; +shade2: #050505; +shade3: #101010; +shade4: #151515; +shade5: #202020; +shade6: #252525; +shade7: #303030; +shade8: #353535; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade2; + border-alt: @shade3; + background: @shade4; + background-alt: @shade5; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Blue.rasi b/.config/rofi/launchers/slate/styles/Blue.rasi new file mode 100644 index 0000000..5d205fc --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Blue.rasi @@ -0,0 +1,36 @@ +/* -- Blue -- */ + +* { +shade1: #0D47A1; +shade2: #1565C0; +shade3: #1976D2; +shade4: #1E88E5; +shade5: #2196F3; +shade6: #42A5F5; +shade7: #64B5F6; +shade8: #90CAF9; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Blue_gray.rasi b/.config/rofi/launchers/slate/styles/Blue_gray.rasi new file mode 100644 index 0000000..5ff24dd --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Blue_gray.rasi @@ -0,0 +1,36 @@ +/* -- Blue Gray -- */ + +* { +shade1: #263238; +shade2: #37474F; +shade3: #455A64; +shade4: #546E7A; +shade5: #607D8B; +shade6: #78909C; +shade7: #90A4AE; +shade8: #B0BEC5; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Brown.rasi b/.config/rofi/launchers/slate/styles/Brown.rasi new file mode 100644 index 0000000..fd54539 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Brown.rasi @@ -0,0 +1,36 @@ +/* -- Brown -- */ + +* { +shade1: #3E2723; +shade2: #4E342E; +shade3: #5D4037; +shade4: #6D4C41; +shade5: #795548; +shade6: #8D6E63; +shade7: #A1887F; +shade8: #BCAAA4; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Cyan.rasi b/.config/rofi/launchers/slate/styles/Cyan.rasi new file mode 100644 index 0000000..d6db860 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Cyan.rasi @@ -0,0 +1,36 @@ +/* -- Cyan -- */ + +* { +shade1: #006064; +shade2: #00838F; +shade3: #0097A7; +shade4: #00ACC1; +shade5: #00BCD4; +shade6: #26C6DA; +shade7: #4DD0E1; +shade8: #80DEEA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #303030; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Deep_orange.rasi b/.config/rofi/launchers/slate/styles/Deep_orange.rasi new file mode 100644 index 0000000..4e21a7b --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Deep_orange.rasi @@ -0,0 +1,36 @@ +/* -- Deep Orange -- */ + +* { +shade1: #BF360C; +shade2: #D84315; +shade3: #E64A19; +shade4: #F4511E; +shade5: #FF5722; +shade6: #FF7043; +shade7: #FF8A65; +shade8: #FFAB91; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Deep_purple.rasi b/.config/rofi/launchers/slate/styles/Deep_purple.rasi new file mode 100644 index 0000000..a15d9a4 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Deep_purple.rasi @@ -0,0 +1,36 @@ +/* -- Deep Purple -- */ + +* { +shade1: #311B92; +shade2: #4527A0; +shade3: #512DA8; +shade4: #5E35B1; +shade5: #673AB7; +shade6: #7E57C2; +shade7: #9575CD; +shade8: #B39DDB; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Gray.rasi b/.config/rofi/launchers/slate/styles/Gray.rasi new file mode 100644 index 0000000..1dcd95b --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Gray.rasi @@ -0,0 +1,36 @@ +/* -- Gray -- */ + +* { +shade1: #212121; +shade2: #424242; +shade3: #616161; +shade4: #757575; +shade5: #9E9E9E; +shade6: #BDBDBD; +shade7: #D4D4D4; +shade8: #EEEEEE; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #303030; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Green.rasi b/.config/rofi/launchers/slate/styles/Green.rasi new file mode 100644 index 0000000..459e254 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Green.rasi @@ -0,0 +1,36 @@ +/* -- Green -- */ + +* { +shade1: #1B5E20; +shade2: #2E7D32; +shade3: #388E3C; +shade4: #43A047; +shade5: #4CAF50; +shade6: #66BB6A; +shade7: #81C784; +shade8: #A5D6A7; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Indigo.rasi b/.config/rofi/launchers/slate/styles/Indigo.rasi new file mode 100644 index 0000000..e403909 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Indigo.rasi @@ -0,0 +1,36 @@ +/* -- Indigo -- */ + +* { +shade1: #1A237E; +shade2: #283593; +shade3: #303F9F; +shade4: #3949AB; +shade5: #3F51B5; +shade6: #5C6BC0; +shade7: #7986CB; +shade8: #9FA8DA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Light_blue.rasi b/.config/rofi/launchers/slate/styles/Light_blue.rasi new file mode 100644 index 0000000..df7b9a2 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Light_blue.rasi @@ -0,0 +1,36 @@ +/* -- Light Blue -- */ + +* { +shade1: #01579B; +shade2: #0277BD; +shade3: #0288D1; +shade4: #039BE5; +shade5: #03A9F4; +shade6: #29B6F6; +shade7: #4FC3F7; +shade8: #81D4FA; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #202020; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Light_green.rasi b/.config/rofi/launchers/slate/styles/Light_green.rasi new file mode 100644 index 0000000..39738ea --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Light_green.rasi @@ -0,0 +1,36 @@ +/* -- Light Green -- */ + +* { +shade1: #33691E; +shade2: #558B2F; +shade3: #689F38; +shade4: #7CB342; +shade5: #8BC34A; +shade6: #9CCC65; +shade7: #AED581; +shade8: #C5E1A5; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Lime.rasi b/.config/rofi/launchers/slate/styles/Lime.rasi new file mode 100644 index 0000000..a688a10 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Lime.rasi @@ -0,0 +1,36 @@ +/* -- Lime -- */ + +* { +shade1: #827717; +shade2: #9E9D24; +shade3: #AFB42B; +shade4: #C0CA33; +shade5: #CDDC39; +shade6: #D4E157; +shade7: #DCE775; +shade8: #E6EE9C; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #252525; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #404040; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Orange.rasi b/.config/rofi/launchers/slate/styles/Orange.rasi new file mode 100644 index 0000000..a6cdc35 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Orange.rasi @@ -0,0 +1,36 @@ +/* -- Orange -- */ + +* { +shade1: #E65100; +shade2: #EF6C00; +shade3: #F57C00; +shade4: #FB8C00; +shade5: #FF9800; +shade6: #FFA726; +shade7: #FFB74D; +shade8: #FFCC80; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #202020; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #353535; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Pink.rasi b/.config/rofi/launchers/slate/styles/Pink.rasi new file mode 100644 index 0000000..a15e577 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Pink.rasi @@ -0,0 +1,36 @@ +/* -- Pink -- */ + +* { +shade1: #880E4F; +shade2: #AD1457; +shade3: #C2185B; +shade4: #D81B60; +shade5: #E91E63; +shade6: #EC407A; +shade7: #F06292; +shade8: #F48FB1; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Purple.rasi b/.config/rofi/launchers/slate/styles/Purple.rasi new file mode 100644 index 0000000..2268fe5 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Purple.rasi @@ -0,0 +1,36 @@ +/* -- Purple -- */ + +* { +shade1: #4A148C; +shade2: #6A1B9A; +shade3: #7B1FA2; +shade4: #8E24AA; +shade5: #9C27B0; +shade6: #AB47BC; +shade7: #BA68C8; +shade8: #CE93D8; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Red.rasi b/.config/rofi/launchers/slate/styles/Red.rasi new file mode 100644 index 0000000..ea14821 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Red.rasi @@ -0,0 +1,36 @@ +/* -- Red -- */ + +* { +shade1: #B71C1C; +shade2: #C62828; +shade3: #D32F2F; +shade4: #E53935; +shade5: #EE413D; +shade6: #EF5350; +shade7: #E57373; +shade8: #EF9A9A; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Teal.rasi b/.config/rofi/launchers/slate/styles/Teal.rasi new file mode 100644 index 0000000..8ac9c03 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Teal.rasi @@ -0,0 +1,36 @@ +/* -- Teal -- */ + +* { +shade1: #004D40; +shade2: #00695C; +shade3: #00796B; +shade4: #00897B; +shade5: #009688; +shade6: #26A69A; +shade7: #4DB6AC; +shade8: #80CBC4; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #ffffff; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #ffffff; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/Yellow.rasi b/.config/rofi/launchers/slate/styles/Yellow.rasi new file mode 100644 index 0000000..ce28546 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/Yellow.rasi @@ -0,0 +1,36 @@ +/* -- Yellow -- */ + +* { +shade1: #F57F17; +shade2: #F9A825; +shade3: #FBC02D; +shade4: #FDD835; +shade5: #FFEB3B; +shade6: #FFEE58; +shade7: #FFF176; +shade8: #FFF59D; +} + +/**** Comment One First To Use Another ****/ + +/* -- Dark -- */ +* { + border: @shade1; + border-alt: @shade2; + background: @shade3; + background-alt: @shade3; + selected: @shade4; + foreground: #353535; + urgent: #DA4453; +} + +/* -- light -- */ +* { + border: @shade8; + border-alt: @shade7; + background: @shade6; + background-alt: @shade6; + selected: @shade5; + foreground: #505050; + urgent: #DA4453; +} diff --git a/.config/rofi/launchers/slate/styles/colors.rasi b/.config/rofi/launchers/slate/styles/colors.rasi new file mode 100644 index 0000000..3f21382 --- /dev/null +++ b/.config/rofi/launchers/slate/styles/colors.rasi @@ -0,0 +1,12 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * Amber Blue Blue_gray Black Brown Cyan Deep_orange + * Deep_purple Gray Green Indigo Light_blue Light_green Lime + * Orange Pink Purple Red Teal Yellow + * + */ + +@import "Blue.rasi" diff --git a/.config/rofi/launchers/text/launcher.sh b/.config/rofi/launchers/text/launcher.sh new file mode 100755 index 0000000..b5c28a6 --- /dev/null +++ b/.config/rofi/launchers/text/launcher.sh @@ -0,0 +1,29 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# style_1 style_2 style_3 style_4 style_5 style_6 style_7 + +theme="style_2" + +dir="$HOME/.config/rofi/launchers/text" +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 10 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="launcher.sh" --hide="styles" $dir)) +theme="${themes[$(( $RANDOM % 7 ))]}" + +rofi -no-lazy-grab -show drun \ +-modi run,drun,window \ +-theme $dir/"$theme" + diff --git a/.config/rofi/launchers/text/style_1.rasi b/.config/rofi/launchers/text/style_1.rasi new file mode 100644 index 0000000..2dc1a73 --- /dev/null +++ b/.config/rofi/launchers/text/style_1.rasi @@ -0,0 +1,176 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 10; + columns: 2; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 1; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 12px; + padding: 40; + width: 50%; + height: 50%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 4px 0px 0px; +} + +element { + border: 0px; + padding: 1px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @bg; + text-color: @green; +} +element selected.normal { + background-color: @bg; + text-color: @ac; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @bg; + text-color: @ac; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 20px; +} + +button { + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 20px; + border-color: @fg; +} + +button selected { + text-color: @fg; + border: 3px; + border-radius: 20px; + border-color: @ac; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/.config/rofi/launchers/text/style_2.rasi b/.config/rofi/launchers/text/style_2.rasi new file mode 100644 index 0000000..c762dd6 --- /dev/null +++ b/.config/rofi/launchers/text/style_2.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 15; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 6px; + padding: 30; + width: 20%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @fg; + margin: 5px; + padding: 5px; + text-color: @bg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/.config/rofi/launchers/text/style_3.rasi b/.config/rofi/launchers/text/style_3.rasi new file mode 100644 index 0000000..74e3b0d --- /dev/null +++ b/.config/rofi/launchers/text/style_3.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 6; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 6px; + padding: 15; + width: 20%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @fg; + margin: 5px; + padding: 5px; + text-color: @bg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/.config/rofi/launchers/text/style_4.rasi b/.config/rofi/launchers/text/style_4.rasi new file mode 100644 index 0000000..4b81aa8 --- /dev/null +++ b/.config/rofi/launchers/text/style_4.rasi @@ -0,0 +1,179 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 15; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 1; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 30; + width: 20%; + height: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 15px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 4px; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @ac; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @ac; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @red; + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @green; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/.config/rofi/launchers/text/style_5.rasi b/.config/rofi/launchers/text/style_5.rasi new file mode 100644 index 0000000..af45c55 --- /dev/null +++ b/.config/rofi/launchers/text/style_5.rasi @@ -0,0 +1,181 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 5; + columns: 3; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: true; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 300px; + width: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 5px; + scrollbar: false; + padding: 25px 5px -20px 5px; +} + +element { + border: 4px; + border-radius: 4px; + padding: 15px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @bg; + text-color: @fg; + border-color: @green; +} +element selected.normal { + background-color: @bg; + text-color: @fg; + border-color: @fg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @bg; + text-color: @fg; + border-color: @fg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @se; + margin: 5px; + padding: 15px; + text-color: @fg; + border: 0px; + border-radius: 4px; + border-color: @fg; +} + +button selected { + background-color: @bg; + text-color: @fg; + border: 4px; + border-radius: 4px; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/.config/rofi/launchers/text/style_6.rasi b/.config/rofi/launchers/text/style_6.rasi new file mode 100644 index 0000000..b05bc90 --- /dev/null +++ b/.config/rofi/launchers/text/style_6.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 10; + columns: 1; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: true; + fake-transparency: false; + scroll-method: 0; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 0px; + padding: 30%; + width: 100%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 5px; + scrollbar: false; + padding: 35px 5px 25px 5px; +} + +element { + border: 0px; + border-radius: 100%; + padding: 15px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @fg; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @fg; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @fg; + margin: 5px; + padding: 15px; + text-color: @bg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +button selected { + background-color: @ac; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/.config/rofi/launchers/text/style_7.rasi b/.config/rofi/launchers/text/style_7.rasi new file mode 100644 index 0000000..9b6d471 --- /dev/null +++ b/.config/rofi/launchers/text/style_7.rasi @@ -0,0 +1,178 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + lines: 10; + columns: 2; + font: "Iosevka Nerd Font 12"; + bw: 0; + location: 0; + padding: 0; + fixed-num-lines: true; + show-icons: false; + sidebar-mode: true; + separator-style: "none"; + hide-scrollbar: true; + fullscreen: false; + fake-transparency: false; + scroll-method: 1; + window-format: "[{w}] ··· {c} ··· {t}"; + click-to-exit: true; + show-match: false; + combi-hide-mode-prefix: false; + display-window: ""; + display-windowcd: ""; + display-run: ""; + display-ssh: ""; + display-drun: ""; + display-combi: ""; +} + +@import "styles/colors.rasi" + +* { + background-color: @bg; +} + +window { + border: 0px; + border-color: @ac; + border-radius: 20px; + padding: 30; + width: 40%; +} + +prompt { + spacing: 0; + border: 0; + text-color: @fg; +} + +textbox-prompt-colon { + expand: false; + str: " "; + margin: 0px 4px 0px 0px; + text-color: inherit; +} + +entry { + spacing: 0; + text-color: @fg; +} + +case-indicator { + spacing: 0; + text-color: @fg; +} + +inputbar { + spacing: 0px; + text-color: @fg; + padding: 1px; + children: [ prompt,textbox-prompt-colon,entry,case-indicator ]; +} + +mainbox { + border: 0px; + border-color: @ac; + padding: 6; +} + +listview { + fixed-height: 0; + border: 0px; + border-color: @ac; + spacing: 4px; + scrollbar: false; + padding: 5px 5px 0px 5px; +} + +element { + border: 0px; + border-radius: 100%; + padding: 5px; +} +element normal.normal { + background-color: @bg; + text-color: @fg; +} +element normal.urgent { + background-color: @bg; + text-color: @red; +} +element normal.active { + background-color: @green; + text-color: @bg; +} +element selected.normal { + background-color: @ac; + text-color: @bg; +} +element selected.urgent { + background-color: @bg; + text-color: @red; +} +element selected.active { + background-color: @ac; + text-color: @bg; +} +element alternate.normal { + background-color: @bg; + text-color: @fg; +} +element alternate.urgent { + background-color: @bg; + text-color: @fg; +} +element alternate.active { + background-color: @bg; + text-color: @fg; +} + +sidebar { + border: 0px; + border-color: @ac; + border-radius: 0px; +} + +button { + background-color: @red; + margin: 5px; + padding: 5px; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +button selected { + background-color: @green; + text-color: @fg; + border: 0px; + border-radius: 100%; + border-color: @fg; +} + +scrollbar { + width: 4px; + border: 0px; + handle-color: @fg; + handle-width: 8px; + padding: 0; +} + +message { + border: 0px; + border-color: @ac; + padding: 1px; +} + +textbox { + text-color: @fg; +} diff --git a/.config/rofi/launchers/text/styles/berry.rasi b/.config/rofi/launchers/text/styles/berry.rasi new file mode 100644 index 0000000..65ab4f1 --- /dev/null +++ b/.config/rofi/launchers/text/styles/berry.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #280F28ff; + se: #2D142Cff; + fg: #ffffffA6; + ac: #EE4540ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/black.rasi b/.config/rofi/launchers/text/styles/black.rasi new file mode 100644 index 0000000..77366f1 --- /dev/null +++ b/.config/rofi/launchers/text/styles/black.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #101010ff; + se: #151515ff; + fg: #f5f5f5ff; + ac: #42A5F5ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/bluish.rasi b/.config/rofi/launchers/text/styles/bluish.rasi new file mode 100644 index 0000000..ad8b84f --- /dev/null +++ b/.config/rofi/launchers/text/styles/bluish.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #EFF0F1FF; + se: #E3E3E3FF; + fg: #000000A6; + ac: #000B83FF; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/cocoa.rasi b/.config/rofi/launchers/text/styles/cocoa.rasi new file mode 100644 index 0000000..3c641a4 --- /dev/null +++ b/.config/rofi/launchers/text/styles/cocoa.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #3C3945FF; + se: #413E4Aff; + fg: #F7C7B2ff; + ac: #B38184ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/colors.rasi b/.config/rofi/launchers/text/styles/colors.rasi new file mode 100644 index 0000000..db0c8aa --- /dev/null +++ b/.config/rofi/launchers/text/styles/colors.rasi @@ -0,0 +1,11 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * black white + * + */ + +@import "faded.rasi" diff --git a/.config/rofi/launchers/text/styles/faded.rasi b/.config/rofi/launchers/text/styles/faded.rasi new file mode 100644 index 0000000..c9567e0 --- /dev/null +++ b/.config/rofi/launchers/text/styles/faded.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #57678CFF; + se: #5E6C91ff; + fg: #FFFCFFff; + ac: #FF83A7ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/gotham.rasi b/.config/rofi/launchers/text/styles/gotham.rasi new file mode 100644 index 0000000..4d13693 --- /dev/null +++ b/.config/rofi/launchers/text/styles/gotham.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #24334Aff; + se: #29384Fff; + fg: #FEFFF1ff; + ac: #3A6081ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/mask.rasi b/.config/rofi/launchers/text/styles/mask.rasi new file mode 100644 index 0000000..afb1cfa --- /dev/null +++ b/.config/rofi/launchers/text/styles/mask.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #3E4667ff; + se: #434C6Dff; + fg: #FAF7CCff; + ac: #CA8CA5ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/nightly.rasi b/.config/rofi/launchers/text/styles/nightly.rasi new file mode 100644 index 0000000..75d3a00 --- /dev/null +++ b/.config/rofi/launchers/text/styles/nightly.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #25344Bff; + se: #2A3950ff; + fg: #FEFFF1ff; + ac: #A162F7ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/nordic.rasi b/.config/rofi/launchers/text/styles/nordic.rasi new file mode 100644 index 0000000..8ff9560 --- /dev/null +++ b/.config/rofi/launchers/text/styles/nordic.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #425775ff; + se: #475C7Bff; + fg: #ffffffcc; + ac: #FDBB6Dff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/launchers/text/styles/white.rasi b/.config/rofi/launchers/text/styles/white.rasi new file mode 100644 index 0000000..48f1c8c --- /dev/null +++ b/.config/rofi/launchers/text/styles/white.rasi @@ -0,0 +1,15 @@ +/* colors */ + +* { + al: #00000000; + bg: #ffffffff; + se: #f5f5f5ff; + fg: #000000ff; + ac: #2900D0ff; + red: #EC7875ff; + green: #61C766ff; + yellow: #FDD835ff; + blue: #42A5F5ff; + purple: #BA68C8ff; + cyan: #4DD0E1ff; +} diff --git a/.config/rofi/powermenu/card_alt.rasi b/.config/rofi/powermenu/card_alt.rasi new file mode 100644 index 0000000..ae057fa --- /dev/null +++ b/.config/rofi/powermenu/card_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0%; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0.2%; + border-radius: 1%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 4%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.7% 2.7% 7.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0.2%; + border-radius: 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/card_circle.rasi b/.config/rofi/powermenu/card_circle.rasi new file mode 100644 index 0000000..07373bc --- /dev/null +++ b/.config/rofi/powermenu/card_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.2% 0%; + border-radius: 0% 100% 100% 100%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 7.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.2% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/card_rounded.rasi b/.config/rofi/powermenu/card_rounded.rasi new file mode 100644 index 0000000..b22d130 --- /dev/null +++ b/.config/rofi/powermenu/card_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 12px; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 25px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.7% 2.7% 7.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/card_square.rasi b/.config/rofi/powermenu/card_square.rasi new file mode 100644 index 0000000..d7d86a0 --- /dev/null +++ b/.config/rofi/powermenu/card_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 12"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 28.5%; + width: 50%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 0.5% 0.5% 0.5% 0%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.2%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 21.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3.5%; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 4.5% 2.7% 7.5% 2.7%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.2%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/column_alt.rasi b/.config/rofi/powermenu/column_alt.rasi new file mode 100644 index 0000000..379d5f7 --- /dev/null +++ b/.config/rofi/powermenu/column_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 1.5%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 5%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7.8% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @border; + text-color: @foreground; + border: 0% 0% 0% 0%; + border-radius: 5%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/column_circle.rasi b/.config/rofi/powermenu/column_circle.rasi new file mode 100644 index 0000000..8a038f7 --- /dev/null +++ b/.config/rofi/powermenu/column_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7.8% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/column_rounded.rasi b/.config/rofi/powermenu/column_rounded.rasi new file mode 100644 index 0000000..a92b907 --- /dev/null +++ b/.config/rofi/powermenu/column_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0%; + border-radius: 15px; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 25px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7.8% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/column_square.rasi b/.config/rofi/powermenu/column_square.rasi new file mode 100644 index 0000000..81a5651 --- /dev/null +++ b/.config/rofi/powermenu/column_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 100%; + width: 12.25%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 0.5% 0.5% 0.5% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 1% 1% 1% 2.2%; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 0% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 3%; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0%; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 5% 0% 7.8% 0%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/confirm.rasi b/.config/rofi/powermenu/confirm.rasi new file mode 100644 index 0000000..9a5bba6 --- /dev/null +++ b/.config/rofi/powermenu/confirm.rasi @@ -0,0 +1,24 @@ +/* Confirm Dialog */ + +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +window { + width: 225px; + padding: 25px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + y-offset: -2em; +} + +entry { + expand: true; + text-color: @border; +} diff --git a/.config/rofi/powermenu/dock_alt.rasi b/.config/rofi/powermenu/dock_alt.rasi new file mode 100644 index 0000000..d9985ac --- /dev/null +++ b/.config/rofi/powermenu/dock_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 1% 2% 3% 4%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.8% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/dock_circle.rasi b/.config/rofi/powermenu/dock_circle.rasi new file mode 100644 index 0000000..1e49e19 --- /dev/null +++ b/.config/rofi/powermenu/dock_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.8% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/dock_rounded.rasi b/.config/rofi/powermenu/dock_rounded.rasi new file mode 100644 index 0000000..448dd8e --- /dev/null +++ b/.config/rofi/powermenu/dock_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 16px; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 35px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.8% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 35px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/dock_square.rasi b/.config/rofi/powermenu/dock_square.rasi new file mode 100644 index 0000000..d3ab04a --- /dev/null +++ b/.config/rofi/powermenu/dock_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: south; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.1% 0.1% 0.1% 0.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.8% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.1% 0.1% 0.1% 0.5%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/drop_alt.rasi b/.config/rofi/powermenu/drop_alt.rasi new file mode 100644 index 0000000..1bfd2ab --- /dev/null +++ b/.config/rofi/powermenu/drop_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 1% 2% 3% 4%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0.5%; + border-radius: 1% 2% 3% 4%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/drop_circle.rasi b/.config/rofi/powermenu/drop_circle.rasi new file mode 100644 index 0000000..2714cb0 --- /dev/null +++ b/.config/rofi/powermenu/drop_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.1% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/drop_rounded.rasi b/.config/rofi/powermenu/drop_rounded.rasi new file mode 100644 index 0000000..3006a7d --- /dev/null +++ b/.config/rofi/powermenu/drop_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0.2% 0% 0.2% 0%; + border-radius: 16px; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 35px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0.2% 0% 0.2% 0%; + border-radius: 35px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/drop_square.rasi b/.config/rofi/powermenu/drop_square.rasi new file mode 100644 index 0000000..199f314 --- /dev/null +++ b/.config/rofi/powermenu/drop_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: north; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 7%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 33.25% 0% 20%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ listview, inputbar ]; + spacing: 0%; + padding: 5% 0% 5% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/full_alt.rasi b/.config/rofi/powermenu/full_alt.rasi new file mode 100644 index 0000000..e53e438 --- /dev/null +++ b/.config/rofi/powermenu/full_alt.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0.2% 0%; + border-radius: 1%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 5%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0.2% 0%; + border-radius: 5%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/full_circle.rasi b/.config/rofi/powermenu/full_circle.rasi new file mode 100644 index 0000000..26a8b95 --- /dev/null +++ b/.config/rofi/powermenu/full_circle.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.2% 0% 0.2%; + border-radius: 0% 100% 100% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.2% 0% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/full_rounded.rasi b/.config/rofi/powermenu/full_rounded.rasi new file mode 100644 index 0000000..81eeb44 --- /dev/null +++ b/.config/rofi/powermenu/full_rounded.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0.2%; + border-radius: 15px; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 25px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0.2%; + border-radius: 25px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/full_square.rasi b/.config/rofi/powermenu/full_square.rasi new file mode 100644 index 0000000..0ea6af7 --- /dev/null +++ b/.config/rofi/powermenu/full_square.rasi @@ -0,0 +1,118 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: true; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.2% 0%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 32.50% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.2% 0%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/message.rasi b/.config/rofi/powermenu/message.rasi new file mode 100644 index 0000000..37e035e --- /dev/null +++ b/.config/rofi/powermenu/message.rasi @@ -0,0 +1,24 @@ +/* Message Dialog */ + +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 12"; +} + +window { + width: 360px; + padding: 25px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + y-offset: -2em; +} + +entry { + expand: true; + text-color: @border; +} diff --git a/.config/rofi/powermenu/powermenu.sh b/.config/rofi/powermenu/powermenu.sh new file mode 100755 index 0000000..9b444f4 --- /dev/null +++ b/.config/rofi/powermenu/powermenu.sh @@ -0,0 +1,117 @@ +#!/usr/bin/env bash + +## Author : Aditya Shakya +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Twitter : @adi1090x + +# Available Styles +# >> Created and tested on : rofi 1.6.0-1 +# +# column_circle column_square column_rounded column_alt +# card_circle card_square card_rounded card_alt +# dock_circle dock_square dock_rounded dock_alt +# drop_circle drop_square drop_rounded drop_alt +# full_circle full_square full_rounded full_alt +# row_circle row_square row_rounded row_alt + +theme="full_circle" +dir="$HOME/.config/rofi/powermenu" + +# random colors +styles=($(ls -p --hide="colors.rasi" $dir/styles)) +color="${styles[$(( $RANDOM % 8 ))]}" + +# comment this line to disable random colors +sed -i -e "s/@import .*/@import \"$color\"/g" $dir/styles/colors.rasi + +# comment these lines to disable random style +themes=($(ls -p --hide="powermenu.sh" --hide="styles" --hide="confirm.rasi" --hide="message.rasi" $dir)) +theme="${themes[$(( $RANDOM % 24 ))]}" + +uptime=$(uptime -p | sed -e 's/up //g') + +rofi_command="rofi -theme $dir/$theme" + +# 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 diff --git a/.config/rofi/powermenu/row_alt.rasi b/.config/rofi/powermenu/row_alt.rasi new file mode 100644 index 0000000..ac17dcf --- /dev/null +++ b/.config/rofi/powermenu/row_alt.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.5% 0.3% 0.1%; + border-radius: 1%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 3%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.5% 0.3% 0.1%; + border-radius: 3%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/row_circle.rasi b/.config/rofi/powermenu/row_circle.rasi new file mode 100644 index 0000000..1634965 --- /dev/null +++ b/.config/rofi/powermenu/row_circle.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0.5% 0%; + border-radius: 100%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0.5% 0%; + border-radius: 100%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/row_rounded.rasi b/.config/rofi/powermenu/row_rounded.rasi new file mode 100644 index 0000000..90087c7 --- /dev/null +++ b/.config/rofi/powermenu/row_rounded.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0.3% 0% 0.3%; + border-radius: 18px; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 50px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0.3% 0% 0.3%; + border-radius: 50px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/row_square.rasi b/.config/rofi/powermenu/row_square.rasi new file mode 100644 index 0000000..34b6d9e --- /dev/null +++ b/.config/rofi/powermenu/row_square.rasi @@ -0,0 +1,123 @@ +/* + * + * Author : Aditya Shakya + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Twitter : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 14"; + show-icons: false; + icon-theme: "Papirus"; + drun-display-format: "{name}"; + disable-history: false; + fullscreen: false; + hide-scrollbar: true; + sidebar-mode: false; +} + +@import "styles/colors.rasi" + +window { + transparency: "real"; + background-color: @background; + text-color: @foreground; + border-radius: 0px; + height: 42%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 1% 1% 1% 0%; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 1% 0.5% 1% 0.5%; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0% 0% 0% 0.5%; + border-radius: 0% 0% 0% 0%; + border-color: @border; + margin: 0% 59.3% 0% 0%; + padding: 0.5%; + position: center; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 3%; + cycle: true; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + children: [ inputbar, listview ]; + spacing: 5%; + padding: 5% 0% 0% 13.25%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0%; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 6.5% 4% 13.5% 4%; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 0.2%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 0% 0% 0% 0.5%; + border-radius: 0%; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/.config/rofi/powermenu/styles/berry.rasi b/.config/rofi/powermenu/styles/berry.rasi new file mode 100644 index 0000000..025c231 --- /dev/null +++ b/.config/rofi/powermenu/styles/berry.rasi @@ -0,0 +1,9 @@ +* { + background: #280F28ff; + background-alt: #2D142Cff; + foreground: #ffffffA6; + border: #EE4540ff; + border-alt: #C92A42ff; + selected: #510A3299; + urgent: #DA4453FF; +} diff --git a/.config/rofi/powermenu/styles/bluish.rasi b/.config/rofi/powermenu/styles/bluish.rasi new file mode 100644 index 0000000..2305bd5 --- /dev/null +++ b/.config/rofi/powermenu/styles/bluish.rasi @@ -0,0 +1,9 @@ +* { + background: #EFF0F1FF; + background-alt: #E3E3E3FF; + foreground: #000000A6; + border: #000B83FF; + border-alt: #3DAEE9FF; + selected: #93CEE9FF; + urgent: #DA4453FF; +} diff --git a/.config/rofi/powermenu/styles/cocoa.rasi b/.config/rofi/powermenu/styles/cocoa.rasi new file mode 100644 index 0000000..31f780d --- /dev/null +++ b/.config/rofi/powermenu/styles/cocoa.rasi @@ -0,0 +1,9 @@ +* { + background: #3C3945FF; + background-alt: #413E4Aff; + foreground: #F7C7B2ff; + border: #B38184ff; + border-alt: #F3B69Eff; + selected: #B381841a; + urgent: #DA4453FF; +} diff --git a/.config/rofi/powermenu/styles/colors.rasi b/.config/rofi/powermenu/styles/colors.rasi new file mode 100644 index 0000000..5c044a6 --- /dev/null +++ b/.config/rofi/powermenu/styles/colors.rasi @@ -0,0 +1,10 @@ +/* + * Change the colorscheme for every menu simply by editing this file... + * + * Available Color Schemes + * + * bluish berry nordic nightly gotham mask faded cocoa + * + */ + +@import "bluish.rasi" diff --git a/.config/rofi/powermenu/styles/faded.rasi b/.config/rofi/powermenu/styles/faded.rasi new file mode 100644 index 0000000..0eebd64 --- /dev/null +++ b/.config/rofi/powermenu/styles/faded.rasi @@ -0,0 +1,9 @@ +* { + background: #57678CFF; + background-alt: #5E6C91ff; + foreground: #FFFCFFff; + border: #FF83A7ff; + border-alt: #F4BB6Cff; + selected: #A0B5F44c; + urgent: #DA4453FF; +} diff --git a/.config/rofi/powermenu/styles/gotham.rasi b/.config/rofi/powermenu/styles/gotham.rasi new file mode 100644 index 0000000..2bae381 --- /dev/null +++ b/.config/rofi/powermenu/styles/gotham.rasi @@ -0,0 +1,9 @@ +* { + background: #24334Aff; + background-alt: #29384Fff; + foreground: #FEFFF1ff; + border: #3A6081ff; + border-alt: #715979ff; + selected: #C46C854C; + urgent: #DA4453FF; +} diff --git a/.config/rofi/powermenu/styles/mask.rasi b/.config/rofi/powermenu/styles/mask.rasi new file mode 100644 index 0000000..c63ac9e --- /dev/null +++ b/.config/rofi/powermenu/styles/mask.rasi @@ -0,0 +1,9 @@ +* { + background: #3E4667ff; + background-alt: #434C6Dff; + foreground: #FAF7CCff; + border: #CA8CA5ff; + border-alt: #F0B2B3ff; + selected: #EFD4B61a; + urgent: #DA4453FF; +} diff --git a/.config/rofi/powermenu/styles/nightly.rasi b/.config/rofi/powermenu/styles/nightly.rasi new file mode 100644 index 0000000..400e6cd --- /dev/null +++ b/.config/rofi/powermenu/styles/nightly.rasi @@ -0,0 +1,9 @@ +* { + background: #25344Bff; + background-alt: #2A3950ff; + foreground: #FEFFF1ff; + border: #A162F7ff; + border-alt: #45E3FFff; + selected: #6F88FE1a; + urgent: #DA4453FF; +} diff --git a/.config/rofi/powermenu/styles/nordic.rasi b/.config/rofi/powermenu/styles/nordic.rasi new file mode 100644 index 0000000..953b52e --- /dev/null +++ b/.config/rofi/powermenu/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #425775ff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +} diff --git a/.config/rofi/scripts/appsmenu.sh b/.config/rofi/scripts/appsmenu.sh index 13e3bd3..10883f4 100755 --- a/.config/rofi/scripts/appsmenu.sh +++ b/.config/rofi/scripts/appsmenu.sh @@ -1,4 +1,4 @@ #!/bin/sh -rofi -no-lazy-grab -show drun -theme themes/app-launcher.rasi +rofi -no-lazy-grab -show drun diff --git a/.config/rofi/scripts/mpdmenu.sh b/.config/rofi/scripts/mpdmenu.sh new file mode 100755 index 0000000..b639a7b --- /dev/null +++ b/.config/rofi/scripts/mpdmenu.sh @@ -0,0 +1,69 @@ +#!/bin/bash + +rofi_command="rofi -theme /usr/share/rofi-menus-git/themes/mpdmenu.rasi" + +### Options ### +# 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 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 + ;; + $play_pause) + mpc -q toggle + ;; + $stop) + mpc -q stop + ;; + $next) + mpc -q next + ;; + $tog_repeat) + mpc -q repeat + ;; + $tog_random) + mpc -q random + ;; +esac + diff --git a/.config/rofi/scripts/networkmenu.py b/.config/rofi/scripts/networkmenu.py new file mode 100755 index 0000000..c87970c --- /dev/null +++ b/.config/rofi/scripts/networkmenu.py @@ -0,0 +1,693 @@ +#!/usr/bin/env python +# encoding:utf8 +"""NetworkManager command line dmenu script. + +To add new connections or enable/disable networking requires policykit +permissions setup per: +https://wiki.archlinux.org/index.php/NetworkManager#Set_up_PolicyKit_permissions + +OR running the script as root + +Add dmenu formatting options and default terminal if desired to +/usr/share/rofi-menus-git/networkmanager/config.ini + +""" +import itertools +import locale +import os +from os.path import expanduser +import shlex +import sys +import uuid +from subprocess import Popen, PIPE + +import gi +gi.require_version('NM', '1.0') +from gi.repository import GLib, NM # pylint: disable=wrong-import-position + +try: + import configparser as configparser +except ImportError: + import ConfigParser as configparser + +ENV = os.environ.copy() +ENV['LC_ALL'] = 'C' +ENC = locale.getpreferredencoding() + +CLIENT = NM.Client.new(None) +LOOP = GLib.MainLoop() +CONNS = CLIENT.get_connections() + +if sys.version_info.major < 3: + str = unicode + +def dmenu_cmd(num_lines, prompt="Networks", active_lines=None): # pylint: disable=too-many-branches + """Parse config.ini if it exists and add options to the dmenu command + + Args: args - num_lines: number of lines to display + prompt: prompt to show + Returns: command invocation (as a list of strings) for + dmenu -l -p -i ... + + """ + dmenu_command = "dmenu" + conf = configparser.ConfigParser() + conf.read(expanduser("/usr/share/rofi-menus-git/networkmanager/config.ini")) + if not conf.sections(): + res = [dmenu_command, "-i", "-l", str(num_lines), "-p", str(prompt)] + res.extend(sys.argv[1:]) + return res + if conf.has_section('dmenu'): + args = conf.items('dmenu') + args_dict = dict(args) + dmenu_args = [] + if "dmenu_command" in args_dict: + command = shlex.split(args_dict["dmenu_command"]) + dmenu_command = command[0] + dmenu_args = command[1:] + del args_dict["dmenu_command"] + if "p" in args_dict and prompt == "Networks": + prompt = args_dict["p"] + del args_dict["p"] + elif "p" in args_dict: + del args_dict["p"] + if "rofi" in dmenu_command: + lines = "-i -dmenu -lines" + # rofi doesn't support 0 length line, it requires at least -lines=1 + # see https://github.com/DaveDavenport/rofi/issues/252 + num_lines = num_lines or 1 + else: + lines = "-i -l" + if "l" in args_dict: + # rofi doesn't support 0 length line, it requires at least -lines=1 + # see https://github.com/DaveDavenport/rofi/issues/252 + if "rofi" in dmenu_command: + args_dict['l'] = min(num_lines, int(args_dict['l'])) or 1 + lines = "{} {}".format(lines, args_dict['l']) + del args_dict['l'] + else: + lines = "{} {}".format(lines, num_lines) + if "pinentry" in args_dict: + del args_dict["pinentry"] + if conf.has_option('dmenu', 'rofi_highlight'): + rofi_highlight = conf.getboolean('dmenu', 'rofi_highlight') + del args_dict["rofi_highlight"] + else: + rofi_highlight = False + if rofi_highlight is True and "rofi" in dmenu_command: + if active_lines: + dmenu_args.extend(["-a", ",".join([str(num) + for num in active_lines])]) + if prompt == "Passphrase": + if conf.has_section('dmenu_passphrase'): + args = conf.items('dmenu_passphrase') + args_dict.update(args) + rofi_obscure = True + if conf.has_option('dmenu_passphrase', 'rofi_obscure'): + rofi_obscure = conf.getboolean('dmenu_passphrase', 'rofi_obscure') + del args_dict["rofi_obscure"] + if rofi_obscure is True and "rofi" in dmenu_command: + dmenu_args.extend(["-password"]) + extras = (["-" + str(k), str(v)] for (k, v) in args_dict.items()) + res = [dmenu_command, "-p", str(prompt)] + res.extend(dmenu_args) + res += list(itertools.chain.from_iterable(extras)) + res[1:1] = lines.split() + res = list(filter(None, res)) # Remove empty list elements + res.extend(sys.argv[1:]) + return res + + +def choose_adapter(client): + """If there is more than one wifi adapter installed, ask which one to use + + """ + devices = client.get_devices() + devices = [i for i in devices if i.get_device_type() == NM.DeviceType.WIFI] + if not devices: + return None + elif devices: + return devices[0] + device_names = "\n".join([d.get_iface() for d in devices]).encode(ENC) + sel = Popen(dmenu_cmd(len(devices), "CHOOSE ADAPTER:"), + stdin=PIPE, + stdout=PIPE, + env=ENV).communicate(input=device_names)[0].decode(ENC) + if not sel.strip(): + sys.exit() + devices = [i for i in devices if i.get_iface() == sel.strip()] + assert len(devices) == 1 + return devices[0] + + +def is_modemmanager_installed(): + """Check if ModemManager is installed""" + devnull = open(os.devnull) + try: + Popen(["ModemManager"], stdout=devnull, stderr=devnull).communicate() + except OSError: + return False + return True + + +def create_other_actions(client): + """Return list of other actions that can be taken + + """ + networking_enabled = client.networking_get_enabled() + networking_action = "Disable" if networking_enabled else "Enable" + wifi_enabled = client.wireless_get_enabled() + wifi_action = "Disable" if wifi_enabled else "Enable" + actions = [Action("{} Wifi".format(wifi_action), toggle_wifi, + not wifi_enabled), + Action("{} Networking".format(networking_action), + toggle_networking, not networking_enabled), + Action("Launch Connection Manager", launch_connection_editor), + Action("Delete a Connection", delete_connection)] + if wifi_enabled: + actions.append(Action("Rescan Wifi Networks", rescan_wifi)) + return actions + +def rescan_wifi(): + """ + Rescan Wifi Access Points + """ + for dev in CLIENT.get_devices(): + if gi.repository.NM.DeviceWifi == type(dev): + try: + dev.request_scan() + except gi.repository.GLib.Error as err: + # Too frequent rescan error + if not err.code == 6: # pylint: disable=no-member + raise err + +def ssid_to_utf8(nm_ap): + """ Convert binary ssid to utf-8 """ + ssid = nm_ap.get_ssid() + if not ssid: + return "" + ret = NM.utils_ssid_to_utf8(ssid.get_data()) + if sys.version_info.major < 3: + return ret.decode(ENC) + return ret + + +def ap_security(nm_ap): + """Parse the security flags to return a string with 'WPA2', etc. """ + flags = nm_ap.get_flags() + wpa_flags = nm_ap.get_wpa_flags() + rsn_flags = nm_ap.get_rsn_flags() + sec_str = "" + if ((flags & getattr(NM, '80211ApFlags').PRIVACY) and + (wpa_flags == 0) and (rsn_flags == 0)): + sec_str += " WEP" + if wpa_flags != 0: + sec_str += " WPA1" + if rsn_flags != 0: + sec_str += " WPA2" + if ((wpa_flags & getattr(NM, '80211ApSecurityFlags').KEY_MGMT_802_1X) or + (rsn_flags & getattr(NM, '80211ApSecurityFlags').KEY_MGMT_802_1X)): + sec_str += " 802.1X" + + # If there is no security use "--" + if sec_str == "": + sec_str = "--" + return sec_str.lstrip() + + +class Action(object): # pylint: disable=too-few-public-methods + """Helper class to execute functions from a string variable""" + def __init__(self, + name, + func, + args=None, + active=False, + ): + self.name = name + self.func = func + self.is_active = active + if args is None: + self.args = None + elif isinstance(args, list): + self.args = args + else: + self.args = [args] + + def __str__(self): + if sys.version_info.major < 3 and \ + isinstance(self.name, unicode) is False: + return self.name.decode(ENC) + return self.name + + def __call__(self): + if self.args is None: + self.func() + else: + self.func(*self.args) + + +def process_ap(nm_ap, is_active, adapter): + """Activate/Deactivate a connection and get password if required""" + if is_active: + CLIENT.deactivate_connection_async(nm_ap) + else: + conns_cur = [i for i in CONNS if + i.get_setting_wireless() is not None and + i.get_setting_wireless().get_mac_address() == + adapter.get_permanent_hw_address()] + con = nm_ap.filter_connections(conns_cur) + if len(con) > 1: + raise ValueError("There are multiple connections possible") + + if len(con) == 1: + CLIENT.activate_connection_async(con[0]) + else: + if ap_security(nm_ap) != "--": + password = get_passphrase() + else: + password = "" + set_new_connection(nm_ap, password, adapter) + + +def process_vpngsm(con, activate): + """Activate/deactive VPN or GSM connections""" + if activate: + CLIENT.activate_connection_async(con) + else: + CLIENT.deactivate_connection_async(con) + + +def create_ap_actions(aps, active_ap, active_connection, adapter): # pylint: disable=too-many-locals + """For each AP in a list, create the string and its attached function + (activate/deactivate) + + """ + active_ap_bssid = active_ap.get_bssid() if active_ap is not None else "" + + names = [ssid_to_utf8(ap) for ap in aps] + max_len_name = max([len(name) for name in names]) if names else 0 + secs = [ap_security(ap) for ap in aps] + max_len_sec = max([len(sec) for sec in secs]) if secs else 0 + + ap_actions = [] + + for nm_ap, name, sec in zip(aps, names, secs): + bars = NM.utils_wifi_strength_bars(nm_ap.get_strength()) + is_active = nm_ap.get_bssid() == active_ap_bssid + action_name = u"{:<{}s} {:<{}s} {}".format(name, max_len_name, sec, + max_len_sec, bars) + if is_active: + ap_actions.append(Action(action_name, process_ap, + [active_connection, True, adapter], + active=True)) + else: + ap_actions.append(Action(action_name, process_ap, + [nm_ap, False, adapter])) + return ap_actions + + +def create_vpn_actions(vpns, active): + """Create the list of strings to display with associated function + (activate/deactivate) for VPN connections. + + """ + active_vpns = [i for i in active if i.get_vpn()] + return _create_vpngsm_actions(vpns, active_vpns, "VPN") + + +def create_eth_actions(eths, active): + """Create the list of strings to display with associated function + (activate/deactivate) for Ethernet connections. + + """ + active_eths = [i for i in active if 'ethernet' in i.get_connection_type()] + return _create_vpngsm_actions(eths, active_eths, "Eth") + + +def create_gsm_actions(gsms, active): + """Create the list of strings to display with associated function + (activate/deactivate) GSM connections.""" + active_gsms = [i for i in active if + i.get_connection() is not None and + i.get_connection().is_type(NM.SETTING_GSM_SETTING_NAME)] + return _create_vpngsm_actions(gsms, active_gsms, "GSM") + + +def create_blue_actions(blues, active): + """Create the list of strings to display with associated function + (activate/deactivate) Bluetooth connections.""" + active_blues = [i for i in active if + i.get_connection() is not None and + i.get_connection().is_type(NM.SETTING_BLUETOOTH_SETTING_NAME)] + return _create_vpngsm_actions(blues, active_blues, "Bluetooth") + + +def _create_vpngsm_actions(cons, active_cons, label): + active_con_ids = [a.get_id() for a in active_cons] + actions = [] + for con in cons: + is_active = con.get_id() in active_con_ids + action_name = u"{}:{}".format(con.get_id(), label) + if is_active: + active_connection = [a for a in active_cons + if a.get_id() == con.get_id()] + if len(active_connection) != 1: + raise ValueError(u"Multiple active connections match" + " the connection: {}".format(con.get_id())) + active_connection = active_connection[0] + + actions.append(Action(action_name, process_vpngsm, + [active_connection, False], active=True)) + else: + actions.append(Action(action_name, process_vpngsm, + [con, True])) + return actions + + +def create_wwan_actions(client): + """Create WWWAN actions + + """ + wwan_enabled = client.wwan_get_enabled() + wwan_action = "Disable" if wwan_enabled else "Enable" + return [Action("{} WWAN".format(wwan_action), toggle_wwan, not wwan_enabled)] + + +def get_selection(eths, aps, vpns, gsms, blues, wwan, others): + """Combine the arg lists and send to dmenu for selection. + Also executes the associated action. + + Args: args - eths: list of Actions + aps: list of Actions + vpns: list of Actions + gsms: list of Actions + blues: list of Actions + wwan: list of Actions + others: list of Actions + + """ + conf = configparser.ConfigParser() + conf.read(expanduser("/usr/share/rofi-menus-git/networkmanager/config.ini")) + rofi_highlight = False + if conf.has_option('dmenu', 'rofi_highlight'): + rofi_highlight = conf.getboolean('dmenu', 'rofi_highlight') + inp = [] + empty_action = [Action('', None)] + all_actions = [] + all_actions += eths + empty_action if eths else [] + all_actions += aps + empty_action if aps else [] + all_actions += vpns + empty_action if vpns else [] + all_actions += gsms + empty_action if (gsms and wwan) else [] + all_actions += blues + empty_action if blues else [] + all_actions += wwan + empty_action if wwan else [] + all_actions += others + + if rofi_highlight is True: + inp = [str(action) for action in all_actions] + else: + inp = [('** ' if action.is_active else ' ') + str(action) + for action in all_actions] + active_lines = [index for index, action in enumerate(all_actions) + if action.is_active] + + inp_bytes = "\n".join([i for i in inp]).encode(ENC) + command = dmenu_cmd(len(inp), active_lines=active_lines) + sel = Popen(command, stdin=PIPE, stdout=PIPE, + env=ENV).communicate(input=inp_bytes)[0].decode(ENC) + + if not sel.rstrip(): + sys.exit() + + if rofi_highlight is False: + action = [i for i in eths + aps + vpns + gsms + blues + wwan + others + if ((str(i).strip() == str(sel.strip()) + and not i.is_active) or + ('** ' + str(i) == str(sel.rstrip('\n')) + and i.is_active))] + else: + action = [i for i in eths + aps + vpns + gsms + blues + wwan + others + if str(i).strip() == sel.strip()] + assert len(action) == 1, \ + u"Selection was ambiguous: '{}'".format(str(sel.strip())) + return action[0] + + +def toggle_networking(enable): + """Enable/disable networking + + Args: enable - boolean + + """ + CLIENT.networking_set_enabled(enable) + + +def toggle_wifi(enable): + """Enable/disable Wifi + + Args: enable - boolean + + """ + CLIENT.wireless_set_enabled(enable) + + +def toggle_wwan(enable): + """Enable/disable WWAN + + Args: enable - boolean + + """ + CLIENT.wwan_set_enabled(enable) + + +def launch_connection_editor(): + """Launch nmtui or the gui nm-connection-editor + + """ + conf = configparser.ConfigParser() + conf.read(expanduser("/usr/share/rofi-menus-git/networkmanager/config.ini")) + if conf.has_option("editor", "terminal"): + terminal = conf.get("editor", "terminal") + else: + terminal = "xterm" + if conf.has_option("editor", "gui_if_available"): + gui_if_available = conf.get("editor", "gui_if_available") + else: + gui_if_available = "True" + if gui_if_available == "True": + try: + Popen(["nm-connection-editor"]).communicate() + except OSError: + Popen([terminal, "-e", "nmtui"]).communicate() + else: + Popen([terminal, "-e", "nmtui"]).communicate() + + +def get_passphrase(): + """Get a password + + Returns: string + + """ + + conf = configparser.ConfigParser() + conf.read(expanduser("/usr/share/rofi-menus-git/networkmanager/config.ini")) + pinentry = None + if conf.has_option("dmenu", "pinentry"): + pinentry = conf.get("dmenu", "pinentry") + if pinentry: + pin = "" + out = Popen(pinentry, + stdout=PIPE, + stdin=PIPE).communicate( \ + input=b'setdesc Get network password\ngetpin\n')[0] + if out: + res = out.decode(ENC).split("\n")[2] + if res.startswith("D "): + pin = res.split("D ")[1] + return pin + else: + return Popen(dmenu_cmd(0, "Passphrase"), + stdin=PIPE, stdout=PIPE).communicate()[0].decode(ENC) + + +def delete_connection(): + """Display list of NM connections and delete the selected one + + """ + conn_acts = [Action(i.get_id(), i.delete) for i in CONNS] + conn_names = "\n".join([str(i) for i in conn_acts]).encode(ENC) + sel = Popen(dmenu_cmd(len(conn_acts), "CHOOSE CONNECTION TO DELETE:"), + stdin=PIPE, + stdout=PIPE, + env=ENV).communicate(input=conn_names)[0].decode(ENC) + if not sel.strip(): + sys.exit() + action = [i for i in conn_acts if str(i) == sel.rstrip("\n")] + assert len(action) == 1, u"Selection was ambiguous: {}".format(str(sel)) + action[0]() + + +def set_new_connection(nm_ap, nm_pw, adapter): + """Setup a new NetworkManager connection + + Args: ap - NM.AccessPoint + pw - string + + """ + nm_pw = str(nm_pw).strip() + profile = create_wifi_profile(nm_ap, nm_pw, adapter) + CLIENT.add_and_activate_connection_async(profile, adapter, nm_ap.get_path(), + None, verify_conn, profile) + LOOP.run() + + +def create_wifi_profile(nm_ap, password, adapter): + # pylint: disable=C0301 + # From https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/gi/add_connection.py + # and https://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/python/dbus/add-wifi-psk-connection.py + # pylint: enable=C0301 + """Create the NM profile given the AP and passphrase""" + ap_sec = ap_security(nm_ap) + profile = NM.SimpleConnection.new() + + s_con = NM.SettingConnection.new() + s_con.set_property(NM.SETTING_CONNECTION_ID, ssid_to_utf8(nm_ap)) + s_con.set_property(NM.SETTING_CONNECTION_UUID, str(uuid.uuid4())) + s_con.set_property(NM.SETTING_CONNECTION_TYPE, "802-11-wireless") + profile.add_setting(s_con) + + s_wifi = NM.SettingWireless.new() + s_wifi.set_property(NM.SETTING_WIRELESS_SSID, nm_ap.get_ssid()) + s_wifi.set_property(NM.SETTING_WIRELESS_MODE, 'infrastructure') + s_wifi.set_property(NM.SETTING_WIRELESS_MAC_ADDRESS, adapter.get_permanent_hw_address()) + profile.add_setting(s_wifi) + + s_ip4 = NM.SettingIP4Config.new() + s_ip4.set_property(NM.SETTING_IP_CONFIG_METHOD, "auto") + profile.add_setting(s_ip4) + + s_ip6 = NM.SettingIP6Config.new() + s_ip6.set_property(NM.SETTING_IP_CONFIG_METHOD, "auto") + profile.add_setting(s_ip6) + + if ap_sec != "--": + s_wifi_sec = NM.SettingWirelessSecurity.new() + if "WPA" in ap_sec: + s_wifi_sec.set_property(NM.SETTING_WIRELESS_SECURITY_KEY_MGMT, + "wpa-psk") + s_wifi_sec.set_property(NM.SETTING_WIRELESS_SECURITY_AUTH_ALG, + "open") + s_wifi_sec.set_property(NM.SETTING_WIRELESS_SECURITY_PSK, password) + elif "WEP" in ap_sec: + s_wifi_sec.set_property(NM.SETTING_WIRELESS_SECURITY_KEY_MGMT, + "None") + s_wifi_sec.set_property(NM.SETTING_WIRELESS_SECURITY_WEP_KEY_TYPE, + NM.WepKeyType.PASSPHRASE) + s_wifi_sec.set_wep_key(0, password) + profile.add_setting(s_wifi_sec) + + return profile + + +def verify_conn(client, result, data): + """Callback function for add_and_activate_connection_async + + Check if connection completes successfully. Delete the connection if there + is an error. + + """ + try: + act_conn = client.add_and_activate_connection_finish(result) + conn = act_conn.get_connection() + conn.verify() + conn.verify_secrets() + data.verify() + data.verify_secrets() + except GLib.Error: # pylint: disable=catching-non-exception + try: + conn.delete() + except UnboundLocalError: + pass + finally: + LOOP.quit() + + +def create_ap_list(adapter, active_connections): + """Generate list of access points. Remove duplicate APs , keeping strongest + ones and the active AP + + Args: adapter + active_connections - list of all active connections + Returns: aps - list of access points + active_ap - active AP + active_ap_con - active Connection + adapter + + """ + aps = [] + ap_names = [] + active_ap = adapter.get_active_access_point() + aps_all = sorted(adapter.get_access_points(), + key=lambda a: a.get_strength(), reverse=True) + conns_cur = [i for i in CONNS if + i.get_setting_wireless() is not None and + i.get_setting_wireless().get_mac_address() == + adapter.get_permanent_hw_address()] + try: + ap_conns = active_ap.filter_connections(conns_cur) + active_ap_name = ssid_to_utf8(active_ap) + active_ap_con = [active_conn for active_conn in active_connections + if active_conn.get_connection() in ap_conns] + except AttributeError: + active_ap_name = None + active_ap_con = [] + if len(active_ap_con) > 1: + raise ValueError("Multiple connection profiles match" + " the wireless AP") + active_ap_con = active_ap_con[0] if active_ap_con else None + for nm_ap in aps_all: + ap_name = ssid_to_utf8(nm_ap) + if nm_ap != active_ap and ap_name == active_ap_name: + # Skip adding AP if it's not active but same name as active AP + continue + if ap_name not in ap_names: + ap_names.append(ap_name) + aps.append(nm_ap) + return aps, active_ap, active_ap_con, adapter + + +def run(): + """Main script entrypoint""" + active = CLIENT.get_active_connections() + adapter = choose_adapter(CLIENT) + if adapter: + ap_actions = create_ap_actions(*create_ap_list(adapter, active)) + else: + ap_actions = [] + + vpns = [i for i in CONNS if i.is_type(NM.SETTING_VPN_SETTING_NAME)] + eths = [i for i in CONNS if i.is_type(NM.SETTING_WIRED_SETTING_NAME)] + blues = [i for i in CONNS if i.is_type(NM.SETTING_BLUETOOTH_SETTING_NAME)] + + vpn_actions = create_vpn_actions(vpns, active) + eth_actions = create_eth_actions(eths, active) + blue_actions = create_blue_actions(blues, active) + other_actions = create_other_actions(CLIENT) + wwan_installed = is_modemmanager_installed() + if wwan_installed: + gsms = [i for i in CONNS if i.is_type(NM.SETTING_GSM_SETTING_NAME)] + gsm_actions = create_gsm_actions(gsms, active) + wwan_actions = create_wwan_actions(CLIENT) + else: + gsm_actions = [] + wwan_actions = [] + + sel = get_selection(eth_actions, ap_actions, vpn_actions, gsm_actions, + blue_actions, wwan_actions, other_actions) + sel() + + +if __name__ == '__main__': + run() + +# vim: set et ts=4 sw=4 : diff --git a/.config/rofi/scripts/nmvpnmenu.sh b/.config/rofi/scripts/nmvpnmenu.sh new file mode 100755 index 0000000..d89de52 --- /dev/null +++ b/.config/rofi/scripts/nmvpnmenu.sh @@ -0,0 +1,64 @@ +#!/bin/bash + +disconnect() { + nmcli con down id "$active" && notify-send "Network Manager" "Disconnected from $active" || notify-send "Network Manager" "Error disconnecting from $active!" +} +connect() { + nmcli con up id "$chosen" && notify-send "Network Manager" "Now connected to $chosen" || notify-send "Network Manager" "Error connecting to $chosen!" +} + +# Get the active vpn connection if there's one +active="$(nmcli -g name,type con show --active | grep vpn | sed -e 's#:vpn$##')" + +# Get the list of vpns +mapfile -t list < <(nmcli -g name,type con | grep vpn | sed -e 's#:vpn$##') +# A vpn is active +if [ -n "$active" ]; then + status=" Connected" + status_style="#prompt { background-color: @on; }" + special="-a 0 -selected-row 1" + # Variable passed to rofi + options="$active" + for i in "${!list[@]}"; do + [ "${list[i]}" == "$active" ] && unset "list[i]" || options+="\n${list[i]}" + done +# No vpn is active +else + status=" Disconnected" + status_style="#prompt { background-color: @off; }" + special="" + # Variable passed to rofi + options="" + for i in "${!list[@]}"; do + options+="${list[i]}\n" + done + options=${options::-2} +fi + +chosen=$(echo -e "$options" | rofi -theme ~/.config/rofi/themes/nmvpnmenu.rasi -theme-str "$status_style" -p "$status" -dmenu -i $special) +if [ "$chosen" == "$active" ]; then + # Disconnect the active vpn + disconnect +else + take_action=false + # Check if the chosen option is in the list, to avoid taking action + # on the user pressing Escape for example + for i in "${!list[@]}"; do + [ "${list[i]}" == "$chosen" ] && { take_action=true; break; } + done + if $take_action; then + # A vpn is active + if [ -n "$active" ]; then + # Disconnect the active vpn + disconnect + wait + sleep 1 + # Connect to the chosen one + connect + # No vpn is active + else + # Connect to the chosen one + connect + fi + fi +fi diff --git a/.config/rofi/scripts/promptmenu.sh b/.config/rofi/scripts/promptmenu.sh new file mode 100755 index 0000000..e4ef400 --- /dev/null +++ b/.config/rofi/scripts/promptmenu.sh @@ -0,0 +1,58 @@ +#!/bin/bash + +rofi_command="rofi -theme /usr/share/rofi-menus-git/themes/promptmenu.rasi" + +### Options ### +yes_text="Confirm" +no_text="Cancel" +query="Are you sure?" +# Parse the args +if [[ $# -eq 0 ]]; then + echo -e "Usage: \e[100m \e[32mpromptmenu\e[39;100m -y \e[0m" + echo -e "All the options:\n" \ + "\e[34mOPTIONNAL \e[39;100m [ -o | --yes-text ] \e[0m\n" \ + "\e[34mOPTIONNAL \e[39;100m [ -c | --no-text ] \e[0m\n" \ + "\e[35mREQUIRED \e[39;100m [ -y | --yes-command ] \e[0m\n" \ + "\e[34mOPTIONNAL \e[39;100m [ -n | --no-command ] \e[0m\n" \ + "\e[34mOPTIONNAL \e[39;100m [ -q | --query ] txt \e[0m" + exit 1 +else + while [ $# -ne 0 ]; do + case "$1" in + -o | --yes-text) # Optionnal + [ -n "$2" ] && yes_text="$2" || yes_text="" + shift + ;; + -c | --no-text) # Optionnal + [ -n "$2" ] && no_text="$2" || no_text="" + shift + ;; + -y | --yes-command) # Required + [ -n "$2" ] && yes_command="$2" + shift + ;; + -n | --no-command) # Optionnal + [ -n "$2" ] && no_command="$2" + shift + ;; + -q | --query) # Optionnal + [ -n "$2" ] && query="$2" + shift + ;; + esac + shift + done +fi +# Variable passed to rofi +options="$yes_text\n$no_text" + +chosen="$(echo -e "$options" | $rofi_command -p "$query" -dmenu -a 0 -u 1 -selected-row 1)" +case $chosen in + $yes_text) + eval "$yes_command" + ;; + $no_text) + eval "$no_command" + ;; +esac + diff --git a/.config/rofi/scripts/scrotmenu.sh b/.config/rofi/scripts/scrotmenu.sh new file mode 100755 index 0000000..470feed --- /dev/null +++ b/.config/rofi/scripts/scrotmenu.sh @@ -0,0 +1,24 @@ +#!/bin/bash + +rofi_command="rofi" + +### Options ### +screen="" +area="" +window="" +# Variable passed to rofi +options="$screen\n$area\n$window" + +chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 1)" +case $chosen in + $screen) + sleep 1; scrot + ;; + $area) + scrot -s + ;; + $window) + sleep 1; scrot -u + ;; +esac + diff --git a/.config/rofi/scripts/sound.sh b/.config/rofi/scripts/sound.sh index 874a128..c7432e2 100755 --- a/.config/rofi/scripts/sound.sh +++ b/.config/rofi/scripts/sound.sh @@ -1,6 +1,6 @@ #!/usr/bin/bash -sink=$(ponymix -t sink list|awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}'|rofi -theme /usr/share/rofi-menus-git/themes/nmvpnmenu.rasi -dmenu -p 'pulseaudio sink:' -location 6 -width 100|grep -Po '[0-9]+(?=:)') && +sink=$(ponymix -t sink list|awk '/^sink/ {s=$1" "$2;getline;gsub(/^ +/,"",$0);print s" "$0}'|rofi -theme ~/.config/rofi/themes/nmvpnmenu.rasi -dmenu -p 'pulseaudio sink:' -location 6 -width 100|grep -Po '[0-9]+(?=:)') && ponymix set-default -d $sink && for input in $(ponymix list -t sink-input|grep -Po '[0-9]+(?=:)');do diff --git a/.config/rofi/themes/appsmenu.rasi b/.config/rofi/themes/appsmenu.rasi new file mode 100644 index 0000000..e591b99 --- /dev/null +++ b/.config/rofi/themes/appsmenu.rasi @@ -0,0 +1,49 @@ +/** + * This theme is intended for a 8x2 items list menu with a headerbar. + */ +@import "shared/settings.rasi" +* { + background-color: @background; + text-color: @foreground-list; + font: @text-font; +} +#window { + padding: @list-8-window-padding; +} +inputbar, +prompt, +textbox-prompt-colon, +entry { + background-color: @background-light; +} +#inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + margin: @inputbar-margin; +} +#prompt { + padding: @prompt-padding; + background-color: @accent; + text-color: @background; +} +#textbox-prompt-colon { + expand: false; + str: " : : "; + padding: @apps-textbox-prompt-colon-padding; +} +#entry { + text-color: @accent; + padding: @entry-padding; +} +#element { + padding: @list-element-padding; + margin: @list-element-margin; + border: @list-element-border; + background-color: @background-light; + border-color: @background-light; +} +#element.selected { + background-color: @background-focus; + text-color: @accent; + border-color: @accent; +} + diff --git a/.config/rofi/themes/i3keybindingsmenu.rasi b/.config/rofi/themes/i3keybindingsmenu.rasi new file mode 100755 index 0000000..094db3c --- /dev/null +++ b/.config/rofi/themes/i3keybindingsmenu.rasi @@ -0,0 +1,55 @@ +/** + * This theme is intended for a 8 items list menu with a headerbar. + */ +configuration { + show-icons: false; + columns: 1; +} +@import "shared/settings.rasi" +* { + background-color: @background; + text-color: @foreground-list; + font: @text-font-mono; +} +#window { + padding: @list-8-window-padding; +} +inputbar, +prompt, +textbox-prompt-colon, +entry { + background-color: @background-light; +} +#inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + margin: @inputbar-margin; +} +#prompt { + padding: @prompt-padding; + background-color: @accent; + text-color: @background; +} +#textbox-prompt-colon { + expand: false; + str: "  "; + text-color: @accent; + padding: @i3keybindings-textbox-prompt-colon-padding; + font: @icon-font-small; +} +#entry { + text-color: @accent; + padding: @entry-padding; +} +#element { + padding: @list-element-padding; + margin: @list-element-margin; + border: @list-element-border; + background-color: @background-light; + border-color: @background-light; +} +#element.selected { + background-color: @background-focus; + text-color: @accent; + border-color: @accent; +} + diff --git a/.config/rofi/themes/i3layoutmenu.rasi b/.config/rofi/themes/i3layoutmenu.rasi new file mode 100644 index 0000000..629b589 --- /dev/null +++ b/.config/rofi/themes/i3layoutmenu.rasi @@ -0,0 +1,12 @@ +/** + * This theme is intended for a 3 items option menu. + */ +@import "shared/option-menu.rasi" +#window { + padding: @option-3-window-padding; +} +#listview { + spacing: @option-3-listview-spacing; + lines: 3; +} + diff --git a/.config/rofi/themes/maimmenu.rasi b/.config/rofi/themes/maimmenu.rasi new file mode 120000 index 0000000..06ecf5b --- /dev/null +++ b/.config/rofi/themes/maimmenu.rasi @@ -0,0 +1 @@ +scrotmenu.rasi \ No newline at end of file diff --git a/.config/rofi/themes/mpdmenu.rasi b/.config/rofi/themes/mpdmenu.rasi new file mode 100644 index 0000000..63df9b8 --- /dev/null +++ b/.config/rofi/themes/mpdmenu.rasi @@ -0,0 +1,67 @@ +/** + * This theme is intended for a 6 items option menu with a headerbar. + */ +@import "shared/option-menu.rasi" +* { + font: @text-font; +} +#window { + padding: @mpd-window-padding; + children: [ inputbar, horibox ]; +} +#inputbar { + children: [ textbox-prompt-colon, prompt ]; + margin: @mpd-inputbar-margin; +} +prompt, +textbox-prompt-colon { + padding: @mpd-prompt-padding; + border: 2px; + border-color: @accent; +} +#prompt { + margin: @mpd-prompt-margin; + background-color: @background-light; + text-color: @accent; +} +#textbox-prompt-colon { + expand: false; + str: "mpd"; + background-color: @accent; + text-color: @background; +} +#horibox { + padding: 0px; +} +#listview { + spacing: @option-6-listview-spacing; + lines: 6; +} +#element { + font: @icon-font; + border: @mpd-element-border; + padding: @mpd-element-padding; + border-color: @background-light; +} +#element.selected { + border-color: @accent; +} +element.active, +element.selected.urgent { + background-color: @on; + text-color: @background; + border-color: @on; +} +element.selected.urgent { + border-color: @accent; +} +element.urgent, +element.selected.active { + background-color: @off; + text-color: @background; + border-color: @off; +} +element.selected.active { + border-color: @accent; +} + diff --git a/.config/rofi/themes/networkmenu.rasi b/.config/rofi/themes/networkmenu.rasi new file mode 100644 index 0000000..57a5636 --- /dev/null +++ b/.config/rofi/themes/networkmenu.rasi @@ -0,0 +1,55 @@ +/** + * This theme is intended for a 8 items list menu with a headerbar. + */ +configuration { + show-icons: false; + columns: 1; +} +@import "shared/settings.rasi" +* { + background-color: @background; + text-color: @foreground-list; + font: @text-font-mono; +} +#window { + padding: @list-8-window-padding; +} +inputbar, +prompt, +textbox-prompt-colon, +entry { + background-color: @background-light; +} +#inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + margin: @inputbar-margin; +} +#prompt { + padding: @prompt-padding; + background-color: @accent; + text-color: @background; +} +#textbox-prompt-colon { + expand: false; + str: " 直 "; + text-color: @accent; + padding: @network-textbox-prompt-colon-padding; + font: @icon-font-small; +} +#entry { + text-color: @accent; + padding: @entry-padding; +} +#element { + padding: @list-element-padding; + margin: @list-element-margin; + border: @list-element-border; + background-color: @background-light; + border-color: @background-light; +} +#element.selected { + background-color: @background-focus; + text-color: @accent; + border-color: @accent; +} + diff --git a/.config/rofi/themes/nmvpnmenu.rasi b/.config/rofi/themes/nmvpnmenu.rasi new file mode 100644 index 0000000..13238ea --- /dev/null +++ b/.config/rofi/themes/nmvpnmenu.rasi @@ -0,0 +1,61 @@ +/** + * This theme is intended for a 8 items list on a 1920x1080 pixels resolution. + * You may have to tweak values such as the window padding if you have a different resolution. + */ +@import "shared/settings.rasi" +* { + background-color: @background; + text-color: @foreground-list; + font: @text-font; +} +#window { + padding: @list-8-window-padding; +} +inputbar, +prompt, +textbox-prompt-colon, +entry { + background-color: @background-light; +} +#inputbar { + children: [ prompt, textbox-prompt-colon, entry ]; + margin: @inputbar-margin; +} +#prompt { + padding: @prompt-padding; + text-color: @background; +} +#textbox-prompt-colon { + expand: false; + str: " 﫸 "; + text-color: @accent; + padding: @nmvpn-textbox-prompt-colon-padding; + font: @icon-font-small; +} +#entry { + text-color: @accent; + padding: @entry-padding; +} +#element { + padding: @list-element-padding; + margin: @list-element-margin; + border: @list-element-border; + background-color: @background-light; + border-color: @background-light; +} +#element.selected { + background-color: @background-focus; + text-color: @accent; + border-color: @accent; +} +#element.active { + background-color: @on; + text-color: @background; + border-color: @on; +} +#element.selected.active { + background-color: @off; + text-color: @background; + border-color: @accent; +} + diff --git a/.config/rofi/themes/powermenu.rasi b/.config/rofi/themes/powermenu.rasi new file mode 100644 index 0000000..dc49261 --- /dev/null +++ b/.config/rofi/themes/powermenu.rasi @@ -0,0 +1,13 @@ +/** + * This theme is intended for a 5 items wide menu on a 1920x1080 pixels resolution. + * You may have to tweak values such as the window padding if you have a different resolution. + */ +@import "shared/option-menu.rasi" +#window { + padding: @option-5-window-padding; +} +#listview { + spacing: @option-5-listview-spacing; + lines: 5; +} + diff --git a/.config/rofi/themes/promptmenu.rasi b/.config/rofi/themes/promptmenu.rasi new file mode 100755 index 0000000..bf43025 --- /dev/null +++ b/.config/rofi/themes/promptmenu.rasi @@ -0,0 +1,41 @@ +/** + * This theme is intended for a 2 items option menu with a headerbar. + */ +@import "shared/option-menu.rasi" +* { + font: @text-font; +} +#window { + height: @confirm-window-height; + width: @confirm-window-width; + children: [ inputbar, horibox ]; + border: @confirm-window-border; + border-color: @accent; +} +#inputbar { + children: [ prompt ]; +} +#prompt { + padding: @confirm-prompt-padding; + margin: @confirm-prompt-margin; + background-color: @accent; + text-color: @background-light; +} +#listview { + padding: @confirm-listview-padding; + spacing: @option-5-listview-spacing; + lines: 2; +} +#element { + font: @confirm-text-font; + padding: @confirm-element-padding; +} +element.selected.urgent { + background-color: @off; + text-color: @background; +} +element.selected.active { + background-color: @on; + text-color: @background; +} + diff --git a/.config/rofi/themes/scrotmenu.rasi b/.config/rofi/themes/scrotmenu.rasi new file mode 100644 index 0000000..eaa4e38 --- /dev/null +++ b/.config/rofi/themes/scrotmenu.rasi @@ -0,0 +1,13 @@ +/** + * This theme is intended for a 3 items wide menu on a 1920x1080 pixels resolution. + * You may have to tweak values such as the window padding if you have a different resolution. + */ +@import "shared/option-menu.rasi" +#window { + padding: @option-3-window-padding; +} +#listview { + spacing: @option-3-listview-spacing; + lines: 3; +} + diff --git a/.config/rofi/themes/shared/colorschemes/dark-amber.rasi b/.config/rofi/themes/shared/colorschemes/dark-amber.rasi new file mode 100644 index 0000000..ae63794 --- /dev/null +++ b/.config/rofi/themes/shared/colorschemes/dark-amber.rasi @@ -0,0 +1,10 @@ +* { + accent: #ffbf00; + background: #1c1c1c; + background-light: #1f1f1f; + background-focus: #282828; + foreground: #888888; + foreground-list: #bbbbbb; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/themes/shared/colorschemes/dark-steel-blue.rasi b/.config/rofi/themes/shared/colorschemes/dark-steel-blue.rasi new file mode 100644 index 0000000..210dbe4 --- /dev/null +++ b/.config/rofi/themes/shared/colorschemes/dark-steel-blue.rasi @@ -0,0 +1,10 @@ +* { + accent: #728cbb; + background: #1c1c1c; + background-light: #1f1f1f; + background-focus: #282828; + foreground: #888888; + foreground-list: #bbbbbb; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/themes/shared/colorschemes/gruvbox.rasi b/.config/rofi/themes/shared/colorschemes/gruvbox.rasi new file mode 100644 index 0000000..1e646e0 --- /dev/null +++ b/.config/rofi/themes/shared/colorschemes/gruvbox.rasi @@ -0,0 +1,10 @@ +* { + accent: #83a598; + background: #282828; + background-light: #282828; + background-focus: #1d2021; + foreground: #ebdbb2; + foreground-list: #ebdbb2; + on: #83a598; + off: #fb4934; +} diff --git a/.config/rofi/themes/shared/colorschemes/light-blue.rasi b/.config/rofi/themes/shared/colorschemes/light-blue.rasi new file mode 100644 index 0000000..103861b --- /dev/null +++ b/.config/rofi/themes/shared/colorschemes/light-blue.rasi @@ -0,0 +1,10 @@ +* { + accent: #6699ff; + background: #f2f2f2; + background-light: #e2e2e2; + background-focus: #d2d2d2; + foreground: #333333; + foreground-list: #222222; + on: #44ad4d; + off: #e34039; +} diff --git a/.config/rofi/themes/shared/colorschemes/nord.rasi b/.config/rofi/themes/shared/colorschemes/nord.rasi new file mode 100755 index 0000000..8485af8 --- /dev/null +++ b/.config/rofi/themes/shared/colorschemes/nord.rasi @@ -0,0 +1,10 @@ +* { + accent: #81a1c1; + background: #2e3440; + background-light: #3b4252; + background-focus: #4c566a; + foreground: #eceff4; + foreground-list: #d8dee9; + on: #a3be8c; + off: #bf616a; +} diff --git a/.config/rofi/themes/shared/option-menu.rasi b/.config/rofi/themes/shared/option-menu.rasi new file mode 100644 index 0000000..c23ab3b --- /dev/null +++ b/.config/rofi/themes/shared/option-menu.rasi @@ -0,0 +1,31 @@ +/** + * Settings used in every rofi option menu: + * - i3layoutmenu + * - mpdmenu + * - powermenu + * - scrotmenu + */ +@import "settings.rasi" +* { + background-color: @background; + text-color: @foreground; + font: @icon-font; +} +#window { + children: [ horibox ]; +} +#horibox { + children: [ listview ]; +} +#listview { + layout: horizontal; +} +#element { + padding: @option-element-padding; + background-color: @background-light; +} +#element.selected { + background-color: @accent; + text-color: @background; +} + diff --git a/.config/rofi/themes/shared/resolutions/1366x768.rasi b/.config/rofi/themes/shared/resolutions/1366x768.rasi new file mode 100755 index 0000000..7712ad0 --- /dev/null +++ b/.config/rofi/themes/shared/resolutions/1366x768.rasi @@ -0,0 +1,54 @@ +* { + /* General */ + prompt-text-font: "Hurmit Nerd Font Mono 18"; + text-font: "Comfortaa Bold 14"; + text-font-mono: "RobotoMono Nerd Font Regular 14"; + icon-font: "Hurmit Nerd Font Mono 50"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + inputbar-margin: 4px 4px; + prompt-padding: 14px 18px; + entry-padding: 16px 14px 14px 0px; + /* promptmenu */ + prompt-window-height: 300px; + prompt-window-width: 600px; + prompt-window-border: 2px; + prompt-prompt-padding: 20px 30px; + prompt-prompt-margin: 8px; + prompt-listview-padding: 60px 114px 0px 114px; + /* Values bellow are 'no-padding' ones for a size 18 (@prompt-text-font) font, played around using this character: ■ + * We then add add 30 actual padding around the text. + * -4px -1px -6px -28px */ + prompt-element-padding: 26px 29px 24px 2px; + /* list menus: appsmenu, networkmenu and nmvpnmenu */ + list-element-padding: 13px; + list-element-margin: @inputbar-margin; + list-element-border: 0px 0px 0px 8px; + list-8-window-padding: 120px 100px; + /* option menus: i3layoutmenu, mpdmenu, powermenu and scrotmenu */ + /** + * Values bellow are 'no-padding' ones for a size 50 (@icon-font) font, played around using this character: ■ + * We then add add 70 actual padding around the icons. + * -10px 0px -15px -79px */ + option-element-padding: 60px 70px 55px -9px; + option-3-window-padding: 293px 271px; + option-3-listview-spacing: 140px; + option-5-window-padding: 293px 130px; + option-5-listview-spacing: 50px; + option-6-listview-spacing: 30px; + /* appsmenu */ + apps-textbox-prompt-colon-padding: 16px; + /* mpdmenu */ + mpd-window-padding: 257px 64px; + mpd-inputbar-margin: 10px 0px; + mpd-prompt-padding: 14px 20px 10px 20px; + mpd-prompt-margin: 0px 0px 0px -2px; + mpd-element-border: 12px; + /* Every @option-element-padding minus @mpd-element-border */ + mpd-element-padding: 48px 58px 43px -21px; + /* networkmenu */ + network-textbox-prompt-colon-padding: 12px 10px 8px 10px; + /* nmvpnmenu */ + nmvpn-textbox-prompt-colon-padding: @network-textbox-prompt-colon-padding; + /* i3keybindings */ + i3keybindings-textbox-prompt-colon-padding: @network-textbox-prompt-colon-padding; +} diff --git a/.config/rofi/themes/shared/resolutions/1920x1080.rasi b/.config/rofi/themes/shared/resolutions/1920x1080.rasi new file mode 100755 index 0000000..78e5ee2 --- /dev/null +++ b/.config/rofi/themes/shared/resolutions/1920x1080.rasi @@ -0,0 +1,54 @@ +* { + /* General */ + confirm-text-font: "Hurmit Nerd Font Mono 18"; + text-font: "Comfortaa Bold 14"; + text-font-mono: "RobotoMono Nerd Font Regular 14"; + icon-font: "Hurmit Nerd Font Mono 60"; + icon-font-small: "Hurmit Nerd Font Mono 24"; + inputbar-margin: 4px 4px; + prompt-padding: 16px 20px; + entry-padding: 18px 16px 16px 0px; + /* confirmmenu */ + confirm-window-height: 300px; + confirm-window-width: 627px; + confirm-window-border: 2px; + confirm-prompt-padding: 20px 30px; + confirm-prompt-margin: 8px; + confirm-listview-padding: 60px 114px 0px 114px; + /* Values bellow are 'no-padding' ones for a size 18 (@confirm-text-font) font, played around using this character: ■ + * We then add add 30 actual padding around the text. + * -4px -1px -6px -28px */ + confirm-element-padding: 26px 29px 24px 2px; + /* list menus: appsmenu, networkmenu and nmvpnmenu */ + list-element-padding: 20px; + list-element-margin: @inputbar-margin; + list-element-border: 0px 0px 0px 8px; + list-8-window-padding: 219px 360px; + /* option menus: i3layoutmenu, mpdmenu, powermenu and scrotmenu */ + /** + * Values bellow are 'no-padding' ones for a size 60 (@icon-font) font, played around using this character: ■ + * We then add add 100 actual padding around the icons. + * -12px 0px -19px -96px */ + option-element-padding: 88px 100px 81px 4px; + option-3-window-padding: 415px 446px; + option-3-listview-spacing: 140px; + option-5-window-padding: 415px 183px; + option-5-listview-spacing: 77px; + option-6-listview-spacing: 50px; + /* appsmenu */ + apps-textbox-prompt-colon-padding: 16px; + /* mpdmenu */ + mpd-window-padding: 379px 111px; + mpd-inputbar-margin: 10px 0px; + mpd-prompt-padding: 14px 20px 10px 20px; + mpd-prompt-margin: 0px 0px 0px -2px; + mpd-element-border: 12px; + /* Every @option-element-padding minus @mpd-element-border */ + mpd-element-padding: 76px 88px 69px -16px; + /* networkmenu */ + network-textbox-prompt-colon-padding: 14px 10px 10px 10px; + /* nmvpnmenu */ + nmvpn-textbox-prompt-colon-padding: @network-textbox-prompt-colon-padding; + /* i3keybindings */ + i3keybindings-textbox-prompt-colon-padding: @network-textbox-prompt-colon-padding; +} diff --git a/.config/rofi/themes/shared/settings.rasi b/.config/rofi/themes/shared/settings.rasi new file mode 100644 index 0000000..49913ef --- /dev/null +++ b/.config/rofi/themes/shared/settings.rasi @@ -0,0 +1,11 @@ +/** + * Allows to change the settings of every menu simply by editing this file + */ +@import "colorschemes/dark-steel-blue.rasi" +@import "resolutions/1920x1080.rasi" + +#window { + width: 100%; + height: 100%; +} + diff --git a/.config/sway/bin/dmenuscreenshare.sh b/.config/sway/bin/dmenuscreenshare.sh index f6d05f5..2d08d15 100755 --- a/.config/sway/bin/dmenuscreenshare.sh +++ b/.config/sway/bin/dmenuscreenshare.sh @@ -2,7 +2,7 @@ ## Shows a dropdown menu to start, stop or view the status of screensharing -case "$(echo -e " Start\n Stop\n Status" | bemenu-run.sh -l 4 -p "Screensharing:")" in +case "$(echo -e " Start\n Stop\n Status" | rofi --show window -p "Screensharing:")" in " Start") screenshare.sh ;; " Stop") screenshare.sh stop ;; " Status") screenshare.sh is-recording ;; diff --git a/.config/sway/bin/session.sh b/.config/sway/bin/session.sh index 5784bca..62c2852 100755 --- a/.config/sway/bin/session.sh +++ b/.config/sway/bin/session.sh @@ -23,4 +23,4 @@ fi swaymsg -t subscribe '["shutdown"]' systemctl --user stop "$SESSION_TARGET" -systemctl --user unset-environment $VARIABLES +#systemctl --user unset-environment $VARIABLES diff --git a/.config/sway/config b/.config/sway/config index 8ccb544..a7df90f 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -16,6 +16,7 @@ set $down j set $up k set $right l # Your preferred terminal emulator +# set $term foot set $term alacritty # Your preferred application launcher # Note: pass the final command to swaymsg so that the resulting window can be opened diff --git a/.config/sway/sway.d/06-floating.conf b/.config/sway/sway.d/06-floating.conf index 5402d4c..63f2750 100644 --- a/.config/sway/sway.d/06-floating.conf +++ b/.config/sway/sway.d/06-floating.conf @@ -1,6 +1,6 @@ #for_window [class="^.*"] title_format "%title [%class]" #for_window [class="^.*"] border pixel 0 -for_window [class="Telegram"] move scratchpad, border pixel 1 +for_window [app_id="(.*)Telegram(.*)"] resize set 900 600, move scratchpad, border pixel 1 for_window [class="Mattermost"] resize set 900 600, move scratchpad, border pixel 1 for_window [class="discord"] move scratchpad, border pixel 1 for_window [window_role="floating"] floating enable @@ -11,3 +11,6 @@ for_window [class="Gnome-calculator"] floating enable for_window [class="zoom"] move scratchpad, floating enable for_window [class="Signal"] move scratchpad +for_window [class="pavucontrol"] floating enable + +for_window [class="Joplin"] move scratchpad, floating enable \ No newline at end of file diff --git a/.config/sway/sway.d/07-hotkeys.conf b/.config/sway/sway.d/07-hotkeys.conf index f58edd4..157bd32 100644 --- a/.config/sway/sway.d/07-hotkeys.conf +++ b/.config/sway/sway.d/07-hotkeys.conf @@ -149,7 +149,7 @@ bindsym --locked Print exec /usr/share/sway/scripts/grimshot --notify save area ## Screenshot // Screenshot current window // <> ## #bindsym $mod+Print exec $BIN_DIR/screenshots.sh window #bindsym $mod+Print exec swaymsg -t get_tree | jq -r '.. | (.nodes? // empty)[] | select(.focused) | .rect | "\(.x),\(.y) \(.width)x\(.height)"' | grim -g - - | swappy -f - -bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save active - | swappy -f - +bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save output - | swappy -f - ## Modify // Monitor brightness up // ## #bindsym XF86MonBrightnessUp exec light -A 5 @@ -198,7 +198,7 @@ bindsym $mod+p [class="Mattermost"] scratchpad show bindsym $mod+Shift+m [class="Thunderbird"] scratchpad show bindsym $mod+i exec --no-startup-id rofi -show window -theme /usr/share/rofi-menus-git/themes/appsmenu.rasi -bindsym $mod+Shift+o exec --no-startup-id rofi-vpn +bindsym $mod+Shift+o exec --no-startup-id ~/.config/rofi/scripts/nmvpnmenu.sh bindsym $mod+o exec --no-startup-id ~/.config/rofi/scripts/sound.sh bindsym $mod+y exec clipman pick -t rofi diff --git a/.config/sway/sway.d/10-autostart.conf b/.config/sway/sway.d/10-autostart.conf index 3ec32eb..90b0eb9 100644 --- a/.config/sway/sway.d/10-autostart.conf +++ b/.config/sway/sway.d/10-autostart.conf @@ -1,4 +1,4 @@ -exec --no-startup-id swaymsg 'workspace 1; exec $TERMINAL; workspace 2; exec brave-browser-nightly;' +exec --no-startup-id swaymsg 'workspace 1; exec $TERMINAL; workspace 2; exec brave;' exec wl-paste -t text --watch clipman store exec nm-applet --indicator @@ -13,5 +13,5 @@ exec_always { gsettings set org.gnome.desktop.wm.preferences button-layout '' } -exec ~/.config/sway/bin/session.sh --with-cleanup -exec ~/.config/sway/bin/assign-cgroups.py \ No newline at end of file +exec ~/.config/sway/bin/session.sh +#exec ~/.config/sway/bin/assign-cgroups.py \ No newline at end of file diff --git a/.config/systemd/user/dbus.service b/.config/systemd/user/dbus.service new file mode 120000 index 0000000..5e6c9c0 --- /dev/null +++ b/.config/systemd/user/dbus.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/dbus-broker.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/pulseaudio.service b/.config/systemd/user/default.target.wants/pulseaudio.service deleted file mode 120000 index bfa2c6c..0000000 --- a/.config/systemd/user/default.target.wants/pulseaudio.service +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/user/pulseaudio.service \ No newline at end of file diff --git a/.config/systemd/user/multi-user.target.wants/syngeos.service b/.config/systemd/user/multi-user.target.wants/syngeos.service new file mode 120000 index 0000000..7f20bd9 --- /dev/null +++ b/.config/systemd/user/multi-user.target.wants/syngeos.service @@ -0,0 +1 @@ +/home/paramah/.config/systemd/user/syngeos.service \ No newline at end of file diff --git a/.config/systemd/user/pipewire.service.wants/pipewire-media-session.service b/.config/systemd/user/pipewire.service.wants/pipewire-media-session.service new file mode 120000 index 0000000..b091abb --- /dev/null +++ b/.config/systemd/user/pipewire.service.wants/pipewire-media-session.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/pipewire-media-session.service \ No newline at end of file diff --git a/.config/systemd/user/polkit-gnome.service b/.config/systemd/user/polkit.service similarity index 100% rename from .config/systemd/user/polkit-gnome.service rename to .config/systemd/user/polkit.service diff --git a/.config/systemd/user/sockets.target.wants/pulseaudio.socket b/.config/systemd/user/sockets.target.wants/pulseaudio.socket deleted file mode 120000 index b166523..0000000 --- a/.config/systemd/user/sockets.target.wants/pulseaudio.socket +++ /dev/null @@ -1 +0,0 @@ -/usr/lib/systemd/user/pulseaudio.socket \ No newline at end of file diff --git a/.config/systemd/user/sway-session.target.wants/polkit-gnome.service b/.config/systemd/user/sway-session.target.wants/polkit-gnome.service deleted file mode 120000 index e9b3ef9..0000000 --- a/.config/systemd/user/sway-session.target.wants/polkit-gnome.service +++ /dev/null @@ -1 +0,0 @@ -/home/paramah/.config/systemd/user/polkit-gnome.service \ No newline at end of file diff --git a/.config/systemd/user/sway-session.target.wants/polkit.service b/.config/systemd/user/sway-session.target.wants/polkit.service new file mode 120000 index 0000000..0fdb92c --- /dev/null +++ b/.config/systemd/user/sway-session.target.wants/polkit.service @@ -0,0 +1 @@ +/home/paramah/.config/systemd/user/polkit.service \ No newline at end of file diff --git a/.config/systemd/user/syngeos.service b/.config/systemd/user/syngeos.service new file mode 100644 index 0000000..9d7f2a5 --- /dev/null +++ b/.config/systemd/user/syngeos.service @@ -0,0 +1,10 @@ +[Unit] +Description=Pobieranie danych z czujnika Syngeosa +Wants=syngeos.timer + +[Service] +Type=oneshot +ExecStart=/home/paramah/bin/czujnik.sh + +[Install] +WantedBy=multi-user.target diff --git a/.config/systemd/user/syngeos.timer b/.config/systemd/user/syngeos.timer new file mode 100644 index 0000000..aa03f27 --- /dev/null +++ b/.config/systemd/user/syngeos.timer @@ -0,0 +1,10 @@ +[Unit] +Description=Cykliczne pobieranie danych z Syngeosa +Requires=syngeos.service + +[Timer] +Unit=syngeos.service +OnCalendar=*:0/1 + +[Install] +WantedBy=timers.target diff --git a/.config/systemd/user/timers.target.wants/syngeos.timer b/.config/systemd/user/timers.target.wants/syngeos.timer new file mode 120000 index 0000000..75aee46 --- /dev/null +++ b/.config/systemd/user/timers.target.wants/syngeos.timer @@ -0,0 +1 @@ +/home/paramah/.config/systemd/user/syngeos.timer \ No newline at end of file diff --git a/.config/waybar/config b/.config/waybar/config index 08c113e..d8389d3 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -1,56 +1,25 @@ // -*- mode: json -*- [ { - "layer": "middle", + "layer": "top", "position": "top", "modules-left": [ "sway/workspaces", - "custom/right-arrow-dark" ], "modules-center": [ "sway/window" ], "modules-right": [ - "custom/left-arrow-dark", "pulseaudio", - "custom/left-arrow-light", - "custom/left-arrow-dark", "memory", - "custom/left-arrow-light", - "custom/left-arrow-dark", "cpu", - "custom/left-arrow-light", - "custom/left-arrow-dark", "disk", - "custom/left-arrow-light", - "custom/left-arrow-dark", "clock#1", - "custom/left-arrow-light", - "custom/left-arrow-dark", "clock#2", - "custom/right-arrow-dark", - "custom/right-arrow-light", "clock#3" ], - "custom/left-arrow-dark": { - "format": "", - "tooltip": false - }, - "custom/left-arrow-light": { - "format": "", - "tooltip": false - }, - "custom/right-arrow-dark": { - "format": "", - "tooltip": false - }, - "custom/right-arrow-light": { - "format": "", - "tooltip": false - }, - "sway/workspaces": { "disable-scroll": true, "format": "{name}" @@ -98,50 +67,19 @@ "modules-left": [ "battery", - "custom/right-arrow-dark", - "custom/right-arrow-light", "custom/temperature", - "custom/right-arrow-dark", - "custom/right-arrow-light", "custom/hum", - "custom/right-arrow-dark", - "custom/right-arrow-light", "custom/pressure", - "custom/right-arrow-dark", - "custom/right-arrow-light", "custom/pm_25", - "custom/right-arrow-dark", - "custom/right-arrow-light", "custom/pm_10", - "custom/right-arrow-dark" ], "modules-center": [ ], "modules-right": [ - "custom/left-arrow-dark", "custom/rsyncnet", - "custom/left-arrow-light", - "custom/left-arrow-dark", "tray" ], - "custom/left-arrow-dark": { - "format": "", - "tooltip": false - }, - "custom/left-arrow-light": { - "format": "", - "tooltip": false - }, - "custom/right-arrow-dark": { - "format": "", - "tooltip": false - }, - "custom/right-arrow-light": { - "format": "", - "tooltip": false - }, - "custom/temperature": { "format": "temp {}", "return-type": "text", @@ -201,7 +139,7 @@ ] }, "tray": { - "icon-size": 10, + "icon-size": 12, "spacing": 6 } } diff --git a/.config/waybar/style.css b/.config/waybar/style.css index f399f36..6107ce6 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -4,10 +4,14 @@ * { font-size: 12px; font-family: Terminus; + border: none; + padding: 0px 5px 0px 5px; + min-height: 10px; + border-radius: 25px; } window#waybar { - background: @back; + background: none; color: @dark; } @@ -22,29 +26,31 @@ window#waybar { background: @dark; } -#workspaces, #clock.1, #clock.2, #clock.3, #pulseaudio, #memory, #cpu, -#battery, -#disk, -#tray { +#disk { background: @dark; color: @back; + margin-left: 10px; } #workspaces { - padding: 0 10px 0 10px; + background: @dark; + color: @back; + padding: 5px; } #tray { background: @dark; - padding: 0 10px 0 10px; + color: @back; + padding: 5px; } +#battery, #custom-rsyncnet, #custom-temperature, #custom-hum, @@ -53,16 +59,25 @@ window#waybar { #custom-pm_10 { background: @dark; color: @back; - padding: 2px 5px; + margin-right: 10px; } +#workspaces:active { + color: @background; + margin-right: 0; +} + + #workspaces button { - padding: 0 0px; - color: @inactive; + padding: 0; + margin: 0; + color: @background; } #workspaces button.focused { color: @back; + margin: 0; + } #workspaces button:hover { box-shadow: inherit; diff --git a/.gitconfig b/.gitconfig index 26ea3c6..36a04b0 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,7 +1,7 @@ [user] email = aleksander@cynarski.pl name = Aleksander Cynarski - signingkey = C4340BA42B9C173A + signingkey = C4340BA42B9C173A [push] default = matching [merge] @@ -12,32 +12,28 @@ lg2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all lg = !"git lg1" tree = "forest --pretty=format:\"%C(red)%h %C(magenta)(%ar) %C(blue)%an %C(reset)%s\" --style=15 --reverse" - d = difftool - open = !vim `git-open.sh` - ; slim log - lg = log --graph --pretty=slim --abbrev-commit --date=relative - ; lg date: sorted by date and with absolute dates - lgd = log --graph --pretty=slim --abbrev-commit --date=local --date-order - ; lg upstream: also show upstream branch - lgu = !git lg $( git rev-parse --symbolic @{u} ) HEAD - ; lg date, upstream - lgdu = !git lgd $( git rev-parse --symbolic @{u} ) HEAD - ; lg me: my commits from all branches, by date - lgme = !git lgd --author=\"$( git config --get user.name )\" --all - - ; grep with some context (and a header) - hgrep = grep --heading -B3 -A3 - - ; diff by word - diffword = diff --word-diff --word-diff-regex='\\w+|[^[:space:]]' - ; diff by character - diffchar = diff --word-diff --word-diff-regex='.' - - ; checkout files with only whitespace changes - whitespacecheckout = "!git status --porcelain | grep '^.M' | cut -b4- | while read file ; do if test -z "$( git diff -w "$file" )"; then git checkout -- "$file" ; fi; done" - - ; rebase not-yet-pushed commits - rebaselocal = "!REMOTE=$( git rev-parse --abbrev-ref HEAD@{u} ) ; if [ -n "$REMOTE" ]; then git rebase -i $REMOTE ; else echo "ERROR: Unable to determine remote branch" ; fi" + d = difftool + open = !vim `git-open.sh` + ; slim log + lg = log --graph --pretty=slim --abbrev-commit --date=relative + ; lg date: sorted by date and with absolute dates + lgd = log --graph --pretty=slim --abbrev-commit --date=local --date-order + ; lg upstream: also show upstream branch + lgu = !git lg $( git rev-parse --symbolic @{u} ) HEAD + ; lg date, upstream + lgdu = !git lgd $( git rev-parse --symbolic @{u} ) HEAD + ; lg me: my commits from all branches, by date + lgme = !git lgd --author=\"$( git config --get user.name )\" --all + ; grep with some context (and a header) + hgrep = grep --heading -B3 -A3 + ; diff by word + diffword = diff --word-diff --word-diff-regex='\\w+|[^[:space:]]' + ; diff by character + diffchar = diff --word-diff --word-diff-regex='.' + ; checkout files with only whitespace changes + whitespacecheckout = "!git status --porcelain | grep '^.M' | cut -b4- | while read file ; do if test -z "$( git diff -w "$file" )"; then git checkout -- "$file" ; fi; done" + ; rebase not-yet-pushed commits + rebaselocal = "!REMOTE=$( git rev-parse --abbrev-ref HEAD@{u} ) ; if [ -n "$REMOTE" ]; then git rebase -i $REMOTE ; else echo "ERROR: Unable to determine remote branch" ; fi" [diff] tool = vimdiff @@ -47,10 +43,10 @@ [core] excludesfile = ~/.gitignore quotepath = false - editor = vim + editor = vim pager = diff-so-fancy | less --tabs=4 -RFX [pretty] - slim = "%C(red)%h%C(yellow)%d%C(reset) %s %C(green)(%cd) %C(bold blue)<%an>%C(reset)" + slim = "%C(red)%h%C(yellow)%d%C(reset) %s %C(green)(%cd) %C(bold blue)<%an>%C(reset)" [filter "lfs"] smudge = git-lfs smudge -- %f process = git-lfs filter-process @@ -73,7 +69,7 @@ commit = yellow bold old = red bold new = green bold - whitespace = red reverse + whitespace = red reverse [includeIf "gitdir:~/Projects/jazzy.pro/"] path = ~/Projects/jazzy.pro/.gitconfig @@ -81,7 +77,7 @@ [includeIf "gitdir:~/Projects/CyfroweNiebo/"] path = ~/Projects/CyfroweNiebo/.gitconfig -[includeIf "gitdir:~/Projects/streamsage.io/"] +[includeIf "gitdir:~/Projects/streamsage/"] path = ~/Projects/streamsage.io/.gitconfig [includeIf "gitdir:~/Projects/GONG/"] diff --git a/.zshrc b/.zshrc index 82f9edd..2217421 100644 --- a/.zshrc +++ b/.zshrc @@ -66,7 +66,8 @@ plugins=( docker golang terraform - aterminal + asdf + #aterminal ) @@ -127,8 +128,6 @@ export DISABLE_AUTO_TITLE='true' TMPDIR=/home/paramah/.tmp/ -eval "$(jira --completion-script-zsh)" - [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh TRAPWINCH() { @@ -195,6 +194,7 @@ alias sourcec="docker run --publish 7080:7080 --rm --volume ~/.sourcegraph/confi alias hadolint="docker run --rm -i hadolint/hadolint" +alias vim="nvim" dd_telegram-desktop () { # launch telegram and send it to scratchpad (/usr/bin/telegram-desktop &) @@ -231,14 +231,13 @@ xset b off #wal -i ~/Wallpapers/forrest_new.jpg #wal -i ~/Wallpapers/cyberpunk_city.jpg #xrdb ~/.Xresources -#sudo sh -c 'echo -n "elantech" > /sys/bus/serio/devices/serio1/protocol' -source <(hcloud completion zsh) -#eval "$(starship init zsh)" #neofetch # #### TODO - +#source <(hcloud completion zsh) +#eval "$(starship init zsh)" +#eval "$(jira --completion-script-zsh)" #eval "$(_JZ_COMPLETE=source_zsh jz)" #eval "$(_HAJDUK_COMPLETE=source_zsh hajduk)" #eval "$(_H_COMPLETE=source_zsh h)" @@ -251,34 +250,41 @@ alias tfw="terraform workspace" alias easy-rsa="docker run --rm -it -v /home/paramah/secrets/rsa:/pki -v /home/paramah/.aws:/root/.aws -e AWS_PROFILE=sandbox -e KMS_KEY_ID=test paramah/easyrsa" alias genpass="< /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-32};echo;" -tfv(){ + + +function tfv(){ terraform validate -var-file=vars/$(terraform workspace show).tfvars $1 } -tfp(){ +function tfp(){ terraform plan -var-file=vars/$(terraform workspace show).tfvars $1 } -tfa(){ +function tfa(){ terraform apply -var-file=vars/$(terraform workspace show).tfvars $1 } -tfc(){ +function tfc(){ terraform console -var-file=vars/$(terraform workspace show).tfvars $1 } -gitc(){ +function gitc(){ git commit -a -S $1 } -ec2-list(){ +function ec2-list(){ aws ec2 describe-instances \ --filter "Name=instance-state-name,Values=running" \ --query "Reservations[*].Instances[*].[PublicIpAddress, Tags[?Key=='Name'].Value|[0],PrivateIpAddress, LaunchTime, InstanceId]" \ --output table } +function ec2-connect(){ + HOST=$(ec2-list | fzf | awk '{print $2}' |sed 's/|//') + jssh $HOST +} + # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh @@ -304,7 +310,7 @@ function prompt_docker_host() { hostport=$(echo $url | sed -e s,$user@,,g | cut -d/ -f1) host="$(echo $hostport | sed -e 's,:.*,,g')" - p10k segment -b blue -f black -t "${host}" + p10k segment -b yellow -f black -t "${host}" fi } @@ -312,6 +318,9 @@ function prompt_jzmode() { if [ -f .jz-mode ]; then p10k segment -b '#012845' -f white -t $(cat .jz-mode) fi + if [ -f .ledo-mode ]; then + p10k segment -b '#012845' -f white -t $(cat .ledo-mode) + fi } POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS+=docker_host @@ -356,3 +365,15 @@ then echo -en "\e]0;$(id --user --name)@$(hostname): ${1}\a" } fi +PROG=tea _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/paramah/.config/tea/autocomplete.zsh" +PROG=ledo _CLI_ZSH_AUTOCOMPLETE_HACK=1 source "/home/paramah/.config/ledo/autocomplete.zsh" + +PATH="/home/paramah/perl5/bin${PATH:+:${PATH}}"; export PATH; +PERL5LIB="/home/paramah/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; +PERL_LOCAL_LIB_ROOT="/home/paramah/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; +PERL_MB_OPT="--install_base \"/home/paramah/perl5\""; export PERL_MB_OPT; +PERL_MM_OPT="INSTALL_BASE=/home/paramah/perl5"; export PERL_MM_OPT; +PATH="/home/paramah/.local/share/gem/ruby/3.0.0/bin${PATH:+${PATH}}"; export PATH; + +source <(clockify-cli completion zsh) +POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true diff --git a/bin/chezmoi b/bin/chezmoi new file mode 100755 index 0000000..c3c6b6a Binary files /dev/null and b/bin/chezmoi differ diff --git a/bin/czujnik.sh b/bin/czujnik.sh new file mode 100755 index 0000000..47ae7cc --- /dev/null +++ b/bin/czujnik.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +curl -s https://api.syngeos.pl/api/public/data/device/1554 |jq -r '.sensors |.[] | { (.name): ((.data[0].value|tostring) + .unit ) }' > /tmp/czujnik +curl -s https://api.syngeos.pl/api/public/data/device/1554 |jq -r '.sensors |.[] | { (.name): ((.data[0].threshold_level|tostring) ) }' > /tmp/czujnik-levels diff --git a/bin/goreleaser b/bin/goreleaser new file mode 100755 index 0000000..cd6a8d5 Binary files /dev/null and b/bin/goreleaser differ diff --git a/bin/gsettings-import b/bin/gsettings-import new file mode 100755 index 0000000..967620f --- /dev/null +++ b/bin/gsettings-import @@ -0,0 +1,15 @@ +#!/bin/sh + +# usage: import-gsettings +config="${XDG_CONFIG_HOME:-$HOME/.config}/gtk-3.0/settings.ini" +if [ ! -f "$config" ]; then exit 1; fi + +gnome_schema="org.gnome.desktop.interface" +gtk_theme="$(grep 'gtk-theme-name' "$config" | sed 's/.*\s*=\s*//')" +icon_theme="$(grep 'gtk-icon-theme-name' "$config" | sed 's/.*\s*=\s*//')" +cursor_theme="$(grep 'gtk-cursor-theme-name' "$config" | sed 's/.*\s*=\s*//')" +font_name="$(grep 'gtk-font-name' "$config" | sed 's/.*\s*=\s*//')" +gsettings set "$gnome_schema" gtk-theme "$gtk_theme" +gsettings set "$gnome_schema" icon-theme "$icon_theme" +gsettings set "$gnome_schema" cursor-theme "$cursor_theme" +gsettings set "$gnome_schema" font-name "$font_name" diff --git a/bin/route_gong.sh b/bin/route_gong.sh new file mode 100755 index 0000000..b8d1860 --- /dev/null +++ b/bin/route_gong.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +sudo ip r a 10.0.10.0/23 via 192.168.88.244 diff --git a/bin/route_streamsage.sh b/bin/route_streamsage.sh new file mode 100644 index 0000000..14a374e --- /dev/null +++ b/bin/route_streamsage.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +sudo ip r a 172.21.0.0/20 via 192.168.88.244 +sudo ip r a 172.61.0.0/16 via 192.168.88.244 +sudo ip r a 172.71.0.0/16 via 192.168.88.244 +sudo ip r a 172.81.0.0/16 via 192.168.88.244 +sudo ip r a 172.101.0.0/16 via 192.168.88.244 diff --git a/bin/vdot b/bin/vdot new file mode 100755 index 0000000..c79a2c3 Binary files /dev/null and b/bin/vdot differ diff --git a/bin/wal b/bin/wal new file mode 100755 index 0000000..c25e72b --- /dev/null +++ b/bin/wal @@ -0,0 +1,9 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +import re +import sys +from pywal.__main__ import main +if __name__ == '__main__': + sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) + sys.exit(main()) + diff --git a/nvim/init.vim b/nvim/init.vim index c5d00ea..efd7333 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -143,12 +143,13 @@ Plug 'fatih/vim-go' Plug 'ekalinin/Dockerfile.vim' +Plug 'iamcco/markdown-preview.nvim', { 'do': 'cd app && yarn install' } " Use release branch (recommend) -Plug 'neoclide/coc.nvim', {'branch': 'release'} +" Plug 'neoclide/coc.nvim', {'branch': 'release'} " Or build from source code by using yarn: https://yarnpkg.com -Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} +" Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'} call plug#end() "