summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-03-22 11:40:42 +0300
committerYigit Sever2019-03-22 11:41:51 +0300
commit986b5df9984cfc0f21bb83771fb5aa119e1123b3 (patch)
tree7903749d1eac24fb6655fdf2cd0f8758ad32e89c
parentf2d5aab582154e0dfe2bd0c27fb2fae38918f300 (diff)
downloaddotfiles-986b5df9984cfc0f21bb83771fb5aa119e1123b3.tar.gz
dotfiles-986b5df9984cfc0f21bb83771fb5aa119e1123b3.tar.bz2
dotfiles-986b5df9984cfc0f21bb83771fb5aa119e1123b3.zip
Mobile autostarts and parity
-rw-r--r--.config/conky/conky.conf##desktop.Linux.Lowe1
-rw-r--r--.config/conky/conky.conf##mobile.Linux.Luchs12
-rw-r--r--.config/i3/config##desktop.Linux.Lowe2
-rw-r--r--.config/i3/config##mobile.Linux.Luchs60
-rwxr-xr-x.xsession##mobile.Linux.Luchs36
5 files changed, 84 insertions, 27 deletions
diff --git a/.config/conky/conky.conf##desktop.Linux.Lowe b/.config/conky/conky.conf##desktop.Linux.Lowe
index 4d76176..f7c160c 100644
--- a/.config/conky/conky.conf##desktop.Linux.Lowe
+++ b/.config/conky/conky.conf##desktop.Linux.Lowe
@@ -94,4 +94,5 @@ ${voffset 05}${alignc}${font Lato Medium:size=11}${rss https://xkcd.com/rss.xml
94${voffset 05}${color0}situation $stippled_hr${color} 94${voffset 05}${color0}situation $stippled_hr${color}
95${voffset 05}${offset 10}Checking${alignr}${offset -10}${color2}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Checking}${color} 95${voffset 05}${offset 10}Checking${alignr}${offset -10}${color2}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Checking}${color}
96${voffset 05}${offset 10}Liabilities${alignr}${offset -10}${color4}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Liabilities}${color} 96${voffset 05}${offset 10}Liabilities${alignr}${offset -10}${color4}${texecpi 5 ~/.config/conky/scripts/ledger_parser.pl Liabilities}${color}
97${color4}${alignr}
97]] 98]]
diff --git a/.config/conky/conky.conf##mobile.Linux.Luchs b/.config/conky/conky.conf##mobile.Linux.Luchs
index 0b2b90d..aabd64c 100644
--- a/.config/conky/conky.conf##mobile.Linux.Luchs
+++ b/.config/conky/conky.conf##mobile.Linux.Luchs
@@ -27,11 +27,14 @@ conky.config = {
27 out_to_console = false, 27 out_to_console = false,
28 out_to_stderr = false, 28 out_to_stderr = false,
29 extra_newline = false, 29 extra_newline = false,
30 own_window_hints = "undecorated,below,sticky,skip_taskbar,skip_pager",
31 own_window_transparent = false,
32 own_window_argb_visual = true,
33 own_window_argb_value = 200,
34 own_window_colour = '282828',
30 own_window = true, 35 own_window = true,
31 own_window_class = 'Conky', 36 own_window_class = 'Conky',
32 own_window_type = 'override', 37 own_window_type = "override",
33 own_window_transparent = true,
34 own_window_hints = 'below',
35 short_units = true, 38 short_units = true,
36 update_interval = 1.0, 39 update_interval = 1.0,
37 uppercase = false, 40 uppercase = false,
@@ -53,6 +56,7 @@ conky.config = {
53} 56}
54 57
55conky.text = [[ 58conky.text = [[
59${color4}${alignr}
56${color}${alignc}$sysname $kernel on $machine 60${color}${alignc}$sysname $kernel on $machine
57${color}${alignc}${exec whoami} @ $nodename 61${color}${alignc}${exec whoami} @ $nodename
58${color0}$hr${color} 62${color0}$hr${color}
@@ -83,5 +87,5 @@ ${voffset 05}${texeci 1800 curl -s wttr.in/ank | sed -n '3,7{s/\d27\[[0-9;]*m//g
83${color0}calendar $stippled_hr${color} 87${color0}calendar $stippled_hr${color}
84${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/} 88${voffset 05}${execp TODAY=`date +%_d`; cal | tail -n+2 | sed -e '1 s:.*:\${color3}&\${color6}:' -e '1 s:'"$(date +%a |cut -c 1-2)"':\${color4}&\${color5}:' -e '0,/'"$TODAY"'/{s/'"$TODAY"'/\${color7}'"$TODAY"'\${color8}/}' | sed s/^/'${alignc}'/}
85${color0}latest xkcd $stippled_hr${color} 89${color0}latest xkcd $stippled_hr${color}
86${voffset 05}${alignc}${rss https://xkcd.com/rss.xml 10 item_title 0} 90${color4}${alignr}
87]] 91]]
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"
175 175
176bindsym $mod+r mode "resize" 176bindsym $mod+r mode "resize"
177 177
178for_window [class=".*"] border pixel 4 178for_window [class=".*"] border pixel 3
179 179
180assign [class="^Thunderbird$"] 8 180assign [class="^Thunderbird$"] 8
181 181
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 @@
5set $mod Mod4 5set $mod Mod4
6set $alt Mod1 6set $alt Mod1
7 7
8#autostart 8# disable screensaver, beep and power saving
9exec --no-startup-id xsettingsd & 9exec --no-startup-id xset -dpms &
10exec --no-startup-id xset s off &
11exec --no-startup-id xset -b &
12
13# start the network manager, useful for vpns
14exec --no-startup-id nm-applet &
15
16# removable media
17exec --no-startup-id udiskie --automount --file-manager thunar --tray --notify &
18
19# set the wallpaper and other visuals
20exec --no-startup-id ~/.fehbg &
10exec --no-startup-id compton -b & 21exec --no-startup-id compton -b &
22exec --no-startup-id xsettingsd &
23
24# utilities
11exec --no-startup-id dropbox & 25exec --no-startup-id dropbox &
12exec --no-startup-id copyq & 26exec --no-startup-id copyq &
13exec --no-startup-id xset -b 27exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf &
14exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & 28exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf &
15exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 &
16exec --no-startup-id nm-applet
17exec --no-startup-id ~/.fehbg
18
19# start the screensaver, '' at the end is not a typo
20exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' ''
21 29
22#launch polybar 30# keyboard with alt+shift us,tr switch, map escape to capslock
23exec --no-startup-id $HOME/.config/polybar/launch.sh 31exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape &
24 32
25# swap caps lock and escape, set keyboard layout 33exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 &
26exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape 34exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 &
27 35
28#launch conky windows 36# launch polybar
29exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf 37exec --no-startup-id $HOME/.config/polybar/launch.sh &
30exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf
31 38
32exec --no-startup-id clight 39# start the screensaver, '' at the end is not a typo
40exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' ''
33 41
34gaps inner 0 42gaps inner 0
35gaps outer 0 43gaps outer 0
@@ -40,14 +48,16 @@ font pango:Lato 11
40# Use Mouse+$mod to drag floating windows to their wanted position 48# Use Mouse+$mod to drag floating windows to their wanted position
41floating_modifier $alt 49floating_modifier $alt
42 50
43# bindings 51##############
44 52# bindings #
45# shoo the mouse 53##############
46bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080
47 54
48# i switched back to firefox can you tell 55# i switched back to firefox can you tell
49bindsym Ctrl+q exec --no-startup-id true 56bindsym Ctrl+q exec --no-startup-id true
50 57
58# get the mouse out of the way
59bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080
60
51# bookmark from clipboard 61# bookmark from clipboard
52bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c 62bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c
53 63
@@ -71,6 +81,12 @@ bindsym XF86AudioNext exec mpc next
71bindsym XF86MonBrightnessUp exec xbacklight -inc 5 81bindsym XF86MonBrightnessUp exec xbacklight -inc 5
72bindsym XF86MonBrightnessDown exec xbacklight -dec 5 82bindsym XF86MonBrightnessDown exec xbacklight -dec 5
73 83
84# Make the currently focused window a scratchpad
85bindsym $mod+Shift+minus move scratchpad
86
87# Show the first scratchpad window
88bindsym $mod+minus scratchpad show
89
74# start a terminal 90# start a terminal
75bindsym $mod+Return exec kitty 91bindsym $mod+Return exec kitty
76 92
diff --git a/.xsession##mobile.Linux.Luchs b/.xsession##mobile.Linux.Luchs
new file mode 100755
index 0000000..7454fc9
--- /dev/null
+++ b/.xsession##mobile.Linux.Luchs
@@ -0,0 +1,36 @@
1#!/bin/sh
2
3#
4# ~/.xsession
5#
6# Executed by xdm/gdm/kdm at login
7#
8
9# disable screensaver, beep and power saving
10xset -dpms &
11xset s off &
12xset -b &
13
14# start the network manager, useful for vpns
15nm-applet &
16
17# removable media
18udiskie --automount --file-manager thunar --tray --notify &
19
20# set the wallpaper and other visuals
21~/.fehbg &
22compton -b &
23xsettingsd &
24clight
25
26# utilities
27dropbox &
28copyq &
29conky --daemonize -c ~/.config/conky/conky.conf &
30conky --daemonize -c ~/.config/conky/task.conf &
31
32# keyboard with alt+shift us,tr switch, map escape to capslock
33setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape &
34
35xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 &
36xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 &