Compare commits
3 commits
4d7fa35273
...
a46c19c390
Author | SHA1 | Date | |
---|---|---|---|
Tigor Hutasuhut | a46c19c390 | ||
Tigor Hutasuhut | b8cf4dd74e | ||
Tigor Hutasuhut | 4ea9b683d5 |
|
@ -19,7 +19,7 @@ in
|
|||
./wlogout.nix
|
||||
# ./swappy.nix
|
||||
./alacritty.nix
|
||||
./swayosd.nix
|
||||
./audio.nix
|
||||
./sway-notification-center.nix
|
||||
./ntfy-sh.nix
|
||||
];
|
||||
|
|
|
@ -91,7 +91,6 @@ in
|
|||
''$mod, RETURN, exec, footclient''
|
||||
"$mod, E, exec, thunar"
|
||||
"$mod, B, exec, microsoft-edge"
|
||||
"$mod, D, exec, rofi -show drun -replace -i"
|
||||
"$mod, BackSpace, exec, wlogout"
|
||||
''$mod, F, exec, ${select-window.path}''
|
||||
"$mod, W, exec, pypr wall next"
|
||||
|
@ -151,24 +150,11 @@ in
|
|||
"$mod, mouse:272, movewindow"
|
||||
"$mod, mouse:273, resizewindow"
|
||||
];
|
||||
# e -> repeat, will repeat when held.
|
||||
# l -> even when locked
|
||||
bindel = [
|
||||
# Media
|
||||
", XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise --max-volume 150"
|
||||
", XF86AudioLowerVolume, exec, swayosd-client --output-volume lower --max-volume 150"
|
||||
|
||||
# Light
|
||||
", XF86MonBrightnessUp, exec, swayosd-client --brightness +10"
|
||||
", XF86MonBrightnessDown, exec, swayosd-client --brightness -10"
|
||||
];
|
||||
bindl = [
|
||||
", XF86AudioMute, exec, swayosd-client --output-volume mute-toggle"
|
||||
", XF86AudioPlay, exec, playerctl play-pause"
|
||||
", XF86AudioPause, exec, playerctl pause"
|
||||
", XF86AudioNext, exec, playerctl next"
|
||||
", XF86AudioPrev, exec, playerctl previous"
|
||||
", XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle"
|
||||
", XF86Calculator, exec, qalculate-gtk"
|
||||
];
|
||||
|
||||
|
|
|
@ -12,5 +12,9 @@ in
|
|||
source = ./rofi;
|
||||
recursive = true;
|
||||
};
|
||||
|
||||
wayland.windowManager.hyprland.settings.bind = [
|
||||
"$mod, D, exec, rofi -show drun -replace -i"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -12,9 +12,26 @@ in
|
|||
swayosd
|
||||
];
|
||||
|
||||
wayland.windowManager.hyprland.settings.exec-once = [
|
||||
"swayosd-libinput-backend"
|
||||
"swayosd-server"
|
||||
];
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
exec-once = [
|
||||
"swayosd-libinput-backend"
|
||||
"swayosd-server"
|
||||
];
|
||||
bindl = [
|
||||
", XF86AudioMute, exec, swayosd-client --output-volume mute-toggle"
|
||||
", XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle"
|
||||
];
|
||||
# e -> repeat, will repeat when held.
|
||||
# l -> even when locked
|
||||
bindel = [
|
||||
# Media
|
||||
", XF86AudioRaiseVolume, exec, swayosd-client --output-volume raise --max-volume 150"
|
||||
", XF86AudioLowerVolume, exec, swayosd-client --output-volume lower --max-volume 150"
|
||||
|
||||
# Light
|
||||
", XF86MonBrightnessUp, exec, swayosd-client --brightness +10"
|
||||
", XF86MonBrightnessDown, exec, swayosd-client --brightness -10"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -39,6 +39,17 @@ in
|
|||
};
|
||||
|
||||
services.caddy.virtualHosts."couchdb.tigor.web.id".extraConfig = ''
|
||||
@obsidian header Origin "app://obsidian.md"
|
||||
header @obsidian {
|
||||
Access-Control-Allow-Origin "app://obsidian.md"
|
||||
Access-Control-Allow-Methods "OPTIONS,HEAD,GET,POST,PUT,PATCH,DELETE"
|
||||
Access-Control-Allow-Credentials "true"
|
||||
Access-Control-Allow-Headers "Authorization,Content-Type"
|
||||
defer
|
||||
}
|
||||
@options method OPTIONS
|
||||
respond @options 204
|
||||
|
||||
reverse_proxy localhost:5984
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue