From f9477acba79608a95bc90c2279f3af682e6478e9 Mon Sep 17 00:00:00 2001 From: afoucaultc Date: Wed, 15 Jul 2026 10:10:52 +0200 Subject: [PATCH] add rofi theme --- dotfiles/hypr/conf/binding.lua | 6 +- dotfiles/hypr/conf/variables.lua | 5 +- dotfiles/rofi/colors/adapta.rasi | 16 - dotfiles/rofi/colors/arc.rasi | 16 - dotfiles/rofi/colors/black.rasi | 16 - dotfiles/rofi/colors/catppuccin.rasi | 16 - dotfiles/rofi/colors/cyberpunk.rasi | 16 - dotfiles/rofi/colors/dracula.rasi | 16 - dotfiles/rofi/colors/everforest.rasi | 16 - dotfiles/rofi/colors/gruvbox.rasi | 16 - dotfiles/rofi/colors/lovelace.rasi | 16 - dotfiles/rofi/colors/navy.rasi | 16 - dotfiles/rofi/colors/nord.rasi | 16 - dotfiles/rofi/colors/onedark.rasi | 16 - dotfiles/rofi/colors/paper.rasi | 16 - dotfiles/rofi/colors/solarized.rasi | 16 - dotfiles/rofi/colors/tokyonight.rasi | 16 - dotfiles/rofi/colors/yousai.rasi | 16 - dotfiles/rofi/config.rasi | 205 ++---------- dotfiles/rofi/launchers/type-1/launcher.sh | 20 -- .../rofi/launchers/type-1/shared/colors.rasi | 18 - .../rofi/launchers/type-1/shared/fonts.rasi | 12 - dotfiles/rofi/launchers/type-1/style-7.rasi | 313 ------------------ dotfiles/rofi/powermenu/type-1/powermenu.sh | 110 ------ .../rofi/powermenu/type-1/shared/colors.rasi | 18 - .../rofi/powermenu/type-1/shared/fonts.rasi | 12 - dotfiles/rofi/powermenu/type-1/style-2.rasi | 161 --------- dotfiles/rofi/tokyonight.rasi | 138 ++++++++ dotfiles/rofi/tokyonight_big1.rasi | 137 ++++++++ dotfiles/rofi/tokyonight_big2.rasi | 137 ++++++++ 30 files changed, 447 insertions(+), 1101 deletions(-) delete mode 100644 dotfiles/rofi/colors/adapta.rasi delete mode 100644 dotfiles/rofi/colors/arc.rasi delete mode 100644 dotfiles/rofi/colors/black.rasi delete mode 100644 dotfiles/rofi/colors/catppuccin.rasi delete mode 100644 dotfiles/rofi/colors/cyberpunk.rasi delete mode 100644 dotfiles/rofi/colors/dracula.rasi delete mode 100644 dotfiles/rofi/colors/everforest.rasi delete mode 100644 dotfiles/rofi/colors/gruvbox.rasi delete mode 100644 dotfiles/rofi/colors/lovelace.rasi delete mode 100644 dotfiles/rofi/colors/navy.rasi delete mode 100644 dotfiles/rofi/colors/nord.rasi delete mode 100644 dotfiles/rofi/colors/onedark.rasi delete mode 100644 dotfiles/rofi/colors/paper.rasi delete mode 100644 dotfiles/rofi/colors/solarized.rasi delete mode 100644 dotfiles/rofi/colors/tokyonight.rasi delete mode 100644 dotfiles/rofi/colors/yousai.rasi delete mode 100755 dotfiles/rofi/launchers/type-1/launcher.sh delete mode 100644 dotfiles/rofi/launchers/type-1/shared/colors.rasi delete mode 100644 dotfiles/rofi/launchers/type-1/shared/fonts.rasi delete mode 100644 dotfiles/rofi/launchers/type-1/style-7.rasi delete mode 100644 dotfiles/rofi/powermenu/type-1/powermenu.sh delete mode 100644 dotfiles/rofi/powermenu/type-1/shared/colors.rasi delete mode 100644 dotfiles/rofi/powermenu/type-1/shared/fonts.rasi delete mode 100644 dotfiles/rofi/powermenu/type-1/style-2.rasi create mode 100644 dotfiles/rofi/tokyonight.rasi create mode 100644 dotfiles/rofi/tokyonight_big1.rasi create mode 100644 dotfiles/rofi/tokyonight_big2.rasi diff --git a/dotfiles/hypr/conf/binding.lua b/dotfiles/hypr/conf/binding.lua index 568cf82..82f3d52 100644 --- a/dotfiles/hypr/conf/binding.lua +++ b/dotfiles/hypr/conf/binding.lua @@ -13,11 +13,13 @@ hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager)) hl.bind("ALT + D", hl.dsp.exec_cmd(fileManager2)) hl.bind("ALT + Q", hl.dsp.exec_cmd(terminal)) hl.bind("ALT + N", hl.dsp.exec_cmd("kitty -e nvim")) -hl.bind("ALT + W", hl.dsp.exec_cmd(app_launcher)) hl.bind("ALT + F", hl.dsp.exec_cmd(browser)) hl.bind("ALT + Z", hl.dsp.exec_cmd("zotero")) hl.bind("ALT + T", hl.dsp.exec_cmd("thunderbird")) - +-- rofi +hl.bind("ALT + W", hl.dsp.exec_cmd(rofi_launcher)) +hl.bind("ALT + X", hl.dsp.exec_cmd(rofi_window)) +hl.bind("ALT + C", hl.dsp.exec_cmd(rofi_file)) -- window management hl.bind("ALT + V", hl.dsp.window.float({ action = "toggle" })) hl.bind("ALT + F4", hl.dsp.window.close()) diff --git a/dotfiles/hypr/conf/variables.lua b/dotfiles/hypr/conf/variables.lua index e81fb47..5843936 100644 --- a/dotfiles/hypr/conf/variables.lua +++ b/dotfiles/hypr/conf/variables.lua @@ -5,7 +5,10 @@ menu = "wofi --show drun" home = "/home/afoucaultc/" lockscreen = "hyprlock" browser = "zen-beta" -app_launcher = "~/.config/rofi/launchers/type-1/launcher.sh" +-- rofi_launcher = "rofi" +rofi_launcher = "rofi -show drun" +rofi_window = "rofi -show window" +rofi_file = "rofi -show filebrowser" monitorA = "eDP-1" monitorB = "HDMI-A-1" monitorC = "DP-2" diff --git a/dotfiles/rofi/colors/adapta.rasi b/dotfiles/rofi/colors/adapta.rasi deleted file mode 100644 index dcde9e5..0000000 --- a/dotfiles/rofi/colors/adapta.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #222D32FF; - background-alt: #29353BFF; - foreground: #B8C2C6FF; - selected: #00BCD4FF; - active: #21FF90FF; - urgent: #FF4B60FF; -} diff --git a/dotfiles/rofi/colors/arc.rasi b/dotfiles/rofi/colors/arc.rasi deleted file mode 100644 index 0dfb773..0000000 --- a/dotfiles/rofi/colors/arc.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #2F343FFF; - background-alt: #383C4AFF; - foreground: #BAC5D0FF; - selected: #5294E2FF; - active: #98C379FF; - urgent: #E06B74FF; -} diff --git a/dotfiles/rofi/colors/black.rasi b/dotfiles/rofi/colors/black.rasi deleted file mode 100644 index fa7b76f..0000000 --- a/dotfiles/rofi/colors/black.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #000000FF; - background-alt: #101010FF; - foreground: #FFFFFFFF; - selected: #62AEEFFF; - active: #98C379FF; - urgent: #E06B74FF; -} diff --git a/dotfiles/rofi/colors/catppuccin.rasi b/dotfiles/rofi/colors/catppuccin.rasi deleted file mode 100644 index 62c5945..0000000 --- a/dotfiles/rofi/colors/catppuccin.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1E1D2FFF; - background-alt: #282839FF; - foreground: #D9E0EEFF; - selected: #7AA2F7FF; - active: #ABE9B3FF; - urgent: #F28FADFF; -} diff --git a/dotfiles/rofi/colors/cyberpunk.rasi b/dotfiles/rofi/colors/cyberpunk.rasi deleted file mode 100644 index f5fa0e7..0000000 --- a/dotfiles/rofi/colors/cyberpunk.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #000B1EFF; - background-alt: #0A1528FF; - foreground: #0ABDC6FF; - selected: #0ABDC6FF; - active: #00FF00FF; - urgent: #FF0000FF; -} diff --git a/dotfiles/rofi/colors/dracula.rasi b/dotfiles/rofi/colors/dracula.rasi deleted file mode 100644 index 7ae606d..0000000 --- a/dotfiles/rofi/colors/dracula.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1E1F29FF; - background-alt: #282A36FF; - foreground: #FFFFFFFF; - selected: #BD93F9FF; - active: #50FA7BFF; - urgent: #FF5555FF; -} diff --git a/dotfiles/rofi/colors/everforest.rasi b/dotfiles/rofi/colors/everforest.rasi deleted file mode 100644 index 83d4f71..0000000 --- a/dotfiles/rofi/colors/everforest.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #323D43FF; - background-alt: #3C474DFF; - foreground: #DAD1BEFF; - selected: #7FBBB3FF; - active: #A7C080FF; - urgent: #E67E80FF; -} diff --git a/dotfiles/rofi/colors/gruvbox.rasi b/dotfiles/rofi/colors/gruvbox.rasi deleted file mode 100644 index 2ee85d0..0000000 --- a/dotfiles/rofi/colors/gruvbox.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #282828FF; - background-alt: #353535FF; - foreground: #EBDBB2FF; - selected: #83A598FF; - active: #B8BB26FF; - urgent: #FB4934FF; -} diff --git a/dotfiles/rofi/colors/lovelace.rasi b/dotfiles/rofi/colors/lovelace.rasi deleted file mode 100644 index 80140ee..0000000 --- a/dotfiles/rofi/colors/lovelace.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1D1F28FF; - background-alt: #282A36FF; - foreground: #FDFDFDFF; - selected: #79E6F3FF; - active: #5ADECDFF; - urgent: #F37F97FF; -} diff --git a/dotfiles/rofi/colors/navy.rasi b/dotfiles/rofi/colors/navy.rasi deleted file mode 100644 index 1289f53..0000000 --- a/dotfiles/rofi/colors/navy.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #021B21FF; - background-alt: #0C252BFF; - foreground: #F2F1B9FF; - selected: #44B5B1FF; - active: #7CBF9EFF; - urgent: #C2454EFF; -} diff --git a/dotfiles/rofi/colors/nord.rasi b/dotfiles/rofi/colors/nord.rasi deleted file mode 100644 index c6bc05d..0000000 --- a/dotfiles/rofi/colors/nord.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #2E3440FF; - background-alt: #383E4AFF; - foreground: #E5E9F0FF; - selected: #81A1C1FF; - active: #A3BE8CFF; - urgent: #BF616AFF; -} diff --git a/dotfiles/rofi/colors/onedark.rasi b/dotfiles/rofi/colors/onedark.rasi deleted file mode 100644 index 7c76108..0000000 --- a/dotfiles/rofi/colors/onedark.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #1E2127FF; - background-alt: #282B31FF; - foreground: #FFFFFFFF; - selected: #61AFEFFF; - active: #98C379FF; - urgent: #E06C75FF; -} diff --git a/dotfiles/rofi/colors/paper.rasi b/dotfiles/rofi/colors/paper.rasi deleted file mode 100644 index c3d76e8..0000000 --- a/dotfiles/rofi/colors/paper.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #F1F1F1FF; - background-alt: #E0E0E0FF; - foreground: #252525FF; - selected: #008EC4FF; - active: #10A778FF; - urgent: #C30771FF; -} diff --git a/dotfiles/rofi/colors/solarized.rasi b/dotfiles/rofi/colors/solarized.rasi deleted file mode 100644 index 9051e13..0000000 --- a/dotfiles/rofi/colors/solarized.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #002B36FF; - background-alt: #073642FF; - foreground: #EEE8D5FF; - selected: #268BD2FF; - active: #859900FF; - urgent: #DC322FFF; -} diff --git a/dotfiles/rofi/colors/tokyonight.rasi b/dotfiles/rofi/colors/tokyonight.rasi deleted file mode 100644 index 1145cbd..0000000 --- a/dotfiles/rofi/colors/tokyonight.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Levi Lacoss (fishyfishfish55) - * Github : @fishyfishfish55 - * - * Colors - **/ - -* { - background: #15161EFF; - background-alt: #1A1B26FF; - foreground: #C0CAF5FF; - selected: #33467CFF; - active: #414868FF; - urgent: #F7768EFF; -} diff --git a/dotfiles/rofi/colors/yousai.rasi b/dotfiles/rofi/colors/yousai.rasi deleted file mode 100644 index 757cab3..0000000 --- a/dotfiles/rofi/colors/yousai.rasi +++ /dev/null @@ -1,16 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - **/ - -* { - background: #F5E7DEFF; - background-alt: #EBDCD2FF; - foreground: #34302DFF; - selected: #D97742FF; - active: #BF8F60FF; - urgent: #B23636FF; -} diff --git a/dotfiles/rofi/config.rasi b/dotfiles/rofi/config.rasi index 58a5e0d..9b6eb9a 100644 --- a/dotfiles/rofi/config.rasi +++ b/dotfiles/rofi/config.rasi @@ -1,181 +1,30 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Configuration For Rofi Version: 1.7.3 - **/ +configuration{ + modi: ["drun", "window", "run", "filebrowser"]; + icon-theme: "Papirus-Dark"; + show-icons: true; + terminal: "kitty"; + drun-display-format: "{icon} {name}"; + location: 0; + disable-history: false; + sidebar-mode: false; + display-drun: " "; + display-run: " "; + display-filebrowser: " "; + display-window: " "; + + //adding vim keybindings + kb-row-up: "Up,Control+k"; + kb-row-left: "Left,Control+h"; + kb-row-right: "Right,Control+l"; + kb-row-down: "Down,Control+j"; -configuration { - /*---------- General setting ----------*/ - modi: "drun,run,filebrowser,window"; - case-sensitive: false; - cycle: true; - filter: ""; - scroll-method: 0; - normalize-match: true; - show-icons: true; - icon-theme: "Papirus"; -/* cache-dir: ;*/ - steal-focus: false; -/* dpi: -1;*/ + kb-accept-entry: "Control+z,Control+y,Return,KP_Enter"; - /*---------- Matching setting ----------*/ - matching: "normal"; - tokenize: true; - - /*---------- SSH settings ----------*/ - ssh-client: "ssh"; - ssh-command: "{terminal} -e {ssh-client} {host} [-p {port}]"; - parse-hosts: true; - parse-known-hosts: true; - - /*---------- Drun settings ----------*/ - drun-categories: ""; - drun-match-fields: "name,generic,exec,categories,keywords"; - drun-display-format: "{name} [({generic})]"; - drun-show-actions: false; - drun-url-launcher: "xdg-open"; - drun-use-desktop-cache: false; - drun-reload-desktop-cache: false; - drun { - /** Parse user desktop files. */ - parse-user: true; - /** Parse system desktop files. */ - parse-system: true; - } - - /*---------- Run settings ----------*/ - run-command: "{cmd}"; - run-list-command: ""; - run-shell-command: "{terminal} -e {cmd}"; - - /*---------- Fallback Icon ----------*/ - run,drun { - fallback-icon: "application-x-addon"; - } - - /*---------- Window switcher settings ----------*/ - window-match-fields: "title,class,role,name,desktop"; - window-command: "wmctrl -i -R {window}"; - window-format: "{w} - {c} - {t:0}"; - window-thumbnail: false; - - /*---------- Combi settings ----------*/ -/* combi-modi: "window,run";*/ -/* combi-hide-mode-prefix: false;*/ -/* combi-display-format: "{mode} {text}";*/ - - /*---------- History and Sorting ----------*/ - disable-history: false; - sorting-method: "normal"; - max-history-size: 25; - - /*---------- Display setting ----------*/ - display-window: "Windows"; - display-windowcd: "Window CD"; - display-run: "Run"; - display-ssh: "SSH"; - display-drun: "Apps"; - display-combi: "Combi"; - display-keys: "Keys"; - display-filebrowser: "Files"; - - /*---------- Misc setting ----------*/ - terminal: "rofi-sensible-terminal"; - font: "Mono 12"; - sort: false; - threads: 0; - click-to-exit: true; -/* ignored-prefixes: "";*/ -/* pid: "/run/user/1000/rofi.pid";*/ - - /*---------- File browser settings ----------*/ - filebrowser { -/* directory: "/home";*/ - directories-first: true; - sorting-method: "name"; - } - - /*---------- Other settings ----------*/ - timeout { - action: "kb-cancel"; - delay: 0; - } - - /*---------- Keybindings ----------*/ -/* - kb-primary-paste: "Control+V,Shift+Insert"; - kb-secondary-paste: "Control+v,Insert"; - kb-clear-line: "Control+w"; - kb-move-front: "Control+a"; - kb-move-end: "Control+e"; - kb-move-word-back: "Alt+b,Control+Left"; - kb-move-word-forward: "Alt+f,Control+Right"; - kb-move-char-back: "Left,Control+b"; - kb-move-char-forward: "Right,Control+f"; - kb-remove-word-back: "Control+Alt+h,Control+BackSpace"; - kb-remove-word-forward: "Control+Alt+d"; - kb-remove-char-forward: "Delete,Control+d"; - kb-remove-char-back: "BackSpace,Shift+BackSpace,Control+h"; - kb-remove-to-eol: "Control+k"; - kb-remove-to-sol: "Control+u"; - kb-accept-entry: "Control+j,Control+m,Return,KP_Enter"; - kb-accept-custom: "Control+Return"; - kb-accept-custom-alt: "Control+Shift+Return"; - kb-accept-alt: "Shift+Return"; - kb-delete-entry: "Shift+Delete"; - kb-mode-next: "Shift+Right,Control+Tab"; - kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab"; - kb-mode-complete: "Control+l"; - kb-row-left: "Control+Page_Up"; - kb-row-right: "Control+Page_Down"; - kb-row-down: "Down,Control+n"; - kb-page-prev: "Page_Up"; - kb-page-next: "Page_Down"; - kb-row-first: "Home,KP_Home"; - kb-row-last: "End,KP_End"; - kb-row-select: "Control+space"; - kb-screenshot: "Alt+S"; - kb-ellipsize: "Alt+period"; - kb-toggle-case-sensitivity: "grave,dead_grave"; - kb-toggle-sort: "Alt+grave"; - kb-cancel: "Escape,Control+g,Control+bracketleft"; - kb-custom-1: "Alt+1"; - kb-custom-2: "Alt+2"; - kb-custom-3: "Alt+3"; - kb-custom-4: "Alt+4"; - kb-custom-5: "Alt+5"; - kb-custom-6: "Alt+6"; - kb-custom-7: "Alt+7"; - kb-custom-8: "Alt+8"; - kb-custom-9: "Alt+9"; - kb-custom-10: "Alt+0"; - kb-custom-11: "Alt+exclam"; - kb-custom-12: "Alt+at"; - kb-custom-13: "Alt+numbersign"; - kb-custom-14: "Alt+dollar"; - kb-custom-15: "Alt+percent"; - kb-custom-16: "Alt+dead_circumflex"; - kb-custom-17: "Alt+ampersand"; - kb-custom-18: "Alt+asterisk"; - kb-custom-19: "Alt+parenleft"; - kb-select-1: "Super+1"; - kb-select-2: "Super+2"; - kb-select-3: "Super+3"; - kb-select-4: "Super+4"; - kb-select-5: "Super+5"; - kb-select-6: "Super+6"; - kb-select-7: "Super+7"; - kb-select-8: "Super+8"; - kb-select-9: "Super+9"; - kb-select-10: "Super+0"; - ml-row-left: "ScrollLeft"; - ml-row-right: "ScrollRight"; - ml-row-up: "ScrollUp"; - ml-row-down: "ScrollDown"; - me-select-entry: "MousePrimary"; - me-accept-entry: "MouseDPrimary"; - me-accept-custom: "Control+MouseDPrimary"; -*/ + //fixing up + kb-remove-to-eol: ""; + kb-move-char-back: "Control+b"; + kb-remove-char-back: "BackSpace"; + kb-move-char-forward: "Control+f"; + kb-mode-complete: "Control+o"; } +@theme "~/.config/rofi/tokyonight_big2.rasi" diff --git a/dotfiles/rofi/launchers/type-1/launcher.sh b/dotfiles/rofi/launchers/type-1/launcher.sh deleted file mode 100755 index 0d6ff71..0000000 --- a/dotfiles/rofi/launchers/type-1/launcher.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Launcher (Modi Drun, Run, File Browser, Window) -# -## Available Styles -# -## style-1 style-2 style-3 style-4 style-5 -## style-6 style-7 style-8 style-9 style-10 -## style-11 style-12 style-13 style-14 style-15 - -dir="$HOME/.config/rofi/launchers/type-1" -theme='style-7' - -## Run -rofi \ - -show drun \ - -theme ${dir}/${theme}.rasi diff --git a/dotfiles/rofi/launchers/type-1/shared/colors.rasi b/dotfiles/rofi/launchers/type-1/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/dotfiles/rofi/launchers/type-1/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dotfiles/rofi/launchers/type-1/shared/fonts.rasi b/dotfiles/rofi/launchers/type-1/shared/fonts.rasi deleted file mode 100644 index 25e9a1a..0000000 --- a/dotfiles/rofi/launchers/type-1/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 10"; -} diff --git a/dotfiles/rofi/launchers/type-1/style-7.rasi b/dotfiles/rofi/launchers/type-1/style-7.rasi deleted file mode 100644 index 6f8ef84..0000000 --- a/dotfiles/rofi/launchers/type-1/style-7.rasi +++ /dev/null @@ -1,313 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - modi: "drun,run,filebrowser,window"; - show-icons: true; - display-drun: " Apps"; - display-run: " Run"; - display-filebrowser: " Files"; - display-window: " Windows"; - drun-display-format: "{name}"; - window-format: "{w} · {c} · {t}"; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -* { - border-colour: var(selected); - handle-colour: var(selected); - background-colour: var(background); - foreground-colour: var(foreground); - alternate-background: var(background-alt); - normal-background: var(background); - normal-foreground: var(foreground); - urgent-background: var(urgent); - urgent-foreground: var(background); - active-background: var(active); - active-foreground: var(background); - selected-normal-background: var(selected); - selected-normal-foreground: var(background); - selected-urgent-background: var(active); - selected-urgent-foreground: var(background); - selected-active-background: var(urgent); - selected-active-foreground: var(background); - alternate-normal-background: var(background); - alternate-normal-foreground: var(foreground); - alternate-urgent-background: var(urgent); - alternate-urgent-foreground: var(background); - alternate-active-background: var(active); - alternate-active-foreground: var(background); -} - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 800px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - cursor: "default"; - /* Backgroud Colors */ - background-color: @background-colour; - /* Backgroud Image */ - //background-image: url("/path/to/image.png", none); - /* Simple Linear Gradient */ - //background-image: linear-gradient(red, orange, pink, purple); - /* Directional Linear Gradient */ - //background-image: linear-gradient(to bottom, pink, yellow, magenta); - /* Angle Linear Gradient */ - //background-image: linear-gradient(45, cyan, purple, indigo); -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 20px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - children: [ "inputbar", "message", "mode-switcher", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 10px; - margin: 0px 0px 10px 0px; - padding: 5px 10px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - children: [ "textbox-prompt-colon", "entry" ]; -} - -prompt { - enabled: true; - background-color: inherit; - text-color: inherit; -} -textbox-prompt-colon { - enabled: true; - padding: 5px 0px; - expand: false; - str: ""; - background-color: inherit; - text-color: inherit; -} -entry { - enabled: true; - padding: 5px 0px; - background-color: inherit; - text-color: inherit; - cursor: text; - placeholder: "Search..."; - placeholder-color: inherit; -} -num-filtered-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -textbox-num-sep { - enabled: true; - expand: false; - str: "/"; - background-color: inherit; - text-color: inherit; -} -num-rows { - enabled: true; - expand: false; - background-color: inherit; - text-color: inherit; -} -case-indicator { - enabled: true; - background-color: inherit; - text-color: inherit; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 8; - cycle: true; - dynamic: true; - scrollbar: false; - layout: vertical; - reverse: false; - fixed-height: true; - fixed-columns: true; - - spacing: 5px; - margin: 0px; - padding: 10px; - border: 0px 2px 2px 2px ; - border-radius: 0px 0px 10px 10px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: "default"; -} -scrollbar { - handle-width: 5px ; - handle-color: @handle-colour; - border-radius: 10px; - background-color: @alternate-background; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 10px; - margin: 0px; - padding: 6px; - border: 0px solid; - border-radius: 6px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; - cursor: pointer; -} -element normal.normal { - background-color: var(normal-background); - text-color: var(normal-foreground); -} -element normal.urgent { - background-color: var(urgent-background); - text-color: var(urgent-foreground); -} -element normal.active { - background-color: var(active-background); - text-color: var(active-foreground); -} -element selected.normal { - background-color: var(selected-normal-background); - text-color: var(selected-normal-foreground); -} -element selected.urgent { - background-color: var(selected-urgent-background); - text-color: var(selected-urgent-foreground); -} -element selected.active { - background-color: var(selected-active-background); - text-color: var(selected-active-foreground); -} -element alternate.normal { - background-color: var(alternate-normal-background); - text-color: var(alternate-normal-foreground); -} -element alternate.urgent { - background-color: var(alternate-urgent-background); - text-color: var(alternate-urgent-foreground); -} -element alternate.active { - background-color: var(alternate-active-background); - text-color: var(alternate-active-foreground); -} -element-icon { - background-color: transparent; - text-color: inherit; - size: 24px; - cursor: inherit; -} -element-text { - background-color: transparent; - text-color: inherit; - highlight: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} - -/*****----- Mode Switcher -----*****/ -mode-switcher{ - enabled: true; - expand: false; - spacing: 0px; - margin: 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -button { - padding: 10px; - border: 0px 0px 2px 0px ; - border-radius: 10px 10px 0px 0px; - border-color: @border-colour; - background-color: @background-colour; - text-color: inherit; - cursor: pointer; -} -button selected { - border: 2px 2px 0px 2px ; - border-radius: 10px 10px 0px 0px; - border-color: @border-colour; - background-color: var(normal-background); - text-color: var(normal-foreground); -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px 0px 10px 0px; - padding: 0px; - border: 0px solid; - border-radius: 0px 0px 0px 0px; - border-color: @border-colour; - background-color: transparent; - text-color: @foreground-colour; -} -textbox { - padding: 10px; - border: 0px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @alternate-background; - text-color: @foreground-colour; - vertical-align: 0.5; - horizontal-align: 0.0; - highlight: none; - placeholder-color: @foreground-colour; - blink: true; - markup: true; -} -error-message { - padding: 10px; - border: 2px solid; - border-radius: 10px; - border-color: @border-colour; - background-color: @background-colour; - text-color: @foreground-colour; -} diff --git a/dotfiles/rofi/powermenu/type-1/powermenu.sh b/dotfiles/rofi/powermenu/type-1/powermenu.sh deleted file mode 100644 index 358fc4e..0000000 --- a/dotfiles/rofi/powermenu/type-1/powermenu.sh +++ /dev/null @@ -1,110 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya (adi1090x) -## Github : @adi1090x -# -## Rofi : Power Menu -# -## Available Styles -# -## style-1 styles-2 style-3 style-4 style-5 - -# Current Theme -dir="$HOME/.config/rofi/powermenu/type-1" -theme='style-2' - -# CMDs -uptime="`uptime -p | sed -e 's/up //g'`" -host=`hostname` - -# Options -shutdown='⏻ Shutdown' -reboot=' Reboot' -lock=' Lock' -suspend=' Suspend' -logout=' Logout' -yes=' Yes' -no=' No' - -# Rofi CMD -rofi_cmd() { - rofi -dmenu \ - -p "$host" \ - -mesg "Uptime: $uptime" \ - -theme ${dir}/${theme}.rasi -} - -# Confirmation CMD -confirm_cmd() { - rofi -theme-str 'window {location: center; anchor: center; fullscreen: false; width: 250px;}' \ - -theme-str 'mainbox {children: [ "message", "listview" ];}' \ - -theme-str 'listview {columns: 2; lines: 1;}' \ - -theme-str 'element-text {horizontal-align: 0.5;}' \ - -theme-str 'textbox {horizontal-align: 0.5;}' \ - -dmenu \ - -p 'Confirmation' \ - -mesg 'Are you Sure?' \ - -theme ${dir}/${theme}.rasi -} - -# Ask for confirmation -confirm_exit() { - echo -e "$yes\n$no" | confirm_cmd -} - -# Pass variables to rofi dmenu -run_rofi() { - echo -e "$lock\n$suspend\n$logout\n$reboot\n$shutdown" | rofi_cmd -} - -# Execute Command -run_cmd() { - selected="$(confirm_exit)" - if [[ "$selected" == "$yes" ]]; then - if [[ $1 == '--shutdown' ]]; then - systemctl poweroff - elif [[ $1 == '--reboot' ]]; then - systemctl reboot - elif [[ $1 == '--suspend' ]]; then - mpc -q pause - amixer set Master mute - systemctl suspend - elif [[ $1 == '--logout' ]]; then - if [[ "$DESKTOP_SESSION" == 'openbox' ]]; then - openbox --exit - elif [[ "$DESKTOP_SESSION" == 'bspwm' ]]; then - bspc quit - elif [[ "$DESKTOP_SESSION" == 'i3' ]]; then - i3-msg exit - elif [[ "$DESKTOP_SESSION" == 'plasma' ]]; then - qdbus org.kde.ksmserver /KSMServer logout 0 0 0 - fi - fi - else - exit 0 - fi -} - -# Actions -chosen="$(run_rofi)" -case ${chosen} in - $shutdown) - run_cmd --shutdown - ;; - $reboot) - run_cmd --reboot - ;; - $lock) - if [[ -x '/usr/bin/betterlockscreen' ]]; then - betterlockscreen -l - elif [[ -x '/usr/bin/i3lock' ]]; then - i3lock - fi - ;; - $suspend) - run_cmd --suspend - ;; - $logout) - run_cmd --logout - ;; -esac diff --git a/dotfiles/rofi/powermenu/type-1/shared/colors.rasi b/dotfiles/rofi/powermenu/type-1/shared/colors.rasi deleted file mode 100644 index 103ad63..0000000 --- a/dotfiles/rofi/powermenu/type-1/shared/colors.rasi +++ /dev/null @@ -1,18 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Colors - * - * Available Colors Schemes - * - * adapta catppuccin everforest navy paper - * arc cyberpunk gruvbox nord solarized - * black dracula lovelace onedark yousai - * - **/ - -/* Import color-scheme from `colors` directory */ - -@import "~/.config/rofi/colors/onedark.rasi" diff --git a/dotfiles/rofi/powermenu/type-1/shared/fonts.rasi b/dotfiles/rofi/powermenu/type-1/shared/fonts.rasi deleted file mode 100644 index 430c73d..0000000 --- a/dotfiles/rofi/powermenu/type-1/shared/fonts.rasi +++ /dev/null @@ -1,12 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Fonts - * - **/ - -* { - font: "JetBrains Mono Nerd Font 10"; -} diff --git a/dotfiles/rofi/powermenu/type-1/style-2.rasi b/dotfiles/rofi/powermenu/type-1/style-2.rasi deleted file mode 100644 index f9499a3..0000000 --- a/dotfiles/rofi/powermenu/type-1/style-2.rasi +++ /dev/null @@ -1,161 +0,0 @@ -/** - * - * Author : Aditya Shakya (adi1090x) - * Github : @adi1090x - * - * Rofi Theme File - * Rofi Version: 1.7.3 - **/ - -/*****----- Configuration -----*****/ -configuration { - show-icons: false; -} - -/*****----- Global Properties -----*****/ -@import "shared/colors.rasi" -@import "shared/fonts.rasi" - -/*****----- Main Window -----*****/ -window { - /* properties for window widget */ - transparency: "real"; - location: center; - anchor: center; - fullscreen: false; - width: 500px; - x-offset: 0px; - y-offset: 0px; - - /* properties for all widgets */ - enabled: true; - margin: 0px; - padding: 0px; - border: 2px solid; - border-radius: 20px; - border-color: @selected; - cursor: "default"; - background-color: @background; -} - -/*****----- Main Box -----*****/ -mainbox { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 30px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - children: [ "inputbar", "message", "listview" ]; -} - -/*****----- Inputbar -----*****/ -inputbar { - enabled: true; - spacing: 15px; - margin: 0px; - padding: 0px; - border: 0px; - border-radius: 0px; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - children: [ "textbox-prompt-colon", "prompt"]; -} - -textbox-prompt-colon { - enabled: true; - expand: false; - str: ""; - padding: 12px 16px; - border-radius: 100%; - background-color: @urgent; - text-color: @background; -} -prompt { - enabled: true; - padding: 12px; - border-radius: 100%; - background-color: @active; - text-color: @background; -} - -/*****----- Message -----*****/ -message { - enabled: true; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: @background-alt; - text-color: @foreground; -} -textbox { - background-color: inherit; - text-color: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; - placeholder-color: @foreground; - blink: true; - markup: true; -} -error-message { - padding: 12px; - border: 0px solid; - border-radius: 0px; - border-color: @selected; - background-color: @background; - text-color: @foreground; -} - -/*****----- Listview -----*****/ -listview { - enabled: true; - columns: 1; - lines: 5; - cycle: true; - dynamic: true; - scrollbar: false; - 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"; -} - -/*****----- Elements -----*****/ -element { - enabled: true; - spacing: 0px; - margin: 0px; - padding: 12px; - border: 0px solid; - border-radius: 100%; - border-color: @selected; - background-color: transparent; - text-color: @foreground; - cursor: pointer; -} -element-text { - background-color: transparent; - text-color: inherit; - cursor: inherit; - vertical-align: 0.5; - horizontal-align: 0.0; -} -element selected.normal { - background-color: var(selected); - text-color: var(background); -} diff --git a/dotfiles/rofi/tokyonight.rasi b/dotfiles/rofi/tokyonight.rasi new file mode 100644 index 0000000..1f2ccb8 --- /dev/null +++ b/dotfiles/rofi/tokyonight.rasi @@ -0,0 +1,138 @@ +/* + * Tokyonight colorscheme for rofi + * User: w8ste + */ + + +// define colors etc. +* { + bg: #24283b; + hv: #9274ca; + primary: #C5C8C6; + ug: #0B2447; + font: "Monospace 11"; + background-color: @bg; + //dark: @bg; + border: 0px; + kl: #7aa2f7; + black: #000000; + + transparent: rgba(46,52,64,0); +} + +// defines different aspects of the window +window { + width: 700; + /*since line wont work with height, i comment it out + if you rather control the size via height + just comment it out */ + //height: 500; + + orientation: horizontal; + location: center; + anchor: center; + transparency: "screenshot"; + border-color: @primary; + border: 3px; + border-radius: 6px; + spacing: 0; + children: [ mainbox ]; +} + +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} + +inputbar { + color: @kl; + padding: 11px; + border: 0 0 2px 0; + border-color: @primary; +} + +message { + padding: 0; +} + +textbox { + color: @kl; + padding: 10px; +} + +entry, prompt, case-indicator { + text-font: inherit; + text-color: inherit; +} + +entry { + cursor: pointer; +} + +prompt { + margin: 0px 5px 0px 0px; +} + +listview { + layout: vertical; + //spacing: 5px; + padding: 8px; + lines: 12; + columns: 1; + dynamic: false; +} + +element { + padding: 2px; + vertical-align: 1; + color: @kl; + font: inherit; +} + +element-text { + background-color: inherit; + text-color: inherit; +} + +element selected.normal { + color: @black; + background-color: @hv; +} + +element normal active { + background-color: @hv; + color: @black; +} + +element-text, element-icon { + background-color: inherit; + text-color: inherit; +} + +element normal urgent { + background-color: @primary; +} + +element selected active { + background: @hv; + foreground: @bg; +} + +button { + padding: 6px; + color: @primary; + horizonatal-align: 0.5; + + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + border-color: @primary; +} + +button selected normal { + border: 2px 0px 2px 2px; + border-color: @primary; +} + +scrollbar { + enabled: true; +} diff --git a/dotfiles/rofi/tokyonight_big1.rasi b/dotfiles/rofi/tokyonight_big1.rasi new file mode 100644 index 0000000..7cde231 --- /dev/null +++ b/dotfiles/rofi/tokyonight_big1.rasi @@ -0,0 +1,137 @@ +/* + * Tokyonight colorscheme (big icons) for rofi + * User: w8ste + */ + + +// define colors etc. +* { + bg: #24283b; + hv: #9274ca; + primary: #C5C8C6; + ug: #0B2447; + font: "Monospace 11"; + background-color: @bg; + //dark: @bg; + border: 0px; + kl: #7aa2f7; + black: #000000; + + transparent: rgba(46,52,64,0); +} + +// defines different aspects of the window +window { + width: 700; + /*since line wont work with height, i comment it out + if you rather control the size via height + just comment it out */ + //height: 500; + + orientation: horizontal; + location: center; + anchor: center; + transparency: "screenshot"; + border-color: @transparent; + border: 0px; + border-radius: 6px; + spacing: 0; + children: [ mainbox ]; +} + +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} + +inputbar { + color: @kl; + padding: 11px; + border: 3px 3px 2px 3px; + border-color: @primary; + border-radius: 6px 6px 0px 0px; +} + +message { + padding: 0; + border-color: @primary; + border: 0px 1px 1px 1px; +} + +entry, prompt, case-indicator { + text-font: inherit; + text-color: inherit; +} + +entry { + cursor: pointer; +} + +prompt { + margin: 0px 5px 0px 0px; +} + +listview { + layout: vertical; + //spacing: 5px; + padding: 8px; + lines: 7; + columns: 1; + border: 0px 3px 3px 3px; + border-radius: 0px 0px 6px 6px; + border-color: @primary; + dynamic: false; +} + +element { + padding: 2px; + vertical-align: 1; + color: @kl; + font: inherit; +} + +element-text { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; +} + +element selected.normal { + color: @black; + background-color: @hv; +} + +element normal active { + background-color: @hv; + color: @black; +} + +element-icon { + background-color: inherit; + text-color: inherit; + size: 2.5em; +} + +element normal urgent { + background-color: @primary; +} + +element selected active { + background: @hv; + foreground: @bg; +} + +button { + padding: 6px; + color: @primary; + horizonatal-align: 0.5; + + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + border-color: @primary; +} + +button selected normal { + border: 2px 0px 2px 2px; + border-color: @primary; +} diff --git a/dotfiles/rofi/tokyonight_big2.rasi b/dotfiles/rofi/tokyonight_big2.rasi new file mode 100644 index 0000000..5bf6b59 --- /dev/null +++ b/dotfiles/rofi/tokyonight_big2.rasi @@ -0,0 +1,137 @@ +/* + * Tokyonight colorscheme (big icons) for rofi + * User: w8ste + */ + + +// define colors etc. +* { + bg: #24283b; + hv: #9274ca; + primary: #C5C8C6; + ug: #0B2447; + font: "Monospace 11"; + background-color: @bg; + //dark: @bg; + border: 0px; + kl: #7aa2f7; + black: #000000; + + transparent: rgba(46,52,64,0); +} + +// defines different aspects of the window +window { + width: 700; + /*since line wont work with height, i comment it out + if you rather control the size via height + just comment it out */ + //height: 500; + + orientation: horizontal; + location: center; + anchor: center; + transparency: "screenshot"; + border-color: @transparent; + border: 0px; + border-radius: 6px; + spacing: 0; + children: [ mainbox ]; +} + +mainbox { + spacing: 0; + children: [ inputbar, message, listview ]; +} + +inputbar { + color: @kl; + padding: 11px; + border: 3px 3px 2px 3px; + border-color: @primary; + border-radius: 6px 6px 0px 0px; +} + +message { + padding: 0; + border-color: @primary; + border: 0px 1px 1px 1px; +} + +entry, prompt, case-indicator { + text-font: inherit; + text-color: inherit; +} + +entry { + cursor: pointer; +} + +prompt { + margin: 0px 5px 0px 0px; +} + +listview { + layout: vertical; + //spacing: 5px; + padding: 8px; + lines: 7; + columns: 2; + border: 0px 3px 3px 3px; + border-radius: 0px 0px 6px 6px; + border-color: @primary; + dynamic: false; +} + +element { + padding: 2px; + vertical-align: 1; + color: @kl; + font: inherit; +} + +element-text { + background-color: inherit; + text-color: inherit; + vertical-align: 0.5; +} + +element selected.normal { + color: @black; + background-color: @hv; +} + +element normal active { + background-color: @hv; + color: @black; +} + +element-icon { + background-color: inherit; + text-color: inherit; + size: 2.5em; +} + +element normal urgent { + background-color: @primary; +} + +element selected active { + background: @hv; + foreground: @bg; +} + +button { + padding: 6px; + color: @primary; + horizonatal-align: 0.5; + + border: 2px 0px 2px 2px; + border-radius: 4px 0px 0px 4px; + border-color: @primary; +} + +button selected normal { + border: 2px 0px 2px 2px; + border-color: @primary; +}