feat: add language directives for embedded languages
All checks were successful
/ check (push) Successful in 47s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 1s
All checks were successful
/ check (push) Successful in 47s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 1s
This commit is contained in:
parent
2be4067567
commit
f295026a6a
2 changed files with 25 additions and 20 deletions
|
@ -78,7 +78,9 @@ in
|
||||||
settings = lib.mkIf config.jhome.styling.enable (
|
settings = lib.mkIf config.jhome.styling.enable (
|
||||||
import ./waybar-settings.nix { inherit config lib; }
|
import ./waybar-settings.nix { inherit config lib; }
|
||||||
);
|
);
|
||||||
style = lib.optionalString config.jhome.styling.enable ''
|
style =
|
||||||
|
lib.optionalString config.jhome.styling.enable # css
|
||||||
|
''
|
||||||
.modules-left #workspaces button {
|
.modules-left #workspaces button {
|
||||||
border-bottom: 3px solid @base01;
|
border-bottom: 3px solid @base01;
|
||||||
}
|
}
|
||||||
|
@ -109,7 +111,9 @@ in
|
||||||
# PDF reader
|
# PDF reader
|
||||||
zathura.enable = true;
|
zathura.enable = true;
|
||||||
# Auto start sway
|
# Auto start sway
|
||||||
zsh.loginExtra = lib.optionalString cfg.sway.autostart ''
|
zsh.loginExtra =
|
||||||
|
lib.optionalString cfg.sway.autostart # sh
|
||||||
|
''
|
||||||
# Start Sway on login to TTY 1
|
# Start Sway on login to TTY 1
|
||||||
if [ "$TTY" = /dev/tty1 ]; then
|
if [ "$TTY" = /dev/tty1 ]; then
|
||||||
exec sway
|
exec sway
|
||||||
|
|
|
@ -95,7 +95,8 @@ in
|
||||||
})
|
})
|
||||||
(lib.mkIf (enable && linuxOlderThan6_3 && cfg."8bitdoFix") {
|
(lib.mkIf (enable && linuxOlderThan6_3 && cfg."8bitdoFix") {
|
||||||
# Udev rules to start or stop systemd service when controller is connected or disconnected
|
# Udev rules to start or stop systemd service when controller is connected or disconnected
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = # udev
|
||||||
|
''
|
||||||
# May vary depending on your controller model, find product id using 'lsusb'
|
# May vary depending on your controller model, find product id using 'lsusb'
|
||||||
SUBSYSTEM=="usb", ATTR{idVendor}=="2dc8", ATTR{idProduct}=="3106", ATTR{manufacturer}=="8BitDo", RUN+="${pkgs.systemd}/bin/systemctl start 8bitdo-ultimate-xinput@2dc8:3106"
|
SUBSYSTEM=="usb", ATTR{idVendor}=="2dc8", ATTR{idProduct}=="3106", ATTR{manufacturer}=="8BitDo", RUN+="${pkgs.systemd}/bin/systemctl start 8bitdo-ultimate-xinput@2dc8:3106"
|
||||||
# This device (2dc8:3016) is "connected" when the above device disconnects
|
# This device (2dc8:3016) is "connected" when the above device disconnects
|
||||||
|
|
Loading…
Reference in a new issue