index — dots-the-third @ 0772b3fd5d1ed90186e8afed05986f9b11dd186f

I don't need nix, I have a way worse solution!

hypr/.config/hypr/bob.conf (view raw)

 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
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
# ====================== MONITORS ====================== #

monitor=DP-2,1920x1080,1920x0,auto		# middle
monitor=HDMI-A-1,1920x1080,0x0,auto		# left
monitor=DP-1,1920x1080,1920x-1080,auto	# top
monitor=DP-3,1920x1080,3840x0,auto		# right

workspace = 1, monitor:HDMI-A-1
workspace = 2, monitor:DP-1
workspace = 3, monitor:DP-2
workspace = 4, monitor:DP-3
workspace = 5, monitor:DP-2
workspace = 6, monitor:DP-2
workspace = 7, monitor:DP-1

#xwayland {
#    force_zero_scaling = true
#}


# ========================== STARTUP =========================== #

exec-once = systemctl --user start opentabletdriver.service
exec-once = hyprpolkitagent

#exec-once = cd ~/Videos/ && wl-screenrec -o DP-2 --audio --audio-device="$(pactl get-default-sink).monitor" --history 30 & 

# ----------- start graphical apps ------------- #

exec-once = [workspace 4 silent] zen-browser
exec-once = [workspace 1 silent] vesktop
exec-once = [worksapce 2 silent] supersonic-desktop
exec-once = [workspace 2 silent] fractal


general {
    allow_tearing = true
}

# ================== RULES ===================== #

windowrule = workspace 5 silent,class:^(mpv)$
windowrule = workspace 1 silent,class:^(discord)$
windowrule = workspace 1 silent,class:^(vesktop)$

windowrule = immediate, tag:game

# ---------------- layer rules ---------------- #

layerrule = xray 0, barT
layerrule = xray 0, barL
layerrule = xray 0, barR


# =================== KEYBINDINGS ===================== #

bind = CTRL, insert, exec, sh ~/.config/hypr/scripts/screenrecord.sh -l
bind = CTRL SHIFT, insert, exec, sh ~/.config/hypr/scripts/screenrecord.sh -l -a

bind = ALT, insert, exec, sh ~/.config/hypr/scripts/screenrecord.sh 
bind = ALT SHIFT, insert, exec, sh ~/.config/hypr/scripts/screenrecord.sh -a

bind = $mainMod, insert, exec, killall -USR1 wl-screenrec && pkill -INT -x wl-screenrec