From e4254f43400c9813870d7e7bc8cd56bae7dbe089 Mon Sep 17 00:00:00 2001 From: gryf Date: Sat, 8 Oct 2022 11:59:22 +0200 Subject: [PATCH] Change config location for urxvt-theme-switch --- x11-misc/urxvt-theme-switch/Manifest | 1 + .../files/urxvt-theme-switch-config-location.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 x11-misc/urxvt-theme-switch/files/urxvt-theme-switch-config-location.patch diff --git a/x11-misc/urxvt-theme-switch/Manifest b/x11-misc/urxvt-theme-switch/Manifest index d30c8f3..dcabe5f 100644 --- a/x11-misc/urxvt-theme-switch/Manifest +++ b/x11-misc/urxvt-theme-switch/Manifest @@ -1 +1,2 @@ +AUX urxvt-theme-switch-config-location.patch 663 BLAKE2B f128134ae9629a3166ed78dbc812d267c34c714e556728964cc2afd3462af5a3bbad1e1295c22541a5c67e91e75e6f6435e368ff084183c4996f6d67c6c2246c SHA512 4e4b75af20ba1489cd33b0cfb1a2d9fe143b2782c2e0a2143af5d15c1d88ecda993208f9385bd9c545b522c516d70890ef83dc3a4bc95a04f58f0678d4769e2f EBUILD urxvt-theme-switch-9999.ebuild 509 BLAKE2B 7566cab134a42bff1fad1c0a127982f1c182b01ef69e455d8969667ac7a7040a45d5eecdb808dfb7563deea15ae0d155e6fd0a61a7c10c773fa1eaa9ac7bf257 SHA512 1c80ac3f06aac2cb0b54cb6e32dc57c4b552431935775fdb2ad735479d010b8ab65c4f6269f90d0b0a667e11e30499ea31aeafad4f6d28744d1de5ecaa32f36a diff --git a/x11-misc/urxvt-theme-switch/files/urxvt-theme-switch-config-location.patch b/x11-misc/urxvt-theme-switch/files/urxvt-theme-switch-config-location.patch new file mode 100644 index 0000000..68da1be --- /dev/null +++ b/x11-misc/urxvt-theme-switch/files/urxvt-theme-switch-config-location.patch @@ -0,0 +1,12 @@ +diff -ur urxvt-theme-switch_orig/color-themes urxvt-theme-switch/color-themes +--- urxvt-theme-switch_orig/color-themes 2022-10-06 20:03:34.863989585 +0200 ++++ urxvt-theme-switch/color-themes 2022-10-08 11:52:21.193377761 +0200 +@@ -38,7 +38,7 @@ + $self->{theme_dir} = $path; + $self->{auto_save_state} = $self->x_resource('color-themes.autosave') || 0; + $self->{settingsfile} = +- glob( $self->x_resource('color-themes.state-file') || "~/.urxvt-theme" ); ++ glob( $self->x_resource('color-themes.state-file') || "~/.config/urxvt-theme" ); + $self->{preprocessor} = + glob( $self->x_resource('color-themes.preprocessor') || "" ); +