Wrote README and various tweaks for laptop
- horizontal scrolling for touchpad - disable touchscreen - set/get backlight - i3-gaps and updated Terminator config
This commit is contained in:
@@ -3,13 +3,17 @@
|
||||
exec redshift -O 4000
|
||||
exec_always feh --bg-scale ~/Pictures/space-wallpaper.jpg
|
||||
exec imwheel
|
||||
# enable horizontal scrolling
|
||||
exec --no-startup-id synclient HorizTwoFingerScroll=1
|
||||
# disable touchscreen
|
||||
exec xinput disable 12
|
||||
exec terminator
|
||||
# }}} startup #
|
||||
|
||||
bindsym Mod4+e exec cd /usr/local/android-studio/bin/ && ./studio.sh
|
||||
bindsym $mod+control+Return exec i3-sensible-terminal
|
||||
bindsym $mod+control+Return exec terminator
|
||||
bindsym Mod4+c exec google-chrome-stable --force-device-scale-factor=1.5
|
||||
bindsym Mod4+d exec discord
|
||||
bindsym Mod4+p exec ksnapshot
|
||||
bindsym Mod4+t exec thunar
|
||||
|
||||
# redshift {{{ #
|
||||
@@ -90,16 +94,26 @@ bindsym $mod+a focus parent
|
||||
# workspace {{{ #
|
||||
# ws names {{{ #
|
||||
set $ws1 "1 "
|
||||
bindsym $mod+F1 workspace $ws1; exec terminator
|
||||
|
||||
set $ws2 "2 "
|
||||
bindsym $mod+F2 workspace $ws2; exec terminator
|
||||
|
||||
set $ws3 "3 🌐"
|
||||
bindsym $mod+F3 workspace $ws3; exec google-chrome
|
||||
|
||||
set $ws4 "4 🖹"
|
||||
set $ws5 "5 "
|
||||
set $ws6 "6 🗪"
|
||||
bindsym Mod4+d workspace $ws6; exec discord
|
||||
|
||||
set $ws7 "7 ↥"
|
||||
set $ws8 "8 📱"
|
||||
set $ws9 "9 ✎"
|
||||
bindsym $mod+F9 workspace $ws9; exec terminator
|
||||
|
||||
set $ws10 "10 "
|
||||
assign [class="discord"] $ws6
|
||||
bindsym $mod+F10 workspace $ws10; exec terminator
|
||||
# }}} ws names #
|
||||
|
||||
# ws bindings {{{ #
|
||||
@@ -154,12 +168,21 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
|
||||
# }}} reload config #
|
||||
|
||||
# resizing windows {{{ #
|
||||
bindsym $mod+control+h resize shrink width 10 px or 10 ppt
|
||||
bindsym $mod+control+h resize grow width 10 px or 10 ppt
|
||||
bindsym $mod+control+k resize grow height 10 px or 10 ppt
|
||||
bindsym $mod+control+j resize shrink height 10 px or 10 ppt
|
||||
bindsym $mod+control+l resize grow width 10 px or 10 ppt
|
||||
bindsym $mod+control+l resize shrink width 10 px or 10 ppt
|
||||
# }}} resizing windows #
|
||||
|
||||
# gaps {{{ #
|
||||
for_window [class="^.*"] border pixel 0
|
||||
gaps inner 20
|
||||
gaps outer 0
|
||||
|
||||
bindsym control+shift+plus gaps inner all plus 5;gaps outer all plus 5
|
||||
bindsym control+shift+0 gaps inner all minus 5;gaps outer all minus 5
|
||||
# }}} gaps #
|
||||
|
||||
# status bar {{{ #
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
@@ -176,7 +199,7 @@ set $mod Mod1
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
font pango:Hack 14
|
||||
font pango:Hack 10
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 8
|
||||
@@ -191,13 +214,13 @@ font pango:Hack 14
|
||||
|
||||
# function keys {{{ #
|
||||
# backlight {{{ #
|
||||
bindsym $mod+Shift+plus exec xbacklight -inc 10
|
||||
bindsym $mod+Shift+minus exec xbacklight -dec 10
|
||||
bindsym $mod+Shift+plus exec xbacklight -inc 2
|
||||
bindsym $mod+Shift+minus exec xbacklight -dec 2
|
||||
# }}} backlight #
|
||||
|
||||
# connect/disconnect wifi {{{ #
|
||||
bindsym $mod+Shift+w exec nmcli radio wifi on
|
||||
bindsym $mod+Shift+q exec nmcli radio wifi off
|
||||
bindsym $mod+control+w exec nmcli radio wifi on
|
||||
bindsym $mod+control+q exec nmcli radio wifi off
|
||||
# }}} connect/disconnect wifi #
|
||||
|
||||
# volume keys {{{ #
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# properties {{{ #
|
||||
#j properties {{{ #
|
||||
# i3blocks config file
|
||||
#
|
||||
# Please see man i3blocks for a complete reference!
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
[global_config]
|
||||
borderless = True
|
||||
focus = mouse
|
||||
hide_from_taskbar = True
|
||||
inactive_color_offset = 1.0
|
||||
title_font = Noto Sans 10
|
||||
title_font = Hack 10
|
||||
title_transmit_bg_color = "#3d3d3d"
|
||||
title_use_system_font = False
|
||||
[keybindings]
|
||||
[layouts]
|
||||
[[default]]
|
||||
@@ -16,19 +18,29 @@
|
||||
[plugins]
|
||||
[profiles]
|
||||
[[default]]
|
||||
background_darkness = 0.88
|
||||
background_darkness = 0.79
|
||||
background_image = None
|
||||
background_type = transparent
|
||||
copy_on_selection = True
|
||||
cursor_color = "#b9b9b9"
|
||||
custom_command = env TERM=xterm-256color bash
|
||||
font = Hack 17
|
||||
font = Hack 10
|
||||
foreground_color = "#0077ff"
|
||||
palette = "#000000:#aa0000:#00aa00:#aa5500:#0000aa:#aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:#ff55ff:#55ffff:#ffffff"
|
||||
scrollback_infinite = True
|
||||
scrollbar_position = hidden
|
||||
show_titlebar = False
|
||||
use_custom_command = True
|
||||
use_system_font = False
|
||||
[[light]]
|
||||
background_color = "#fdf6e3"
|
||||
background_darkness = 0.89
|
||||
background_image = None
|
||||
background_type = transparent
|
||||
font = Hack 10
|
||||
foreground_color = "#657b83"
|
||||
palette = "#073642:#dc322f:#859900:#b58900:#268bd2:#d33682:#2aa198:#eee8d5:#002b36:#cb4b16:#586e75:#657b83:#839496:#6c71c4:#93a1a1:#fdf6e3"
|
||||
scrollback_infinite = True
|
||||
scrollbar_position = hidden
|
||||
show_titlebar = False
|
||||
use_system_font = False
|
||||
|
||||
Reference in New Issue
Block a user