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
marp-cli
qpdf
qrencode
temurin-jre-bin
librsvg
];

View File

@ -46,7 +46,11 @@ in {
"$shiftMod" = "SUPER_SHIFT";
"$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; };
plugin = { overview = { autoDrag = false; }; };
@ -125,7 +129,7 @@ in {
mfact = 0.6;
};
gestures = { workspace_swipe = true; };
gesture = [ "3, horizontal, workspace" ];
misc = {
vfr = true;

View File

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

View File

@ -31,5 +31,7 @@
"application/pdf" = "org.pwmt.zathura.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 = [{
layer = "top";
position = position;
modules-left = [
"idle_inhibitor"
"power-profile-daemon"
"backlight"
"pulseaudio"
"hyprland/workspaces"
"hyprland/window"
];
modules-left = [ "hyprland/workspaces" "hyprland/window" ];
modules-center = [ "mpris" ];
modules-right = [
"idle_inhibitor"
"backlight"
"battery#1"
"battery#2"
"cpu"
@ -30,6 +25,8 @@ in {
"temperature"
"clock"
"privacy"
"custom/cuaca"
"wireplumber"
"tray"
];
clock = {
@ -107,6 +104,7 @@ in {
};
"hyprland/window" = {
format = "{}";
max-length = 32;
rewrite = {
"(.*) Mozilla Firefox" = "󰈹 $1";
"(.*) - kitty" = " [$1]";
@ -162,18 +160,38 @@ in {
"on-click" = "pavucontrol";
"ignored-sinks" = [ "Easy Effects Sink" ];
};
"pulseaudio/slider" = {
"min" = 0;
"max" = 100;
"orientation" = "horizontal";
"wireplumber" = {
"on-click" = "pavucontrol";
"on-click-right" = "amixer sset Master toggle 1>/dev/null";
"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 = ''
* { 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; }
label.module { padding: 0 ${toString gaps-out}px; }
label.module { padding: 0 0.5em; }
#workspaces {
background-color: @base03;
border-radius: 1em;
@ -188,10 +206,13 @@ in {
#workspaces button.empty { background-color: @base03; }
#workspaces button.visible { background-color: @base04; color: @base01 }
#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.2 { padding-left: ${toString gaps-in}px; }
#privacy, #tray { padding: 0 ${toString gaps-in}px; }
#tray { background-color: @base03; border-radius: 1em 0 0 1em ; }
#tray { background-color: @base03; border-radius: 1em 0 0 1em; }
#tray > .passive { -gtk-icon-effect: dim; }
#tray > .needs-attention { -gtk-icon-effect: highlight; background-color: @base08; }
tooltip { border-radius: ${toString rounding}px; }

View File

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

View File

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

View File

@ -66,8 +66,8 @@
polarity = "dark";
image = pkgs.fetchurl {
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";
hash = "sha256-NVZwXG65Bg/qLWoe7fp1175/oiwp5XRRs+HbuWT5SLM=";
"https://www.pixelstalk.net/wp-content/uploads/images3/Cute_Owl_HD_Background.jpg";
hash = "sha256-pqeVSfJgR9e5mCln6c+WDojAXDRujUSl2n+TS3agWdw=";
};
};