Skip to content
This repository was archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
add audio to record-screen, fix firefox popups small screens
Browse files Browse the repository at this point in the history
  • Loading branch information
AmadeusWM committed May 14, 2023
1 parent f8f479a commit 6818be2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions configs/amadeus.conf
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ windowrule=float,title:^(org.gnome.Nautilus New Folder)$
windowrule=nofullscreenrequest,title:^(Firefox — Sharing Indicator)$
windowrule=float,title:^(Firefox — Sharing Indicator)$
windowrule=move 100%-470 15,title:^(Firefox — Sharing Indicator)$
# android studio
windowrulev2=fullscreen,class:^(jetbrains-studio)$,title:^$,
windowrulev2=fullscreen,class:^(jetbrains-studio)$,title:^(Rename)$,

### some exec-once config ###
# Set Primary Screen
Expand Down
8 changes: 5 additions & 3 deletions dots/firefox/chrome/popup/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ menupopup menu[disabled="true"],

/* disable vertical menu scroll buttons and use a good ol' scrollbar */
/* this is a shotgun approach, expect side effects */
scrollbox[orient=vertical] /* >=71 */ {
/* >=71 */
scrollbox[orient=vertical] {
overflow-y: auto !important;
}

Expand All @@ -159,10 +160,11 @@ menupopup {
--scrollbutton-display: none !important;
}

#scrollbutton-up[part],
/* this is disabled to prevent glitchy jump effects on very small screens */
/* #scrollbutton-up[part],
#scrollbutton-down[part] {
display: var(--scrollbutton-display) !important;
}
} */

.menuitem-iconic,
.menu-iconic-icon /* .menu-iconic-icons not necessarily within a .menuitem-iconic (don't ask me why...) */ {
Expand Down
2 changes: 1 addition & 1 deletion scripts/default/record_screen
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Coords=$(slurp) || exit

# Capture video using slup for screen area
# timeout and exit after 10 minutes as user has almost certainly forgotten it's running
timeout 600 wf-recorder -t -g "$Coords" -f "$TmpRecordPath" || exit
timeout 600 wf-recorder --audio="alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.pro-output-0.monitor" -t -g "$Coords" -f "$TmpRecordPath" || exit

# Get the filename from the user and honor cancel
SavePath=$( zenity \
Expand Down

0 comments on commit 6818be2

Please sign in to comment.