Skip to content

Commit

Permalink
Change style rofimoji menu
Browse files Browse the repository at this point in the history
  • Loading branch information
DIMFLIX-OFFICIAL committed Oct 15, 2024
1 parent 920030c commit e3450ff
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 2 deletions.
2 changes: 1 addition & 1 deletion home/.config/bspwm/sxhkdrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ super + {Return,e,w,t,p,v,d,x,l,c,b,period}
sh $HOME/bin/screen-lock.sh, \
sh $HOME/bin/color-picker.sh, \
sh $HOME/bin/toggle-bar.sh, \
rofimoji --action copy}
sh $HOME/bin/rofi-menus/rofimoji.sh}

ctrl + shift + Escape
alacritty -e btop
Expand Down
2 changes: 1 addition & 1 deletion home/.config/hypr/keybindings.conf
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bind = , Print, exec, flameshot gui #==> Screenshot
bind = $mainMod, P, exec, pavucontrol #==> Pavucontrol
bind = $mainMod, V, exec, sh $binPath/rofi-menus/clipboard-manager.sh #==> Clipboard manager
bind = $mainMod, D, exec, rofi -show drun #==> Apps Manager
bind = $mainMod, code:60, exec, rofimoji --action copy #==> Rofi Emoji
bind = $mainMod, code:60, exec, sh $binPath/rofi-menus/rofimoji.sh #==> Rofi Emoji
bind = $mainMod, X, exec, sh $binPath/rofi-menus/powermenu.sh #==> Powermenu
bind = $mainMod, L, exec, sh $HOME/bin/screen-lock.sh #==> Lock screen
bind = $mainMod, C, exec, sh $HOME/bin/color-picker.sh #==> Color Picker
Expand Down
101 changes: 101 additions & 0 deletions home/.config/rofi/emoji.rasi
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
@import "theme"

configuration {
show-icons: true;
drun-display-format: "{name}";
window-format: "{w}{t}";
font: "JetBrainsMono Nerd Font 10";
icon-theme: "Tela-circle-dracula";
show-icons: true;
}

window {
height: 33em;
width: 63em;
transparency: "real";
fullscreen: false;
enabled: true;
cursor: "default";
spacing: 0em;
padding: 0em;
border: 3px solid;
border-radius: 15px;
border-color: @main-br;
background-color: @main-bg;
}

mainbox {
spacing: 0;
children: [ inputbar, listview ];
}

inputbar {
enabled: true;
children: [ prompt, entry ];
spacing: 0em;
padding: 0em;
cursor: pointer;
background-color: @main-bg;
text-color: @main-fg;
border: 0px 0px 2px 0px solid;
border-color: @main-br;
}

prompt {
enabled: true;
padding: 0.5em 1em 0.5em 1em;
text-align: center;
cursor: default;
background-color: transparent;
text-color: @select-fg;
background-color: @main-br;
}

entry {
enabled: true;
padding: 0.5em 0.5em 0.5em 0.5em;
cursor: text;
background-color: transparent;
text-color: @main-fg;
background-color: transparent;
}

listview {
columns: 13;
lines: 7;
spacing: 0em;
padding: 0.3em 0 0 0.3em;
cycle: true;
dynamic: true;
layout: vertical;
flow: horizontal;
reverse: false;
fixed-height: true;
fixed-columns: true;
cursor: "default";
background-color: @main-bg;
text-color: @main-fg;
}

element {
background-color: transparent;
border-radius: 10px;
}

element selected.normal {
background-color: @select-bg;
}

element-icon {
size: 0;
background-color: transparent;
}

element-text {
cursor: pointer;
vertical-align: 0.5;
horizontal-align: 0.5;
font: "FiraCode Nerd Font 24";
background-color: transparent;
color: @main-bg;
}
1 change: 1 addition & 0 deletions home/bin/rofi-menus/rofimoji.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rofimoji --selector-args="-theme ~/.config/rofi/emoji.rasi -kb-row-left Left -kb-row-right Right -kb-move-char-back Control+b -kb-move-char-forward Control+f" --hidden-descriptions --action copy --max-recent 0

0 comments on commit e3450ff

Please sign in to comment.