diff --git a/dots/.config/hypr/hyprland.conf b/dots/.config/hypr/hyprland.conf index 73b6c624..5281da53 100644 --- a/dots/.config/hypr/hyprland.conf +++ b/dots/.config/hypr/hyprland.conf @@ -2,8 +2,8 @@ source=~/.config/hypr/wm/general.conf source=~/.config/hypr/wm/bindings.conf source=~/.config/hypr/wm/appearance.conf source=~/.config/hypr/wm/monitors.conf -exec=~/.config/hypr/scripts/launch-waybar.bash -exec-once=sudo modprobe uinput && sudo kbct remap --config ~/.config/kbct/config.yml +exec=~/.config/hypr/scripts/launchers/launch-waybar.bash +exec=~/.config/hypr/scripts/launchers/launch-kbct.bash exec=mako -exec-once=~/.config/hypr/scripts/events-monitor.bash +exec-once=~/.config/hypr/scripts/launchers/events-monitor.bash exec-once=udiskie diff --git a/dots/.config/hypr/scripts/events-monitor.bash b/dots/.config/hypr/scripts/launchers/events-monitor.bash similarity index 100% rename from dots/.config/hypr/scripts/events-monitor.bash rename to dots/.config/hypr/scripts/launchers/events-monitor.bash diff --git a/dots/.config/hypr/scripts/launchers/launch-kbct.bash b/dots/.config/hypr/scripts/launchers/launch-kbct.bash new file mode 100755 index 00000000..d0def971 --- /dev/null +++ b/dots/.config/hypr/scripts/launchers/launch-kbct.bash @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +main() { + kill -9 "$(pidof kbct)" >/dev/null + sudo modprobe uinput + local kbct_config="${HOME}/.config/kbct/config.yml" + sudo kbct remap --config "${kbct_config}" +} + +main diff --git a/dots/.config/hypr/scripts/launch-waybar.bash b/dots/.config/hypr/scripts/launchers/launch-waybar.bash similarity index 100% rename from dots/.config/hypr/scripts/launch-waybar.bash rename to dots/.config/hypr/scripts/launchers/launch-waybar.bash diff --git a/dots/.config/kbct/config.yml b/dots/.config/kbct/config.yml index 595bff92..8ce34bfc 100644 --- a/dots/.config/kbct/config.yml +++ b/dots/.config/kbct/config.yml @@ -1,6 +1,7 @@ - keyboards: - Asus Keyboard - Glorious GMMK Pro ANSI + - Glorious GMMK Pro ANSI Keyboard layers: - modifiers: - leftmeta