aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorawy <awy@tutamail.com>2024-08-28 03:22:07 +0300
committerawy <awy@tutamail.com>2024-08-28 03:22:07 +0300
commit44978cb135d920abec7a6123ad73b199d13d2520 (patch)
tree07400d7d457e6142a357d489caf3cbe759b4fb58
parent62e7437899c47b25c0e7c1dbd731d7a22924bf68 (diff)
move to rofi
-rw-r--r--.config/rofi/catppuccin.rasi111
-rw-r--r--.config/rofi/config.rasi17
-rw-r--r--.config/wofi/config41
-rw-r--r--.config/wofi/style.css70
-rw-r--r--dependencies.txt1
5 files changed, 129 insertions, 111 deletions
diff --git a/.config/rofi/catppuccin.rasi b/.config/rofi/catppuccin.rasi
new file mode 100644
index 0000000..b377af1
--- /dev/null
+++ b/.config/rofi/catppuccin.rasi
@@ -0,0 +1,111 @@
+* {
+ bg-col: #1e1e2e;
+ bg-col-light: #1e1e2e;
+ border-col: #1e1e2e;
+ selected-col: #1e1e2e;
+ blue: #89b4fa;
+ fg-col: #cdd6f4;
+ fg-col2: #f38ba8;
+ grey: #6c7086;
+
+ width: 600;
+ font: "LiterationMono Nerd Font 12";
+}
+
+element-text, element-icon , mode-switcher {
+ background-color: inherit;
+ text-color: inherit;
+}
+
+window {
+ height: 360px;
+ border: 3px;
+ border-color: @border-col;
+ background-color: @bg-col;
+}
+
+mainbox {
+ background-color: @bg-col;
+}
+
+inputbar {
+ children: [prompt,entry];
+ background-color: @bg-col;
+ border-radius: 5px;
+ padding: 2px;
+}
+
+prompt {
+ background-color: @blue;
+ padding: 6px;
+ text-color: @bg-col;
+ border-radius: 3px;
+ margin: 20px 0px 0px 20px;
+}
+
+textbox-prompt-colon {
+ expand: false;
+ str: ":";
+}
+
+entry {
+ padding: 6px;
+ margin: 20px 0px 0px 10px;
+ text-color: @fg-col;
+ background-color: @bg-col;
+}
+
+listview {
+ border: 0px 0px 0px;
+ padding: 6px 0px 0px;
+ margin: 10px 0px 0px 20px;
+ columns: 2;
+ lines: 5;
+ background-color: @bg-col;
+}
+
+element {
+ padding: 5px;
+ background-color: @bg-col;
+ text-color: @fg-col ;
+}
+
+element-icon {
+ size: 25px;
+}
+
+element selected {
+ background-color: @selected-col ;
+ text-color: @fg-col2 ;
+}
+
+mode-switcher {
+ spacing: 0;
+ }
+
+button {
+ padding: 10px;
+ background-color: @bg-col-light;
+ text-color: @grey;
+ vertical-align: 0.5;
+ horizontal-align: 0.5;
+}
+
+button selected {
+ background-color: @bg-col;
+ text-color: @blue;
+}
+
+message {
+ background-color: @bg-col-light;
+ margin: 2px;
+ padding: 2px;
+ border-radius: 5px;
+}
+
+textbox {
+ padding: 6px;
+ margin: 20px 0px 0px 20px;
+ text-color: @blue;
+ background-color: @bg-col-light;
+}
diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi
new file mode 100644
index 0000000..f517c83
--- /dev/null
+++ b/.config/rofi/config.rasi
@@ -0,0 +1,17 @@
+configuration{
+ modi: "run,drun,window";
+ icon-theme: "Oranchelo";
+ show-icons: true;
+ terminal: "kitty";
+ drun-display-format: "{icon} {name}";
+ location: 0;
+ disable-history: false;
+ hide-scrollbar: true;
+ display-drun: "  Apps ";
+ display-run: "  Run ";
+ display-window: " 󰕰 Window";
+ display-Network: " 󰤨 Network";
+ sidebar-mode: true;
+}
+
+@theme "catppuccin"
diff --git a/.config/wofi/config b/.config/wofi/config
deleted file mode 100644
index 72b5b3f..0000000
--- a/.config/wofi/config
+++ /dev/null
@@ -1,41 +0,0 @@
-## Wofi Config
-
-## General
-show=drun
-prompt=Apps
-normal_window=true
-layer=overlay
-term=kitty
-columns=2
-
-## Geometry
-width=30%
-height=30%
-location=top_left
-orientation=vertical
-halign=fill
-line_wrap=off
-dynamic_lines=false
-
-## Images
-allow_markup=true
-allow_images=true
-image_size=24
-
-## Search
-exec_search=false
-hide_search=false
-parse_search=false
-insensitive=false
-
-## Other
-hide_scroll=true
-no_actions=true
-sort_order=default
-gtk_dark=true
-filter_rate=100
-
-## Keys
-key_expand=Tab
-key_exit=Escape
-
diff --git a/.config/wofi/style.css b/.config/wofi/style.css
deleted file mode 100644
index 507844d..0000000
--- a/.config/wofi/style.css
+++ /dev/null
@@ -1,70 +0,0 @@
-*{
-font-family: "LiterationMono Nerd Font Mono";
-min-height: 0;
-font-size: 100%;
-font-feature-settings: '"zero", "ss01", "ss02", "ss03", "ss04", "ss05", "cv31"';
-padding: 0px;
-margin-top: 1px;
-margin-bottom: 1px;
-}
-
-
-#window {
- /*background-color: --wofi-color0;*/
- background-color: #1e1e2e;
- /*color: --wofi-color2;
- border: 2px solid --wofi-color1;*/
- border-radius: 0px;
-}
-
-#outer-box {
- padding: 20px;
-}
-
-#input {
- /*background-color: --wofi-color1;
- border: 1px solid --wofi-color3;*/
- padding: 8px 12px;
-}
-
-#scroll {
- margin-top: 20px;
- margin-bottom: 20px;
-}
-
-#inner-box {
-}
-
-#img {
- padding-right: 10px;
-}
-
-#text {
- color: #cdd6f4;
-}
-
-#text:selected {
- color: #1e1e2e;
-}
-
-#entry {
- padding: 6px;
-}
-
-#entry:selected {
- /*background-color: --wofi-color3;*/
- background: #f9e2af;
- color: rgba(255, 0, 0, 0.0)
-}
-
-#unselected {
-}
-
-#selected {
-}
-
-#input, #entry:selected {
- border-radius: 8px;
- border: 1px solid #f6f6f6;
-}
-
diff --git a/dependencies.txt b/dependencies.txt
index 3a0154e..5201cf8 100644
--- a/dependencies.txt
+++ b/dependencies.txt
@@ -44,6 +44,7 @@ zsh-autosuggestions
mpv
yt-dlp
unzip
+rofi-wayland
# utilities
gnupg