update office and hyprland config

This commit is contained in:
dim 2025-10-11 08:24:26 +07:00
parent 4222f21a6d
commit cb5055363a
Signed by: dhimas
GPG Key ID: 8D5D880EB08F1544
8 changed files with 77 additions and 33 deletions

View File

@ -7,6 +7,7 @@
thunderbird thunderbird
marp-cli marp-cli
qpdf qpdf
qrencode
temurin-jre-bin temurin-jre-bin
librsvg librsvg
]; ];

View File

@ -46,7 +46,11 @@ in {
"$shiftMod" = "SUPER_SHIFT"; "$shiftMod" = "SUPER_SHIFT";
"$ctrlMod" = "SUPER_CTRL"; "$ctrlMod" = "SUPER_CTRL";
exec-once = [ "dbus-update-activation-environment --systemd --all" ]; exec-once = [
"systemctl --user import-environment"
"hash dbus-update-activation-environment 2>/dev/null"
"dbus-update-activation-environment --systemd --all"
];
ecosystem = { no_update_news = true; }; ecosystem = { no_update_news = true; };
plugin = { overview = { autoDrag = false; }; }; plugin = { overview = { autoDrag = false; }; };
@ -125,7 +129,7 @@ in {
mfact = 0.6; mfact = 0.6;
}; };
gestures = { workspace_swipe = true; }; gesture = [ "3, horizontal, workspace" ];
misc = { misc = {
vfr = true; vfr = true;

View File

@ -1,6 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }: {
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
windowrulev2 = [ windowrule = [
"workspace 2, class:^(emacs)$" "workspace 2, class:^(emacs)$"
"workspace 3, class:^(kitty)$" "workspace 3, class:^(kitty)$"
"workspace 3, class:^(com.mitchellh.ghostty)$" "workspace 3, class:^(com.mitchellh.ghostty)$"
@ -8,10 +8,14 @@
"workspace 9, title:^(Chromium)$" "workspace 9, title:^(Chromium)$"
"fullscreen, class:^(wlogout)$" "fullscreen, class:^(wlogout)$"
"float, class:^(Zotero)$" "float, class:^(Zotero)$"
"float, class:^(firefox)$"
"center, class:^(firefox)$"
"size 620 920, class:^(firefox)$"
"size 810 200, class:^(Zotero)$, title:^(Quick Format Citation)*$" "size 810 200, class:^(Zotero)$, title:^(Quick Format Citation)*$"
"float, class:^(firefox)$,title:^(Certificate for )*$" "tag +dialog, class:^(firefox)$, title:^(Certificate for )*$"
"tag +dialog, class:^(firefox)$, title:^(Extension: )*$"
"float, class:^(firefox)$, title:^(.*Firefox Sharing Indicator.*)$" "float, class:^(firefox)$, title:^(.*Firefox Sharing Indicator.*)$"
"float, class:^(firefox)$,title:^(.*Presensi Mahasiswa.*)$" "tag +dialog, class:^(firefox)$, title:^(Presensi Mahasiswa)*$"
"float, class:^(firefox)$, title:^(Extension)(.*)$" "float, class:^(firefox)$, title:^(Extension)(.*)$"
"float, class:^(pcmanfm)$, title:^(Confirm File Replacing)$" "float, class:^(pcmanfm)$, title:^(Confirm File Replacing)$"
"float, class:^(nemo)$, title:^(Confirm File Replacing)$" "float, class:^(nemo)$, title:^(Confirm File Replacing)$"
@ -20,6 +24,14 @@
"float, class:^(org.inkscape.Inkscape)$" "float, class:^(org.inkscape.Inkscape)$"
"float, class:^(nm-connection-editor)$" "float, class:^(nm-connection-editor)$"
"float, class:^(.*blueman-manager.*)$" "float, class:^(.*blueman-manager.*)$"
"float, title:^(Picture-in-Picture)$"
"size 960 540, title:^(Picture-in-Picture)$"
"move 25%-, title:^(Picture-in-Picture)$"
"float, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
"move 25%-, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
"size 960 540, title:^(imv|mpv|danmufloat|termfloat|nemo|ncmpcpp)$"
"pin, title:^(danmufloat)$"
"noblur, class:^(org.mozilla.firefox)$"
"size 530 300, class:^(.*blueman-manager.*)$" "size 530 300, class:^(.*blueman-manager.*)$"
"move 100%-w-20 40, class:^(.*blueman-manager.*)$" "move 100%-w-20 40, class:^(.*blueman-manager.*)$"
"tag +portal, class:^(.*desktop-portal.*)$" "tag +portal, class:^(.*desktop-portal.*)$"
@ -27,6 +39,7 @@
"noblur, tag:portal" "noblur, tag:portal"
"noshadow, tag:portal" "noshadow, tag:portal"
"float, tag:portal" "float, tag:portal"
"float, tag:dialog"
"pin, tag:portal" "pin, tag:portal"
"pin, class:^(gcr-prompter)$" "pin, class:^(gcr-prompter)$"
"float, title:^(Volume Control)$" "float, title:^(Volume Control)$"
@ -41,7 +54,6 @@
"float, class:^(thunderbird)$,title:^(Edit Event:)$" "float, class:^(thunderbird)$,title:^(Edit Event:)$"
"float, class:^(thunderbird)$,title:^(An error has occurred)$" "float, class:^(thunderbird)$,title:^(An error has occurred)$"
"float, class:^(thunar)$,title:^(File Operation Progress)$" "float, class:^(thunar)$,title:^(File Operation Progress)$"
"float, class:firefox,title:(.*Bitwarden Password Manager.*)"
"float, class:^(org.kde.polkit-kde-authentication-agent-1)$" "float, class:^(org.kde.polkit-kde-authentication-agent-1)$"
"size 60% 55%, class:^(nwg-look)$" "size 60% 55%, class:^(nwg-look)$"
"center, class:^(nwg-look)$" "center, class:^(nwg-look)$"

View File

@ -31,5 +31,7 @@
"application/pdf" = "org.pwmt.zathura.desktop"; "application/pdf" = "org.pwmt.zathura.desktop";
"inode/directory" = "Thunar.desktop"; "inode/directory" = "Thunar.desktop";
}; };
associations.added = { "x-scheme-handler/mailto" = "thunderbird.desktop"; };
}; };
xdg.configFile."mimeapps.list".force = true;
} }

View File

@ -13,16 +13,11 @@ in {
settings = [{ settings = [{
layer = "top"; layer = "top";
position = position; position = position;
modules-left = [ modules-left = [ "hyprland/workspaces" "hyprland/window" ];
"idle_inhibitor"
"power-profile-daemon"
"backlight"
"pulseaudio"
"hyprland/workspaces"
"hyprland/window"
];
modules-center = [ "mpris" ]; modules-center = [ "mpris" ];
modules-right = [ modules-right = [
"idle_inhibitor"
"backlight"
"battery#1" "battery#1"
"battery#2" "battery#2"
"cpu" "cpu"
@ -30,6 +25,8 @@ in {
"temperature" "temperature"
"clock" "clock"
"privacy" "privacy"
"custom/cuaca"
"wireplumber"
"tray" "tray"
]; ];
clock = { clock = {
@ -107,6 +104,7 @@ in {
}; };
"hyprland/window" = { "hyprland/window" = {
format = "{}"; format = "{}";
max-length = 32;
rewrite = { rewrite = {
"(.*) Mozilla Firefox" = "󰈹 $1"; "(.*) Mozilla Firefox" = "󰈹 $1";
"(.*) - kitty" = " [$1]"; "(.*) - kitty" = " [$1]";
@ -162,18 +160,38 @@ in {
"on-click" = "pavucontrol"; "on-click" = "pavucontrol";
"ignored-sinks" = [ "Easy Effects Sink" ]; "ignored-sinks" = [ "Easy Effects Sink" ];
}; };
"pulseaudio/slider" = { "wireplumber" = {
"min" = 0; "on-click" = "pavucontrol";
"max" = 100; "on-click-right" = "amixer sset Master toggle 1>/dev/null";
"orientation" = "horizontal"; "format" = "<span foreground='#fab387'>{icon}</span>{volume}%";
"format-muted" = " ";
"format-source" = "";
"format-source-muted" = "";
"format-icons" = {
"headphone" = " ";
"hands-free" = " ";
"headset" = " ";
"phone" = " ";
"portable" = " ";
"car" = " ";
"default" = [ " " " " " " ];
};
};
"custom/cuaca" = {
"format" = "{}";
"format-alt" = "{alt}: {}";
"format-alt-click" = "click-right";
"interval" = 3600;
"exec" = "curl -s 'https://wttr.in/Tangerang?format=1'";
"exec-if" = "ping wttr.in -c1";
}; };
}]; }];
style = '' style = ''
* { border: none; border-radius: 0; } * { border: none; border-radius: 0; }
window#waybar { background-color: @base00; color: @base05; transition-property: background-color; transition-duration: 0.5s; } window#waybar { background-color: transparent; color: @base05; transition-property: background-color; transition-duration: 0.5s; }
window#waybar.hidden { opacity: 0.2; } window#waybar.hidden { opacity: 0.2; }
label.module { padding: 0 ${toString gaps-out}px; } label.module { padding: 0 0.5em; }
#workspaces { #workspaces {
background-color: @base03; background-color: @base03;
border-radius: 1em; border-radius: 1em;
@ -188,6 +206,9 @@ in {
#workspaces button.empty { background-color: @base03; } #workspaces button.empty { background-color: @base03; }
#workspaces button.visible { background-color: @base04; color: @base01 } #workspaces button.visible { background-color: @base04; color: @base01 }
#workspaces button.active { background-color: @base0A; } #workspaces button.active { background-color: @base0A; }
#window { font-weight:800; color: @base06; background-color: @base00; margin: 0 .5em; padding: 0 1em; border-radius: 0 0 1em 1em;}
.modules-left { background-color: transparent; border-radius: 0 1em 1em 0; padding-right: 1em; }
.modules-right { background-color: @base00; border-radius: 0 0 0 1em; padding-left: 1em; }
label#battery.1 { padding-right: 0; } label#battery.1 { padding-right: 0; }
label#battery.2 { padding-left: ${toString gaps-in}px; } label#battery.2 { padding-left: ${toString gaps-in}px; }
#privacy, #tray { padding: 0 ${toString gaps-in}px; } #privacy, #tray { padding: 0 ${toString gaps-in}px; }

View File

@ -133,12 +133,16 @@
php php
phpPackages.composer phpPackages.composer
aspell aspell
aspellDicts.id
aspellDicts.en
html-tidy html-tidy
stylelint stylelint
jsbeautifier jsbeautifier
zotero_7 zotero_7
chromium chromium
remmina remmina
exercism
elixir
]; ];
# Import my profile picture, used by the hyprpanel dashboard # Import my profile picture, used by the hyprpanel dashboard

View File

@ -65,8 +65,8 @@ in {
ldns ldns
]; ];
services.logind.extraConfig = '' # services.logind.settings.Login = ''
# dont shutdown when power button is short-pressed # # dont shutdown when power button is short-pressed
HandlePowerKey=ignore # HandlePowerKey=ignore
''; # '';
} }

View File

@ -66,8 +66,8 @@
polarity = "dark"; polarity = "dark";
image = pkgs.fetchurl { image = pkgs.fetchurl {
url = url =
"https://www.pixelstalk.net/wp-content/uploads/image12/A-charming-vintage-wallpaper-design-featuring-clusters-of-wild-roses-in-soft-hues-of-pink-blue-and-green.jpg"; "https://www.pixelstalk.net/wp-content/uploads/images3/Cute_Owl_HD_Background.jpg";
hash = "sha256-NVZwXG65Bg/qLWoe7fp1175/oiwp5XRRs+HbuWT5SLM="; hash = "sha256-pqeVSfJgR9e5mCln6c+WDojAXDRujUSl2n+TS3agWdw=";
}; };
}; };