diff --git a/README.md b/README.md index 8729a53..a5c0eef 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,7 @@ A collection of custom *applets* and *menus* made using [rofi](https://github.co - [Launchers](https://github.com/adi1090x/rofi#app-launchers) - [Ribbon](https://github.com/adi1090x/rofi#rofi-ribbon-launchers-rofi-git) - [Slates](https://github.com/adi1090x/rofi#rofi-slates-rofi-git) +- [Powermenu](https://github.com/adi1090x/rofi#rofi-powermenu-rofi-git) - [Colorschemes](https://github.com/adi1090x/rofi#colorschemes) - [Usage](https://github.com/adi1090x/rofi#tips) * [Polybar](https://github.com/adi1090x/rofi#use-with-polybar) @@ -400,6 +401,33 @@ An Album is [Here](https://www.buymeacoffee.com/p/45388). +### Rofi Powermenu (rofi-git) + +> These themes/configs only works with `rofi-git(aur)`. You need to build latest rofi if you're not using *archlinux*. +> +> Tested With Rofi Version : **1.5.4-110-g1a9e6450** + +***Stuff you need*** ++ *Latest Rofi* : [Here...](https://github.com/davatorium/rofi) ++ *Fonts* : [Fantasque](https://github.com/adi1090x/rofi/blob/master/fonts) ++ *Fonts* : [Feather](https://github.com/adi1090x/rofi/blob/master/fonts) + +***Styling*** ++ Edit the `~/.config/rofi/power/powermenu.sh` file and change the **style** variable to set the style you like. ++ Edit `~/.config/rofi/power/styles/colors.rasi` file and set the `color-scheme` you like. + +
Previews + +|Style 1|Style 2|Style 3| +|--|--|--| +|![img](https://raw.githubusercontent.com/adi1090x/files/master/rofi/images/powermenu/A.gif)|![img](https://raw.githubusercontent.com/adi1090x/files/master/rofi/images/powermenu/B.gif)|![img](https://raw.githubusercontent.com/adi1090x/files/master/rofi/images/powermenu/C.gif)| + +|Style 4|Style 5|Style 6| +|--|--|--| +|![img](https://raw.githubusercontent.com/adi1090x/files/master/rofi/images/powermenu/D.gif)|![img](https://raw.githubusercontent.com/adi1090x/files/master/rofi/images/powermenu/E.gif)|![img](https://raw.githubusercontent.com/adi1090x/files/master/rofi/images/powermenu/F.gif)| + +
+ ## Tips ### Simple way to execute applets/menus diff --git a/power/card.rasi b/power/card.rasi new file mode 100644 index 0000000..833e4e2 --- /dev/null +++ b/power/card.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @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: 29%; + width: 47.5%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 1%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 2%; + children: [ inputbar, listview ]; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 30px 35px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/card_circle.rasi b/power/card_circle.rasi new file mode 100644 index 0000000..2305fc3 --- /dev/null +++ b/power/card_circle.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @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: 29%; + width: 47.5%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 25px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0px 1px 0px 1px; + border-radius: 100%; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 1%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 2%; + children: [ inputbar, listview ]; + padding: 4% 0% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 30px 35px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + 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/power/column.rasi b/power/column.rasi new file mode 100644 index 0000000..9a73eb8 --- /dev/null +++ b/power/column.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 4px 0px 4px 12px; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 0px 0px 0px; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 0px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 30px 35px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/column_circle.rasi b/power/column_circle.rasi new file mode 100644 index 0000000..da9da3e --- /dev/null +++ b/power/column_circle.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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%; + location: east; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 4px 0px 4px 12px; +} + +inputbar { + children: [ textbox-prompt-colon ]; + background-color: @border; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 100%; + border-color: @border; + margin: 0px 0px 0px 0px; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 0% 0% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: vertical; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 4% 2% 0% 2%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: vertical; + border-radius: 100%; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 30px 35px; +} + +element normal.urgent, +element alternate.urgent { + background-color: @urgent; + text-color: @foreground; + border-radius: 100%; +} + +element normal.active, +element alternate.active { + background-color: @background-alt; + text-color: @foreground; +} + +element selected { + background-color: @selected; + text-color: @foreground; + border: 1px; + 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/power/confirm.rasi b/power/confirm.rasi new file mode 100644 index 0000000..19080ef --- /dev/null +++ b/power/confirm.rasi @@ -0,0 +1,24 @@ +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 14"; +} + +window { + width: 280px; + padding: 30px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + x-offset: 0; + y-offset: -8%; +} + +entry { + expand: true; + width: 150px; + text-color: @border; +} diff --git a/power/confirm.sh b/power/confirm.sh new file mode 100755 index 0000000..9369c51 --- /dev/null +++ b/power/confirm.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +rofi -dmenu\ + -i\ + -no-fixed-num-lines\ + -p "Are You Sure? : "\ + -theme ~/.config/rofi/power/confirm.rasi diff --git a/power/full.rasi b/power/full.rasi new file mode 100644 index 0000000..4358d0f --- /dev/null +++ b/power/full.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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; + height: 100%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 8px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 60% 0px 0px; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 5% 30% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 30% 0% 0% 7%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 60px 60px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/full_alt.rasi b/power/full_alt.rasi new file mode 100644 index 0000000..ccc7479 --- /dev/null +++ b/power/full_alt.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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; + height: 100%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 8px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0px 2px 0px 2px; + border-radius: 10px 0px 10px 0px; + border-color: @border; + margin: 0px 60% 0px 0px; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 5% 30% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 30% 0% 0% 7%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 30px 0px 30px 0px; + padding: 0px 0px 0px -10px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 60px 60px 65px; +} + +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: @selected; + text-color: @foreground; + border: 0px 2px 0px 2px; + border-radius: 30px 0px 30px 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/full_circle.rasi b/power/full_circle.rasi new file mode 100644 index 0000000..173804b --- /dev/null +++ b/power/full_circle.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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; + height: 100%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 60px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0px 1px 0px 1px; + border-radius: 100%; + border-color: @border; + margin: 0px 30% 0px 24%; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 5% 25% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 5%; + children: [ inputbar, listview ]; + padding: 30% 0% 0% 7%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 50px 60px 60px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + 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/power/full_rounded.rasi b/power/full_rounded.rasi new file mode 100644 index 0000000..93cf489 --- /dev/null +++ b/power/full_rounded.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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; + height: 100%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 8px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 10px; + border-color: @border; + margin: 0px 60% 0px 0px; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 5% 30% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 30% 0% 0% 7%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 10px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 60px 60px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + 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/power/message.rasi b/power/message.rasi new file mode 100644 index 0000000..fbbc9fb --- /dev/null +++ b/power/message.rasi @@ -0,0 +1,24 @@ +@import "styles/colors.rasi" + +* { + background-color: @background; + text-color: @foreground; + font: "FantasqueSansMono Nerd Font 14"; +} + +window { + width: 450px; + padding: 30px; + border: 1px; + border-radius: 0px; + border-color: @border; + location: center; + x-offset: 0; + y-offset: -8%; +} + +entry { + expand: true; + width: 150px; + text-color: @border; +} diff --git a/power/powermenu.sh b/power/powermenu.sh new file mode 100755 index 0000000..f6d2fc7 --- /dev/null +++ b/power/powermenu.sh @@ -0,0 +1,79 @@ +#!/bin/bash + +## Author : Aditya Shakya (adi1090x) +## Mail : adi1090x@gmail.com +## Github : @adi1090x +## Reddit : @adi1090x + +# Available Styles +# >> Styles Below Only Works With "rofi-git(AUR)", Current Version: 1.5.4-76-gca067234 +# full full_circle full_rounded full_alt +# card card_circle column column_circle +# row row_alt row_circle +# single single_circle single_full single_full_circle single_rounded single_text + +style="full_circle" + +rofi_command="rofi -theme power/$style.rasi" + +uptime=$(uptime -p | sed -e 's/up //g') + +# Options +shutdown="" +reboot="" +lock="" +suspend="" +logout="" +dir="$HOME/.config/rofi/power" + +# 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=$($dir/confirm.sh) + if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then + systemctl poweroff + elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then + exit + else + rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" + fi + ;; + $reboot) + ans=$($dir/confirm.sh) + if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then + systemctl reboot + elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then + exit + else + rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" + fi + ;; + $lock) + i3lock + ;; + $suspend) + ans=$($dir/confirm.sh) + if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then + mpc -q pause + amixer set Master mute + systemctl suspend + elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then + exit + else + rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" + fi + ;; + $logout) + ans=$($dir/confirm.sh) + if [[ $ans == "yes" ]] || [[ $ans == "YES" ]] || [[ $ans == "y" ]]; then + openbox --exit + elif [[ $ans == "no" ]] || [[ $ans == "NO" ]] || [[ $ans == "n" ]]; then + exit + else + rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n" + fi + ;; +esac diff --git a/power/row.rasi b/power/row.rasi new file mode 100644 index 0000000..ab70b27 --- /dev/null +++ b/power/row.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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: 47%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 8px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 60% 0px 0px; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 5% 0% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 4% 0% 0% 7%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 60px 60px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/row_alt.rasi b/power/row_alt.rasi new file mode 100644 index 0000000..de72c0d --- /dev/null +++ b/power/row_alt.rasi @@ -0,0 +1,147 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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: 47%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 8px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0px 0px 0px 3px; + border-radius: 0px 50px 50px 0px; + border-color: @border; + margin: 0px 60% 0px 0px; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 5% 0% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 4% 0% 0% 7%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 10px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 60px 60px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + 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/power/row_circle.rasi b/power/row_circle.rasi new file mode 100644 index 0000000..9ed79c7 --- /dev/null +++ b/power/row_circle.rasi @@ -0,0 +1,148 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 16"; + 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: 47%; + width: 100%; + location: center; + x-offset: 0; + y-offset: 0; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System |"; + background-color: @background-alt; + text-color: @foreground; + padding: 4px 0px 4px 60px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 0px 3px 0px 3px; + border-radius: 100%; + border-color: @border; + margin: 0px 30% 0px 24%; + padding: 8px 8px 8px 8px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + margin: 0% 5% 0% 0%; + spacing: 2.5%; + cycle: false; + dynamic: true; + layout: horizontal; +} + +mainbox { + background-color: @background; + spacing: 4%; + children: [ inputbar, listview ]; + padding: 5% 0% 0% 7%; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border: 0px; + border-radius: 100%; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 64"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 50px 60px 60px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + 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/power/single.rasi b/power/single.rasi new file mode 100644 index 0000000..82a82b3 --- /dev/null +++ b/power/single.rasi @@ -0,0 +1,151 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @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: 17%; + width: 52.5%; + location: center; + x-offset: 0; + y-offset: 0; + children: [ horibox ]; +} + +horibox { + background-color: @background; + text-color: @foreground; + orientation: horizontal; + children: [ textbox-prompt-colon, listview ]; + margin: 0px 0px 0px 0px; + padding: 10px 10px 10px 10px; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + font: "feather 32"; + expand: false; + str: ""; + background-color: @border; + text-color: @background; + padding: 35px 30px 30px 30px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + padding: 0px 0px 0px 8px; + spacing: 10px; + cycle: false; + dynamic: true; + layout: horizontal; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 29px 35px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/single_circle.rasi b/power/single_circle.rasi new file mode 100644 index 0000000..49805bf --- /dev/null +++ b/power/single_circle.rasi @@ -0,0 +1,152 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @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: 17%; + width: 52.5%; + location: center; + x-offset: 0; + y-offset: 0; + children: [ horibox ]; +} + +horibox { + background-color: @background; + text-color: @foreground; + orientation: horizontal; + children: [ textbox-prompt-colon, listview ]; + margin: 0px 0px 0px 0px; + padding: 10px 10px 10px 10px; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + font: "feather 32"; + expand: false; + str: ""; + background-color: @border; + text-color: @background; + border-radius: 100%; + padding: 35px 30px 30px 30px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + padding: 0px 0px 0px 8px; + spacing: 10px; + cycle: false; + dynamic: true; + layout: horizontal; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 29px 35px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + 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/power/single_full.rasi b/power/single_full.rasi new file mode 100644 index 0000000..070522c --- /dev/null +++ b/power/single_full.rasi @@ -0,0 +1,151 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @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: 100%; + location: center; + x-offset: 0; + y-offset: 0; + children: [ horibox ]; +} + +horibox { + background-color: @background; + text-color: @foreground; + orientation: horizontal; + children: [ textbox-prompt-colon, listview ]; + margin: 0px 0px 0px 0px; + padding: 35% 5% 40% 7%; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + font: "feather 48"; + expand: false; + str: ""; + background-color: @border; + text-color: @background; + padding: 65px 60px 60px 60px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + padding: 0px 0px 0px 8px; + spacing: 10px; + cycle: false; + dynamic: true; + layout: horizontal; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 60px 57px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/single_full_circle.rasi b/power/single_full_circle.rasi new file mode 100644 index 0000000..c5a39a4 --- /dev/null +++ b/power/single_full_circle.rasi @@ -0,0 +1,152 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @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: 100%; + location: center; + x-offset: 0; + y-offset: 0; + children: [ horibox ]; +} + +horibox { + background-color: @background; + text-color: @foreground; + orientation: horizontal; + children: [ textbox-prompt-colon, listview ]; + margin: 0px 0px 0px 0px; + padding: 35% 5% 40% 7%; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + font: "feather 48"; + expand: false; + str: ""; + background-color: @border; + border-radius: 100%; + text-color: @background; + padding: 65px 60px 60px 60px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + padding: 0px 0px 0px 8px; + spacing: 10px; + cycle: false; + dynamic: true; + layout: horizontal; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 100%; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 48"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 60px 60px 57px 65px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + 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/power/single_rounded.rasi b/power/single_rounded.rasi new file mode 100644 index 0000000..804b62f --- /dev/null +++ b/power/single_rounded.rasi @@ -0,0 +1,152 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @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: 15px; + height: 17%; + width: 52.5%; + location: center; + x-offset: 0; + y-offset: 0; + children: [ horibox ]; +} + +horibox { + background-color: @background; + text-color: @foreground; + orientation: horizontal; + children: [ textbox-prompt-colon, listview ]; + margin: 0px 0px 0px 0px; + padding: 10px 10px 10px 10px; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + font: "feather 32"; + expand: false; + str: ""; + background-color: @border; + text-color: @background; + border-radius: 15px; + padding: 35px 30px 30px 30px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + padding: 0px 0px 0px 8px; + spacing: 10px; + cycle: false; + dynamic: true; + layout: horizontal; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 15px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 29px 35px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 15px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/single_text.rasi b/power/single_text.rasi new file mode 100644 index 0000000..4a9a062 --- /dev/null +++ b/power/single_text.rasi @@ -0,0 +1,150 @@ +/* + * + * Author : Aditya Shakya (adi1090x) + * Mail : adi1090x@gmail.com + * Github : @adi1090x + * Reddit : @adi1090x + * + */ + +configuration { + font: "FantasqueSansMono Nerd Font 36"; + 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: 17%; + width: 60.5%; + location: center; + x-offset: 0; + y-offset: 0; + children: [ horibox ]; +} + +horibox { + background-color: @background; + text-color: @foreground; + orientation: horizontal; + children: [ textbox-prompt-colon, listview ]; + margin: 0px 0px 0px 0px; + padding: 10px 10px 10px 10px; +} + +prompt { + enabled: true; + padding: 4px 8px 4px 8px; + background-color: @background-alt; + text-color: @foreground; +} + +textbox-prompt-colon { + expand: false; + str: "System"; + background-color: @border; + text-color: @background; + padding: 30px 30px 30px 30px; +} + +inputbar { + children: [ textbox-prompt-colon, prompt ]; + background-color: @background-alt; + text-color: @foreground; + expand: false; + border: 1px; + border-radius: 0px; + border-color: @border; + margin: 0px 8% 0px 6%; + padding: 4px 4px 4px 4px; + position: center; +} + + +entry { + background-color: @background-alt; + text-color: @foreground; + placeholder-color: @foreground; + padding: 4px 8px 4px 8px; + expand: true; + horizontal-align: 0; + placeholder: "Search"; + blink: true; +} + +case-indicator { + background-color: @background-alt; + text-color: @foreground; + spacing: 0; +} + +listview { + background-color: @background; + padding: 0px 0px 0px 8px; + spacing: 10px; + cycle: false; + dynamic: true; + layout: horizontal; +} + +element { + background-color: @background-alt; + text-color: @foreground; + orientation: horizontal; + border-radius: 0px; + padding: 0px 0px 0px -5px; +} + +element-icon { + size: 65px; + border: 0px; +} + +element-text { + font: "feather 32"; + expand: true; + horizontal-align: 0.5; + vertical-align: 0.5; + margin: 30px 30px 29px 35px; +} + +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: @selected; + text-color: @foreground; + border: 1px; + border-radius: 0px; + border-color: @border; +} + +element selected.urgent { + background-color: @urgent; + text-color: @foreground; +} + +element selected.active { + background-color: @background-alt; + color: @foreground; +} diff --git a/power/styles/berry.rasi b/power/styles/berry.rasi new file mode 100644 index 0000000..025c231 --- /dev/null +++ b/power/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/power/styles/bluish.rasi b/power/styles/bluish.rasi new file mode 100644 index 0000000..2305bd5 --- /dev/null +++ b/power/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/power/styles/cocoa.rasi b/power/styles/cocoa.rasi new file mode 100644 index 0000000..31f780d --- /dev/null +++ b/power/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/power/styles/colors.rasi b/power/styles/colors.rasi new file mode 100644 index 0000000..a3c4a5a --- /dev/null +++ b/power/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 "nightly.rasi" diff --git a/power/styles/faded.rasi b/power/styles/faded.rasi new file mode 100644 index 0000000..0eebd64 --- /dev/null +++ b/power/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/power/styles/gotham.rasi b/power/styles/gotham.rasi new file mode 100644 index 0000000..2bae381 --- /dev/null +++ b/power/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/power/styles/mask.rasi b/power/styles/mask.rasi new file mode 100644 index 0000000..c63ac9e --- /dev/null +++ b/power/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/power/styles/nightly.rasi b/power/styles/nightly.rasi new file mode 100644 index 0000000..400e6cd --- /dev/null +++ b/power/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/power/styles/nordic.rasi b/power/styles/nordic.rasi new file mode 100644 index 0000000..953b52e --- /dev/null +++ b/power/styles/nordic.rasi @@ -0,0 +1,9 @@ +* { + background: #425775ff; + background-alt: #475C7Bff; + foreground: #ffffffcc; + border: #FDBB6Dff; + border-alt: #DA717Fff; + selected: #685E79ff; + urgent: #DA4453FF; +}