1
0
Fork 0
forked from Bun/nixos-config

Make some changes and implement ddclient for cloudflare

This commit is contained in:
Jimbo 2024-08-21 21:21:33 -04:00
parent 7d30617bb7
commit 2326853c53
2 changed files with 20 additions and 27 deletions

View file

@ -84,7 +84,7 @@ let
case $SCRATCHPADS in
Gotop) foot -a gotop -T Gotop gotop;;
Music) foot -a music -T Music ncmpcpp;;
Sound) foot -a sound -T Sound ncpamixer;;
Sound) foot -a sound -T Sound pulsemixer;;
EasyEffects) easyeffects;;
esac
}
@ -1100,7 +1100,7 @@ in
# Terminal programs
dua vimv p7zip fastfetch gotop pciutils usbutils
ncpamixer tcptrack mpc-cli protonvpn-cli_2
pulsemixer tcptrack mpc-cli protonvpn-cli_2
# Scripts as global programs
rofiScripts makoToggle swayLock screenShot pFetch
@ -1192,7 +1192,7 @@ in
# Scratchpads
{ command = "foot -a gotop -T Gotop gotop"; }
{ command = "foot -a music -T Music ncmpcpp"; }
{ command = "foot -a sound -T Sound ncpamixer"; }
{ command = "foot -a sound -T Sound pulsemixer"; }
{ command = "easyeffects"; }
# Daemons and tray apps
@ -1535,7 +1535,7 @@ in
# Scratchpads
"Ctrl+Shift+Escape" = ''[app_id="gotop"] scratchpad show, move position center, resize set 1216 888'';
"${primeMod}+Shift+m" = ''[app_id="music"] scratchpad show, move position center, resize set 1006 657'';
"${primeMod}+Shift+v" = ''[app_id="audio"] scratchpad show, move position center, resize set 1000 800'';
"${primeMod}+Shift+v" = ''[app_id="sound"] scratchpad show, move position center, resize set 1000 800'';
"${primeMod}+Shift+Backslash" = ''[app_id="com.github.wwmm.easyeffects"] scratchpad show, move position center, resize set 1000 800'';
};
window = {
@ -1549,7 +1549,7 @@ in
command = ''mark scratchpad''; }
{ criteria = { app_id = "music"; };
command = ''mark scratchpad''; }
{ criteria = { app_id = "audio"; };
{ criteria = { app_id = "sound"; };
command = ''mark scratchpad''; }
{ criteria = { app_id = "com.github.wwmm.easyeffects"; };
command = ''mark scratchpad, opacity 0.9''; }
@ -1574,13 +1574,12 @@ in
# Browsers
"${w1}" = [{ app_id = "JimBrowser"; }];
"${w1a}" = [{ app_id = "SchoolBrowser"; }];
"${w7}" = [{ app_id = "MiscBrowser"; }];
# Communication
"${w3a}" = [{ class = "zoom"; }];
"${w8}" = [{ app_id = "vesktop"; }];
"${w9}" = [{ class = "Element"; }];
"${w7a}" = [{ app_id = "thunderbird"; }];
"${w7}" = [{ app_id = "MiscBrowser"; } { app_id = "vesktop"; }];
"${w8}" = [{ class = "Element"; }];
"${w9}" = [{ app_id = "thunderbird"; }];
# Else
"${w2}" = [{ class = "SDL Application"; } { class = "heroic"; }];
@ -2410,7 +2409,7 @@ in
};
rifle = [
# Text editing
{ condition = ''ext xml|json|jsonc|m3u|m3u8|csv|tex|py|pl|rb|js|sh|php|nix''; command = ''vim -- "$@"''; }
{ condition = ''ext xml|json|jsonc|m3u|m3u8|csv|tex|py|pl|rb|js|sh|php|md|nix''; command = ''vim -- "$@"''; }
# Media
{ condition = ''mime ^image, has imv, X, flag f''; command = ''imv -- "$@"''; }