feat: rofi clipboard
This commit is contained in:
parent
4ab5b908cc
commit
5ebce051f4
5 changed files with 21 additions and 15 deletions
|
@ -1,13 +1,5 @@
|
|||
# Windows and session
|
||||
bind = $mainMod, R, exec, $rofi_menu
|
||||
bind = $mainMod, O, exec, $rofi_screenshot
|
||||
bind = $mainMod, L, exec, $rofi_powermenu
|
||||
bind = $mainMod, K, exec, $waybar_toggle
|
||||
bind = $mainMod, Q, exec, $terminal
|
||||
bind = $mainMod, W, exec, $terminal -e zellij
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, N, exec, $network_manager
|
||||
bind = $mainMod, V, togglefloating,
|
||||
bind = $mainMod, H, togglefloating,
|
||||
bind = $mainMod, C, killactive,
|
||||
bind = $mainMod, P, pseudo,
|
||||
# bind = $mainMod, M, exit,
|
||||
|
@ -22,6 +14,17 @@ bind = $mainMod ALT, right, movewindow, r
|
|||
bind = $mainMod ALT, up, movewindow, u
|
||||
bind = $mainMod ALT, down, movewindow, d
|
||||
|
||||
# Apps
|
||||
bind = $mainMod, R, exec, $rofi_menu
|
||||
bind = $mainMod, O, exec, $rofi_screenshot
|
||||
bind = $mainMod, L, exec, $rofi_powermenu
|
||||
bind = $mainMod, V, exec, $rofi_clipboard
|
||||
bind = $mainMod, K, exec, $waybar_toggle
|
||||
bind = $mainMod, Q, exec, $terminal
|
||||
bind = $mainMod, W, exec, $terminal -e zellij
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, N, exec, $network_manager
|
||||
|
||||
# Screenshot
|
||||
bind = $mainMod, PRINT, exec, $screenshot -m window
|
||||
bind = , PRINT, exec, $screenshot -m output
|
||||
|
|
|
@ -24,6 +24,7 @@ $volume_control = $scr_path/volume-control.sh
|
|||
$rofi_menu = $scr_path/rofi-launch.sh d
|
||||
$rofi_powermenu = $scr_path/rofi-launch.sh p
|
||||
$rofi_screenshot = $scr_path/rofi-launch.sh s
|
||||
$rofi_clipboard = $scr_path/rofi-launch.sh c
|
||||
$powermenu = $scr_path/wlogout-toggle.sh
|
||||
|
||||
# -----------------------------------------------------
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# rofi env :
|
||||
export launcher_type="2"
|
||||
export powermenu_type="2"
|
||||
export rofi_dir="$HOME/.config/rofi"
|
||||
|
||||
# waybar env :
|
||||
export waybar_theme="river"
|
||||
export waybar_dir="$HOME/.config/waybar/$waybar_theme"
|
||||
|
|
|
@ -1,16 +1,20 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
source $HOME/.config/hypr/scripts/env.sh
|
||||
export launcher_type="2"
|
||||
export powermenu_type="2"
|
||||
export rofi_dir="$HOME/.config/rofi"
|
||||
|
||||
case $1 in
|
||||
d) exec $rofi_dir/launchers/type-$launcher_type/launcher.sh ;;
|
||||
p) exec $rofi_dir/applets/bin/powermenu.sh ;;
|
||||
s) exec $rofi_dir/applets/bin/screenshot.sh ;;
|
||||
c) exec $rofi_dir/applets/bin/clipboard.sh ;;
|
||||
h)
|
||||
echo -e "rofilaunch.sh [action]\nwhere action,"
|
||||
echo "d : drun mode"
|
||||
echo "w : window mode"
|
||||
echo "s : screen shot mode,"
|
||||
echo "c : clipboard manager"
|
||||
exit 0
|
||||
;;
|
||||
*) ;;
|
||||
|
|
3
hyprland/.config/rofi/applets/bin/clipboard.sh
Executable file
3
hyprland/.config/rofi/applets/bin/clipboard.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
cliphist list | rofi -dmenu | cliphist decode | wl-copy
|
Loading…
Add table
Reference in a new issue