diff options
author | Yigit Sever | 2019-03-22 11:40:42 +0300 |
---|---|---|
committer | Yigit Sever | 2019-03-22 11:41:51 +0300 |
commit | 986b5df9984cfc0f21bb83771fb5aa119e1123b3 (patch) | |
tree | 7903749d1eac24fb6655fdf2cd0f8758ad32e89c | |
parent | f2d5aab582154e0dfe2bd0c27fb2fae38918f300 (diff) | |
download | dotfiles-986b5df9984cfc0f21bb83771fb5aa119e1123b3.tar.gz dotfiles-986b5df9984cfc0f21bb83771fb5aa119e1123b3.tar.bz2 dotfiles-986b5df9984cfc0f21bb83771fb5aa119e1123b3.zip |
Mobile autostarts and parity
-rw-r--r-- | .config/conky/conky.conf##desktop.Linux.Lowe | 1 | ||||
-rw-r--r-- | .config/conky/conky.conf##mobile.Linux.Luchs | 12 | ||||
-rw-r--r-- | .config/i3/config##desktop.Linux.Lowe | 2 | ||||
-rw-r--r-- | .config/i3/config##mobile.Linux.Luchs | 60 | ||||
-rwxr-xr-x | .xsession##mobile.Linux.Luchs | 36 |
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 | ||
55 | conky.text = [[ | 58 | conky.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 | ||
176 | bindsym $mod+r mode "resize" | 176 | bindsym $mod+r mode "resize" |
177 | 177 | ||
178 | for_window [class=".*"] border pixel 4 | 178 | for_window [class=".*"] border pixel 3 |
179 | 179 | ||
180 | assign [class="^Thunderbird$"] 8 | 180 | assign [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 @@ | |||
5 | set $mod Mod4 | 5 | set $mod Mod4 |
6 | set $alt Mod1 | 6 | set $alt Mod1 |
7 | 7 | ||
8 | #autostart | 8 | # disable screensaver, beep and power saving |
9 | exec --no-startup-id xsettingsd & | 9 | exec --no-startup-id xset -dpms & |
10 | exec --no-startup-id xset s off & | ||
11 | exec --no-startup-id xset -b & | ||
12 | |||
13 | # start the network manager, useful for vpns | ||
14 | exec --no-startup-id nm-applet & | ||
15 | |||
16 | # removable media | ||
17 | exec --no-startup-id udiskie --automount --file-manager thunar --tray --notify & | ||
18 | |||
19 | # set the wallpaper and other visuals | ||
20 | exec --no-startup-id ~/.fehbg & | ||
10 | exec --no-startup-id compton -b & | 21 | exec --no-startup-id compton -b & |
22 | exec --no-startup-id xsettingsd & | ||
23 | |||
24 | # utilities | ||
11 | exec --no-startup-id dropbox & | 25 | exec --no-startup-id dropbox & |
12 | exec --no-startup-id copyq & | 26 | exec --no-startup-id copyq & |
13 | exec --no-startup-id xset -b | 27 | exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf & |
14 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & | 28 | exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf & |
15 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & | ||
16 | exec --no-startup-id nm-applet | ||
17 | exec --no-startup-id ~/.fehbg | ||
18 | |||
19 | # start the screensaver, '' at the end is not a typo | ||
20 | exec --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 |
23 | exec --no-startup-id $HOME/.config/polybar/launch.sh | 31 | exec --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 | 33 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & |
26 | exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape | 34 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & |
27 | 35 | ||
28 | #launch conky windows | 36 | # launch polybar |
29 | exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf | 37 | exec --no-startup-id $HOME/.config/polybar/launch.sh & |
30 | exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf | ||
31 | 38 | ||
32 | exec --no-startup-id clight | 39 | # start the screensaver, '' at the end is not a typo |
40 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -l dimblur -t "Welcome Back"' '' | ||
33 | 41 | ||
34 | gaps inner 0 | 42 | gaps inner 0 |
35 | gaps outer 0 | 43 | gaps 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 |
41 | floating_modifier $alt | 49 | floating_modifier $alt |
42 | 50 | ||
43 | # bindings | 51 | ############## |
44 | 52 | # bindings # | |
45 | # shoo the mouse | 53 | ############## |
46 | bindsym $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 |
49 | bindsym Ctrl+q exec --no-startup-id true | 56 | bindsym Ctrl+q exec --no-startup-id true |
50 | 57 | ||
58 | # get the mouse out of the way | ||
59 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 | ||
60 | |||
51 | # bookmark from clipboard | 61 | # bookmark from clipboard |
52 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | 62 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c |
53 | 63 | ||
@@ -71,6 +81,12 @@ bindsym XF86AudioNext exec mpc next | |||
71 | bindsym XF86MonBrightnessUp exec xbacklight -inc 5 | 81 | bindsym XF86MonBrightnessUp exec xbacklight -inc 5 |
72 | bindsym XF86MonBrightnessDown exec xbacklight -dec 5 | 82 | bindsym XF86MonBrightnessDown exec xbacklight -dec 5 |
73 | 83 | ||
84 | # Make the currently focused window a scratchpad | ||
85 | bindsym $mod+Shift+minus move scratchpad | ||
86 | |||
87 | # Show the first scratchpad window | ||
88 | bindsym $mod+minus scratchpad show | ||
89 | |||
74 | # start a terminal | 90 | # start a terminal |
75 | bindsym $mod+Return exec kitty | 91 | bindsym $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 | ||
10 | xset -dpms & | ||
11 | xset s off & | ||
12 | xset -b & | ||
13 | |||
14 | # start the network manager, useful for vpns | ||
15 | nm-applet & | ||
16 | |||
17 | # removable media | ||
18 | udiskie --automount --file-manager thunar --tray --notify & | ||
19 | |||
20 | # set the wallpaper and other visuals | ||
21 | ~/.fehbg & | ||
22 | compton -b & | ||
23 | xsettingsd & | ||
24 | clight | ||
25 | |||
26 | # utilities | ||
27 | dropbox & | ||
28 | copyq & | ||
29 | conky --daemonize -c ~/.config/conky/conky.conf & | ||
30 | conky --daemonize -c ~/.config/conky/task.conf & | ||
31 | |||
32 | # keyboard with alt+shift us,tr switch, map escape to capslock | ||
33 | setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape & | ||
34 | |||
35 | xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & | ||
36 | xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & | ||