1
0
mirror of https://github.com/XNM1/linux-nixos-hyprland-config-dotfiles.git synced 2025-09-15 09:45:58 +03:00
Files
linux-nixos-hyprland-config…/home/.config/fish/functions/check_night_mode.fish
xnm d27d5998aa Workflow update
Changelog:
- added `hyprls`, `file`, `delta`, `process-compose`, `yazi` packages with setup catppuccin macchiato theme
- changed `gammastep` to `wlsunset`
- refactored and disabled location
- refactored `dbus` and set to `broker` implementation
- changed `blueman` bluetooth manager to `overskride`
- set catppuccin macchiato theme for `bat`
- added useful key bindings for fish
- added custom fish scripts with `fzf` utilization
- changed protocol from 'https' to 'ssh' in `gh` config
- added keybindings, updated config, added LSPs for `helix`
- remap some keys in `Hyprland`
- added keybindings for `Zellij`
2024-10-10 21:15:51 +03:00

10 lines
356 B
Fish

function check_night_mode
set target_process wlsunset
if pgrep $target_process >/dev/null
echo "{ \"text\":\"󱩌\", \"tooltip\": \"night-mode <span color='#a6da95'>on</span>\", \"class\": \"on\" }"
else
echo "{ \"text\":\"󱩍\", \"tooltip\": \"night-mode <span color='#ee99a0'>off</span>\", \"class\": \"off\" }"
end
end