diff options
| author | Yigit Sever | 2019-03-21 17:32:10 +0300 |
|---|---|---|
| committer | Yigit Sever | 2019-03-21 17:32:10 +0300 |
| commit | 840fc2fdafb9ddfae52379f2f89b632496661386 (patch) | |
| tree | 1f33541b1083b26f0258deb2b4ddf898a6022fa2 /.config/i3 | |
| parent | e4985a44805d8b0568ebb8d15db00ee3d7ef1dbb (diff) | |
| download | dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.tar.gz dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.tar.bz2 dotfiles-840fc2fdafb9ddfae52379f2f89b632496661386.zip | |
Add mobile configs
Diffstat (limited to '.config/i3')
| -rw-r--r-- | .config/i3/config##mobile.Linux.Luchs | 205 |
1 files changed, 205 insertions, 0 deletions
diff --git a/.config/i3/config##mobile.Linux.Luchs b/.config/i3/config##mobile.Linux.Luchs new file mode 100644 index 0000000..fbd08a3 --- /dev/null +++ b/.config/i3/config##mobile.Linux.Luchs | |||
| @@ -0,0 +1,205 @@ | |||
| 1 | # i3 config file (v4) | ||
| 2 | # Please see https://i3wm.org/docs/userguide.html for a complete reference! | ||
| 3 | |||
| 4 | # set modifiers | ||
| 5 | set $mod Mod4 | ||
| 6 | set $alt Mod1 | ||
| 7 | |||
| 8 | #autostart | ||
| 9 | exec --no-startup-id xsettingsd & | ||
| 10 | exec --no-startup-id compton -b & | ||
| 11 | exec --no-startup-id dropbox & | ||
| 12 | exec --no-startup-id copyq & | ||
| 13 | exec --no-startup-id hsetroot -center ~/Dropbox/Wallpapers/mandala.jpg & | ||
| 14 | exec --no-startup-id xset -b | ||
| 15 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Natural Scrolling Enabled" 1 & | ||
| 16 | exec --no-startup-id xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Tapping Enabled" 1 & | ||
| 17 | exec --no-startup-id nm-applet | ||
| 18 | |||
| 19 | #launch polybar | ||
| 20 | exec --no-startup-id $HOME/.config/polybar/launch.sh | ||
| 21 | |||
| 22 | # swap caps lock and escape, set keyboard layout | ||
| 23 | exec --no-startup-id setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape | ||
| 24 | |||
| 25 | #launch conky windows | ||
| 26 | exec --no-startup-id conky --daemonize -c ~/.config/conky/conky.conf | ||
| 27 | exec --no-startup-id conky --daemonize -c ~/.config/conky/task.conf | ||
| 28 | |||
| 29 | exec --no-startup-id clight | ||
| 30 | |||
| 31 | gaps inner 0 | ||
| 32 | gaps outer 0 | ||
| 33 | |||
| 34 | # Font for window titles | ||
| 35 | font pango:Lato 11 | ||
| 36 | |||
| 37 | # Use Mouse+$mod to drag floating windows to their wanted position | ||
| 38 | floating_modifier $alt | ||
| 39 | |||
| 40 | # bindings | ||
| 41 | |||
| 42 | # shoo the mouse | ||
| 43 | bindsym $mod+o exec --no-startup-id xdotool mousemove 1920 1080 | ||
| 44 | |||
| 45 | # i switched back to firefox can you tell | ||
| 46 | bindsym Ctrl+q exec --no-startup-id true | ||
| 47 | |||
| 48 | # bookmark from clipboard | ||
| 49 | bindsym $mod+u exec --no-startup-id ~/bin/bukuadd_c | ||
| 50 | |||
| 51 | # swap caps lock and escape, set keyboard layout | ||
| 52 | bindsym $mod+p exec --no-startup-id "setxkbmap -model pc105 -layout us,tr -option grp:alt_shift_toggle,caps:swapescape" | ||
| 53 | |||
| 54 | # use flameshot with print screen | ||
| 55 | bindsym Print exec flameshot gui | ||
| 56 | |||
| 57 | # media keys | ||
| 58 | bindsym XF86AudioMute exec "pactl set-sink-mute @DEFAULT_SINK@ toggle" | ||
| 59 | bindsym XF86AudioRaiseVolume exec "pactl set-sink-volume @DEFAULT_SINK@ +5%" | ||
| 60 | bindsym XF86AudioLowerVolume exec "pactl set-sink-volume @DEFAULT_SINK@ -5%" | ||
| 61 | bindsym XF86AudioPlay exec mpc toggle | ||
| 62 | bindsym XF86AudioStop exec mpc stop | ||
| 63 | bindsym XF86AudioPrev exec /home/yigit/bin/mpvPrev | ||
| 64 | bindsym XF86AudioNext exec mpc next | ||
| 65 | |||
| 66 | bindsym XF86MonBrightnessUp exec xbacklight -inc 5 | ||
| 67 | bindsym XF86MonBrightnessDown exec xbacklight -dec 5 | ||
| 68 | |||
| 69 | # start a terminal | ||
| 70 | bindsym $mod+Return exec kitty | ||
| 71 | |||
| 72 | # kill focused window | ||
| 73 | bindsym $mod+Shift+q kill | ||
| 74 | |||
| 75 | # start rofi (a program launcher) | ||
| 76 | bindsym $mod+d exec rofi -show combi | ||
| 77 | |||
| 78 | # lock screen | ||
| 79 | exec --no-startup-id xidlehook --not-when-fullscreen --not-when-audio --timer normal 300 'betterlockscreen -t "Welcome Back"' '' | ||
| 80 | |||
| 81 | # change focus | ||
| 82 | bindsym $mod+h focus left | ||
| 83 | bindsym $mod+j focus down | ||
| 84 | bindsym $mod+k focus up | ||
| 85 | bindsym $mod+l focus right | ||
| 86 | |||
| 87 | # move focused window | ||
| 88 | bindsym $mod+Shift+h move left | ||
| 89 | bindsym $mod+Shift+j move down | ||
| 90 | bindsym $mod+Shift+k move up | ||
| 91 | bindsym $mod+Shift+l move right | ||
| 92 | |||
| 93 | # split in horizontal orientation | ||
| 94 | bindsym $mod+b split h | ||
| 95 | |||
| 96 | # split in vertical orientation | ||
| 97 | bindsym $mod+v split v | ||
| 98 | |||
| 99 | # enter fullscreen mode for the focused container | ||
| 100 | bindsym $mod+f fullscreen toggle | ||
| 101 | |||
| 102 | # change container layout (stacked, tabbed, toggle split) | ||
| 103 | bindsym $mod+s layout stacking | ||
| 104 | bindsym $mod+w layout tabbed | ||
| 105 | bindsym $mod+e layout toggle split | ||
| 106 | |||
| 107 | # toggle tiling / floating | ||
| 108 | bindsym $mod+Shift+space floating toggle | ||
| 109 | |||
| 110 | # change focus between tiling / floating windows | ||
| 111 | bindsym $mod+space focus mode_toggle | ||
| 112 | |||
| 113 | # focus the parent container | ||
| 114 | bindsym $mod+a focus parent | ||
| 115 | |||
| 116 | # Define names for default workspaces for which we configure key bindings later on. | ||
| 117 | # We use variables to avoid repeating the names in multiple places. | ||
| 118 | set $ws1 "1" | ||
| 119 | set $ws2 "2" | ||
| 120 | set $ws3 "3" | ||
| 121 | set $ws4 "4" | ||
| 122 | set $ws5 "5" | ||
| 123 | set $ws6 "6" | ||
| 124 | set $ws7 "7" | ||
| 125 | set $ws8 "8" | ||
| 126 | set $ws9 "9" | ||
| 127 | set $ws10 "10" | ||
| 128 | |||
| 129 | # switch to workspace | ||
| 130 | bindsym $mod+1 workspace $ws1 | ||
| 131 | bindsym $mod+2 workspace $ws2 | ||
| 132 | bindsym $mod+3 workspace $ws3 | ||
| 133 | bindsym $mod+4 workspace $ws4 | ||
| 134 | bindsym $mod+5 workspace $ws5 | ||
| 135 | bindsym $mod+6 workspace $ws6 | ||
| 136 | bindsym $mod+7 workspace $ws7 | ||
| 137 | bindsym $mod+8 workspace $ws8 | ||
| 138 | bindsym $mod+9 workspace $ws9 | ||
| 139 | bindsym $mod+0 workspace $ws10 | ||
| 140 | |||
| 141 | # move focused container to workspace | ||
| 142 | bindsym $mod+Shift+1 move container to workspace $ws1 | ||
| 143 | bindsym $mod+Shift+2 move container to workspace $ws2 | ||
| 144 | bindsym $mod+Shift+3 move container to workspace $ws3 | ||
| 145 | bindsym $mod+Shift+4 move container to workspace $ws4 | ||
| 146 | bindsym $mod+Shift+5 move container to workspace $ws5 | ||
| 147 | bindsym $mod+Shift+6 move container to workspace $ws6 | ||
| 148 | bindsym $mod+Shift+7 move container to workspace $ws7 | ||
| 149 | bindsym $mod+Shift+8 move container to workspace $ws8 | ||
| 150 | bindsym $mod+Shift+9 move container to workspace $ws9 | ||
| 151 | bindsym $mod+Shift+0 move container to workspace $ws10 | ||
| 152 | |||
| 153 | # reload the configuration file | ||
| 154 | bindsym $mod+Shift+c reload | ||
| 155 | # restart i3 inplace (preserves your layout/session, can be used to upgrade i3) | ||
| 156 | bindsym $mod+Shift+r restart | ||
| 157 | |||
| 158 | # resize window (you can also use the mouse for that) | ||
| 159 | mode "resize" { | ||
| 160 | # These bindings trigger as soon as you enter the resize mode | ||
| 161 | |||
| 162 | # Pressing left will shrink the window’s width. | ||
| 163 | # Pressing right will grow the window’s width. | ||
| 164 | # Pressing up will shrink the window’s height. | ||
| 165 | # Pressing down will grow the window’s height. | ||
| 166 | bindsym h resize shrink width 10 px or 10 ppt | ||
| 167 | bindsym j resize grow height 10 px or 10 ppt | ||
| 168 | bindsym k resize shrink height 10 px or 10 ppt | ||
| 169 | bindsym l resize grow width 10 px or 10 ppt | ||
| 170 | |||
| 171 | # back to normal: Enter or Escape or $mod+r | ||
| 172 | bindsym Return mode "default" | ||
| 173 | bindsym Caps_Lock mode "default" | ||
| 174 | bindsym $mod+r mode "default" | ||
| 175 | } | ||
| 176 | |||
| 177 | # session | ||
| 178 | mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" { | ||
| 179 | bindsym $mod+l exec betterlockscreen -l dimblur -t "Welcome back" | ||
| 180 | bindsym $mod+r exec systemctl reboot | ||
| 181 | bindsym $mod+p exec systemctl poweroff | ||
| 182 | bindsym $mod+s exit | ||
| 183 | bindsym Escape mode "default" | ||
| 184 | } | ||
| 185 | bindsym $mod+Shift+e mode "(L)ock, (S)ignout, (R)eboot, (P)oweroff" | ||
| 186 | |||
| 187 | bindsym $mod+r mode "resize" | ||
| 188 | |||
| 189 | for_window [class=".*"] border pixel 3 | ||
| 190 | |||
| 191 | assign [class="^Thunderbird$"] 8 | ||
| 192 | |||
| 193 | # class border backgr. text indicator child_border | ||
| 194 | client.focused #458588 #285577 #ffffff #458588 #285577 | ||
| 195 | client.focused_inactive #b16286 #5f676a #ffffff #484e50 #5f676a | ||
| 196 | client.unfocused #927374 #222222 #888888 #292d2e #222222 | ||
| 197 | client.urgent #2f343a #900000 #ffffff #900000 #900000 | ||
| 198 | client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c | ||
| 199 | |||
| 200 | client.background #ffffff | ||
| 201 | |||
| 202 | # config | ||
| 203 | hide_edge_borders smart | ||
| 204 | workspace_auto_back_and_forth yes | ||
| 205 | focus_follows_mouse no | ||
