turning back to qutebrowser because mozilla pooped

This commit is contained in:
Chris Cochrun 2024-12-04 14:20:45 -06:00
parent 9b76f34c09
commit 5f36e31953
6 changed files with 85 additions and 63 deletions

View file

@ -87,8 +87,9 @@ 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";
"x-scheme-handler/http" = "qutebrowser.desktop";
"x-scheme-handler/https" = "qutebrowser.desktop";
"text/html" = "qutebrowser.desktop";
};
defaultApplications = {
"video/mp4" = "mpv.desktop";
@ -116,8 +117,9 @@ 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";
"x-scheme-handler/http" = "qutebrowser.desktop";
"x-scheme-handler/https" = "qutebrowser.desktop";
"text/html" = "qutebrowser.desktop";
};
};
@ -1058,8 +1060,68 @@ end
};
};
home.file.".config/dunst" = {
source = ../.config/dunst;
# home.file.".config/dunst" = {
# source = ../.config/dunst;
# };
services.dunst = {
enable = true;
iconTheme = {
package = pkgs.papirus-icon-theme;
name = "Papirus-Dark";
size = "16x16";
};
settings = {
global = {
monitor = 2;
follow = "none";
width = "(0, 300)";
height = "(0, 500)";
offset = "20x50";
origin = if laptop then "top-right" else "bottom-right";
notification_limit = 0;
progress_bar = true;
progress_bar_height = 10;
progress_bar_frame_width = 1;
progress_bar_min_width = 150;
progress_bar_max_width = 300;
transparency = 10;
separator_height = 2;
padding = 10;
horizontal_padding = 8;
text_icon_padding = 8;
frame_width = 0;
frame_color = "#aaaaaa";
gap_size = 8;
separator_color = "frame";
sort = "yes";
font = "VictorMono Nerd Font 10";
markup = "full";
format = "<b>%s</b>\n%b";
alignment = "center";
vertical_alignment = "center";
corner_radius = 18;
dmenu = "${pkgs.rofi}/bin/rofi -dmenu -p dunst:";
};
urgency_low = {
background = "#282a36";
foreground = "#57c7ff";
timeout = 10;
};
urgency_normal = {
background = "#282a36";
foreground = "#5af78e";
timeout = 10;
};
urgency_critical = {
background = "#282a36";
foreground = "#ff5c57";
frame_color = "#ff0000";
timeout = 0;
};
};
};

View file

@ -246,7 +246,7 @@ in
"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/qblof"
"SUPER,A,exec,alacritty --class pulsemixer -e pulsemixer"
"SUPERCTRL,i,exec,alacritty --class btop -e btop"
",Print,exec,screenshot"
@ -345,7 +345,7 @@ in
"swww-daemon --format xrgb"
# "eww open ${if laptop then "bar0" else "bar1"}"
# "dunst"
"ags"
"waybar"
"rbw-agent"
"hyprctl dispatch --batch 'splitratio 1; splitration -0.35'"
"dbus-update-activation-environment --systemd --all"