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
|
$programsTerminal = konsole
|
||||||
$programsFM = dolphin
|
$programsFM = dolphin
|
||||||
$programsBrowser = librewolf
|
$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
|
$programsNotiDaemon = fnott
|
||||||
$programsAuthAgent = /usr/lib/polkit-kde-authentication-agent-1
|
$programsAuthAgent = /usr/lib/polkit-kde-authentication-agent-1
|
||||||
$programsBar = waybar
|
$programsBar = waybar
|
||||||
|
|
||||||
# Application startup
|
# Application startup
|
||||||
|
# -> Jobrunner
|
||||||
|
exec=exec env JOBRUNNER_DISABLEOUTPUT=y $dirHome/.local/bin/jobrunner
|
||||||
# -> Programs
|
# -> Programs
|
||||||
exec=pkill -9 $programsNotiDaemon; $programsNotiDaemon
|
exec=pkill -9 $programsNotiDaemon; $programsNotiDaemon
|
||||||
exec=pkill -9 $programsAuthAgent; $programsAuthAgent
|
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
|
exec=wl-paste --type image --watch cliphist store
|
||||||
# -> Screen sharing
|
# -> Screen sharing
|
||||||
exec=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
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
|
# -> Autostart
|
||||||
exec-once=cd $dirHypr;exec $dirHypr/scripts.d/autostart.sh
|
exec-once=cd $dirHypr;exec $dirHypr/scripts.d/autostart.sh
|
||||||
|
|
||||||
|
@ -77,8 +79,8 @@ env = ELECTRON_OZONE_PLATFORM_HINT=wayland
|
||||||
# HYPRLAND CONFIGURATION OPTIONS
|
# HYPRLAND CONFIGURATION OPTIONS
|
||||||
# -> Bindings
|
# -> Bindings
|
||||||
# --> Programs
|
# --> Programs
|
||||||
bind = SUPER, SUPER_L, exec, $programsMenu
|
bind = SUPER, SUPER_L, exec, pkill -9 $programsMenuKill || $dirHome/.local/bin/jobrunner-runjob $programsMenu
|
||||||
bind = SUPER, V, exec, cliphist list | launch-menu | cliphist decode | wl-copy
|
bind = SUPER, V, exec, exec $dirHome/.local/bin/jobrunner-runjob "$programsClipboard"
|
||||||
bind = SUPER, A, exec, $programsTerminal
|
bind = SUPER, A, exec, $programsTerminal
|
||||||
bind = SUPER, S, exec, $programsFM
|
bind = SUPER, S, exec, $programsFM
|
||||||
bind = SUPER, D, exec, $programsBrowser
|
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