diff --git a/rofi/README.md b/rofi/README.md new file mode 100644 index 00000000..67ab6cd3 --- /dev/null +++ b/rofi/README.md @@ -0,0 +1 @@ +credits: https://github.com/vs66388/Hype-uwu diff --git a/rofi/colors/adapta.rasi b/rofi/colors/adapta.rasi new file mode 100644 index 00000000..dcde9e57 --- /dev/null +++ b/rofi/colors/adapta.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #222D32FF; + background-alt: #29353BFF; + foreground: #B8C2C6FF; + selected: #00BCD4FF; + active: #21FF90FF; + urgent: #FF4B60FF; +} diff --git a/rofi/colors/arc.rasi b/rofi/colors/arc.rasi new file mode 100644 index 00000000..0dfb773e --- /dev/null +++ b/rofi/colors/arc.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #2F343FFF; + background-alt: #383C4AFF; + foreground: #BAC5D0FF; + selected: #5294E2FF; + active: #98C379FF; + urgent: #E06B74FF; +} diff --git a/rofi/colors/black.rasi b/rofi/colors/black.rasi new file mode 100644 index 00000000..fa7b76f7 --- /dev/null +++ b/rofi/colors/black.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #000000FF; + background-alt: #101010FF; + foreground: #FFFFFFFF; + selected: #62AEEFFF; + active: #98C379FF; + urgent: #E06B74FF; +} diff --git a/rofi/colors/catppuccin.rasi b/rofi/colors/catppuccin.rasi new file mode 100644 index 00000000..62c59450 --- /dev/null +++ b/rofi/colors/catppuccin.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1E1D2FFF; + background-alt: #282839FF; + foreground: #D9E0EEFF; + selected: #7AA2F7FF; + active: #ABE9B3FF; + urgent: #F28FADFF; +} diff --git a/rofi/colors/cyberpunk.rasi b/rofi/colors/cyberpunk.rasi new file mode 100644 index 00000000..f5fa0e77 --- /dev/null +++ b/rofi/colors/cyberpunk.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #000B1EFF; + background-alt: #0A1528FF; + foreground: #0ABDC6FF; + selected: #0ABDC6FF; + active: #00FF00FF; + urgent: #FF0000FF; +} diff --git a/rofi/colors/dracula.rasi b/rofi/colors/dracula.rasi new file mode 100644 index 00000000..7ae606d1 --- /dev/null +++ b/rofi/colors/dracula.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1E1F29FF; + background-alt: #282A36FF; + foreground: #FFFFFFFF; + selected: #BD93F9FF; + active: #50FA7BFF; + urgent: #FF5555FF; +} diff --git a/rofi/colors/everforest.rasi b/rofi/colors/everforest.rasi new file mode 100644 index 00000000..83d4f71f --- /dev/null +++ b/rofi/colors/everforest.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #323D43FF; + background-alt: #3C474DFF; + foreground: #DAD1BEFF; + selected: #7FBBB3FF; + active: #A7C080FF; + urgent: #E67E80FF; +} diff --git a/rofi/colors/gruvbox.rasi b/rofi/colors/gruvbox.rasi new file mode 100644 index 00000000..2ee85d06 --- /dev/null +++ b/rofi/colors/gruvbox.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #282828FF; + background-alt: #353535FF; + foreground: #EBDBB2FF; + selected: #83A598FF; + active: #B8BB26FF; + urgent: #FB4934FF; +} diff --git a/rofi/colors/lovelace.rasi b/rofi/colors/lovelace.rasi new file mode 100644 index 00000000..80140ee2 --- /dev/null +++ b/rofi/colors/lovelace.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1D1F28FF; + background-alt: #282A36FF; + foreground: #FDFDFDFF; + selected: #79E6F3FF; + active: #5ADECDFF; + urgent: #F37F97FF; +} diff --git a/rofi/colors/navy.rasi b/rofi/colors/navy.rasi new file mode 100644 index 00000000..1289f539 --- /dev/null +++ b/rofi/colors/navy.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #021B21FF; + background-alt: #0C252BFF; + foreground: #F2F1B9FF; + selected: #44B5B1FF; + active: #7CBF9EFF; + urgent: #C2454EFF; +} diff --git a/rofi/colors/nord.rasi b/rofi/colors/nord.rasi new file mode 100644 index 00000000..c6bc05d8 --- /dev/null +++ b/rofi/colors/nord.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #2E3440FF; + background-alt: #383E4AFF; + foreground: #E5E9F0FF; + selected: #81A1C1FF; + active: #A3BE8CFF; + urgent: #BF616AFF; +} diff --git a/rofi/colors/onedark.rasi b/rofi/colors/onedark.rasi new file mode 100644 index 00000000..7c761080 --- /dev/null +++ b/rofi/colors/onedark.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #1E2127FF; + background-alt: #282B31FF; + foreground: #FFFFFFFF; + selected: #61AFEFFF; + active: #98C379FF; + urgent: #E06C75FF; +} diff --git a/rofi/colors/paper.rasi b/rofi/colors/paper.rasi new file mode 100644 index 00000000..c3d76e89 --- /dev/null +++ b/rofi/colors/paper.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #F1F1F1FF; + background-alt: #E0E0E0FF; + foreground: #252525FF; + selected: #008EC4FF; + active: #10A778FF; + urgent: #C30771FF; +} diff --git a/rofi/colors/solarized.rasi b/rofi/colors/solarized.rasi new file mode 100644 index 00000000..9051e136 --- /dev/null +++ b/rofi/colors/solarized.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #002B36FF; + background-alt: #073642FF; + foreground: #EEE8D5FF; + selected: #268BD2FF; + active: #859900FF; + urgent: #DC322FFF; +} diff --git a/rofi/colors/tokyonight.rasi b/rofi/colors/tokyonight.rasi new file mode 100644 index 00000000..1145cbd1 --- /dev/null +++ b/rofi/colors/tokyonight.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Levi Lacoss (fishyfishfish55) + * Github : @fishyfishfish55 + * + * Colors + **/ + +* { + background: #15161EFF; + background-alt: #1A1B26FF; + foreground: #C0CAF5FF; + selected: #33467CFF; + active: #414868FF; + urgent: #F7768EFF; +} diff --git a/rofi/colors/yousai.rasi b/rofi/colors/yousai.rasi new file mode 100644 index 00000000..757cab34 --- /dev/null +++ b/rofi/colors/yousai.rasi @@ -0,0 +1,16 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Colors + **/ + +* { + background: #F5E7DEFF; + background-alt: #EBDCD2FF; + foreground: #34302DFF; + selected: #D97742FF; + active: #BF8F60FF; + urgent: #B23636FF; +} diff --git a/rofi/config.rasi b/rofi/config.rasi new file mode 100644 index 00000000..7d57ac06 --- /dev/null +++ b/rofi/config.rasi @@ -0,0 +1,176 @@ +/** + * + * Author : Aditya Shakya (adi1090x) + * Github : @adi1090x + * + * Rofi Theme File + * Rofi Version: 1.7.3 + **/ + +/*****----- Configuration -----*****/ +configuration { + modi: "drun"; + show-icons: true; + display-drun: ""; + drun-display-format: "{name}"; +} + +/*****----- Global Properties -----*****/ +@import "~/.config/rofi/colors/dracula.rasi" + +* { + font: "Product Sans 12"; +} + +/*****----- Main Window -----*****/ +window { + transparency: "real"; + location: center; + anchor: center; + fullscreen: false; + width: 800px; + height: 600px; + x-offset: 0px; + y-offset: 0px; + + enabled: true; + margin: 0px; + padding: 0px; + border: 5px solid; + border-radius: 12px; + border-color: #0f111a; +// border-color: @selected; + background-color: @background; + cursor: "default"; +} + +/*****----- Main Box -----*****/ +mainbox { + enabled: true; + spacing: 0px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px 0px 0px 0px; + border-color: @selected; + background-color: transparent; + children: [ "inputbar", "listview" ]; +} + +/*****----- Inputbar -----*****/ +inputbar { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 15px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: @selected; + text-color: @background; + children: [ "prompt", "entry" ]; +} + +prompt { + enabled: true; + background-color: inherit; + text-color: inherit; +} +textbox-prompt-colon { + enabled: true; + expand: false; + str: "::"; + background-color: inherit; + text-color: inherit; +} +entry { + enabled: true; + background-color: inherit; + text-color: inherit; + cursor: text; + placeholder: "Search..."; + placeholder-color: inherit; +} + +/*****----- Listview -----*****/ +listview { + enabled: true; + columns: 1; + lines: 6; + cycle: true; + dynamic: true; + scrollbar: true; + layout: vertical; + reverse: false; + fixed-height: true; + fixed-columns: true; + + spacing: 5px; + margin: 0px; + padding: 0px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: "default"; +} +scrollbar { + handle-width: 5px ; + handle-color: @selected; + border-radius: 0px; + background-color: @background-alt; +} + +/*****----- Elements -----*****/ +element { + enabled: true; + spacing: 10px; + margin: 0px; + padding: 8px; + border: 0px solid; + border-radius: 0px; + border-color: @selected; + background-color: transparent; + text-color: @foreground; + cursor: pointer; +} +element normal.normal { + background-color: @background; + text-color: @foreground; +} +element selected.normal { + background-color: @background-alt; + text-color: @foreground; +} +element-icon { + background-color: transparent; + text-color: inherit; + size: 32px; + cursor: inherit; +} +element-text { + background-color: transparent; + text-color: inherit; + highlight: inherit; + cursor: inherit; + vertical-align: 0.5; + horizontal-align: 0.0; +} + +/*****----- Message -----*****/ +error-message { + padding: 15px; + border: 2px solid; + border-radius: 12px; + border-color: @selected; + background-color: @background; + text-color: @foreground; +} +textbox { + background-color: @background; + text-color: @foreground; + vertical-align: 0.5; + horizontal-align: 0.0; + highlight: none; +} diff --git a/rofi/dmenu.sh b/rofi/dmenu.sh new file mode 100755 index 00000000..7ec54c05 --- /dev/null +++ b/rofi/dmenu.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +# Run +rofi -dmenu \ + -theme ~/.config/rofi/config.rasi \ + -p "" diff --git a/rofi/launcher.sh b/rofi/launcher.sh new file mode 100755 index 00000000..0c8ee6bf --- /dev/null +++ b/rofi/launcher.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +## Run +rofi \ + -show drun \ + -theme ~/.config/rofi/config.rasi diff --git a/sway/config b/sway/config index 14af4914..b716a7f4 100755 --- a/sway/config +++ b/sway/config @@ -14,7 +14,7 @@ set $right l # misc set $scripts $HOME/.config/sway/scripts set $term alacritty -set $menu wofi --show drun --allow-images -i --display-drun "" +set $menu "~/.config/rofi/launcher.sh" set $bar waybar font pango:SF Mono Regular 10 @@ -60,7 +60,7 @@ exec $scripts/lose-focus.sh # Clipboard manager exec wl-paste --watch cliphist store -bindsym $mod+v exec cliphist list | wofi -dmenu | cliphist decode | wl-copy +bindsym $mod+v exec cliphist list | ~/.config/rofi/dmenu.sh | cliphist decode | wl-copy # OSD window exec swayosd