Many new changes

This commit is contained in:
Thomas Avé 2025-09-21 02:48:07 +07:00
parent ca834fd89e
commit 1a5459aaa8
8 changed files with 63 additions and 37 deletions

View File

@ -29,14 +29,6 @@ in
gnome-power-manager gnome-power-manager
discord discord
smile smile
(pkgs.appimageTools.wrapType2 {
pname = "Helium";
version = "0.4.7.1";
src = pkgs.fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/0.4.7.1/helium-0.4.7.1-x86_64.AppImage";
sha256 = "b7a64d9cd96c841119f4729545d7b88ed804fdcac99d3878099f338766dfdd2d";
};
})
]; ];
services.hyprpaper = { services.hyprpaper = {
@ -63,6 +55,6 @@ in
general.gaps_out = 1; general.gaps_out = 1;
}; };
programs.alacritty.settings.font.size = 16; programs.alacritty.settings.font.size = 13;
programs.kitty.font.size = 13; programs.kitty.font.size = 13;
} }

View File

@ -40,27 +40,8 @@
}; };
}; };
font = { font = {
size = pkgs.lib.mkDefault 15; size = pkgs.lib.mkDefault 13;
bold = { normal.family = "DejaVu Sans Mono";
family = "ZedMono Nerd Font";
style = "Extended Bold";
features = "+ss05";
};
bold_italic = {
family = "ZedMono Nerd Font";
style = "Extended Bold Italic";
features = "+ss05";
};
italic = {
family = "ZedMono Nerd Font";
style = "Extended Italic";
features = "+ss05";
};
normal = {
family = "ZedMono Nerd Font";
style = "Extended Light";
features = "+ss05";
};
}; };
keyboard.bindings = [ keyboard.bindings = [
{ {

View File

@ -5,8 +5,9 @@
server.enable = true; server.enable = true;
settings = { settings = {
main = { main = {
font = "Iosevka:size=14:style=Extended:fontfeatures=+ss05"; font = "DejaVu Sans Mono:size=13";
term = "xterm-256color"; term = "xterm-256color";
line-height = "18";
}; };
tweak = { tweak = {
sixel = "yes"; sixel = "yes";

43
home/helium/default.nix Normal file
View File

@ -0,0 +1,43 @@
{ pkgs, ... }:
{
home.packages = [
(pkgs.appimageTools.wrapType2 {
pname = "Helium";
version = "0.4.7.1";
src = pkgs.fetchurl {
url = "https://github.com/imputnet/helium-linux/releases/download/0.4.7.1/helium-0.4.7.1-x86_64.AppImage";
sha256 = "b7a64d9cd96c841119f4729545d7b88ed804fdcac99d3878099f338766dfdd2d";
};
})
];
xdg.desktopEntries = {
helium = {
name = "Helium";
genericName = "Web Browser";
comment = "Access the Internet";
exec = "Helium --enable-features=TouchpadOverscrollHistoryNavigation %U";
startupNotify = true;
terminal = false;
icon = "chromium";
type = "Application";
categories = [ "Network" "WebBrowser" ];
mimeType = [
"x-scheme-handler/webcal"
"application/pdf"
"application/rdf+xml"
"application/rss+xml"
"application/xhtml+xml"
"application/xhtml_xml"
"application/xml"
"image/gif"
"image/jpeg"
"image/png"
"image/webp"
"text/html"
"text/xml"
"x-scheme-handler/http"
"x-scheme-handler/https"
];
};
};
}

View File

@ -1,12 +1,12 @@
{ inputs, pkgs, ... }: { pkgs, ... }:
let let
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste"; wl-paste = "${pkgs.wl-clipboard}/bin/wl-paste";
nautilus = "${pkgs.nautilus}/bin/nautilus"; nautilus = "${pkgs.nautilus}/bin/nautilus";
gnome-calendar = "${pkgs.gnome-calendar}/bin/gnome-calendar"; gnome-calendar = "${pkgs.gnome-calendar}/bin/gnome-calendar";
wpctl = "${pkgs.wireplumber}/bin/wpctl"; wpctl = "${pkgs.wireplumber}/bin/wpctl";
terminal-name = ".kitty-wrapped"; terminal-name = "foot";
terminal = "${pkgs.kitty}/bin/kitty -1"; terminal = "${pkgs.foot}/bin/footclient";
rofi = "${pkgs.rofi}/bin/rofi"; rofi = "${pkgs.rofi}/bin/rofi";
jq = "${pkgs.jq}/bin/jq"; jq = "${pkgs.jq}/bin/jq";
rofi-ykman = pkgs.writeShellScriptBin "rofi-ykman" '' rofi-ykman = pkgs.writeShellScriptBin "rofi-ykman" ''
@ -134,6 +134,7 @@ in {
"$altMod" = pkgs.lib.mkDefault "ALT_L"; "$altMod" = pkgs.lib.mkDefault "ALT_L";
exec-once = [ exec-once = [
"hyprpaper" "hyprpaper"
"foot --server"
"hyprctl dispatch exec ags run" "hyprctl dispatch exec ags run"
"${wl-paste} --type text --watch cliphist store" "${wl-paste} --type text --watch cliphist store"
"${wl-paste} --type image --watch cliphist store" "${wl-paste} --type image --watch cliphist store"
@ -201,8 +202,10 @@ in {
preserve_split = "yes"; preserve_split = "yes";
force_split = 2; force_split = 2;
}; };
gesture = [
"3, horizontal, workspace"
];
gestures = { gestures = {
workspace_swipe = "on";
workspace_swipe_invert = false; workspace_swipe_invert = false;
}; };
device = [ device = [
@ -238,7 +241,7 @@ in {
"$mainMod, Q, killactive," "$mainMod, Q, killactive,"
"$mainMod, A, exec, ${nautilus}" "$mainMod, A, exec, ${nautilus}"
"$mainMod, S, exec, LC_TIME=\"en_GB.UTF-8\" ${gnome-calendar}" "$mainMod, S, exec, LC_TIME=\"en_GB.UTF-8\" ${gnome-calendar}"
"$mainMod, B, exec, MOZ_ENABLE_WAYLAND=1 firefox" "$mainMod, B, exec, Helium"
"$mainMod, M, fullscreen, 1" "$mainMod, M, fullscreen, 1"
"$mainMod, F11, fullscreen" "$mainMod, F11, fullscreen"
"$mainMod, F, togglefloating," "$mainMod, F, togglefloating,"

View File

@ -10,6 +10,7 @@
../foot ../foot
../kitty ../kitty
../firefox ../firefox
../helium
../ssh ../ssh
../mpv ../mpv
]; ];
@ -104,4 +105,6 @@
"image/png" = "org.gnome.Loupe.desktop"; "image/png" = "org.gnome.Loupe.desktop";
}; };
}; };
fonts.fontconfig.enable = true;
} }

View File

@ -15,7 +15,7 @@
inputs.fzgo.packages.${pkgs.system}.default inputs.fzgo.packages.${pkgs.system}.default
]; ];
home.sessionVariables = { home.sessionVariables = {
BROWSER = "firefox"; BROWSER = "Helium";
PDF_VIEWER = "evince"; PDF_VIEWER = "evince";
GPULAB_CERT = "${config.xdg.configHome}/../.secrets/GPULab/certificate.pem"; GPULAB_CERT = "${config.xdg.configHome}/../.secrets/GPULab/certificate.pem";
GPULAB_DEV = "False"; GPULAB_DEV = "False";
@ -78,6 +78,9 @@
function o() { function o() {
${pkgs.handlr-regex}/bin/handlr open $@ < /dev/null &> /dev/null & disown ${pkgs.handlr-regex}/bin/handlr open $@ < /dev/null &> /dev/null & disown
} }
precmd() {
print -Pn "\e]133;A\e\\"
}
''; '';
shellAliases = { shellAliases = {