aboutsummaryrefslogtreecommitdiff
path: root/fvwm
diff options
context:
space:
mode:
authorDaniel <[email protected]>2024-07-24 18:04:23 -0400
committerDaniel <[email protected]>2024-07-24 18:04:23 -0400
commit3c46297433a699570a1ed25a38d28e5a05030031 (patch)
tree851fa1a861aaad5cabf9027ab8ea8704918ac77b /fvwm
parent75ccc4e3865f11718beb0478e53fccd7c0fc2db0 (diff)
ef-night theme and themed wallpapers
Diffstat (limited to 'fvwm')
-rw-r--r--fvwm/.fvwm/config45
-rw-r--r--fvwm/.fvwm/themes/ef-night.sys16
2 files changed, 30 insertions, 31 deletions
diff --git a/fvwm/.fvwm/config b/fvwm/.fvwm/config
index 938d002..f2b5728 100644
--- a/fvwm/.fvwm/config
+++ b/fvwm/.fvwm/config
@@ -190,15 +190,15 @@ AddToFunc TileBottomRight
+ I ThisWindow (!Shaded, !Iconic) Maximize 50 50
+ I ThisWindow (Maximized, !Shaded, !Iconic) Move -0 -0
-DestroyFunc ChangeTheme
-AddToFunc ChangeTheme
+DestroyFunc ChangeThemeColorset
+AddToFunc ChangeThemeColorset
+ I Read $[themedir]/$0.sys
-+ I Exec exec /bin/sh -c "xrdb -load ~/Xresources.$1"
++ I Exec exec xrdb -load ~/Xresources.$1
# To change the theme, you can call the function like this:
-# ChangeTheme theme_name Xresources_file_name
+# ChangeThemeColorset theme_name Xresources_file_name
# For example:
-# ChangeTheme "dark_theme" "dark_theme.Xresources"
+# ChangeThemeColorset "dark_theme" "dark_theme.Xresources"
#############
@@ -320,24 +320,6 @@ Style st FPGrabFocus
Read $[themedir]/modus-vivendi.sys
-#### Modus Vivendi
-# Colorset 0 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
-# Colorset 1 fg #000000, bg #2d2d2d, hi, sh, Plain, NoShape
-# Colorset 2 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
-# Colorset 3 fg #000000, bg #606060, hi #606060, sh #606060, Plain, NoShape
-# Colorset 4 fg #000000, bg #959595, hi #959595, sh #959595, Plain, NoShape
-# Colorset 5 fg #000000, bg #ffffff, hi, sh, Plain, NoShape
-# Colorset 6 fg #ffffff, bg #45605e, hi, sh, Plain, NoShape
-# Colorset 7 fg red, bg #ffffff, hi, sh, Plain, NoShape
-# Colorset 8 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
-# Colorset 10 fg #ffffff, bg #000000, hi, sh, Plain, NoShape
-# Colorset 11 fg #ffffff, bg #535353, hi #ffffff, sh #ffffff, Plain, NoShape
-# Colorset 12 fg #ffffff, bg #45605e, hi, sh, Plain, NoShape
-# Colorset 13 fg #ffffff, bg #989898, hi, sh, Plain, NoShape
-# Colorset 14 fg #ffffff, bg #2f3849, hi #aaaaaa, sh #999999, Plain, NoShape
-
-
-
#######
# 4: Menus
###########
@@ -359,7 +341,7 @@ AddToMenu MenuFvwmRoot "Fvwm Menu" Title
+ "" Nop
+ "&Settings%Yagura1 (hot spring tower)-24x24.png%" Popup MenuSettings
+ "&Wallpapers%Folder2-24x24.png%" Popup MenuWallpaper
-+ "&Themes%Gunsen-24x24.png%" Popup MenuThemes
++ "Th&emes%Gunsen-24x24.png%" Popup MenuThemes
+ "" Nop
+ "Re&fresh%Futon (bed)-24x24.png%" Refresh
+ "&Restart%Futon (bed)-24x24.png%" Restart
@@ -372,28 +354,29 @@ AddToMenu MenuFvwmRoot "Fvwm Menu" Title
# lines as this is only to help make this menu portable.
DestroyMenu MenuPrograms
AddToMenu MenuPrograms "Programs" Title
-Test (x chromium) + "Chromium" Exec exec chromium
+Test (x emacs) + "Emacs" Exec exec emacsclient -c -a 'emacs'
Test (x firefox) + "Firefox" Exec exec firefox
Test (x firefox-bin) + "Firefox" Exec exec firefox-bin
Test (x librewolf) + "Librewolf" Exec exec librewolf
Test (x librewolf-bin) + "Librewolf" Exec exec librewolf-bin
Test (x google-chrome) + "Google-Chrome" Exec exec google-chrome
-Test (x emacs) + "Emacs" Exec exec emacsclient -c -a 'emacs'
Test (x gimp) + "Gimp" Exec exec gimp
Test (x vlc) + "VLC" Exec exec vlc
DestroyMenu MenuWallpaper
AddToMenu MenuWallpaper "Wallpaper" Title
+ "Choose wallpaper" Exec exec $HOME/.local/bin/scripts/wallpaper.sh
++ "Themed wallpaper" Exec exec $HOME/.local/bin/scripts/load-theme-wallpaper
+ "Repaint wallpaper" Exec exec $HOME/.cache/wallpaper
DestroyMenu MenuThemes
AddToMenu MenuThemes "Themes" Title
-+ "Vivendi" ChangeTheme 'modus-vivendi' 'vivendi'
-+ "Ef Autumn" ChangeTheme 'ef-autumn' 'autumn'
-+ "Operandi Tinted" ChangeTheme 'operandi-tinted' 'operandi-tinted'
-+ "Ef Elea Light" ChangeTheme 'ef-elea-light' 'elea-light'
-+ "" ChangeTheme 'vivendi' 'vivendi'
++ "Vivendi" ChangeThemeColorset 'modus-vivendi' 'vivendi'
++ "Operandi Tinted" ChangeThemeColorset 'operandi-tinted' 'operandi-tinted'
++ "Ef Autumn" ChangeThemeColorset 'ef-autumn' 'autumn'
++ "Ef Elea Light" ChangeThemeColorset 'ef-elea-light' 'elea-light'
++ "Ef Night" ChangeThemeColorset 'ef-night' 'night'
++ "" ChangeThemeColorset 'vivendi' 'vivendi' 'vivendi'
DestroyMenu MenuEmacsApps
AddToMenu MenuEmacsApps
diff --git a/fvwm/.fvwm/themes/ef-night.sys b/fvwm/.fvwm/themes/ef-night.sys
new file mode 100644
index 0000000..f94d1d0
--- /dev/null
+++ b/fvwm/.fvwm/themes/ef-night.sys
@@ -0,0 +1,16 @@
+Colorset 0 fg #afbcbf, bg #000e17, hi, sh, Plain, NoShape
+Colorset 1 fg #70819f, bg #242e39, hi, sh, Plain, NoShape
+Colorset 2 fg #afbcbf, bg #000e17, hi, sh, Plain, NoShape
+Colorset 3 fg #000e17, bg #11141f, hi #11141f, sh #11141f, Plain, NoShape
+Colorset 4 fg #000e17, bg #003a7f, hi #003a7f, sh #003a7f, Plain, NoShape
+Colorset 5 fg #afbcbf, bg #000e17, hi, sh, Plain, NoShape
+Colorset 6 fg #afbcbf, bg #003a7f, hi, sh, Plain, NoShape
+Colorset 7 fg #afbcbf, bg #afbcbf, hi, sh, Plain, NoShape
+Colorset 8 fg #000e17, bg #afbcbf, hi, sh, Plain, NoShape
+Colorset 10 fg #afbcbf, bg #000e17, hi, sh, Plain, NoShape
+Colorset 11 fg #afbcbf, bg #003a7f, hi #afbcbf, sh #afbcbf, Plain, NoShape
+Colorset 12 fg #afbcbf, bg #6f345a, hi, sh, Plain, NoShape
+Colorset 13 fg #afbcbf, bg #6f345a, hi, sh, Plain, NoShape
+Colorset 14 fg #afbcbf, bg #302a3a, hi #aaaaaa, sh #999999, Plain, NoShape
+# dock buttons
+Colorset 15 fg #afbcbf, bg #000e17, hi, sh, Plain, Noshape \ No newline at end of file