File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 osConfig ,
66 ...
77 } : let
8- isNvidia = osConfig . dendrix . hasNvidia ;
98 # Try to focus an existing Brave window on link open so the workspace comes to the foreground
109 braveNiriOpen = pkgs . writeShellApplication {
1110 name = "brave-niri-open" ;
1716 if [ -n "'' ${brave_id:-}" ]; then
1817 niri msg action focus-window --id "$brave_id" >/dev/null 2>&1 || true
1918 fi
20- exec ${ pkgs . brave } /bin/brave ${
21- if isNvidia
22- then ""
23- else "--password-store=seahorse"
24- } "$@"
19+ exec ${ pkgs . brave } /bin/brave --password-store=seahorse "$@"
2520 '' ;
2621 } ;
2722 in {
Original file line number Diff line number Diff line change 88 } :
99 with lib ; let
1010 isNumenor = osConfig . dendrix . hostname == "numenor" ;
11- isNvidia = osConfig . dendrix . hasNvidia ;
1211 isLightTheme = osConfig . specialisation == { } ;
1312
1413 leftScreen =
7170
7271 yaml = pkgs . formats . yaml { } ;
7372
74- braveWorkProfileCmd =
75- if isNvidia
76- then "brave --profile-directory='Profile 1' --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --password-store=seahorse"
77- else "brave --profile-directory='Profile 1' --password-store=seahorse" ;
73+ braveWorkProfileCmd = "brave --profile-directory='Profile 1' --password-store=seahorse" ;
7874
7975 whichKeyConfig = {
8076 font = "Fira Code 14" ;
730726 "Mod+w" . hotkey-overlay . title = "Which Key Menu" ;
731727
732728 # Browser
733- "Mod+b" . action = spawn-sh (
734- if isNvidia
735- then "brave --profile-directory='Default' --enable-features=VaapiVideoDecoder,VaapiVideoEncoder --password-store=seahorse"
736- else "brave --profile-directory='Default' --password-store=seahorse"
737- ) ;
729+ "Mod+b" . action = spawn-sh "brave --profile-directory='Default' --password-store=seahorse" ;
738730 "Mod+b" . hotkey-overlay . hidden = true ;
739731
740732 # Cliphist via fuzzel
You can’t perform that action at this time.
0 commit comments