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 libnotify
dig dig
wl-clipboard wl-clipboard
wofi
du-dust du-dust
htop htop
imv imv
@ -246,52 +245,60 @@ in
col.active_border = rgb(FFF00F) rgb(0FFFF0) rgb(F00FFF) 120deg col.active_border = rgb(FFF00F) rgb(0FFFF0) rgb(F00FFF) 120deg
border_size = 5 border_size = 5
} }
master {
mfact = 0.7
new_on_top = yes
}
''; '';
}; };
programs.waybar.enable = true; programs.waybar = {
programs.waybar.settings = { enable = true;
mainBar = { settings = {
layer = "top"; mainBar = {
position = "top"; layer = "top";
height = 36; position = "top";
modules-left = [ "hyprland/window" ]; height = 36;
modules-right = [ "mpris" "pulseaudio" "clock" "tray" "battery" ]; modules-left = [ "hyprland/window" ];
clock = { modules-right = [ "mpris" "pulseaudio" "clock" "tray" "battery" ];
format = "📅 {:%a %b-%d %I:%M %p}"; 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 = "🎵";
}; };
status-icons = { pulseaudio = {
paused = ""; format-muted = "🔇 {volume}%";
format = "{icon} {volume}";
format-icons.default = [ "🔈" "🔉" "🔊" ];
on-click = "${pkgs.pavucontrol}/bin/pavucontrol";
}; };
on-click = "${my-scripts.play-pause}/bin/play-pause"; mpris = {
}; format = "{player_icon} {title}";
battery = { format-paused = "{status_icon} {title}";
format = "{icon} {capacity}%"; player-icons = {
format-icons = [ "🤏" "🪫" "🔋" "🔋" ]; default = "";
states = { mpv = "🎵";
warning = 30; };
critical = 15; 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 = { services.udiskie = {
enable = true; enable = true;
@ -400,6 +407,7 @@ in
userSettings = { userSettings = {
"vscode-neovim.neovimExecutablePaths.linux" = "/run/current-system/sw/bin/nvim"; "vscode-neovim.neovimExecutablePaths.linux" = "/run/current-system/sw/bin/nvim";
"keyboard.dispatch" = "keyCode"; "keyboard.dispatch" = "keyCode";
"nix.serverPath" = "${pkgs.rnix-lsp}/bin/rnix-lsp";
}; };
}; };
@ -533,9 +541,12 @@ in
esac esac
''; '';
home.file.".config/wofi/config".text = '' programs.wofi = {
term=foot enable = true;
''; settings = {
term = "foot";
};
};
home.file.".icons/default".source = "${pkgs.vanilla-dmz}/share/icons/Vanilla-DMZ"; home.file.".icons/default".source = "${pkgs.vanilla-dmz}/share/icons/Vanilla-DMZ";
programs.librewolf.enable = true; programs.librewolf.enable = true;
@ -863,5 +874,37 @@ color body red default "([a-z][a-z0-9+-]*://(((([a-z0-9_.!~*'();:&=+$,-]|%[0-9a-
}; };
}; };
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
}
'';
};
} }