all repos — dotfiles @ bcfdbc1fa57774d95c85fb3d2a121f08398dd2de

linux dotfiles

update i3 config
prithugoswami prithugoswami524@gmail.com
Wed, 13 Jun 2018 18:23:10 +0530
commit

bcfdbc1fa57774d95c85fb3d2a121f08398dd2de

parent

6faae5257a40f6271d9b75cb38561ce3630debb1

1 files changed, 10 insertions(+), 6 deletions(-)

jump to
M i3/configi3/config

@@ -133,7 +133,8 @@ # PD

bindsym $mod+p exec st -e "pd" # window swticher using rofi bindsym $mod+v exec --no-startup-id "rofi -show window -width 70" -bindsym $mod+Shift+u exec mpv "$(xsel -b)" +#bindsym $mod+Shift+u exec mpv "$(xsel -b)" +bindsym $mod+Shift+u exec db #}}}

@@ -269,6 +270,7 @@ #}}}

## Custom Window Classes ##{{{ # Open specific applications in floating mode +for_window [title="Telegram"] floating enable border pixel 1 for_window [title="alsamixer"] floating enable border pixel 1 for_window [class="Calamares"] floating enable border normal for_window [class="Clipgrab"] floating enable

@@ -322,19 +324,19 @@ # these keybindings change the monitor position and then write to file the same command

# is used to set the the respective position of the monitor. That command is then executed at startup # sets the monitor to the top - bindsym t exec $monitor_top , exec $wall_set && sleep 0.1 , exec echo $monitor_top > ~/.screenlayout/last_layout , mode "default" + bindsym t exec $monitor_top , exec $wall_set && sleep 0.01 , exec echo $monitor_top > ~/.screenlayout/last_layout , mode "default" # sets monitor to the right - bindsym y exec $monitor_right , exec $wall_set && sleep 0.1 , exec echo $monitor_right > ~/.screenlayout/last_layout , mode "default" + bindsym y exec $monitor_right , exec $wall_set && sleep 0.01 , exec echo $monitor_right > ~/.screenlayout/last_layout , mode "default" # when there is no external monitor connected - bindsym g exec $monitor_none , exec $wall_set && sleep 0.1 , exec echo $monitor_right > ~/.screenlayout/last_layout , mode "default" + bindsym g exec $monitor_none , exec $wall_set && sleep 0.01 , exec echo $monitor_right > ~/.screenlayout/last_layout , mode "default" # duplicate the laptop screen to an external monitor - bindsym f exec $monitor_duplicate , exec $wall_set && sleep 0.1 , exec echo $monitor_duplicate > ~/.screenlayout/last_layout , mode "default" + bindsym f exec $monitor_duplicate , exec $wall_set && sleep 0.01 , exec echo $monitor_duplicate > ~/.screenlayout/last_layout , mode "default" # sets monitor to the left and rotates it to left - bindsym Ctrl+y exec --no-startup-id $monitor_right_r_left , exec $wall_set && sleep 0.1 , exec echo $monitor_right_r_left > ~/.screenlayout/last_layout , mode "default" + bindsym Ctrl+y exec --no-startup-id $monitor_right_r_left , exec $wall_set && sleep 0.01 , exec echo $monitor_right_r_left > ~/.screenlayout/last_layout , mode "default" bindsym Escape mode "default" bindsym Return mode "default"

@@ -373,7 +375,9 @@ exec_always --no-startup-id fix_xcursor

# Configures the monitors according to the last set layout using xrandr exec --no-startup-id ~/.screenlayout/last_layout exec_always --no-startup-id $wall_set +# disable the trackpad exec "xinput --disable 14" +exec syncthing -no-browser #}}}