# HyprCosmic configuration, in Hyprland's idiom. # # Compiled into COSMIC's config tree by `cosmic-conf apply`. The file wins: # every key here overwrites whatever COSMIC's own settings UI last stored, so # edit this rather than the GUI for anything it covers. # --- Theme -------------------------------------------------------------- # # `cosmic-conf import-theme /hypr.theme --out ~/.config/hyprcosmic/theme.conf` # turns a HyDE theme into conf keys. Sourcing it rather than pasting it in # keeps the two apart: re-importing overwrites theme.conf and cannot touch the # keybindings below, and anything you want to override can simply be repeated # later in this file, since the last assignment to a key wins. # # Commented out because a `source` pointing at a file that does not exist is a # hard error, and no theme is imported yet. Uncomment it once you have run the # command above -- import-theme will remind you. # # source = ~/.config/hyprcosmic/theme.conf $mainMod = SUPER # --- Launcher ----------------------------------------------------------- # # The hyprcosmic profile does not start cosmic-launcher or cosmic-app-library, # which leaves COSMIC's stock Super, Super+/ and Super+A bindings pointing at # nothing. These take them over with rofi. Written to the Shortcuts `custom` # key, which cosmic-comp merges over `defaults`, so the system file is not # touched and reverting is a matter of deleting these lines and re-applying. # Bare Super, exactly where stock COSMIC puts its launcher. bind = $mainMod, , exec, rofi -show drun bind = $mainMod, slash, exec, rofi -show drun bind = $mainMod, A, exec, rofi -show drun # Was System(WorkspaceOverview); cosmic-workspaces is not running either. # rofi's window mode is the nearest thing that still shows every open window. bind = $mainMod, W, exec, rofi -show window # Terminal, in the Hyprland idiom. Super+T also still works — cosmic-comp # handles System(Terminal) itself, so that binding never went dead. bind = $mainMod, Return, exec, cosmic-term