Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions iso.nix
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,22 @@ HISTEOF
$XQ -c xfwm4 -p /general/wrap_workspaces -n -t bool -s false 2>>$MYLOG \
&& echo "xfwm4 wrap_workspaces=false" >> $MYLOG

# Super+Arrow tile shortcuts: xfwm4's defaults only bind the
# numeric-keypad variants (<Super>KP_Left etc.), so on keyboards
# without a numpad Super+Arrow does nothing. Add the regular-arrow
# bindings via the xfce4-keyboard-shortcuts channel so kids get
# the Windows-style tiling shortcuts they expect.
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super>Left' -n -t string -s 'tile_left_key' 2>>$MYLOG
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super>Right' -n -t string -s 'tile_right_key' 2>>$MYLOG
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super>Up' -n -t string -s 'tile_up_key' 2>>$MYLOG
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super>Down' -n -t string -s 'tile_down_key' 2>>$MYLOG
# Corner tiles via Alt/Ctrl modifiers (mirrors the keypad defaults).
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super><Alt>Left' -n -t string -s 'tile_up_left_key' 2>>$MYLOG
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super><Alt>Right' -n -t string -s 'tile_up_right_key' 2>>$MYLOG
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super><Ctrl>Left' -n -t string -s 'tile_down_left_key' 2>>$MYLOG
$XQ -c xfce4-keyboard-shortcuts -p '/xfwm4/custom/<Super><Ctrl>Right' -n -t string -s 'tile_down_right_key' 2>>$MYLOG
echo "xfwm4 Super+Arrow tile keys bound" >> $MYLOG

# Fetch Bing's daily wallpaper and set it as the desktop background.
# Bing rotates the image at 00:00 UTC so every CodeClub machine booted
# on the same day ends up with the same picture. Runs in a background
Expand Down