all repos — dotfiles @ 6b5b0fb96514302f644bfdc3b0b5db41512d387a

linux dotfiles

update i3 config

did some cleaning of the config
Prithu Goswami prithugoswami524@gmail.com
Sat, 21 Apr 2018 13:27:16 +0530
commit

6b5b0fb96514302f644bfdc3b0b5db41512d387a

parent

d9c693d091fd67df2ddb25d71259bff2f646e22a

1 files changed, 35 insertions(+), 47 deletions(-)

jump to
M .config/i3/config.config/i3/config

@@ -1,31 +1,10 @@

-# This file has been auto-generated by i3-config-wizard(1). -# It will not be overwritten, so edit it as you like. -# -# Should you change your keyboard layout some time, delete -# this file and re-run i3-config-wizard(1). -# - -# i3 config file (v4) -# -# Please see http://i3wm.org/docs/userguide.html for a complete reference! - +# Modifier Key set $mod Mod4 # Font for window titles. Will also be used by the bar unless a different font # is used in the bar {} block below. font pango: Roboto-Medium 8 -# 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 - -# Before i3 v4.8, we used to recommend this one as the default: -# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1 -# The font above is very space-efficient, that is, it looks good, sharp and -# clear in small sizes. However, its unicode glyph coverage is limited, the old -# X core fonts rendering does not support right-to-left and this being a bitmap -# font, it doesn’t scale on retina/hidpi displays. - # Hide borders hide_edge_borders both

@@ -36,19 +15,13 @@ # start a terminal

bindsym $mod+Return exec urxvt # kill focused window -# bindsym $mod+Shift+q kill bindsym $mod+o kill -# start dmenu (a program launcher) -# bindsym $mod+d exec dmenu_run -# There also is the (new) i3-dmenu-desktop which only displays applications -# shipping a .desktop file. It is a wrapper around dmenu, so you need that -# installed. +# Desktop program launcher bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop # Rofi bindsym $mod+d exec rofi -show run -lines 10 -eh 2 -padding 50 -bc "#2f343f" -bg "#2f343f" -fg "#f3f4f5" -hlbg "#2f343f" -hlfg "#9575cd" -locatin 0 - # change focus bindsym $mod+h focus left

@@ -124,8 +97,11 @@ bindsym $mod+Shift+8 move container to workspace 8

bindsym $mod+Shift+9 move container to workspace 9 bindsym $mod+Shift+0 move container to workspace 10 -#Lock screen +# Lock screen bindsym $mod+v exec ~/.config/i3/lock.sh + + + # Dual Monitor # the keybindings mod+Shift+t/y change the monitor position and then write to file the same command # it used to set the the respective position of the monitor. That command is then executed at startup

@@ -163,7 +139,7 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"

# prompt for shutdown and restart system -# this requires for a script named prompt in the PATH +# this requires for a script named `prompt` in the PATH # the prompt script takes two arguments and prompts the user # using dmenu with a msg '$1' and executes the command '$2' # 'prompt script' content

@@ -203,7 +179,8 @@

bindsym $mod+r mode "resize" -# window colors + +# Window Colors set $bg-color #2f343f set $inactive-bg-color #181b21 set $text-color #ededed

@@ -216,6 +193,9 @@ client.unfocused $inactive-bg-color $inactive-bg-color $inactive-text-color #0000ff

client.focused_inactive $inactive-bg-color $inactive-bg-color $inactive-text-color #0000ff client.urgent $urgent-bg-color $urgent-bg-color $text-color #0000ff + + +# i3 Bar # Start i3bar to display a workspace bar (plus the system information i3status # finds out, if available) bar {

@@ -228,21 +208,6 @@ tray_output primary

position top } -# Wallpaper -exec ~/.fehbg & - -#xautolock -# the screen saver is replaced by the lock.sh locker - -exec xautolock -time 11 -locker '~/.config/i3/lock.sh' -# Decreasing touch aread to avoid palm interaction while typing and enable natural scrolling -exec "synclient AreaLeftEdge=1600 AreaRightEdge=5000 VertScrollDelta=-114" - -# disabling the touchpad while typing -exec "syndaemon -i 0.5 -K -d" - -# Fixing audio issue for firefox 59 -exec "pulseaudio --start --exit-idle-time=-1" # Pulse Audio controls

@@ -261,3 +226,26 @@ bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness

# Touchpad controls # bindsym XF86TouchpadToggle exec /some/path/toggletouchpad.sh # toggle touchpad + + + +# On Startup +# reload Xresources. The font doesn't follow the letterSpacing option without +# running xrdb after startup for some reason +exec xrdb ~/.Xresources + +# Wallpaper +exec ~/.fehbg & + +# Xautolock +# the screen saver is replaced by the lock.sh locker +exec xautolock -time 11 -locker '~/.config/i3/lock.sh' + +# decrease touch area to avoid palm interaction while typing and enable natural scrolling +exec "synclient AreaLeftEdge=1600 AreaRightEdge=5000 VertScrollDelta=-114" + +# disabling the touchpad while typing +exec "syndaemon -i 0.5 -K -d" + +# fixing audio issue for firefox 59 +exec "pulseaudio --start --exit-idle-time=-1"