Fix keybinds not working
This commit is contained in:
parent
be4bbb0c23
commit
ca5f146dc7
2 changed files with 11 additions and 5 deletions
|
@ -35,12 +35,16 @@ $settingsEnableAnimations = 1
|
|||
$programsTerminal = konsole
|
||||
$programsFM = dolphin
|
||||
$programsBrowser = librewolf
|
||||
$programsMenu = j4-dmenu-desktop --dmenu=launch-menu
|
||||
$programsMenu = j4-dmenu-desktop --dmenu=$dirHome/.local/bin/launch-menu
|
||||
$programsMenuKill = bemenu
|
||||
$programsClipboard = $dirHypr/scripts.d/clipboard.sh
|
||||
$programsNotiDaemon = fnott
|
||||
$programsAuthAgent = /usr/lib/polkit-kde-authentication-agent-1
|
||||
$programsBar = waybar
|
||||
|
||||
# Application startup
|
||||
# -> Jobrunner
|
||||
exec=exec env JOBRUNNER_DISABLEOUTPUT=y $dirHome/.local/bin/jobrunner
|
||||
# -> Programs
|
||||
exec=pkill -9 $programsNotiDaemon; $programsNotiDaemon
|
||||
exec=pkill -9 $programsAuthAgent; $programsAuthAgent
|
||||
|
@ -51,8 +55,6 @@ exec=wl-paste --type text --watch cliphist store
|
|||
exec=wl-paste --type image --watch cliphist store
|
||||
# -> Screen sharing
|
||||
exec=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
# -> Jobrunner
|
||||
exec=if [ -f /tmp/jobrunner/jobrunner.pid ]; then echo EXIT > /tmp/jobrunner/jobrunner.cmd; sleep 1s; fi; exec $dirHome/.local/bin/jobrunner
|
||||
# -> Autostart
|
||||
exec-once=cd $dirHypr;exec $dirHypr/scripts.d/autostart.sh
|
||||
|
||||
|
@ -77,8 +79,8 @@ env = ELECTRON_OZONE_PLATFORM_HINT=wayland
|
|||
# HYPRLAND CONFIGURATION OPTIONS
|
||||
# -> Bindings
|
||||
# --> Programs
|
||||
bind = SUPER, SUPER_L, exec, $programsMenu
|
||||
bind = SUPER, V, exec, cliphist list | launch-menu | cliphist decode | wl-copy
|
||||
bind = SUPER, SUPER_L, exec, pkill -9 $programsMenuKill || $dirHome/.local/bin/jobrunner-runjob $programsMenu
|
||||
bind = SUPER, V, exec, exec $dirHome/.local/bin/jobrunner-runjob "$programsClipboard"
|
||||
bind = SUPER, A, exec, $programsTerminal
|
||||
bind = SUPER, S, exec, $programsFM
|
||||
bind = SUPER, D, exec, $programsBrowser
|
||||
|
|
4
gui/hypr/scripts.d/clipboard.sh
Executable file
4
gui/hypr/scripts.d/clipboard.sh
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
# The only reason this script exists is because
|
||||
# Hyprland, jobrunner, idk does not support piping.
|
||||
cliphist list | launch-menu | cliphist decode | wl-copy
|
Loading…
Reference in a new issue