# Most of these variables are to executable scripts, or short commands I will # reuse throughout my Hyprland configs, so they're sourced in hyprland.conf # early on # application related scripts and commands $app = ~/.config/hypr/scripts/focusOrLaunch $launcher = rofi -show run -p "launch" $timetracker_prompt = ~/.config/hypr/scripts/timetracker-log-prompt $timetracker_print = ~/.config/hypr/scripts/timetracker-log-print $selection = rofi -dmenu -theme-str 'inputbar {enabled: false;}' -i -matching prefix -auto-select -l 2 $kill_hp_systray = ~/.config/hypr/scripts/kill-hp-systray $screenshot = grim "$(date +%FT%H%M%S_screenshot.png)" && paplay ~/wav/camera.wav $screenshot_region = ~/.config/hypr/scripts/screenshot_region.zsh # specific application strings $alacritty = "alacritty" "Alacritty" $dictionary = "gnome-dictionary" "org.gnome.Dictionary" "org.gnome.Dictionary" $pavucontrol = "pavucontrol" "org.pulseaudio.pavucontrol" "org.pulseaudio.pavucontrol" $qutebrowser = "qutebrowser" "org.qutebrowser.qutebrowser" $slack = "slack" "Slack" "Slack" $vivaldi = "vivaldi-stable" "vivaldi-stable" "vivaldi-stable" # workspace related scripts $cycle_ws = ~/.config/hypr/scripts/cycleWorkspace $next_ws = $cycle_ws next $prev_ws = $cycle_ws prev $active_ws = ~/.config/hypr/scripts/get-active-workspace $create_ws = ~/.config/hypr/scripts/createWorkspace $del_ws = ~/.config/hypr/scripts/deleteWorkspace $active_mon = "/usr/bin/hyprctl monitors -j | jq '.[] | select(.focused == true) | .id)" $mon_count = "/usr/bin/hyprctl monitors -j | jq length" # for silent moving of windowr to workfpases; comment out if not desired $move_window_to_ws = "~/.config/hypr/scripts/mv2workspace" # date related scripts $date = ~/.config/hypr/pastes/date $today = ~/.config/hypr/pastes/today $yesterday = ~/.config/hypr/pastes/yesterday $tomorrow = ~/.config/hypr/pastes/tomorrow $now = ~/.config/hypr/pastes/now $nextweek = ~/.config/hypr/pastes/nextweek $lastweek = ~/.config/hypr/pastes/lastweek $lastyear = ~/.config/hypr/pastes/lastyear $nextyear = ~/.config/hypr/pastes/nextyear # clipboard related commands and scripts $copy = wl-copy --trim-newline #$paste = hyprctl dispatch sendshortcut "CTRL, V," $paste = wl-paste $clear = cliphist list | head -n1 | cliphist delete # password manager master passwords (stored in GNOME keychain; `secret-tool` is # the CLI tool to store and retrieve such secure items $bw = secret-tool lookup app bw # various keyboard shortcuts that can be reused $newline = hyprctl dispatch sendshortcut ", Return," $escape = hyprctl dispatch sendshortcut ", Escape," # espanso shortcut $es = espanso