Get vmware shortcut sorted
This commit is contained in:
parent
99d55501de
commit
aefc1a93ad
|
@ -10,6 +10,7 @@ in with lib; {
|
||||||
fuzzel -f "Iosevka Sans Quasi" -b "181818dd" -S "b9b9b9ff" -s "252525dd" -t "777777ff" -B 5 -r 5 -C "70b433dd"'';
|
fuzzel -f "Iosevka Sans Quasi" -b "181818dd" -S "b9b9b9ff" -s "252525dd" -t "777777ff" -B 5 -r 5 -C "70b433dd"'';
|
||||||
notif-package =
|
notif-package =
|
||||||
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.swaynotificationcenter;
|
inputs.nixpkgs-unstable.legacyPackages.${pkgs.system}.swaynotificationcenter;
|
||||||
|
shortcuts = inputs.self.packages.${pkgs.system}.shortcuts;
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# General
|
# General
|
||||||
|
@ -203,11 +204,14 @@ in with lib; {
|
||||||
# Notif bind
|
# Notif bind
|
||||||
bind = $mainMod, T, exec, swaync-client -t -sw
|
bind = $mainMod, T, exec, swaync-client -t -sw
|
||||||
|
|
||||||
|
# Shortcut dispatcher
|
||||||
|
bind = $mainMod, W, exec, ${shortcuts}/bin/shortcuts ~/.config/shortcuts/shortcuts.toml
|
||||||
|
|
||||||
## Window rules
|
## Window rules
|
||||||
# Gamescope
|
# Gamescope - vmware
|
||||||
windowrulev2 = float,class:^(.gamescope-wrapped)$
|
windowrulev2 = float,class:^(.gamescope-wrapped)$,title:VMware Workstation
|
||||||
windowrulev2 = noborder,class:^(.gamescope-wrapped)$
|
windowrulev2 = noborder,class:^(.gamescope-wrapped)$,title:VMware Workstation
|
||||||
windowrulev2 = rounding 0,class:^(.gamescope-wrapped)$
|
windowrulev2 = rounding 0,class:^(.gamescope-wrapped)$,title:VMware Workstation
|
||||||
|
|
||||||
# Clipboard history management
|
# Clipboard history management
|
||||||
exec-once=wl-paste --watch cliphist store
|
exec-once=wl-paste --watch cliphist store
|
||||||
|
@ -256,6 +260,19 @@ in with lib; {
|
||||||
};
|
};
|
||||||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||||
};
|
};
|
||||||
|
# Shortcut dispatcher
|
||||||
|
xdg.configFile."shortcuts/shortcuts.toml" = {
|
||||||
|
text = ''
|
||||||
|
directories = ["~/.config/shortcuts/shortcuts", "${shortcuts}/shortcuts"]
|
||||||
|
picker_command = "${
|
||||||
|
builtins.replaceStrings [ ''"'' ] [ ''\"'' ] fuzzel-command
|
||||||
|
} --dmenu"
|
||||||
|
'';
|
||||||
|
onChange = ''
|
||||||
|
mkdir -p ~/.config/shortcuts/shortcuts
|
||||||
|
'';
|
||||||
|
|
||||||
|
};
|
||||||
#########################
|
#########################
|
||||||
## SwayNotificationCenter (notifications)
|
## SwayNotificationCenter (notifications)
|
||||||
#########################
|
#########################
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
sleep 3 &
|
hyprctl dispatch exec -- "[float;size 1829 1029] gamescope -W 2560 -w 2560 -H 1440 -h 1440 --scaler integer --force-windows-fullscreen -- vmware"
|
||||||
echo "Hello"
|
|
||||||
wait
|
wait
|
||||||
|
|
Loading…
Reference in New Issue