1
1
Fork 0

office: switch to onlyoffice

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-09-14 16:03:48 -05:00
parent 653fb33eba
commit 855afe285f
Signed by: myned
GPG key ID: C7224454F7881A34
4 changed files with 7 additions and 4 deletions

View file

@ -21,6 +21,7 @@ with lib; let
networkmanager_dmenu = "${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu"; networkmanager_dmenu = "${pkgs.networkmanager_dmenu}/bin/networkmanager_dmenu";
notify-send = "${pkgs.libnotify}/bin/notify-send"; notify-send = "${pkgs.libnotify}/bin/notify-send";
obsidian = "${pkgs.obsidian}/bin/obsidian"; obsidian = "${pkgs.obsidian}/bin/obsidian";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors";
pkill = "${pkgs.procps}/bin/pkill"; pkill = "${pkgs.procps}/bin/pkill";
playerctl = "${pkgs.playerctl}/bin/playerctl"; playerctl = "${pkgs.playerctl}/bin/playerctl";
rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw"; rofi-rbw = "${pkgs.rofi-rbw}/bin/rofi-rbw";
@ -211,7 +212,7 @@ in {
(key "M" "Super" "togglespecialworkspace" "music") (key "M" "Super" "togglespecialworkspace" "music")
(key "M" "Super+Shift" "movetoworkspacesilent" "music") (key "M" "Super+Shift" "movetoworkspacesilent" "music")
(key "O" "Super" "togglespecialworkspace" "office") (key "O" "Super" "togglespecialworkspace" "office")
(key "O" "Super+Ctrl" "exec" "libreoffice") (key "O" "Super+Ctrl" "exec" "${onlyoffice}")
(key "O" "Super+Shift" "movetoworkspacesilent" "special:office") (key "O" "Super+Shift" "movetoworkspacesilent" "special:office")
(key "P" "Super" "exec" "${hyprpicker} --autocopy") (key "P" "Super" "exec" "${hyprpicker} --autocopy")
(key "P" "Super+Shift" "exec" "${hyprpicker} --autocopy --format rgb") (key "P" "Super+Shift" "exec" "${hyprpicker} --autocopy --format rgb")

View file

@ -7,8 +7,8 @@
with lib; let with lib; let
gamescope = "${config.programs.gamescope.package}/bin/gamescope"; gamescope = "${config.programs.gamescope.package}/bin/gamescope";
kitty = "${config.home-manager.users.${config.custom.username}.programs.kitty.package}/bin/kitty"; kitty = "${config.home-manager.users.${config.custom.username}.programs.kitty.package}/bin/kitty";
libreoffice = "${config.custom.programs.libreoffice.package}/bin/libreoffice";
loupe = "${pkgs.loupe}/bin/loupe"; loupe = "${pkgs.loupe}/bin/loupe";
onlyoffice = "${pkgs.onlyoffice-bin}/bin/onlyoffice-desktopeditors";
pgrep = "${pkgs.procps}/bin/pgrep"; pgrep = "${pkgs.procps}/bin/pgrep";
steam = "${config.programs.steam.package}/bin/steam"; steam = "${config.programs.steam.package}/bin/steam";
virt-manager = "${pkgs.virt-manager}/bin/virt-manager"; virt-manager = "${pkgs.virt-manager}/bin/virt-manager";
@ -28,7 +28,7 @@ in {
"special:android, on-created-empty:${waydroid} app launch com.YoStarEN.Arknights" "special:android, on-created-empty:${waydroid} app launch com.YoStarEN.Arknights"
"special:music, on-created-empty:${youtube-music}" "special:music, on-created-empty:${youtube-music}"
"special:office, on-created-empty:${libreoffice}" "special:office, on-created-empty:${onlyoffice}"
"special:steam, on-created-empty:${steam}" "special:steam, on-created-empty:${steam}"
"special:terminal, on-created-empty:${kitty}" "special:terminal, on-created-empty:${kitty}"
"special:vm, on-created-empty:${pgrep} -x vm || ${virt-manager}" "special:vm, on-created-empty:${pgrep} -x vm || ${virt-manager}"
@ -136,6 +136,7 @@ in {
]; ];
office = rules: [ office = rules: [
(class "libreoffice.+" rules) (class "libreoffice.+" rules)
(class "ONLYOFFICE Desktop Editors" rules)
]; ];
pip = rules: [ pip = rules: [
(title "Picture.in.[Pp]icture" rules) (title "Picture.in.[Pp]icture" rules)

View file

@ -50,7 +50,7 @@ with lib; {
#// gnome-shell.enable = true; #// gnome-shell.enable = true;
gpg.enable = true; gpg.enable = true;
hyprlock.enable = true; hyprlock.enable = true;
libreoffice.enable = true; #// libreoffice.enable = true;
#// librewolf.enable = true; #// librewolf.enable = true;
localsend.enable = true; localsend.enable = true;
logseq.enable = true; logseq.enable = true;

View file

@ -98,6 +98,7 @@ in {
lutris lutris
nheko nheko
obsidian obsidian
onlyoffice-bin
path-of-building path-of-building
pika-backup pika-backup
protonup-qt protonup-qt