From 95d98735d31bcb37b6cb600e292d44a8084c5bfc Mon Sep 17 00:00:00 2001 From: Ilya Bogdanov Date: Sun, 5 May 2024 19:32:38 +0300 Subject: [PATCH 1/2] feat: `userprefs.conf` support for kitty --- Configs/.config/kitty/kitty.conf | 4 ++++ Configs/.config/kitty/userprefs.conf | 1 + Scripts/restore_cfg.lst | 3 ++- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 Configs/.config/kitty/userprefs.conf diff --git a/Configs/.config/kitty/kitty.conf b/Configs/.config/kitty/kitty.conf index 743483eb0..99fe0072f 100644 --- a/Configs/.config/kitty/kitty.conf +++ b/Configs/.config/kitty/kitty.conf @@ -9,3 +9,7 @@ include theme.conf #background_opacity 0.60 #hide_window_decorations yes #confirm_os_window_close 0 + +include userprefs.conf # initially empty, to be configured by user and remains static + +# Note: as userprefs.conf is icluded at the end, settings configured in this file will override the defaults diff --git a/Configs/.config/kitty/userprefs.conf b/Configs/.config/kitty/userprefs.conf new file mode 100644 index 000000000..aec2a6287 --- /dev/null +++ b/Configs/.config/kitty/userprefs.conf @@ -0,0 +1 @@ +# Set your personal kitty configuration here diff --git a/Scripts/restore_cfg.lst b/Scripts/restore_cfg.lst index a134b37a6..5024d97b2 100644 --- a/Scripts/restore_cfg.lst +++ b/Scripts/restore_cfg.lst @@ -11,7 +11,8 @@ Y|Y|${HOME}/.config/hypr|animations.conf hyprland.conf windowrules.conf themes|h N|Y|${HOME}/.config/hypr|keybindings.conf monitors.conf userprefs.conf|hyprland N|Y|${HOME}/.config/hypr|nvidia.conf|hyprland nvidia-utils Y|Y|${HOME}/.local/share|bin|hyprland -Y|Y|${HOME}/.config|kitty|kitty +Y|Y|${HOME}/.config/kitty|kitty.conf theme.conf|kitty +N|Y|${HOME}/.config/kitty|userprefs.conf|kitty Y|Y|${HOME}/.config|Kvantum|kvantum Y|Y|${HOME}/.config|lsd|lsd Y|Y|${HOME}/.config|MangoHud|mangohud From 931b7cc34e8541b10396c2435482c95cf5301360 Mon Sep 17 00:00:00 2001 From: Ilya Bogdanov Date: Sun, 5 May 2024 19:41:28 +0300 Subject: [PATCH 2/2] Fix typo --- Configs/.config/kitty/kitty.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configs/.config/kitty/kitty.conf b/Configs/.config/kitty/kitty.conf index 99fe0072f..66d284d90 100644 --- a/Configs/.config/kitty/kitty.conf +++ b/Configs/.config/kitty/kitty.conf @@ -12,4 +12,4 @@ include theme.conf include userprefs.conf # initially empty, to be configured by user and remains static -# Note: as userprefs.conf is icluded at the end, settings configured in this file will override the defaults +# Note: as userprefs.conf is included at the end, settings configured in this file will override the defaults