diff options
Diffstat (limited to 'src/config/legacy/DefaultConfig.hpp')
| -rw-r--r-- | src/config/legacy/DefaultConfig.hpp | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/config/legacy/DefaultConfig.hpp b/src/config/legacy/DefaultConfig.hpp index dea4ec51..284a7b48 100644 --- a/src/config/legacy/DefaultConfig.hpp +++ b/src/config/legacy/DefaultConfig.hpp @@ -2,17 +2,22 @@ #include <string_view> -inline constexpr std::string_view AUTOGENERATED_PREFIX = R"#( -# ####################################################################################### -# AUTOGENERATED HYPRLAND CONFIG. -# EDIT THIS CONFIG ACCORDING TO THE WIKI INSTRUCTIONS. -# ####################################################################################### +inline constexpr std::string_view EXAMPLE_CONFIG = R"#( -autogenerated = 1 # remove this line to remove the warning +# This config is a STUB! This should never be generated. +# Use the default lua config from https://github.com/hyprwm/Hyprland/blob/main/example/hyprland.lua -)#"; -inline constexpr char EXAMPLE_CONFIG_BYTES[] = { -#embed "../../../example/hyprland.conf" -}; +autogenerated = 1 + +$mainMod = SUPER +$terminal = kitty +$fileManager = dolphin +$menu = hyprlauncher -inline constexpr std::string_view EXAMPLE_CONFIG = {EXAMPLE_CONFIG_BYTES, sizeof(EXAMPLE_CONFIG_BYTES)}; +bind = $mainMod, Q, exec, $terminal +bind = $mainMod, C, killactive, +bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit +bind = $mainMod, E, exec, $fileManager +bind = $mainMod, V, togglefloating, +bind = $mainMod, R, exec, $menu +)#"; |
