diff options
Diffstat (limited to 'Xorg')
| -rw-r--r-- | Xorg/xbindkeysrc | 35 | ||||
| -rw-r--r-- | Xorg/xinitrc | 26 |
2 files changed, 49 insertions, 12 deletions
diff --git a/Xorg/xbindkeysrc b/Xorg/xbindkeysrc index e88a89e..6a4c8d8 100644 --- a/Xorg/xbindkeysrc +++ b/Xorg/xbindkeysrc @@ -65,6 +65,15 @@ #"rxvt" # Control + b:2 + Release + +# My shortcuts +# ============ + +# Change brightness or volume with (Super + up|down). This might be better to +# configure from the DE/WM. It's more complex and the command varies depending +# on the machine. +# See: https://askubuntu.com/a/149264/951105 + ## Increase volume #"pactl set-sink-volume @DEFAULT_SINK@ +1000" # XF86AudioRaiseVolume @@ -73,7 +82,31 @@ #"pactl set-sink-volume @DEFAULT_SINK@ -1000" # XF86AudioLowerVolume -# mpd +# Terminal + +# st with tmux (super + return) +"st -e tmux" + Mod4 + Return + +"st" + Shift+Mod4 + Return + +# Other applications (super + key) + +"firefox" + Mod4 + w + +"thunderbird" + Mod4 + m + +"goldendict" + Mod4 + g + +"zeal" + Mod4 + h + +# mpd control with mpc (just use strawberry(1)) + #"mpc toggle" # XF86AudioPlay #"mpc stop" diff --git a/Xorg/xinitrc b/Xorg/xinitrc index a9dbcb0..fe95f3c 100644 --- a/Xorg/xinitrc +++ b/Xorg/xinitrc @@ -1,8 +1,9 @@ #!/bin/sh -# Copied from /etc/X11/xinit/xinitrc +# This first part is copied from /etc/X11/xinit/xinitrc # # Start X with `$ xstart` +# See startx(1) and xinit(1) userresources=$HOME/.Xresources @@ -37,15 +38,6 @@ if [ -d /etc/X11/xinit/xinitrc.d ] ; then unset f fi -# start some nice programs - -#twm & -#xclock -geometry 50x50-1+1 & -#xterm -geometry 80x50+494+51 & -#xterm -geometry 80x20+494-0 & -#exec xterm -geometry 80x66+0+0 -name login - - # Setup and start Desktop Environment # ====================================================================== @@ -60,6 +52,18 @@ xbindkeys # map CAPSLOCK to ESC setxkbmap -option caps:escape -# KDE Plasma (DE) + +# Start twm +#twm & +#xclock -geometry 50x50-1+1 & +#xterm -geometry 80x50+494+51 & +#xterm -geometry 80x20+494-0 & +#exec xterm -geometry 80x66+0+0 -name login + +# Start Plasma +# Start KDE Plasma (DE) export DESKTOP_SESSION=plasma exec startplasma-x11 + +# Start xfce4 +#startxfce4 |
