Skip to content

Commit

Permalink
Revert "fix(brave): disable video acceleration while broken"
Browse files Browse the repository at this point in the history
This reverts commit 8718cf5.
  • Loading branch information
workflow committed Oct 15, 2024
1 parent 4ca5773 commit 4983d4c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions home/i3/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -240,10 +240,8 @@ in {
"${mod}+Ctrl+h" = "exec --no-startup-id dunstctl history-pop";

# Launch Browser
# "${mod}+b" = "exec \"brave --profile-directory='Default' --enable-features='VaapiVideoDecoder,VaapiVideoEncoder' --enable-raw-draw --password-store=seahorse\"";
# "${mod}+h" = "exec \"brave --profile-directory='Profile 1' --enable-features='VaapiVideoDecoder,VaapiVideoEncoder' --enable-raw-draw --password-store=seahorse\"";
"${mod}+b" = "exec \"brave --profile-directory='Default' --disable-accelerated-video-decode --password-store=seahorse\"";
"${mod}+h" = "exec \"brave --profile-directory='Profile 1' --disable-accelerated-video-decode --password-store=seahorse\"";
"${mod}+b" = "exec \"brave --profile-directory='Default' --enable-features='VaapiVideoDecoder,VaapiVideoEncoder' --enable-raw-draw --password-store=seahorse\"";
"${mod}+h" = "exec \"brave --profile-directory='Profile 1' --enable-features='VaapiVideoDecoder,VaapiVideoEncoder' --enable-raw-draw --password-store=seahorse\"";

# File Manager ("navigate")
"${mod}+n" = "exec \"alacritty -e fish -ic lf\"";
Expand Down
3 changes: 1 addition & 2 deletions home/xdg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
xdg = {
desktopEntries = {
brave-browser = {
# exec = "${pkgs.unstable.brave}/bin/brave --enable-features=\"VaapiVideoDecoder,VaapiVideoEncoder\" --enable-raw-draw %U";
exec = "${pkgs.unstable.brave}/bin/brave --disable-accelerated-video-decode %U";
exec = "${pkgs.unstable.brave}/bin/brave --enable-features=\"VaapiVideoDecoder,VaapiVideoEncoder\" --enable-raw-draw %U";
name = "Brave Browser";
comment = "Access the Internet";
genericName = "Web Browser";
Expand Down

0 comments on commit 4983d4c

Please sign in to comment.