From 3c46297433a699570a1ed25a38d28e5a05030031 Mon Sep 17 00:00:00 2001 From: Daniel <89086143+BardofSprites@users.noreply.github.com> Date: Wed, 24 Jul 2024 18:04:23 -0400 Subject: ef-night theme and themed wallpapers --- fvwm/.fvwm/config | 45 +++++++++++++----------------------------- fvwm/.fvwm/themes/ef-night.sys | 16 +++++++++++++++ xorg/Xresources.night | 44 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 31 deletions(-) create mode 100644 fvwm/.fvwm/themes/ef-night.sys create mode 100644 xorg/Xresources.night 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 diff --git a/xorg/Xresources.night b/xorg/Xresources.night new file mode 100644 index 0000000..ab9abef --- /dev/null +++ b/xorg/Xresources.night @@ -0,0 +1,44 @@ +! Ef Night Xresources theme +*.foreground: #afbcbf +*.background: #000e17 +URxvt.background: [90]#000e17 +*.cursorColor: #afbcbf +! black +*.color0: #000e17 +*.color8: #1a202b +! red +*.color1: #ef656a +*.color9: #ef656a +! green +*.color2: #1fa526 +*.color10: #1fa526 +! yellow +*.color3: #cf8502 +*.color11: #cf8502 +! blue +*.color4: #379cf6 +*.color12: #379cf6 +! magenta +*.color5: #d570af +*.color13: #d570af +! cyan +*.color6: #4fb0cf +*.color14: #4fb0cf +! white +*.color7: #afbcbf +*.color15: #afbcbf + +st.font: Iosevka Comfy-14 + +dmenu.background: #000e17 +dmenu.foreground: #afbcbf +dmenu.selbackground: #003a7f +dmenu.selforeground: #afbcbf +dmenu.font: Iosevka Comfy-14 + +Nsxiv.window.background: #000e17 +Nsxiv.window.foreground: #afbcbf +Nsxiv.mark.foreground: #afbcbf +Nsxiv.bar.background: #003a7f +Nsxiv.bar.foreground: #afbcbf +Nsxiv.bar.font: IosevkaComfy-16 -- cgit v1.2.3