- to change your window manager to i3:
Code: Select all
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -t string -sa xfsettingsd
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client1_Command -t string -sa i3
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client2_Command -t string -sa xfce4-panel
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client3_Command -t string -s thunar -t string -s --daemon
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client4_Command -t string -sa ""
Code: Select all
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client0_Command -t string -s xfwm4 -t string -s --replace
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client1_Command -t string -sa xfsettingsd
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client2_Command -t string -sa xfce4-panel
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client3_Command -t string -s thunar -t string -s --daemon
xfconf-query -c xfce4-session -p /sessions/Failsafe/Client4_Command -t string -sa "xfdesktop"
3. Log out and go back.
Tips:
1. Remember to disable XDG autostart .desktop files in your i3 config by replacing:
Code: Select all
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
Code: Select all
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
# exec --no-startup-id dex --autostart --environment i3
Code: Select all
bar {
status_command i3status
}
Code: Select all
#bar {
# status_command i3status
#}
Code: Select all
for_window [all] title_window_icon padding 1px
4. To close windows by pressing the middle mouse button(scroll wheel) on i3 title bars, add it to your i3 config:
Code: Select all
bindsym --release --border button2 kill
Raw CSS example (default i3 theme):
Code: Select all
.workspace label { padding-left: 3px; padding-right: 2px; }
.workspace { font: monospace 14; min-width: 14px; margin-right: -1px; border: 1px solid #333333; background-color: #222222; color: #888888; border-radius: 0; }
.workspace.visible { background-color: #5f676a; color: white; }
.workspace.focused { border: 1px solid #4C7899; background-color: #285577; color: white; }
.workspace.urgent { background-color: #900000; color: white; }
.binding-mode { font: monospace 14; background-color: #900000; color: white; }