Home: Add ferdium on special hyprland scratchpad workspace
This commit is contained in:
@ -107,6 +107,7 @@ rec {
|
|||||||
"kitty"
|
"kitty"
|
||||||
"nextcloud --background"
|
"nextcloud --background"
|
||||||
"keepassxc"
|
"keepassxc"
|
||||||
|
"ferdium"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -118,6 +119,10 @@ rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
workspacerules = {
|
workspacerules = {
|
||||||
|
"special" = [
|
||||||
|
"Ferdium"
|
||||||
|
];
|
||||||
|
|
||||||
"2" = [
|
"2" = [
|
||||||
"Zotero"
|
"Zotero"
|
||||||
|
|
||||||
@ -312,6 +317,7 @@ rec {
|
|||||||
sd # sed alternative
|
sd # sed alternative
|
||||||
fclones # duplicate file finder
|
fclones # duplicate file finder
|
||||||
tealdeer # very fast tldr (so readable man)
|
tealdeer # very fast tldr (so readable man)
|
||||||
|
killall
|
||||||
atool # Archive preview
|
atool # Archive preview
|
||||||
ffmpegthumbnailer # Video thumbnails
|
ffmpegthumbnailer # Video thumbnails
|
||||||
mediainfo # Media meta information
|
mediainfo # Media meta information
|
||||||
@ -390,6 +396,7 @@ rec {
|
|||||||
helvum
|
helvum
|
||||||
vlc
|
vlc
|
||||||
audacity
|
audacity
|
||||||
|
ferdium
|
||||||
|
|
||||||
# Office
|
# Office
|
||||||
wacomtablet # For xournalpp/krita
|
wacomtablet # For xournalpp/krita
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
# TODO: The keys to reset the workspaces need to depend on actual workspace config
|
# TODO: The keys to reset the workspaces need to depend on actual workspace config
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
config,
|
config,
|
||||||
lib,
|
lib,
|
||||||
mylib,
|
mylib,
|
||||||
@ -67,6 +68,9 @@
|
|||||||
"$mainMod CTRL, k" = ["movewindow, u"];
|
"$mainMod CTRL, k" = ["movewindow, u"];
|
||||||
"$mainMod CTRL, d" = ["movewindow, d"];
|
"$mainMod CTRL, d" = ["movewindow, d"];
|
||||||
|
|
||||||
|
# Special workspace
|
||||||
|
"$mainMod, x" = ["togglespecialworkspace"];
|
||||||
|
|
||||||
# TODO: Somehow write this more compact? Try to use workspace 0 instead of 10...
|
# TODO: Somehow write this more compact? Try to use workspace 0 instead of 10...
|
||||||
"$mainMod, 1" = ["workspace, 1"];
|
"$mainMod, 1" = ["workspace, 1"];
|
||||||
"$mainMod, 2" = ["workspace, 2"];
|
"$mainMod, 2" = ["workspace, 2"];
|
||||||
@ -90,18 +94,17 @@
|
|||||||
"$mainMod SHIFT, 9" = ["movetoworkspace, 9"];
|
"$mainMod SHIFT, 9" = ["movetoworkspace, 9"];
|
||||||
"$mainMod SHIFT, 0" = ["movetoworkspace, 10"];
|
"$mainMod SHIFT, 0" = ["movetoworkspace, 10"];
|
||||||
|
|
||||||
"CTRL ALT, R" = [
|
# Reset workspaces to the defined configuration in hyprland.workspaces:
|
||||||
"moveworkspacetomonitor, 1 HDMI-A-1"
|
# [
|
||||||
"moveworkspacetomonitor, 2 HDMI-A-1"
|
# "moveworkspacetomonitor, 1 HDMI-A-1"
|
||||||
"moveworkspacetomonitor, 3 HDMI-A-1"
|
# "moveworkspacetomonitor, 2 HDMI-A-1"
|
||||||
"moveworkspacetomonitor, 4 HDMI-A-1"
|
# ...
|
||||||
"moveworkspacetomonitor, 5 HDMI-A-1"
|
# ]
|
||||||
"moveworkspacetomonitor, 6 HDMI-A-1"
|
"CTRL ALT, R" = let
|
||||||
"moveworkspacetomonitor, 7 HDMI-A-1"
|
mkWorkspaceBinding = monitor: workspace: "moveworkspacetomonitor, ${builtins.toString workspace} ${builtins.toString monitor}";
|
||||||
"moveworkspacetomonitor, 8 HDMI-A-1"
|
mkWorkspacesBindings = monitor: workspaces: builtins.map (mkWorkspaceBinding monitor) workspaces;
|
||||||
"moveworkspacetomonitor, 9 HDMI-A-1"
|
in
|
||||||
"moveworkspacetomonitor, 10 DP-1"
|
builtins.concatLists (builtins.attrValues (builtins.mapAttrs mkWorkspacesBindings hyprland.workspaces));
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
always-bindm = {
|
always-bindm = {
|
||||||
@ -125,6 +128,7 @@
|
|||||||
# Provide a polkit authentication UI.
|
# Provide a polkit authentication UI.
|
||||||
# This is used for example when running systemd commands without root.
|
# This is used for example when running systemd commands without root.
|
||||||
"${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1"
|
"${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1"
|
||||||
|
# "systemctl --user start hyprpolkitagent.service"
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
options.modules.hyprland = import ./options.nix {inherit lib mylib;};
|
options.modules.hyprland = import ./options.nix {inherit lib mylib;};
|
||||||
@ -360,6 +364,14 @@ in {
|
|||||||
systemd.variables = ["--all"]; # Import PATH into systemd
|
systemd.variables = ["--all"]; # Import PATH into systemd
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
|
|
||||||
|
plugins = [
|
||||||
|
# TODO: Takes ages (compiles all hyprland dependencies locally...)
|
||||||
|
# Probably have to use hyprland flake to follow...
|
||||||
|
|
||||||
|
# inputs.hypr-dynamic-cursors.packages.${pkgs.system}.hypr-dynamic-cursors
|
||||||
|
# inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
|
||||||
|
];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"$mainMod" = "${hyprland.keybindings.main-mod}";
|
"$mainMod" = "${hyprland.keybindings.main-mod}";
|
||||||
|
|
||||||
|
@ -109,6 +109,7 @@ in {
|
|||||||
"bar.workspaces.applicationIconEmptyWorkspace" = "";
|
"bar.workspaces.applicationIconEmptyWorkspace" = "";
|
||||||
"bar.workspaces.applicationIconFallback" = "";
|
"bar.workspaces.applicationIconFallback" = "";
|
||||||
"bar.workspaces.applicationIconOncePerWorkspace" = true;
|
"bar.workspaces.applicationIconOncePerWorkspace" = true;
|
||||||
|
"bar.workspaces.ignored" = "-99"; # Special workspace
|
||||||
"bar.workspaces.monitorSpecific" = true;
|
"bar.workspaces.monitorSpecific" = true;
|
||||||
"bar.workspaces.numbered_active_indicator" = "highlight";
|
"bar.workspaces.numbered_active_indicator" = "highlight";
|
||||||
"bar.workspaces.reverse_scroll" = true;
|
"bar.workspaces.reverse_scroll" = true;
|
||||||
|
Reference in New Issue
Block a user