-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsession
More file actions
executable file
·36 lines (28 loc) · 766 Bytes
/
Copy pathsession
File metadata and controls
executable file
·36 lines (28 loc) · 766 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/bash
# xmonad session script
# This file is executed during xmonad startup by /usr/bin/xmonad-start script
# as packaged by Fedora (similar to how ~/.xprofile used to work).
# debug mode
if [[ $1 = "-d" ]]; then
DEBUG=echo
shift
else
unset DEBUG
fi
# set keyboard layout
$DEBUG setxkbmap us -variant cz_sk_de
# force reload of custom X configuration
$DEBUG xrdb -merge ~/.Xresources
# make ctr-atl-backspace work again
# $DEBUG setxkbmap -option terminate:ctrl_alt_bksp
# remap some keys
# $DEBUG xmodmap ~/.xmodmaprc
# run screensaver
$DEBUG xscreensaver -no-splash &
# configure monitor via xrandr
if [[ -f xrandr.sh ]]; then
source xrandr.sh
fi
# set wallpaper
wallpaper=~/data/wallpapers/wallpaper.jpg
$DEBUG feh --bg-scale "${wallpaper}"