diff --git a/home-manager/kde-connect-commands.json b/home-manager/kde-connect-commands.json new file mode 100644 index 0000000..e69e236 --- /dev/null +++ b/home-manager/kde-connect-commands.json @@ -0,0 +1,46 @@ +[ + { + "command": "systemctl poweroff", + "name": "shutdown" + }, + { + "command": "systemctl reboot", + "name": "reboot" + }, + { + "command": "systemctl suspend", + "name": "suspend" + }, + { + "command": "systemctl hibernate", + "name": "hibernate" + }, + { + "command": "loginctl lock-session", + "name": "lock" + }, + { + "command": "loginctl unlock-session", + "name": "unlock" + }, + { + "command": "qdbus org.kde.kglobalaccel /component/kmix invokeShortcut \"mute\"", + "name": "mute" + }, + { + "command": "qdbus org.kde.kglobalaccel /component/kmix invokeShortcut \"mic_mute\"", + "name": "mute mic" + }, + { + "command": "file=/tmp/$(hostname)_$(date \"+%Y%m%d_%H%M%S\").png; spectacle -bo \"${file}\" && while ! [ -f \"${file}\" ]; do sleep 0.5; done && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share \"${file}\"", + "name": "screenshot to phone" + }, + { + "command": "file=\"$HOME/Images/WebcamImage_$(date \"+%Y%m%d_%H%M%S\").jpg\"; ffmpeg -f video4linux2 -s 1280x720 -i /dev/video0 -ss 0:0:2 -frames 1 \"${file}\" && kdeconnect-cli -d $(kdeconnect-cli -a --id-only) --share \"${file}\"", + "name": "webcam to phone" + }, + { + "command": "", + "name": "" + } +] diff --git a/home-manager/shared/default.nix b/home-manager/shared/default.nix index 239a06a..5ccdf6f 100644 --- a/home-manager/shared/default.nix +++ b/home-manager/shared/default.nix @@ -36,6 +36,7 @@ _7zz = pkgs._7zz.override {useUasm = true;}; }; }; + stylix.enable = true; # stylix = { # enable = true; # autoEnable = true; diff --git a/nixos/shared/default.nix b/nixos/shared/default.nix index 2e16175..7d4e7a6 100644 --- a/nixos/shared/default.nix +++ b/nixos/shared/default.nix @@ -107,8 +107,8 @@ }; monospace = { - package = pkgs.nerd-fonts.fira-mono; - name = "Fira Code nerd Font Mono"; + package = pkgs.dejavu_fonts; + name = "DejaVu Sans Mono"; }; sansSerif = { @@ -123,6 +123,12 @@ }; }; + fonts.packages = [ + pkgs.dejavu_fonts + pkgs.noto-fonts + pkgs.nerd-fonts.fira-mono + ]; + # Enable completion of system packages by zsh environment.pathsToLink = ["/share/zsh"];