From 986b5df9984cfc0f21bb83771fb5aa119e1123b3 Mon Sep 17 00:00:00 2001
From: Yigit Sever
Date: Fri, 22 Mar 2019 11:40:42 +0300
Subject: Mobile autostarts and parity

---
 .config/i3/config##desktop.Linux.Lowe |  2 +-
 .config/i3/config##mobile.Linux.Luchs | 60 ++++++++++++++++++++++-------------
 2 files changed, 39 insertions(+), 23 deletions(-)

(limited to '.config/i3')

diff --git a/.config/i3/config##desktop.Linux.Lowe b/.config/i3/config##desktop.Linux.Lowe
index 9f1cffd..328b144 100644
--- a/.config/i3/config##desktop.Linux.Lowe
+++ b/.config/i3/config##desktop.Linux.Lowe
@@ -175,7 +175,7 @@ bindsym $mod+Shift+e mode " (L)ock (S)ignout (R)eboot (P)oweroff"
 
 bindsym $mod+r mode "resize"
 
-for_window [class=".*"] border pixel 4
+for_window [class=".*"] border pixel 3
 
 assign [class="^Thunderbird$"] 8
 
diff --git a/.config/i3/config##mobile.Linux.Luchs b/.config/i3/config##mobile.Linux.Luchs
index 8929365..9ea02cf 100644
--- a/.config/i3/config##mobile.Linux.Luchs
+++ b/.config/i3/config##mobile.Linux.Luchs
@@ -5,31 +5,39 @@
 set $mod Mod4
 set $alt Mod1
 
-#autostart
-exec --no-startup-id xsettingsd &
+# disable screensaver, beep and power saving
+exec --no-startup-id xset -dpms &
+exec --no-startup-id xset s off &
+exec --no-startup-id xset -b &
+
+# start the network manager, useful for vpns
+exec --no-startup-id nm-applet &
+
+# removable media
+exec --no-startup-id udiskie --automount --file-manager thunar --tray --notify &
+
+# set the wallpaper and other visuals
+exec --no-startup-id ~/.fehbg &
 exec --no-startup-id compton -b &
+exec --no-startup-id xsettingsd &
+
+# utilities
 exec --no-startup-id dropbox &
 exec --no-startup-id copyq &
-exec --no-startup-id xset -b
-exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 &
-exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 &
-exec --no-startup-id nm-applet
-exec --no-startup-id ~/.fehbg
-
-# start the screensaver, '' at the end is not a typo
-exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' ''
+exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf &
+exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf &
 
-#launch polybar
-exec --no-startup-id $HOME/.config/polybar/launch.sh
+# keyboard with alt+shift us,tr switch, map escape to capslock
+exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape &
 
-# swap caps lock and escape, set keyboard layout
-exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape
+exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 &
+exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 &
 
-#launch conky windows
-exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf
-exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf
+# launch polybar
+exec --no-startup-id $HOME/.config/polybar/launch.sh &
 
-exec --no-startup-id clight
+# start the screensaver, '' at the end is not a typo
+exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' ''
 
 gaps inner 0
 gaps outer 0
@@ -40,14 +48,16 @@ font pango:Lato 11
 # Use Mouse+$mod to drag floating windows to their wanted position
 floating_modifier $alt
 
-# bindings
-
-# shoo the mouse
-bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080
+##############
+#  bindings  #
+##############
 
 # i switched back to firefox can you tell
 bindsym Ctrl+q exec --no-startup-id true
 
+# get the mouse out of the way
+bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080
+
 # bookmark from clipboard
 bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c
 
@@ -71,6 +81,12 @@ bindsym XF86AudioNext exec mpc next
 bindsym XF86MonBrightnessUp exec xbacklight -inc 5
 bindsym XF86MonBrightnessDown exec xbacklight -dec 5
 
+# Make the currently focused window a scratchpad
+bindsym $mod+Shift+minus move scratchpad
+
+# Show the first scratchpad window
+bindsym $mod+minus scratchpad show
+
 # start a terminal
 bindsym $mod+Return exec kitty
 
-- 
cgit v1.2.3-70-g09d2