I did sway before I did i3 ๐ I have a chromebook thats literally for fucking about on and I like to try new things on it. Decided to try wayfire and it is cool as heck.
comments
Or have a look at Sway. I3 compatible, but for Wayland.
Ahhh fuck. I waz just starting to understand it. Guess ill fuck about with i3 again.
The Hyprland community is also highly toxic and transphobic, and the dev is ok with it.
If you are a politically progressive person please don't use hyprland, it's supported by and sympathetic to the fascist attempt to take over open source.
https://lemmy.sdf.org/post/58468264
The hyprland Dev is close to, and funded by, DHH who is the locus of big tech influence on the internet and software development generally.
for anyone facing the same issue, putting this into my hyprland.conf file seems to have fixed it -
xwayland {
force_zero_scaling = true
use_nearest_neighbor = true
}
Video recording:
OBS (specifically the replaybuffer for clips)
(i am using obs-cmd 'cause i never got the global hotkeys to work. idk why)
run it on startup so its ready for clips
exec-once = obs --minimize-to-tray --startreplaybuffer
save replay buffer (it keeps runnig after save)
bind = , F9, exec, obs-cmd replay save
start recording, or stop and save recording if it is already active
bind = , F10, exec, obs-cmd recording toggle
Screenshots:
hyprshot.
(0xff61 is the "print screen" key)
whole (active) monitor
bind = , 0xff61, exec, hyprshot --mode active --mode output --output-folder ~/Pictures/Screenshots
select region (dragged by mouse):
bind = SHIFT, 0xff61, exec, hyprshot --mode region --output-folder ~/Pictures/Screenshots
current (active) window
bind = CTRL, 0xff61, exec, hyprshot --mode active --mode window --output-folder ~/Pictures/Screenshots
I think you want something similar to my setup... I rarely position and focus windows with the mouse.. only for certain apps that don't resize well into my predefined regions. I believe it's somewhat similar to what Rectangle can do on OS/X, although I only stumbled upon that later.
Here's something I put together for the (not-hyperland) compositor LabWC: https://github.com/labwc/labwc/issues/1001 (and have done similar with X11/OpenBox previously) which might serve as explanation and inspiration. Your post inspired me to rebase and clean up the patch, so thanks.
np
i did have issues recently trying to capture from a selection on multiple displays when each display is a different scale factor.... i haven't had time to figure out how to fix that, for now i just capture on my main display only
That works perfect btw thank you.
Very nice
i have this script on a keybind.
uses rofi, slurp and gpu-screen-recorder
modify as needed. i dont remember where i got it from originally
#!/bin/env bash
recorder_check() {
if pgrep -x "gpu-screen-reco" > /dev/null; then
pkill -INT -x gpu-screen-reco
notify-send "Stopping all instances of gpu-screen-recorder" "$(cat /tmp/recording.txt)"
cat /tmp/recording.txt | wl-copy
exit 0
fi
}
recorder_check
SELECTION=$(echo -e "record selection\nrecord eDP-1\nrecord DP-4" | rofi -dmenu -p "๓ฐ ")
VID="${HOME}/video/recordings/$(date +%Y-%m-%d_%H-%m-%s).mp4"
case "$SELECTION" in
"record selection")
echo "$VID" > /tmp/recording.txt
# Get selection geometry
read X Y W H <<< $(slurp -f "%x %y %w %h")
# Get monitor info (JSON)
MONITORS=$(hyprctl monitors -j)
# Find the monitor containing the selection and extract its scale
SCALE=$(echo "$MONITORS" | jq -r \
--argjson x "$X" --argjson y "$Y" '
.[] | select(.x <= $x and .y <= $y and
($x < (.x + .width)) and
($y < (.y + .height))) | .scale')
# Calculate physical coordinates
PX=$(awk "BEGIN {printf \"%d\", $X * $SCALE}")
PY=$(awk "BEGIN {printf \"%d\", $Y * $SCALE}")
PW=$(awk "BEGIN {printf \"%d\", $W * $SCALE}")
PH=$(awk "BEGIN {printf \"%d\", $H * $SCALE}")
# Format geometry string
GEOM="${PW}x${PH}+${PX}+${PY}"
gpu-screen-recorder -w region -region "$GEOM" -o "$VID" &>/dev/null
;;
"record eDP-1")
echo "$VID" > /tmp/recording.txt
gpu-screen-recorder -w eDP-1 -o "$VID" &>/dev/null
;;
"record DP-4")
echo "$VID" > /tmp/recording.txt
gpu-screen-recorder -w DP-4 -o "$VID" &>/dev/null
;;
"record both screens")
notify-send "recording both screens is not functional"
;;
*)
;;
esac
OBS
bind screenshot key to execute flameshot full -c
edit: for video I use obs
If you are OK with Discord, then you can join, and there is a channel for showcase of the rices. Often there are also competitions for best rices :) I like to go take a look from time to time :D. Invite link is on their site.
thanks for making the video, i love the color scheme and the window gaps in particular!
i was hoping to avoid having to resort to reddit, but that might be the best library of them in the end, thanks
@felsiq @s4if r/unixporn is good
The way I solve it is having a black background.