aboutsummaryrefslogtreecommitdiffstats
path: root/hyprland/01-system-vars.conf
blob: da8e18be9eaa2c45b69a0921b450b5ce62aff51f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Mod key
$mod = SUPER

# Terminal
$terminal = alacritty

# Menus
$run_launcher = pgrep -x wofi >/dev/null 2>&1 && killall wofi || wofi --show drun
$exit_menu    = ~/bin/exit-menu.sh

# Screenshots
$screenshot_area             = /usr/bin/grimblast --notify --freeze save area - | swappy -f -
$screenshot_area_clipboard   = /usr/bin/grimblast --notify copy area
$screenshot_screen           = /usr/bin/grimblast --notify save screen - | swappy -f -
$screenshot_screen_clipboard = /usr/bin/grimblast --notify copy screen

# Audio
$sink_volume      = pactl get-sink-volume @DEFAULT_SINK@ | grep '^Volume:' | cut -d / -f 2 | tr -d ' ' | sed 's/%//'
$sink_volume_mute = pactl get-sink-mute @DEFAULT_SINK@ | sed -En "/no/ s/.*/$($sink_volume)/p; /yes/ s/.*/0/p"

# Brightness
$brightness = brightnessctl | grep 'Current brightness:' | cut -d "(" -f 2 | cut -d "%" -f 1

# Utilities
$zoom     = ~/bin/hyprctl-zoom.sh
$zoomd    = ~/bin/hyprctl-zoom-daemon.sh
$batteryd = ~/bin/battery-notify.sh

# OSD socket
$wob_socket = $XDG_RUNTIME_DIR/wob.sock

# Other
$polkit = /usr/lib/polkit-kde-authentication-agent-1