diff --git a/.config/i3/config b/.config/i3/config index b5ea3df..a7a326e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -159,7 +159,7 @@ mode "resize" { bindsym $mod+r mode "default" } -bindsym $mod+r mode "resize" +bindsym $mod+shift+r mode "resize" # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) @@ -177,7 +177,7 @@ bar { # reload the configuration file bindsym $mod+Shift+y reload # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) -bindsym $mod+Shift+r restart +# bindsym $mod+Shift+r restart # set a pretty wallpaper exec_always --no-startup-id feh --bg-scale ~/pictures/wall.jpg diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc index 7dfd384..f34cf91 100644 --- a/.config/sxhkd/sxhkdrc +++ b/.config/sxhkd/sxhkdrc @@ -8,6 +8,10 @@ super + Return super + space exec rofi -show drun -theme /themes/dmenu +# open more extensive run menu +super + r + exec rofi -modi combi,ssh -show combi -combi-modi "window,clipboard:greenclip print,run" + # System functionality # Enable lock screen (TODO does not stop music, etc yet diff --git a/.xinitrc b/.xinitrc index b8073dd..969ef1d 100644 --- a/.xinitrc +++ b/.xinitrc @@ -8,28 +8,28 @@ sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then - xrdb -merge $sysresources + xrdb -merge $sysresources fi if [ -f $sysmodmap ]; then - xmodmap $sysmodmap + xmodmap $sysmodmap fi if [ -f "$userresources" ]; then - xrdb -merge "$userresources" + xrdb -merge "$userresources" fi if [ -f "$usermodmap" ]; then - xmodmap "$usermodmap" + xmodmap "$usermodmap" fi # start some nice programs -if [ -d /etc/X11/xinit/xinitrc.d ] ; then - for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do - [ -x "$f" ] && . "$f" - done - unset f +if [ -d /etc/X11/xinit/xinitrc.d ]; then + for f in /etc/X11/xinit/xinitrc.d/?*.sh; do + [ -x "$f" ] && . "$f" + done + unset f fi # Remaps Capslock key to control. @@ -60,9 +60,11 @@ type flashfocus >/dev/null 2>&1 && flashfocus -l never & # if sxhkd - the key-binding daemon is installed, start it up type sxhkd >/dev/null 2>&1 && sxhkd & +# if greenclip - a clipboard manager, integrated with rofi, is installed, start it up +type greenclip >/dev/null 2>&1 && greenclip daemon & # additional config options for Touchpad devices ONLY -if [ $(dmesg | grep "Touchpad" | wc -l) > 0 ]; then +if [ $(dmesg | grep -c "Touchpad") -gt 0 ]; then # enable touch tapping for XPS13 touchpad - for different devices get the touchpad name with xinput list-prop xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "libinput Tapping Enabled" 1 fi