♻️ refactor(rofi): add theme to the default so it can be called by default using only the rofi command
This commit is contained in:
parent
279cd69057
commit
99d880a797
6 changed files with 8 additions and 7 deletions
|
@ -23,7 +23,7 @@ bind = SUPER, BACKSPACE, exec, ~/.config/hypr/scripts/custom_app_launch nvim
|
|||
bind = SUPERSHIFT, BACKSPACE, exec, ~/.config/hypr/scripts/custom_app_launch neovide
|
||||
|
||||
# Launchers
|
||||
bind = SUPER, 23, exec, rofi -show drun -theme ~/.config/rofi/style.rasi # tab
|
||||
bind = SUPER, 23, exec, rofi -show drun # Tab
|
||||
|
||||
# Scratchpads
|
||||
bind = SUPER, V, exec, pypr toggle volume
|
||||
|
@ -41,7 +41,7 @@ bind = CTRL, INSERT, exec, hyprshot -m region -o ~/Imagenes/Capturas/PC -f captu
|
|||
bind = ALT, INSERT, exec, ~/.config/hypr/scripts/rofi/screenshots_selection
|
||||
|
||||
# Clipboard
|
||||
bind = SUPER, Y, exec, cliphist list | rofi -dmenu -theme ~/.config/rofi/style.rasi | cliphist decode | wl-copy
|
||||
bind = SUPER, Y, exec, cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
||||
|
||||
# Logout menu
|
||||
bind = SUPER, ESCAPE, exec, wleave
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/bash
|
||||
CONFIG=$(rofi -show file-browser-extended -theme ~/.config/rofi/style.rasi -file-browser-stdout -file-browser-dir "$HOME"/.config/keyb/bindings)
|
||||
CONFIG=$(rofi -show file-browser-extended -file-browser-stdout -file-browser-dir "$HOME"/.config/keyb/bindings)
|
||||
|
||||
hyprctl dispatch exec "[float;size 35% 80%;center 1] kitty keyb -k '$CONFIG'"
|
||||
|
|
|
@ -13,9 +13,9 @@ wf-recorder_check() {
|
|||
|
||||
wf-recorder_check
|
||||
|
||||
SCREEN=$(echo "$(hyprctl monitors | awk '/^Monitor/ {print $2} END { print "selection" }')" | rofi -dmenu -theme ~/.config/rofi/style.rasi)
|
||||
SCREEN=$(echo "$(hyprctl monitors | awk '/^Monitor/ {print $2} END { print "selection" }')" | rofi -dmenu)
|
||||
|
||||
AUDIO=$(echo "$(pactl list sources | grep Name | grep -v easyeffects | awk -F ": " '{print $2}' | awk '{$1=$1};1')" | rofi -dmenu -theme ~/.config/rofi/style.rasi)
|
||||
AUDIO=$(echo "$(pactl list sources | grep Name | grep -v easyeffects | awk -F ": " '{print $2}' | awk '{$1=$1};1')" | rofi -dmenu)
|
||||
|
||||
VID="$HOME/Videos/Escritorio/$(date +%Y-%m-%d-%s).mp4"
|
||||
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
IMAGE_DIR="$HOME/Imagenes/Capturas/PC/"
|
||||
|
||||
SELECTION=$(ls -t "$IMAGE_DIR" | rofi -show file-browser-extended -file-browser-stdin -theme ~/.config/rofi/style.rasi -file-browser-stdout -file-browser-dir "$IMAGE_DIR")
|
||||
SELECTION=$(ls -t "$IMAGE_DIR" | rofi -show file-browser-extended -file-browser-stdin -file-browser-stdout -file-browser-dir "$IMAGE_DIR")
|
||||
|
||||
swappy -f "$SELECTION"
|
||||
|
|
|
@ -8,7 +8,7 @@ if [ "$mode" = "" ]; then
|
|||
fi
|
||||
|
||||
if [ "$mode" == "select" ]; then
|
||||
IMAGE=$(rofi -show file-browser-extended -theme ~/.config/rofi/style.rasi -file-browser-stdout -file-browser-dir "$HOME"/.config/hypr/themes/luna/walls/)
|
||||
IMAGE=$(rofi -show file-browser-extended -file-browser-stdout -file-browser-dir "$HOME"/.config/hypr/themes/luna/walls/)
|
||||
|
||||
if [ "$IMAGE" = "" ]; then
|
||||
exit 1
|
||||
|
|
|
@ -85,3 +85,4 @@ configuration {
|
|||
delay: 0;
|
||||
}
|
||||
}
|
||||
@theme "style"
|
||||
|
|
Loading…
Add table
Reference in a new issue