Fix two regressions on the work laptop
Scratchpad terminal. The original config called hypr_workspace by absolute path; splitting the config into common and host layers I rewrote those to bare names, assuming PATH would resolve them. It does not: Hyprland's exec runs with whatever PATH the session inherited at startup, which here is the system default — no ~/.local/bin, no repo directories. That was survivable while ~/.local/bin was a symlink into the repo, but the cutover made it a real directory and removed the 29 duplicated scripts, so the binding broke. Repo scripts are now named via $bin, defined per host in local-env.conf because the home directory differs. Same commit fixes toggleFloating.sh, which the shared config referenced as /home/connor/.config/... — correct on two machines, wrong on the work laptop. Now ~. rbw. The old install.conf.yaml linked ~/.config/rbw on every host; I put it in the mainframe and system76 host configs and forgot the work laptop, so rbw there had no config at all. Moved to base, where it was always meant to be.
This commit is contained in:
@@ -158,21 +158,21 @@ bind = $mainMod, B, exec, $browser
|
||||
bind = $mainMod, W, exec, networkmanager_dmenu
|
||||
bind = $mainMod, N, exec, swaync-client -t -sw
|
||||
bind = $mainMod, M, exec, udiskie-dmenu
|
||||
bind = $mainMod, A, exec, hypr_workspace "juliaSpace" "kitty --title 'juliaSpace' -e julia"
|
||||
bind = $mainMod, S, exec, hypr_workspace "musicPlayer" "kitty --title 'musicPlayer' -e ncmpcpp"
|
||||
bind = $mainMod, A, exec, $bin/hypr_workspace "juliaSpace" "kitty --title 'juliaSpace' -e julia"
|
||||
bind = $mainMod, S, exec, $bin/hypr_workspace "musicPlayer" "kitty --title 'musicPlayer' -e ncmpcpp"
|
||||
bind = $mainMod, P, exec, grimblast copysave area /tmp/screenshot.png
|
||||
bind = $mainMod SHIFT, N, exec, swaync-client -d -sw
|
||||
bind = $mainMod SHIFT, P, exec, swayimg --class "custom_screenshot" /tmp/screenshot.png
|
||||
bind = $mainMod SHIFT, Return, exec, $menu
|
||||
bind = $mainMod SHIFT, Q, exit
|
||||
bind = $mainMod CTRL, L, exec, hyprlock
|
||||
bind = $mainMod CTRL, Return, exec, hypr_workspace "kittySpace" "kitty --title 'kittySpace'"
|
||||
bind = $mainMod CTRL, Return, exec, $bin/hypr_workspace "kittySpace" "kitty --title 'kittySpace'"
|
||||
|
||||
# Master layout specific binds
|
||||
bind = $mainMod, Space, layoutmsg, swapwithmaster
|
||||
bind = $mainMod, Y, layoutmsg, addmaster
|
||||
bind = $mainMod, U, layoutmsg, removemaster
|
||||
bind = $mainMod, I, exec, /home/connor/.config/hypr/toggleFloating.sh
|
||||
bind = $mainMod, I, exec, ~/.config/hypr/toggleFloating.sh
|
||||
bind = $mainMod, O, layoutmsg, orientationnext
|
||||
|
||||
# Move focus with mainMod + arrow keys
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# Repo scripts called from keybinds. Hyprland's exec does NOT go through a
|
||||
# login shell — its PATH is whatever the session inherited at startup, which
|
||||
# here is the system default with no ~/.local/bin and no repo directories. So
|
||||
# they have to be named by absolute path, and the home differs per host.
|
||||
$bin = /home/connorjohnstone/.dotfiles/common/bin
|
||||
|
||||
# Sourced near the top of common/hypr/hyprland.conf. Anything used later in
|
||||
# that file — $browser, env vars, monitor layout — must be defined here.
|
||||
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
# Repo scripts called from keybinds. Hyprland's exec does NOT go through a
|
||||
# login shell — its PATH is whatever the session inherited at startup, which
|
||||
# here is the system default with no ~/.local/bin and no repo directories. So
|
||||
# they have to be named by absolute path, and the home differs per host.
|
||||
$bin = /home/connor/.dotfiles/common/bin
|
||||
|
||||
# Sourced near the top of common/hypr/hyprland.conf. Anything used later in
|
||||
# that file — $browser, env vars, monitor layout — must be defined here.
|
||||
|
||||
|
||||
@@ -27,5 +27,6 @@
|
||||
~/.ssh/config: common/ssh/config
|
||||
~/.config/bob: common/bob
|
||||
~/.config/user-dirs.dirs: common/user-dirs.dirs
|
||||
~/.config/rbw: common/rbw
|
||||
~/.config/lazygit: common/lazygit
|
||||
~/.config/neofetch: common/neofetch
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
~/.ssh/config.local: hosts/mainframe/ssh/config.local
|
||||
~/.config/git/identity: hosts/mainframe/git/identity
|
||||
~/.config/paru: common/paru
|
||||
~/.config/rbw: common/rbw
|
||||
~/.config/opencode/personal.json: common/opencode/personal.json
|
||||
~/.config/opencode/work.json: common/opencode/work.json
|
||||
~/.config/opencode/work-strict.json: common/opencode/work-strict.json
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
~/.config/wallust: common/wallust
|
||||
~/.config/git/identity: hosts/system76/git/identity
|
||||
~/.config/paru: common/paru
|
||||
~/.config/rbw: common/rbw
|
||||
~/.config/kitty: common/kitty
|
||||
~/.config/alacritty: common/alacritty
|
||||
~/.config/qutebrowser: common/qutebrowser
|
||||
|
||||
Reference in New Issue
Block a user