Updated xsession.
This commit is contained in:
parent
35fbbdfb2d
commit
416c427539
|
@ -8,17 +8,15 @@ fn load_configs{
|
|||
fn setup_daemons{
|
||||
if {~ $HOSTNAME speculatores}
|
||||
{
|
||||
backend=xrender
|
||||
}
|
||||
{
|
||||
backend=glx
|
||||
# Start the compositor.
|
||||
picom -cCzfGD3 --shadow-exclude bounding_shaped --vsync --no-use-damage --backend $backend&
|
||||
}
|
||||
|
||||
# Start the compositor.
|
||||
picom -cCzfGD3 -i.85 --shadow-exclude bounding_shaped --vsync --no-use-damage --backend $backend&
|
||||
|
||||
# Manage clicks on the root window.
|
||||
# xclickroot -1 xmenu &
|
||||
# xclickroot -1 ~/.config/fxde/fxde-core/config/menu &
|
||||
|
||||
# Manage hotkeys.
|
||||
sxhkd -c $FXDE_DIR/fxde-core/config/sxhkdrc &
|
||||
|
@ -33,29 +31,42 @@ fn start_ui{
|
|||
# Set cursor.
|
||||
xsetroot -xcf $FXDE_DIR/fxde-assets/cursors/$CURSOR/cursors/left_ptr 12 &
|
||||
# Set wallpaper.
|
||||
xwallpaper --no-randr --stretch $FXDE_DIR/fxde-assets/wallpaper/$PAPE
|
||||
xwallpaper --no-randr --tile $FXDE_DIR/fxde-assets/wallpaper/$PAPE
|
||||
# Start the status bar. Doesn't work in some WMs. EWMH maybe..?
|
||||
# $FXDE_DIR/fxde-core/scripts/bar.es|lemonbar -b -F '#000000' -g265x16+0+0 -B '#00000000' -f 'xft:family=Iosevka:style=Mono:size=9:' |sh - &
|
||||
# Start the task bar in environments where the status bar doesn't work.
|
||||
aepanel &
|
||||
#$FXDE_DIR/fxde-core/scripts/bar.es|lemonbar -b -F '#FFFFFF' -g265x16+0+0 -B '#00000000' -f 'xft:family=Iosevka:style=Mono:size=11:' |sh - &
|
||||
# Start the system clock.
|
||||
respawn xclock &
|
||||
|
||||
# Start the load monitor.
|
||||
respawn xload &
|
||||
|
||||
# Spawn a tray.
|
||||
stalonetray --window-type desktop --icon-gravity N -v -t --grow-gravity S -i 24 --geometry 1x1+0-17 &
|
||||
respawn stalonetray --window-type desktop --icon-gravity N -v -t --grow-gravity S -i 24 --geometry 1x1+0-17 &
|
||||
}
|
||||
|
||||
fn cleanup{
|
||||
for(i=respawn xclock xload stalonetray){pkill $i}
|
||||
}
|
||||
|
||||
################################################################################
|
||||
## The actual config is below this. ##
|
||||
################################################################################
|
||||
|
||||
# Where to look for assets.
|
||||
FXDE_DIR=~/.config/fxde/
|
||||
FVWM_DIR=~/.config/fxde/
|
||||
|
||||
# Paper to use.
|
||||
PAPE=lain-ascii.jpg
|
||||
PAPE=solardarktile_0.png
|
||||
|
||||
# What cursor?
|
||||
CURSOR=Lambda
|
||||
|
||||
# What WM?
|
||||
wm=aewm-wrap
|
||||
wm=emwm
|
||||
|
||||
for (phase=load_configs setup_daemons start_ui){$phase}
|
||||
exec $wm
|
||||
$wm
|
||||
|
||||
cleanup
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue