switching to vivaldi
This commit is contained in:
parent
99a4d8420e
commit
3b3d36eb03
7 changed files with 206 additions and 84 deletions
|
@ -45,7 +45,7 @@ in {
|
|||
enable = true;
|
||||
config = {
|
||||
common = {
|
||||
default = [ pkgs.xdg-desktop-portal-kde ];
|
||||
default = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
|
||||
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
|
||||
};
|
||||
hyprland = {
|
||||
|
@ -53,7 +53,7 @@ in {
|
|||
"org.freedesktop.impl.portal.FileChooser" = [ "kde" ];
|
||||
};
|
||||
};
|
||||
extraPortals = [ pkgs.xdg-desktop-portal-kde ];
|
||||
extraPortals = [ pkgs.kdePackages.xdg-desktop-portal-kde ];
|
||||
};
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
|
@ -71,7 +71,7 @@ in {
|
|||
"video/H265" = "mpv.desktop";
|
||||
"video/H264" = "mpv.desktop";
|
||||
"video/vnd.youtube.yt" = "mpv.desktop";
|
||||
"inode/directory" = "com.system76.CosmicFiles.desktop";
|
||||
"inode/directory" = "thunar.desktop";
|
||||
"image/gif" = "imv-rifle.desktop";
|
||||
"image/jpeg" = "imv-rifle.desktop";
|
||||
"image/heif" = "imv-rifle.desktop";
|
||||
|
@ -85,17 +85,17 @@ in {
|
|||
"audio/opus" = "mpv-slow.desktop";
|
||||
"audio/x-opus" = "mpv-slow.desktop";
|
||||
"audio/x-opus+ogg" = "mpv-slow.desktop";
|
||||
"x-scheme-handler/http" = "firefox.desktop";
|
||||
"x-scheme-handler/https" = "firefox.desktop";
|
||||
"text/html" = "firefox.desktop";
|
||||
"x-scheme-handler/http" = "vivaldi.desktop";
|
||||
"x-scheme-handler/https" = "vivaldi.desktop";
|
||||
"text/html" = "vivaldi.desktop";
|
||||
"text/org" = "emacsclient.desktop";
|
||||
"text/md" = "emacsclient.desktop";
|
||||
"text/txt" = "emacsclient.desktop";
|
||||
"text/rs" = "emacsclient.desktop";
|
||||
"text/plain" = "emacsclient.desktop";
|
||||
"application/pdf" = "emacsclient.desktop";
|
||||
"x-scheme-handler/about" = "firefox.desktop";
|
||||
"x-scheme-handler/unknown" = "firefox.desktop";
|
||||
"x-scheme-handler/about" = "vivaldi.desktop";
|
||||
"x-scheme-handler/unknown" = "vivaldi.desktop";
|
||||
"x-scheme-handler/magnet" = "torrent.desktop";
|
||||
};
|
||||
defaultApplications = {
|
||||
|
@ -112,7 +112,7 @@ in {
|
|||
"video/H265" = "mpv.desktop";
|
||||
"video/H264" = "mpv.desktop";
|
||||
"video/vnd.youtube.yt" = "mpv.desktop";
|
||||
"inode/directory" = "com.system76.CosmicFiles.desktop";
|
||||
"inode/directory" = "thunar.desktop";
|
||||
"image/gif" = "imv-rifle.desktop";
|
||||
"image/jpeg" = "imv-rifle.desktop";
|
||||
"image/heif" = "imv-rifle.desktop";
|
||||
|
@ -124,17 +124,17 @@ in {
|
|||
"audio/flac" = "mpv-slow.desktop";
|
||||
"audio/wav" = "mpv-slow.desktop";
|
||||
"audio/opus" = "mpv-slow.desktop";
|
||||
"x-scheme-handler/http" = "firefox.desktop";
|
||||
"x-scheme-handler/https" = "firefox.desktop";
|
||||
"text/html" = "firefox.desktop";
|
||||
"x-scheme-handler/http" = "vivaldi.desktop";
|
||||
"x-scheme-handler/https" = "vivaldi.desktop";
|
||||
"text/html" = "vivaldi.desktop";
|
||||
"text/org" = "emacsclient.desktop";
|
||||
"text/md" = "emacsclient.desktop";
|
||||
"text/txt" = "emacsclient.desktop";
|
||||
"text/rs" = "emacsclient.desktop";
|
||||
"text/plain" = "emacsclient.desktop";
|
||||
"application/pdf" = "emacsclient.desktop";
|
||||
"x-scheme-handler/about" = "firefox.desktop";
|
||||
"x-scheme-handler/unknown" = "firefox.desktop";
|
||||
"x-scheme-handler/about" = "vivaldi.desktop";
|
||||
"x-scheme-handler/unknown" = "vivaldi.desktop";
|
||||
"x-scheme-handler/magnet" = "torrent.desktop";
|
||||
};
|
||||
};
|
||||
|
@ -401,7 +401,7 @@ in {
|
|||
|
||||
# For matrix clients that don't have e2ee
|
||||
pantalaimon = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
settings = {
|
||||
Default = {
|
||||
LogLevel = "Debug";
|
||||
|
@ -543,12 +543,12 @@ in {
|
|||
recursive = true;
|
||||
};
|
||||
|
||||
home.file.".mozilla/firefox/nw77o6yc.default/chrome" = {
|
||||
home.file.".librewolf/nw77o6yc.default/chrome" = {
|
||||
source = ../.config/firefox/chrome;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
home.file.".mozilla/firefox/nw77o6yc.default/user.js" = {
|
||||
home.file.".librewolf/nw77o6yc.default/user.js" = {
|
||||
text = ''
|
||||
// userchrome.css usercontent.css activate
|
||||
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
|
||||
|
@ -585,11 +585,11 @@ in {
|
|||
recursive = true;
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
programs.librewolf = {
|
||||
enable = true;
|
||||
package = pkgs.firefox-wayland.override {
|
||||
package = pkgs.librewolf-wayland.override {
|
||||
nativeMessagingHosts =
|
||||
[ pkgs.plasma-browser-integration pkgs.tridactyl-native ];
|
||||
[ pkgs.kdePackages.plasma-browser-integration pkgs.tridactyl-native ];
|
||||
};
|
||||
profiles.chris = {
|
||||
name = "default";
|
||||
|
|
|
@ -231,6 +231,7 @@ in
|
|||
"opaque,mpv"
|
||||
"float,pulsemixer"
|
||||
"workspace 2,ff"
|
||||
"workspace 2,vivaldi-stable"
|
||||
"workspace 1,emacs"
|
||||
"float,btop"
|
||||
"size 70% 70%,btop"
|
||||
|
@ -251,13 +252,13 @@ in
|
|||
"SUPER,RETURN,exec,alacritty"
|
||||
"SUPER,C,killactive,"
|
||||
"SUPERSHIFT,Q,exit,"
|
||||
"SUPERSHIFT,D,exec,cosmic-files"
|
||||
"SUPERSHIFT,D,exec,thunar"
|
||||
"SUPERSHIFT,F,togglefloating,"
|
||||
"SUPER,w,exec,rofi -i -show window"
|
||||
"SUPER,E,exec,/home/chris/bin/emacslof"
|
||||
"SUPER,d,exec,emacsclient -c -e '(dired-jump)'"
|
||||
"SUPER,v,exec,cliphist list | rofi -p ' ' -dmenu -theme ~/.config/rofi/launchers-git/laptop-rbw-wayland.rasi | cliphist decode | wl-copy"
|
||||
"SUPER,B,exec,/home/chris/bin/fflof"
|
||||
"SUPER,B,exec,/home/chris/bin/vivlof"
|
||||
"SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer"
|
||||
"SUPERCTRL,i,exec,alacritty --class btop -e btop"
|
||||
",Print,exec,screenshot"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue