3.1 KiB
3.1 KiB
Custom Hyprland Controls
Note: None of these are meant to be invoked directly in the terminal and are primarily used as helpers for other scripts. However, they are documented here in case you wish to use them in your own scripts.
- chscheme
- Description:
- Opens an
fzfmenu containing all of the color schemes available in thebase16schemespackage from Nixpkgs. - The
fzfpreview shows the colors so you can see them in your terminal before choosing one.
- Opens an
- Usage:
chscheme- Does not take arguments.
- Defined in:
modules/home/scripts/wm-controls/chscheme.nix
- Description:
- chpaper
- Description:
- Opens an
fzfmenu containing all wallpapers in$FLAKEPATH/assets/wallpapers. - The
fzfpreview shows the image file the user is hovering over.
- Opens an
- Usage:
chpaper- Does not take arguments.
- Defined in:
modules/home/scripts/wm-controls/chpaper.nix
- Description:
- keyring
- Description:
- Opens an
fzfmenu containing all directories/files in~/.password-store. - Selecting an entry uses
pass -cto copy it to the clipboard. - Temporarily pauses the clipboard history daemon to ensure the password is not added to clipboard history.
- Automatically clears the password from the clipboard after 10 seconds unless overwritten.
- Opens an
- Usage:
keyring- Does not take arguments.
- Defined in:
modules/home/scripts/wm-controls/keyring.nix
- Description:
- mkscreenshots
- Description:
- Switches to workspace 4 (if empty) and takes screenshots showcasing the desktop environment.
- Saves the screenshots to
$FLAKEPATH/assets/screens, overwriting the old ones. - Updates
README.mdto include the commit hash of the current screenshots.
- Usage:
mkscreenshots- Does not take arguments. Only runs if workspace 4 has no windows.
- Defined in:
modules/home/scripts/wm-controls/mkscreenshots.nix
- Description:
- moveonscreen
- Description:
- Uses
hyprctlto move the currently active floating window relative to the cursor. - Prevents the window from moving outside the screen bounds.
- Often used with
toolbeltfor smooth window movements.
- Uses
- Usage:
moveonscreen- Moves the window to the cursor's position, anchored at the top-left corner.moveonscreen --center- Moves the window to the cursor's position, anchored at the center of the window.
- Defined in:
modules/home/scripts/wm-controls/moveonscreen.nix
- Description:
- s_check
- Description:
- Tests whether
$SOUNDS_ENABLEDis set to0or1. - Does not return anything except the status code from the test.
- Note: This does not work as a Zsh alias for unknown reasons.
- Tests whether
- Usage:
s_check- Does not take arguments.
- Defined in:
modules/home/scripts/wm-controls/switchmon.nix
- Description:
- switchmon
- Description:
- Uses
hyprctlto switch focus between two monitors. - Only supports setups with two monitors.
- Uses
- Usage:
switchmon- Does not take arguments.
- Defined in:
modules/home/scripts/wm-controls/switchmon.nix
- Description: