diff --git a/.config/hypr/config/Keybinds.conf b/.config/hypr/config/Keybinds.conf index ea5ba3f..45ae89a 100644 --- a/.config/hypr/config/Keybinds.conf +++ b/.config/hypr/config/Keybinds.conf @@ -109,7 +109,7 @@ bind = $mainMod, Space, fullscreen, 0 # rofi App launcher #bind = $mainMod, Tab, exec, nwg-drawer -pbexit "wayland-logout" -pbpoweroff "systemctl poweroff" -pbreboot "systemctl reboot" bind = $mainMod, Tab, exec, $appLauncher -bind = ALT, Tab, exec, hyprswitch gui --mod-key alt --key tab +bind = ALT, Tab, exec, $scriptsDir/anyrun/Windows.sh bind = $mainMod, Return, exec, $term bind = $mainMod Shift, Return, exec, hyprdrop ghostty --identifier term_hyprdrop diff --git a/.config/hypr/config/Startup_Apps.conf b/.config/hypr/config/Startup_Apps.conf index f4af3f1..dd478f0 100644 --- a/.config/hypr/config/Startup_Apps.conf +++ b/.config/hypr/config/Startup_Apps.conf @@ -34,8 +34,6 @@ exec-once = pypr & exec-once = wl-paste --type text --watch cliphist store # Stores only text data exec-once = wl-paste --type image --watch cliphist store # Stores only image data -exec-once = hyprswitch init --show-title --size-factor 5.5 --workspaces-per-row 5 & - exec-once = hyprsunset & exec-once = hyprshade auto exec-once = sleep 1 && darkman run & diff --git a/.config/scripts/anyrun/Windows.sh b/.config/scripts/anyrun/Windows.sh new file mode 100755 index 0000000..6451b4d --- /dev/null +++ b/.config/scripts/anyrun/Windows.sh @@ -0,0 +1,12 @@ +#!/bin/env sh + +options=$(hyprctl -j clients | jq 'map({"\(.title)": .pid}) | add') +result=$(echo $options | jq 'keys | map("\(.)\n") | add' -r | anyrun --plugins libstdin.so) + +pid=$(echo $options | jq ".[\"$result\"]") + +if [[ $pid == "null" ]]; then + exit 0 +fi + +hyprctl dispatch focuswindow pid:$pid diff --git a/.ssh/config b/.ssh/config index e40e4cb..e679c97 100644 --- a/.ssh/config +++ b/.ssh/config @@ -40,3 +40,8 @@ Host vagrant Port 2222 User vagrant IdentityFile ~/.ssh/vagrant + +Host essential + HostName 192.168.178.25 + User michel + IdentityFile ~/.ssh/essential_home.key diff --git a/.ssh/essential_home.key.pub b/.ssh/essential_home.key.pub new file mode 100644 index 0000000..99bdd58 --- /dev/null +++ b/.ssh/essential_home.key.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIN0F/axSbYZxlrazu9gvofxLgisIQnZFNqGGbsEzu0Hv michel@michel-pc diff --git a/.ssh/thong-server.key.pub b/.ssh/thong-server.key.pub deleted file mode 100644 index 2b2ad3a..0000000 --- a/.ssh/thong-server.key.pub +++ /dev/null @@ -1 +0,0 @@ -ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCSmKpgwQHVjx/HoaKiMZ31128oOPhCXxvpU7sLR7cevoy7WjTiwMCrrT+T+HqG8y/loRiIOEdyNQgOQUgbFdpWG4KnYD9rNTVtLS0vDzhg3XrfZBm0uGiu5vP17OtEPwDtOEpRrUAMRskwU0BdhLXbI0GNUeJjd5WkHduPXlo26CgaStXwzAKUEIm3x3zIhPSE8/6DKt9IBh9bps5kCL2aDjFtaeU9IV5EP5EhLPt+5FzUyYsqL0PTh4UXqt8KkY5YN31uLCHmP+KIz560naE355KcvcnDdF6OX20WcnhR6mFUCF+3O/FXKcDmpPt/qYqmM4yiBqa+hGSKfF16+29VYxGiOEWH9RpxDIQ6CEFWFFCjmUMfcvLYfXCV/rHayFw1/4+9eP0g0ggFU6dDamf3+HuOdehl+KzR1AktcW1Ai2d17VL5DKNd7AR30Rxt59ZBSYCVY/WCVN0LfpfBHbkNb+7K6k285icAFnQ+iV+6y05Jc8lMaRq/385rCVT/UGE= michel@michel-pc