From 1e18e7ea458200b1ef18b31d3a70958d7051a111 Mon Sep 17 00:00:00 2001 From: LordMZTE Date: Wed, 26 Apr 2023 14:16:40 +0200 Subject: [PATCH] confgen cursor size --- .Xresources.cgt | 4 ++-- .config/gtk-3.0/settings.ini.cgt | 2 +- .config/gtk-4.0/settings.ini.cgt | 2 +- .config/river/init.cgt | 2 +- cg_opts.lua | 7 +++++-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.Xresources.cgt b/.Xresources.cgt index e6ee938..29ff9c2 100644 --- a/.Xresources.cgt +++ b/.Xresources.cgt @@ -1,2 +1,2 @@ -Xcursor.theme: <% opt.cursor_theme %> -Xcursor.size: 32 +Xcursor.theme: <% opt.cursor.theme %> +Xcursor.size: <% opt.cursor.size %> diff --git a/.config/gtk-3.0/settings.ini.cgt b/.config/gtk-3.0/settings.ini.cgt index 77fb7c8..7bce84f 100644 --- a/.config/gtk-3.0/settings.ini.cgt +++ b/.config/gtk-3.0/settings.ini.cgt @@ -2,7 +2,7 @@ gtk-theme-name=Dracula gtk-icon-theme-name=<% opt.icon_theme %> gtk-font-name=<% opt.font %> 11 -gtk-cursor-theme-name=<% opt.cursor_theme %> +gtk-cursor-theme-name=<% opt.cursor.theme %> gtk-cursor-theme-size=0 gtk-toolbar-style=GTK_TOOLBAR_BOTH gtk-toolbar-icon-size=GTK_ICON_SIZE_LARGE_TOOLBAR diff --git a/.config/gtk-4.0/settings.ini.cgt b/.config/gtk-4.0/settings.ini.cgt index eb2130b..a6825d5 100644 --- a/.config/gtk-4.0/settings.ini.cgt +++ b/.config/gtk-4.0/settings.ini.cgt @@ -2,7 +2,7 @@ gtk-theme-name=Dracula gtk-icon-theme-name=<% opt.icon_theme %> gtk-font-name=<% opt.font %> 11 -gtk-cursor-theme-name=<% opt.cursor_theme %> +gtk-cursor-theme-name=<% opt.cursor.theme %> gtk-cursor-theme-size=0 gtk-enable-event-sounds=1 gtk-enable-input-feedback-sounds=1 diff --git a/.config/river/init.cgt b/.config/river/init.cgt index 8af4dc0..4ed28ab 100755 --- a/.config/river/init.cgt +++ b/.config/river/init.cgt @@ -161,7 +161,7 @@ riverctl csd-filter-add app-id "gedit" riverctl map normal Alt Space spawn 'wofi --show run' # cursor theme -riverctl xcursor-theme <% opt.cursor_theme %> +riverctl xcursor-theme <% opt.cursor.theme %> # power dialog riverctl map normal Super+Shift P spawn gpower2 diff --git a/cg_opts.lua b/cg_opts.lua index 588a305..5f89463 100644 --- a/cg_opts.lua +++ b/cg_opts.lua @@ -10,7 +10,11 @@ opts.term = { icon_name = "org.wezfurlong.wezterm", } -opts.cursor_theme = "LyraQ-cursors" +opts.cursor = { + theme = "LyraQ-cursors", + size = 24, +} + opts.icon_theme = "candy-icons" opts.commands = { @@ -19,7 +23,6 @@ opts.commands = { calculator = "qalculate-gtk", file_manager = "thunar", file_manager_daemon = "thunar --daemon", - -- zenity-compatible dialoger zenity = "yad", }