User Tools

Site Tools


sway:dark-mode

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
sway:dark-mode [2020/10/13 17:49] adminsway:dark-mode [2020/10/14 16:32] admin
Line 11: Line 11:
 satisfaction of knowing what's going on. satisfaction of knowing what's going on.
  
-In my own history through fvwm, fluxbox, i3wm and now sway I've never+In my own history through **fvwm****fluxbox****i3wm** and now **sway** I've never
 really wanted to bother with themes. I just made terminals and emacs really wanted to bother with themes. I just made terminals and emacs
 have a black background and other programs could do what ever they have a black background and other programs could do what ever they
Line 163: Line 163:
 Thanks to redditor r/progandy for this: Thanks to redditor r/progandy for this:
  
-''**qt5ct**(1)'' is the key.+''**qt5ct**(1)'' is the key - install it (Fedora) with: 
 + 
 +<code> 
 +sudo dnf install qt5ct 
 +</code>
  
 This needs to be in the session environment: This needs to be in the session environment:
Line 259: Line 263:
     dconf write /org/gnome/desktop/interface/gtk-theme "'$new_gtk_theme'"     dconf write /org/gnome/desktop/interface/gtk-theme "'$new_gtk_theme'"
     #gsettings set org.gnome.desktop.interface gtk-theme $new_gtk_theme     #gsettings set org.gnome.desktop.interface gtk-theme $new_gtk_theme
 +
 +    f=~/.config/qt5ct/qt5ct.conf
 +    [[ -w $f ]] &&
 +        sed -i "s/^style=.*/style=$new_gtk_theme/" $f
  
     [[ "$KITTY_WINDOW_ID" ]] &&     [[ "$KITTY_WINDOW_ID" ]] &&
sway/dark-mode.txt · Last modified: 2021/01/07 23:54 by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki