qutebrowser, wofi, move stuff

This commit is contained in:
tristan 2023-05-01 18:18:12 +01:00
parent b7cb49cb77
commit 3c20b72515

View file

@ -81,7 +81,6 @@ in
libnotify
dig
wl-clipboard
wofi
du-dust
htop
imv
@ -246,52 +245,60 @@ in
col.active_border = rgb(FFF00F) rgb(0FFFF0) rgb(F00FFF) 120deg
border_size = 5
}
master {
mfact = 0.7
new_on_top = yes
}
'';
};
programs.waybar.enable = true;
programs.waybar.settings = {
mainBar = {
layer = "top";
position = "top";
height = 36;
modules-left = [ "hyprland/window" ];
modules-right = [ "mpris" "pulseaudio" "clock" "tray" "battery" ];
clock = {
format = "📅 {:%a %b-%d %I:%M %p}";
};
pulseaudio = {
format-muted = "🔇 {volume}%";
format = "{icon} {volume}";
format-icons.default = [ "🔈" "🔉" "🔊" ];
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
};
mpris = {
format = "{player_icon} {title}";
format-paused = "{status_icon} {title}";
player-icons = {
default = "";
mpv = "🎵";
programs.waybar = {
enable = true;
settings = {
mainBar = {
layer = "top";
position = "top";
height = 36;
modules-left = [ "hyprland/window" ];
modules-right = [ "mpris" "pulseaudio" "clock" "tray" "battery" ];
clock = {
format = "📅 {:%a %b-%d %I:%M %p}";
};
status-icons = {
paused = "";
pulseaudio = {
format-muted = "🔇 {volume}%";
format = "{icon} {volume}";
format-icons.default = [ "🔈" "🔉" "🔊" ];
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
};
on-click = "${my-scripts.play-pause}/bin/play-pause";
};
battery = {
format = "{icon} {capacity}%";
format-icons = [ "🤏" "🪫" "🔋" "🔋" ];
states = {
warning = 30;
critical = 15;
mpris = {
format = "{player_icon} {title}";
format-paused = "{status_icon} {title}";
player-icons = {
default = "";
mpv = "🎵";
};
status-icons = {
paused = "";
};
on-click = "${my-scripts.play-pause}/bin/play-pause";
};
battery = {
format = "{icon} {capacity}%";
format-icons = [ "🤏" "🪫" "🔋" "🔋" ];
states = {
warning = 30;
critical = 15;
};
};
};
};
systemd = {
enable = true;
target = "graphical-session.target";
};
};
programs.waybar.systemd = {
enable = true;
target = "graphical-session.target";
};
services.udiskie = {
enable = true;
@ -400,6 +407,7 @@ in
userSettings = {
"vscode-neovim.neovimExecutablePaths.linux" = "/run/current-system/sw/bin/nvim";
"keyboard.dispatch" = "keyCode";
"nix.serverPath" = "${pkgs.rnix-lsp}/bin/rnix-lsp";
};
};
@ -533,9 +541,12 @@ in
esac
'';
home.file.".config/wofi/config".text = ''
term=foot
'';
programs.wofi = {
enable = true;
settings = {
term = "foot";
};
};
home.file.".icons/default".source = "${pkgs.vanilla-dmz}/share/icons/Vanilla-DMZ";
programs.librewolf.enable = true;
@ -862,6 +873,38 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-
bars = [];
};
};
programs.qutebrowser = {
enable = true;
package = pkgs.qutebrowser-qt6;
searchEngines = {
DEFAULT = "https://search.brave.com/search?q={}";
w = "https://en.wikipedia.org/wiki/Special:Search?search={}&go=Go&ns0=1";
aw = "https://wiki.archlinux.org/?search={}";
nw = "https://nixos.wiki/index.php?search={}";
};
settings = {
colors = {
webpage.preferred_color_scheme = "dark";
};
tabs = {
background = false;
indicator.width = 0;
favicons.scale = 2.0;
position = "left";
show = "always";
width = 40;
};
};
extraConfig = ''
c.tabs.padding = {
"bottom" : 10,
"left" : 5,
"right" : 5,
"top" : 10
}
'';
};
}