KLV-Hyprland-CE-3.7 stable
KLV-Hyprland-CE-3.7 stable ( Build Script )
Moderator: Forum moderators
- Sofiya
- Posts: 2390
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1506 times
- Been thanked: 1627 times
KLV-Hyprland-CE-3.7 stable ( Build Script )
- Attachments
-
- KLbuild_Void_hyprland_swayBASE.sh.FALSE.gz
- (3.19 KiB) Downloaded 33 times
-
- Screenshot_05-фев_05-09-58_26103.png (315.21 KiB) Viewed 642 times
KL-Linux
KL LINUX Simple fast free
- Sofiya
- Posts: 2390
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1506 times
- Been thanked: 1627 times
Re: KLV-Hyprland-CE-3.7 stable
Just for beauty.Terminal clock
installation : sudo xbps-install -Su rsClock
Example: foot rsclock -S -f 5
Code: Select all
#!/bin/bash
foot rsclock -S -f 5
Hover your mouse over the clock terminal. Use "+" and "-" to change foreground color. Or set a constant color " -f xxx " instead of xxx ( 0-255 colors )
- Usage:
Code: Select all
-s Set custom symbol -S Display seconds -T Display only time -D Display only date -f Set foreground color [0-255] (Ansi value) -b Set background color [0-255] (Ansi value) -u Use 12-hour format (blocky AM/PM) -U Use 12-hour format (dateline AM/PM) -d Debug mode -c Center the clock -v Show rsClock version -h Display this message -o Print once, then exit
- Attachments
-
- Screenshot_07-фев_18-19-55_21637.png (429.67 KiB) Viewed 547 times
-
- Screenshot_07-фев_17-49-30_15016.png (414.31 KiB) Viewed 558 times
KL-Linux
KL LINUX Simple fast free
- Sofiya
- Posts: 2390
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1506 times
- Been thanked: 1627 times
Re: KLV-Hyprland-CE-3.7 stable ( Build Script )
Script for recording video from the screen -- we need to figure out what hotkeys to give him.
the first click on the script to highlight the screen for recording, the second click on the script to complete the recording.
The video is saved in /home/spot/Videos.
Hotkeys
Super SHIFT W *Screen video recording start/stop
record-script.sh
Code: Select all
#/usr/bin/bash
cd /home/spot/Videos
if ["$(pidof wf-recorder)" -ne ""]; then
rm recording.mp4
notify-send "wf-recorder" "Starting recording"
wf-recorder --geometry "$(slurp)"
else
/usr/bin/kill --signal SIGINT wf-recorder
notify-send "wf-recorder" "Recording Stopped"
fi
- Attachments
-
- record-script.sh.false.gz
- (292 Bytes) Downloaded 20 times
KL-Linux
KL LINUX Simple fast free
-
- Posts: 4088
- Joined: Fri Jul 24, 2020 10:59 pm
- Has thanked: 1725 times
- Been thanked: 554 times
Re: KLV-Hyprland-CE-3.7 stable ( Build Script )
Hello Sofiya
Sofiya wrote: Sat Feb 10, 2024 1:20 amScript for recording video from the screen -- we need to figure out what hotkeys to give him. ...
What an excellent and useful creation!
Simply "click...click"!
Could be a menu item, as well.
- Sofiya
- Posts: 2390
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1506 times
- Been thanked: 1627 times
Re: KLV-Hyprland-CE-3.7 stable ( Build Script )
Alternatively, yes .But for convenient use, a hotkey is better
KL-Linux
KL LINUX Simple fast free
- Sofiya
- Posts: 2390
- Joined: Tue Dec 07, 2021 9:49 pm
- Has thanked: 1506 times
- Been thanked: 1627 times
Re: KLV-Hyprland-CE-3.7 stable ( Build Script )
Option 2. Script for recording from the screen, marked with the date and time of recording
Code: Select all
#/usr/bin/bash
export clk=1
pgrep wf-recorder || export clk=0
if [ "$clk" -eq "0" ]; then
fn=/home/spot/Videos/$(date +%F_%T).mp4
notify-send "wf-recorder" "Starting recording"
wf-recorder -g "$(slurp)" --file=$fn -c libx264
else
/usr/bin/kill --signal SIGINT wf-recorder
notify-send "wf-recorder" "Recording Stopped"
fi
- Attachments
-
- record-script-2.sh.false.gz
- (342 Bytes) Downloaded 24 times
-
- screenshot-20240210-211018.png (25.22 KiB) Viewed 381 times
KL-Linux
KL LINUX Simple fast free