hypr/variables.conf

40 lines
1.4 KiB
Plaintext

# 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"
$kill_hp_systray = ~/.config/hypr/scripts/kill-hp-systray
# workspace related scripts
$cycle_ws = ~/.config/hypr/scripts/cycleWorkspace
$next_ws = $cycle_ws next
$prev_ws = $cycle_ws prev
$create_ws = ~/.config/hypr/scripts/createWorkspace
# 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,"
$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
$op = secret-tool lookup app 1password
# various keyboard shortcuts that can be reused
$newline = hyprctl dispatch sendshortcut ", Return,"
$escape = hyprctl dispatch sendshortcut ", Escape,"