diff --git a/dotfiles/config/hypr/hyprland/binds.lua b/dotfiles/config/hypr/hyprland/binds.lua index 13411bf8..f1f05a61 100644 --- a/dotfiles/config/hypr/hyprland/binds.lua +++ b/dotfiles/config/hypr/hyprland/binds.lua @@ -72,7 +72,7 @@ function M.setup(ctx) bind(hyper .. " + L", exec("hypr_rofi_layout"), desc("Open Hyprland layout menu")) bind(hyper .. " + K", exec("rofi_kill_process.sh"), desc("Open process kill menu")) bind(hyper .. " + SHIFT + K", exec("rofi_kill_all.sh"), desc("Open kill-all menu")) - bind(hyper .. " + R", exec("rofi-systemd"), desc("Open systemd unit menu")) + bind(hyper .. " + R", exec("rofi_systemd_mono"), desc("Open systemd unit menu")) bind(hyper .. " + X", exec("hypr_rofi_action"), desc("Open Hyprland action menu")) bind(hyper .. " + I", exec("rofi_select_input.hs"), desc("Open input selection menu")) bind(hyper .. " + Y", exec("rofi_agentic_skill"), desc("Open agentic skill menu")) diff --git a/dotfiles/config/hypr/hyprland/settings.lua b/dotfiles/config/hypr/hyprland/settings.lua index dac04b5f..8072e1d4 100644 --- a/dotfiles/config/hypr/hyprland/settings.lua +++ b/dotfiles/config/hypr/hyprland/settings.lua @@ -124,7 +124,7 @@ function M.setup(ctx) rounding = 5, blur = { enabled = true, - size = 8, + size = 7, passes = 3, }, active_opacity = 1.0, diff --git a/dotfiles/config/river-xmonad/Main.hs b/dotfiles/config/river-xmonad/Main.hs index 2087cc03..f007078c 100644 --- a/dotfiles/config/river-xmonad/Main.hs +++ b/dotfiles/config/river-xmonad/Main.hs @@ -163,7 +163,7 @@ spawnBindings = , key (hyper .|. shift) xK_l (spawnAction "loginctl lock-session") , key hyper xK_k (spawnAction "rofi_kill_process.sh") , key (hyper .|. shift) xK_k (spawnAction "rofi_kill_all.sh") - , key hyper xK_r (spawnAction "rofi-systemd") + , key hyper xK_r (spawnAction "rofi_systemd_mono") , key hyper xK_9 (spawnAction "start_synergy.sh") , key hyper xK_backslash (spawnAction "$HOME/dotfiles/dotfiles/lib/functions/mpg341cx_input toggle") , key hyper xK_i (spawnAction "rofi_select_input.hs") diff --git a/dotfiles/config/rofi/apple-frost.rasi b/dotfiles/config/rofi/apple-frost.rasi index 81cb18a1..fe6770ec 100644 --- a/dotfiles/config/rofi/apple-frost.rasi +++ b/dotfiles/config/rofi/apple-frost.rasi @@ -31,20 +31,21 @@ window { transparency: "real"; location: center; anchor: center; - width: 100%; - height: 100%; + width: 72%; + height: 78%; background-color: @backdrop; text-color: @text; - border: 0px; - border-radius: 0px; + border: 1px; + border-color: @border; + border-radius: 18px; } mainbox { background-color: @panel; children: [ inputbar, listview ]; spacing: 10px; - padding: 0px; - margin: 8% 30% 8% 30%; + padding: 88px 136px; + margin: 0px; border: 0px; border-radius: 0px; } @@ -80,7 +81,10 @@ listview { background-color: @bg; columns: 1; lines: 10; - spacing: 5px; + spacing: 0px; + border: 1px; + border-color: @border; + border-radius: 14px; cycle: false; dynamic: true; layout: vertical; @@ -88,11 +92,13 @@ listview { } element { - background-color: @candidate; + background-color: @bg; text-color: @text-on-dark; orientation: horizontal; - border-radius: 14px; - padding: 9px 11px; + border: 0px 0px 1px 0px; + border-color: @hairline; + border-radius: 0px; + padding: 11px 11px; spacing: 10px; } @@ -111,9 +117,8 @@ element-text { } element selected { - background-color: @candidate-active; + background-color: @candidate; text-color: @text-on-dark; - border: 1px; border-color: @border; } diff --git a/dotfiles/config/rofi/colorful/colors.rasi b/dotfiles/config/rofi/colorful/colors.rasi deleted file mode 100644 index 1479fc5a..00000000 --- a/dotfiles/config/rofi/colorful/colors.rasi +++ /dev/null @@ -1,9 +0,0 @@ -/* colors */ - -* { - al: #00000000; - bg: #000000ff; - se: #101010ff; - fg: #FFFFFFff; - ac: #EC7875ff; -} diff --git a/dotfiles/config/rofi/colorful/launcher.sh b/dotfiles/config/rofi/colorful/launcher.sh deleted file mode 100755 index 0fbfc4a6..00000000 --- a/dotfiles/config/rofi/colorful/launcher.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env bash - -## Author : Aditya Shakya -## Mail : adi1090x@gmail.com -## Github : @adi1090x -## Twitter : @adi1090x - -# Available Styles -# >> Created and tested on : rofi 1.6.0-1 -# -# style_1 style_2 style_3 style_4 style_5 style_6 -# style_7 style_8 style_9 style_10 style_11 style_12 - -theme="style_1" -dir="$HOME/.config/rofi/launchers/colorful" - -# dark -ALPHA="#00000000" -BG="#000000ff" -FG="#FFFFFFff" -SELECT="#101010ff" - -# light -#ALPHA="#00000000" -#BG="#FFFFFFff" -#FG="#000000ff" -#SELECT="#f3f3f3ff" - -# accent colors -COLORS=('#EC7875' '#61C766' '#FDD835' '#42A5F5' '#BA68C8' '#4DD0E1' '#00B19F' \ - '#FBC02D' '#E57C46' '#AC8476' '#6D8895' '#EC407A' '#B9C244' '#6C77BB') -ACCENT="${COLORS[$(( $RANDOM % 14 ))]}ff" - -# overwrite colors file -cat > $dir/colors.rasi <<- EOF - /* colors */ - - * { - al: $ALPHA; - bg: $BG; - se: $SELECT; - fg: $FG; - ac: $ACCENT; - } -EOF - -# comment these lines to disable random style -themes=($(ls -p --hide="launcher.sh" --hide="colors.rasi" $dir)) -theme="${themes[$(( $RANDOM % 12 ))]}" - -rofi -no-lazy-grab -show drun -modi drun -theme $dir/"$theme" diff --git a/dotfiles/config/rofi/colorful/style_1.rasi b/dotfiles/config/rofi/colorful/style_1.rasi deleted file mode 100644 index 667ef348..00000000 --- a/dotfiles/config/rofi/colorful/style_1.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 12px; - width: 35%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0.30% 1% 0% -0.5%; - background-color: @al; - text-color: @bg; - font: "FantasqueSansMono Nerd Font 12"; -} - -entry { - background-color: @al; - text-color: @bg; - placeholder-color: @bg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0.10% 0% 0% 0%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @ac; - text-color: @bg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @ac; - margin: 0% 0% 0% 0%; - padding: 1.5%; -} - -listview { - background-color: @al; - padding: 10px; - columns: 5; - lines: 3; - spacing: 0%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0%; - padding: 0%; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0%; - padding: 2% 0% 2% 0%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 64px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0.5% 0.5% -0.5% 0.5%; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0% 0% 0% 0%; - border-radius: 12px; - border-color: @bg; -} diff --git a/dotfiles/config/rofi/colorful/style_10.rasi b/dotfiles/config/rofi/colorful/style_10.rasi deleted file mode 100644 index 2ce38ad1..00000000 --- a/dotfiles/config/rofi/colorful/style_10.rasi +++ /dev/null @@ -1,123 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: "Applications"; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 80%; - height: 80%; -} - -prompt { - enabled: true; - padding: 1% 0.75% 1% 0.75%; - background-color: @ac; - text-color: @fg; - border-radius: 100%; - font: "Iosevka Nerd Font 12"; -} - -textbox-prompt-colon { - padding: 1% 0% 1% 0%; - background-color: @se; - text-color: @fg; - expand: false; - str: " :: "; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 1.15% 0.5% 1% 0.5%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @se; - text-color: @fg; - expand: false; - border: 0% 0.2% 0.3% 0%; - border-radius: 100%; - border-color: @ac; -} - -listview { - background-color: @al; - padding: 0px; - columns: 3; - spacing: 1%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 2%; - padding: 20% 15% 20% 15%; -} - -element { - background-color: @se; - text-color: @fg; - orientation: horizontal; - border-radius: 100%; - padding: 1% 0.5% 1% 0.75%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 24px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @se; - text-color: @ac; - border: 0% 0% 0.3% 0.2%; - border-radius: 100%; - border-color: @ac; -} diff --git a/dotfiles/config/rofi/colorful/style_11.rasi b/dotfiles/config/rofi/colorful/style_11.rasi deleted file mode 100644 index 6f393433..00000000 --- a/dotfiles/config/rofi/colorful/style_11.rasi +++ /dev/null @@ -1,129 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: "Applications"; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 25px; - width: 50%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 1.25% 0.75% 1.25% 0.75%; - background-color: @ac; - text-color: @fg; - font: "Iosevka Nerd Font 12"; - border-radius: 100%; -} - -textbox-prompt-colon { - padding: 1.40% 0% 1% 0%; - background-color: @se; - text-color: @fg; - expand: false; - str: " :: "; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 1.5% 0.5% 1% 0%; - blink: true; -} - -inputbar { - children: [ prompt, textbox-prompt-colon, entry ]; - background-color: @se; - text-color: @fg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 100px; - border-color: @ac; -} - -listview { - background-color: @al; - padding: 0px; - columns: 3; - lines: 8; - spacing: 1%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 2%; - padding: 4% 2% 4% 2%; -} - -element { - background-color: @bg; - text-color: @fg; - orientation: horizontal; - border-radius: 0%; - padding: 0%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 24px; - border: 1%; - border-color: @ac; - border-radius: 15px; - background-color: @ac; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @se; - text-color: @ac; - border: 0% 0% 0% 0%; - border-radius: 15px; - border-color: @ac; -} diff --git a/dotfiles/config/rofi/colorful/style_12.rasi b/dotfiles/config/rofi/colorful/style_12.rasi deleted file mode 100644 index af9aac36..00000000 --- a/dotfiles/config/rofi/colorful/style_12.rasi +++ /dev/null @@ -1,132 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: " Applications"; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 50px; - width: 50%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 1.25% 0.75% 1.25% 0.75%; - background-color: @ac; - text-color: @fg; - font: "Iosevka Nerd Font 12"; - border-radius: 100%; -} - -textbox-prompt-colon { - padding: 1.40% 0% 1% 0%; - background-color: @se; - text-color: @fg; - expand: false; - str: " :: "; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 1.5% 0.5% 1% 0%; - blink: true; -} - -inputbar { - children: [ prompt, textbox-prompt-colon, entry ]; - background-color: @se; - text-color: @fg; - expand: false; - border: 0%; - border-radius: 100%; - border-color: @ac; -} - -listview { - background-color: @al; - padding: 0px; - columns: 6; - lines: 3; - spacing: 1%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 10px 0px 10px 0px; - border-radius: 50px; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 2%; - padding: 4% 2% 2% 2%; -} - -element { - background-color: @bg; - text-color: @fg; - orientation: vertical; - border-radius: 0%; - padding: 0%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 64px; - border: 1%; - border-color: @se; - border-radius: 15px; - background-color: @se; - padding: 2% 1% 2% 1%; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0.5% 0.25% 0.5% 0.25%; - padding: 1% 0.5% 1% 0.5%; -} - -element-text selected { - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - background-color: @ac; - text-color: @bg; - border-radius: 100%; -} diff --git a/dotfiles/config/rofi/colorful/style_2.rasi b/dotfiles/config/rofi/colorful/style_2.rasi deleted file mode 100644 index 3de665a4..00000000 --- a/dotfiles/config/rofi/colorful/style_2.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 12px; - width: 18%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0.30% 1% 0% -0.5%; - background-color: @al; - text-color: @bg; - font: "FantasqueSansMono Nerd Font 12"; -} - -entry { - background-color: @al; - text-color: @bg; - placeholder-color: @bg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0.10% 0% 0% 0%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @ac; - text-color: @bg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @ac; - margin: 0% 0% 0% 0%; - padding: 1.5%; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0%; - padding: 0%; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0%; - padding: 1% 0.5% 1% 0.5%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 32px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @bg; -} diff --git a/dotfiles/config/rofi/colorful/style_3.rasi b/dotfiles/config/rofi/colorful/style_3.rasi deleted file mode 100644 index e70c102b..00000000 --- a/dotfiles/config/rofi/colorful/style_3.rasi +++ /dev/null @@ -1,120 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - height: 100%; - width: 18%; - location: west; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0.30% 1% 0% -0.5%; - background-color: @al; - text-color: @bg; - font: "FantasqueSansMono Nerd Font 12"; -} - -entry { - background-color: @al; - text-color: @bg; - placeholder-color: @bg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0.10% 0% 0% 0%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @ac; - text-color: @bg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @ac; - margin: 0% 0% 0% 0%; - padding: 1.5%; -} - -listview { - background-color: @al; - padding: 0px; - columns: 1; - lines: 5; - spacing: 0%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0%; - padding: 0%; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0%; - padding: 1% 0.5% 1% 0.5%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 32px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @bg; -} diff --git a/dotfiles/config/rofi/colorful/style_4.rasi b/dotfiles/config/rofi/colorful/style_4.rasi deleted file mode 100644 index d6d9eb73..00000000 --- a/dotfiles/config/rofi/colorful/style_4.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - height: 100%; - width: 19%; - location: east; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0.30% 1% 0% -0.5%; - background-color: @al; - text-color: @bg; - font: "FantasqueSansMono Nerd Font 12"; -} - -entry { - background-color: @al; - text-color: @bg; - placeholder-color: @bg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0.10% 0% 0% 0%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @ac; - text-color: @bg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @ac; - margin: 0% 0% 0% 0%; - padding: 1.5%; -} - -listview { - background-color: @al; - padding: 10px 10px 0px 10px; - columns: 3; - spacing: 0%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0%; - padding: 0%; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0%; - padding: 2% 0% 2% 0%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 48px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0.5% 0.5% -0.5% 0.5%; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @bg; -} diff --git a/dotfiles/config/rofi/colorful/style_5.rasi b/dotfiles/config/rofi/colorful/style_5.rasi deleted file mode 100644 index 6bc6a9a8..00000000 --- a/dotfiles/config/rofi/colorful/style_5.rasi +++ /dev/null @@ -1,119 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 35%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0.30% 1% 0% -0.5%; - background-color: @al; - text-color: @bg; - font: "FantasqueSansMono Nerd Font 12"; -} - -entry { - background-color: @al; - text-color: @bg; - placeholder-color: @bg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0.10% 0% 0% 0%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @fg; - text-color: @bg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @ac; - margin: 0% 0% 0% 0%; - padding: 1.5%; -} - -listview { - background-color: @al; - padding: 10px; - columns: 2; - lines: 10; - spacing: 0%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0%; - padding: 0%; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0%; - padding: 1% 0.5% 1% 0.5%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 24px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @bg; -} diff --git a/dotfiles/config/rofi/colorful/style_6.rasi b/dotfiles/config/rofi/colorful/style_6.rasi deleted file mode 100644 index 06ec71f8..00000000 --- a/dotfiles/config/rofi/colorful/style_6.rasi +++ /dev/null @@ -1,116 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: ""; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 100%; - height: 100%; -} - -prompt { - enabled: true; - padding: 0.30% 1% 0% -0.5%; - background-color: @al; - text-color: @bg; - font: "FantasqueSansMono Nerd Font 12"; -} - -entry { - background-color: @al; - text-color: @bg; - placeholder-color: @bg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0.10% 0% 0% 0%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @ac; - text-color: @bg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 100%; - border-color: @ac; - margin: 0% 54.5% 0% 0%; - padding: 1.5%; -} - -listview { - background-color: @al; - padding: 0px; - columns: 10; - spacing: 0%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 2.5%; - padding: 20% 5% 20% 5%; -} - -element { - background-color: @al; - text-color: @fg; - orientation: vertical; - border-radius: 0%; - padding: 4% 0% 4% 0%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 80px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0.5; - vertical-align: 0.5; - margin: 0.5% 0.5% -0.5% 0.5%; -} - -element selected { - background-color: @se; - text-color: @fg; - border: 0% 0% 0.5% 0%; - border-radius: 25px; - border-color: @ac; -} diff --git a/dotfiles/config/rofi/colorful/style_7.rasi b/dotfiles/config/rofi/colorful/style_7.rasi deleted file mode 100644 index e728b259..00000000 --- a/dotfiles/config/rofi/colorful/style_7.rasi +++ /dev/null @@ -1,118 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Fira Code 10"; - show-icons: true; - display-drun: ""; - drun-display-format: "{name} {generic}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 12px; - width: 88%; - height: 78%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 0.30% 1% 0% -0.5%; - background-color: @al; - text-color: @fg; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search"; - padding: 0.10% 0% 0% 0%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @bg; - text-color: @fg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @ac; - margin: 0% 0% 0% 0%; - padding: 1.5%; -} - -listview { - background-color: @al; - padding: 10px; - columns: 1; - lines: 18; - spacing: 1%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 0%; - padding: 0%; -} - -element { - background-color: @al; - text-color: @fg; - orientation: horizontal; - border-radius: 0%; - padding: 0.5% 0.5% 0.5% 0.5%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 24px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @ac; - text-color: @bg; - border: 0% 0% 0% 0%; - border-radius: 12px; - border-color: @bg; -} diff --git a/dotfiles/config/rofi/colorful/style_8.rasi b/dotfiles/config/rofi/colorful/style_8.rasi deleted file mode 100644 index 97fb6f7c..00000000 --- a/dotfiles/config/rofi/colorful/style_8.rasi +++ /dev/null @@ -1,125 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: "Applications"; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 0px; - width: 35%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 1% 0.75% 1% 0.75%; - background-color: @ac; - text-color: @fg; - font: "Iosevka Nerd Font 12"; -} - -textbox-prompt-colon { - padding: 1% 0% 1% 0%; - background-color: @se; - text-color: @fg; - expand: false; - str: " :: "; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 1.15% 0.5% 1% 0.5%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @se; - text-color: @fg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 0px; - border-color: @ac; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 7; - spacing: 1%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 2%; - padding: 4% 2% 4% 2%; -} - -element { - background-color: @se; - text-color: @fg; - orientation: horizontal; - border-radius: 0%; - padding: 1% 0.5% 1% 0.75%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 24px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @se; - text-color: @ac; - border: 0% 0% 0% 0.3%; - border-radius: 0px; - border-color: @ac; -} diff --git a/dotfiles/config/rofi/colorful/style_9.rasi b/dotfiles/config/rofi/colorful/style_9.rasi deleted file mode 100644 index 6e26dfb2..00000000 --- a/dotfiles/config/rofi/colorful/style_9.rasi +++ /dev/null @@ -1,126 +0,0 @@ -/* - * - * Author : Aditya Shakya - * Mail : adi1090x@gmail.com - * Github : @adi1090x - * Twitter : @adi1090x - * - */ - -configuration { - font: "Iosevka Nerd Font 10"; - show-icons: true; - icon-theme: "Papirus"; - display-drun: "Applications"; - drun-display-format: "{name}"; - disable-history: false; - sidebar-mode: false; -} - -@import "colors.rasi" - -window { - transparency: "real"; - background-color: @bg; - text-color: @fg; - border: 0px; - border-color: @ac; - border-radius: 15px; - width: 35%; - location: center; - x-offset: 0; - y-offset: 0; -} - -prompt { - enabled: true; - padding: 1% 0.75% 1% 0.75%; - background-color: @ac; - text-color: @fg; - border-radius: 10px; - font: "Iosevka Nerd Font 12"; -} - -textbox-prompt-colon { - padding: 1% 0% 1% 0%; - background-color: @se; - text-color: @fg; - expand: false; - str: " :: "; -} - -entry { - background-color: @al; - text-color: @fg; - placeholder-color: @fg; - expand: true; - horizontal-align: 0; - placeholder: "Search..."; - padding: 1.15% 0.5% 1% 0.5%; - blink: true; -} - -inputbar { - children: [ prompt, entry ]; - background-color: @se; - text-color: @fg; - expand: false; - border: 0% 0% 0% 0%; - border-radius: 10px; - border-color: @ac; -} - -listview { - background-color: @al; - padding: 0px; - columns: 2; - lines: 7; - spacing: 1%; - cycle: false; - dynamic: true; - layout: vertical; -} - -mainbox { - background-color: @al; - border: 0% 0% 0% 0%; - border-radius: 0% 0% 0% 0%; - border-color: @ac; - children: [ inputbar, listview ]; - spacing: 2%; - padding: 4% 2% 4% 2%; -} - -element { - background-color: @se; - text-color: @fg; - orientation: horizontal; - border-radius: 12px; - padding: 1% 0.5% 1% 0.75%; -} - -element-icon { - background-color: inherit; - text-color: inherit; - horizontal-align: 0.5; - vertical-align: 0.5; - size: 24px; - border: 0px; -} - -element-text { - background-color: @al; - text-color: inherit; - expand: true; - horizontal-align: 0; - vertical-align: 0.5; - margin: 0% 0.25% 0% 0.25%; -} - -element selected { - background-color: @se; - text-color: @ac; - border: 0% 0.3% 0% 0.3%; - border-radius: 12px; - border-color: @ac; -} diff --git a/dotfiles/config/rofi/config.rasi b/dotfiles/config/rofi/config.rasi index d03b59c7..6bd5e6b3 100644 --- a/dotfiles/config/rofi/config.rasi +++ b/dotfiles/config/rofi/config.rasi @@ -4,7 +4,7 @@ configuration { show-icons: true; terminal: "alacritty"; sidebar-mode: false; - fullscreen: true; + fullscreen: false; /* Let rofi auto-detect DPI under Wayland/Xwayland to avoid blurry scaling. */ dpi: 0; } diff --git a/dotfiles/config/rofi/white.rasi b/dotfiles/config/rofi/white.rasi deleted file mode 100644 index e69de29b..00000000 diff --git a/dotfiles/config/xmonad/xmonad.hs b/dotfiles/config/xmonad/xmonad.hs index 0e5469b4..d6137d34 100644 --- a/dotfiles/config/xmonad/xmonad.hs +++ b/dotfiles/config/xmonad/xmonad.hs @@ -1077,7 +1077,7 @@ addKeys conf@XConfig { modMask = modm } = , ((hyper, xK_l), selectLayout) , ((hyper, xK_k), spawn "rofi_kill_process.sh") , ((hyper .|. shiftMask, xK_k), spawn "rofi_kill_all.sh") - , ((hyper, xK_r), spawn "rofi-systemd") + , ((hyper, xK_r), spawn "rofi_systemd_mono") , ((hyper, xK_9), spawn "start_synergy.sh") , ((hyper, xK_slash), spawn "toggle_taffybar") , ((hyper, xK_backslash), spawn "$HOME/dotfiles/dotfiles/lib/functions/mpg341cx_input toggle") diff --git a/dotfiles/lib/bin/rofi_systemd_mono b/dotfiles/lib/bin/rofi_systemd_mono new file mode 100755 index 00000000..8d5086b7 --- /dev/null +++ b/dotfiles/lib/bin/rofi_systemd_mono @@ -0,0 +1,6 @@ +#!/usr/bin/env bash +set -euo pipefail + +script_dir="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)" +export ROFI_SYSTEMD_ROFI_COMMAND="${script_dir}/rofi_systemd_rofi -p" +exec rofi-systemd "$@" diff --git a/dotfiles/lib/bin/rofi_systemd_rofi b/dotfiles/lib/bin/rofi_systemd_rofi new file mode 100755 index 00000000..1c6b5682 --- /dev/null +++ b/dotfiles/lib/bin/rofi_systemd_rofi @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +exec rofi -dmenu -i -theme-str '* { font: "Hack 12"; }' "$@"