guest@dotshare [~/groups/wms/i3] $ ls My-laptops/ | cat

My laptops (raw, dl)

yuri May 27, 2018 (wms/i3)
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# Alt Key
set $mod Mod1

# Default font
font pango:monospace 8

# Kill Focused
bindsym $mod+Shift+q kill

# Switch Focus
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right

# Reposition Window
bindsym $mod+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right

# Horizontal Split
bindsym $mod+c split h

# Vertical Split
bindsym $mod+v split v

# Toggle Fullscreen
bindsym $mod+shift+f fullscreen toggle

# Name Workspaces
set $tag1 1:U
set $tag2 2:F
set $tag3 3:>
set $tag4 4:M
set $tag5 5:G?
set $tag6 6:2?

# switch to workspace
bindsym $mod+1 workspace $tag1
bindsym $mod+2 workspace $tag2
bindsym $mod+3 workspace $tag3
bindsym $mod+4 workspace $tag4
bindsym $mod+5 workspace $tag5
bindsym $mod+6 workspace $tag6

# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $tag1
bindsym $mod+Shift+2 move container to workspace $tag2
bindsym $mod+Shift+3 move container to workspace $tag3
bindsym $mod+Shift+4 move container to workspace $tag4
bindsym $mod+Shift+5 move container to workspace $tag5
bindsym $mod+Shift+6 move container to workspace $tag6

# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart
# Exit i3
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'Exit?' -b 'Yes' 'i3-msg exit'"

# Resize Mode
mode "resize" {
        bindsym h resize shrink width 10 px or 10 ppt
        bindsym j resize grow height 10 px or 10 ppt
        bindsym k resize shrink height 10 px or 10 ppt
        bindsym l resize grow width 10 px or 10 ppt

        # back to normal: Enter or Escape
        bindsym Return mode "default"
        bindsym Escape mode "default"
}

bindsym $mod+r mode "resize"


# Bar Commands
bar {
        status_command i3blocks
	position top
	strip_workspace_numbers yes

}

# Hide border
hide_edge_borders both
new_window pixel 0

# Assign To Workspace
assign [class="Opera"] $tag2
assign [class="discord"] $tag1
assign [class="Steam"] $tag5

# Execs
bindsym $mod+Return exec $term
bindsym $mod+f exec opera
bindsym $mod+d exec dmenu_run
bindsym $mod+Home exec "screc -gr"
bindsym $mod+End exec "screc -gs"
bindsym --release Insert exec scrot -s "/home/yuri/scrot/$(date '%B %d %A - %H:%M').png"
bindsym Shift+Insert exec scrot -u "/home/yuri/scrot/$(date '+%A %B %d - %H:%M').png"
bindsym $mod+Shift+c exec --no-startup-id kcalc
bindsym $mod+a exec kcalc
bindsym $mod+Shift+a exec $term calcurse

# MediaKeys
# For changing the System Volume
bindsym XF86AudioRaiseVolume "exec amixer set Master -q 5%+; exec pkill -RTMIN+1 i3blocks"
bindsym XF86AudioLowerVolume "exec amixer set Master -q 5%-; exec pkill -RTMIN+1 i3blocks"
bindsym XF86AudioMute "exec amixer set Master toggle; exec pkill -RTMIN+1 i3blocks"
# For changing brightness
bindsym XF86MonBrightnessUp "exec xbacklight +10"
bindsym XF86MonBrightnessDown "exec xbacklight -10"
# For display management
bindsym XF86Display exec --no-startup-id arandr


# Startup
#exec --no-startup-id xinput disable "SynPS/2 Synaptics TouchPad"
exec --no-startup-id sudo mount -a
exec --no-startup-id redshift
exec --no-startup-id xrdb /home/yuri/.Xresources
exec --no-startup-id feh --bg-fill /home/yuri/.config/wall.png
exec --no-startup-id unclutter


# Power management
bindsym $mod+Shift+Delete exec /home/yuri/bin/prompt 
set $reboot systemctl reboot


# Variables
set $truemute --no-startup-id amixer set Master mute
set $term --no-startup-id "urxvt -bg black -fg white"

CLICK TO VIEW

x

Notes

This is for my laptops. I never learned how to setup a git so I’ll use this for now