Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jay Ta'ala
jt-config-repo
Commits
dc9f49b2
Commit
dc9f49b2
authored
Jan 22, 2020
by
Jay Ta'ala
Browse files
Merge branch 'development'
parents
3dbb14ea
c6b993ef
Changes
3
Hide whitespace changes
Inline
Side-by-side
README.md
0 → 100644
View file @
dc9f49b2
See
[
My Manjaro i3 setup
](
https://confluence.jaytaala.com/display/TKB/My+Manjaro+i3+setup
)
for more information.
conky/conky_shortcuts_numix
View file @
dc9f49b2
...
@@ -33,10 +33,8 @@ ${color2}container layout (tabbed) - ${color}mod+w
...
@@ -33,10 +33,8 @@ ${color2}container layout (tabbed) - ${color}mod+w
${color2}container layout (horiz) - ${color}mod+q
${color2}container layout (horiz) - ${color}mod+q
${color2}container layout (vert) - ${color}mod+e
${color2}container layout (vert) - ${color}mod+e
${color2}container layout (stck) - ${color}mod+s
${color2}container layout (stck) - ${color}mod+s
${color2}child container (tabbed) - ${color}mod+Alt+w
${color2}split container (horiz) - ${color}mod+z
${color2}child container (horiz) - ${color}mod+Alt+q
${color2}split container (vert) - ${color}mod+x
${color2}child container (vert) - ${color}mod+Alt+e
${color2}child container (stck) - ${color}mod+Alt+s
${color2}tab with next window - ${color}mod+z
${color2}tab with next window - ${color}mod+z
${color2}tab with previous window - ${color}mod+Shift+z
${color2}tab with previous window - ${color}mod+Shift+z
...
@@ -57,5 +55,5 @@ ${color2}window dim disable[enable] - ${color}mod+Alt+[a|d]
...
@@ -57,5 +55,5 @@ ${color2}window dim disable[enable] - ${color}mod+Alt+[a|d]
${color2}exit - ${color}mod+0
${color2}exit - ${color}mod+0
${color2}help - ${color}mod+Shift+h
${color2}help - ${color}mod+Shift+h
${color2}mod = ${color}<
Super
>
${color2}mod = ${color}<
alt
>
]]
]]
i3/config
View file @
dc9f49b2
...
@@ -2,8 +2,9 @@
...
@@ -2,8 +2,9 @@
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
# MISC. SETTERS
# MISC. SETTERS
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
# Set mod key ($mod_next=<Alt>, Mod4=<Super>)
set $mod Mod4
set $mod Mod1
set $mod_next Mod4
set $border_no_name border pixel 5
set $border_no_name border pixel 5
set $border_normal border normal 5
set $border_normal border normal 5
...
@@ -147,18 +148,19 @@ workspace_auto_back_and_forth no
...
@@ -147,18 +148,19 @@ workspace_auto_back_and_forth no
# - the first option leaves the shown title as i3 deault (e.g. %title).
# - the first option leaves the shown title as i3 deault (e.g. %title).
# - the second option uses application window title (but colored and bolded) that was selected when the container was created.
# - the second option uses application window title (but colored and bolded) that was selected when the container was created.
# - the third option simply uses "CONTAINER" window title - you can then use $mod+slash to set a custom name
# - the third option simply uses "CONTAINER" window title - you can then use $mod+slash to set a custom name
# NOTE: requires xdotool
# NOTE1: Comment out all options to use default container title_format.
# NOTE2: requires xdotool.
#
#
set $con_title i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> 📦 %title</b></span>\\", focus child, title_format \\" %title\\"
#
set $con_title i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> 📦 %title</b></span>\\", focus child, title_format \\" %title\\"
#set $con_title ANSWER=$(xdotool getwindowfocus getwindowname); i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> ⮡\\"$ANSWER\\"</b></span>\\", focus child
#set $con_title ANSWER=$(xdotool getwindowfocus getwindowname); i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> ⮡\\"$ANSWER\\"</b></span>\\", focus child
#set $con_title i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> 📦 <tt><u>\\$mod+/</u></tt> to change container title</b></span>\\", focus child
#set $con_title i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> 📦 <tt><u>\\$mod+/</u></tt> to change container title</b></span>\\", focus child
# dynamic renaming of parent container
# dynamic renaming of parent container
bindsym $mod+slash exec "ANSWER=$(zenity --title=\\"i3-msg title_format\\" --text \\"Change %title for parent container\\" --entry); if [ -n \\"$ANSWER\\" ]; then i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> 📦 $ANSWER</b></span>\\", focus child; fi"
bindsym $mod+slash exec "ANSWER=$(zenity --title=\\"i3-msg title_format\\" --text \\"Change %title for parent container\\" --entry); if [ -n \\"$ANSWER\\" ]; then i3-msg focus parent, title_format \\"<span foreground='#FEC196'><b> 📦 $ANSWER</b></span>\\", focus child; fi"
bindsym $mod+
Mod1
+slash focus parent, title_format "<span foreground='#FEC196'><b> 📦 %title</b></span>", focus child
bindsym $mod+
$mod_next
+slash focus parent, title_format "<span foreground='#FEC196'><b> 📦 %title</b></span>", focus child
bindsym $mod+Ctrl+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"split h; layout tabbed\\"; $con_title; done"
bindsym $mod+Ctrl+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"split h; layout tabbed\\"; $con_title; done"
bindsym $mod+
Mod1
+Ctrl+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"move left\\"; $con_title; done"
bindsym $mod+
$mod_next
+Ctrl+w exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; i3-msg \\"move left\\"; $con_title; done"
# container layouts
# container layouts
bindsym $mod+w layout tabbed;exec notify-send 'tabbed layout'
bindsym $mod+w layout tabbed;exec notify-send 'tabbed layout'
...
@@ -167,22 +169,12 @@ bindsym $mod+e layout splitv;exec notify-send 'vertical layout'
...
@@ -167,22 +169,12 @@ bindsym $mod+e layout splitv;exec notify-send 'vertical layout'
bindsym $mod+s layout stacking;exec notify-send 'stacking layout'
bindsym $mod+s layout stacking;exec notify-send 'stacking layout'
# child container layouts (creates a child container from current selected application)
# child container layouts (creates a child container from current selected application)
bindsym $mod+Mod1+w split h; layout tabbed; exec "$con_title"
bindsym $mod+z split h; exec "$con_title"
bindsym $mod+Mod1+q split h; exec "$con_title"
bindsym $mod+x split v; exec "$con_title"
bindsym $mod+Mod1+e split h; layout splitv; exec "$con_title"
bindsym $mod+Mod1+s split h; layout stacking; exec "$con_title"
# special combo for horizontal split of two windows next to each other
bindsym $mod+x split h, layout splith, focus right, move left, focus left, exec "$con_title"
bindsym $mod+Shift+x split h, layout splith, focus left, move right, focus right, exec "$con_title"
# special combo for container tabbed split of two windows next to each other
bindsym $mod+z split h, layout tabbed, focus right, move left, focus left, exec "$con_title"
bindsym $mod+Shift+z split h, layout tabbed, focus left, move right, focus right, exec "$con_title"
# toggle fullscreen mode for the focused container
# toggle fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
bindsym $mod+f fullscreen toggle
bindsym $mod+
Mod1
+f floating enable;move position 0px 0px;resize set 1920 1080;border none
bindsym $mod+
$mod_next
+f floating enable;move position 0px 0px;resize set 1920 1080;border none
bindsym $mod+space focus parent; fullscreen toggle; focus child
bindsym $mod+space focus parent; fullscreen toggle; focus child
bindsym --whole-window $mod+button8 fullscreen toggle
bindsym --whole-window $mod+button8 fullscreen toggle
...
@@ -195,23 +187,23 @@ bindsym $mod+backslash exec xrandr -s 1920x1080
...
@@ -195,23 +187,23 @@ bindsym $mod+backslash exec xrandr -s 1920x1080
bindsym $mod+Shift+space floating toggle
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
# change focus between tiling / floating windows
bindsym $mod+
Mod1
+space focus mode_toggle
bindsym $mod+
$mod_next
+space focus mode_toggle
# toggle sticky
# toggle sticky
bindsym $mod+Ctrl+s sticky toggle;exec notify-send 'sticky windows toggled'
bindsym $mod+Ctrl+s sticky toggle;exec notify-send 'sticky windows toggled'
# window transparency adjustment (and alias to restart compton)
# window transparency adjustment (and alias to restart compton)
bindsym $mod+
Mod1
+z exec transset-df -a --min 0.20 --dec 0.20
bindsym $mod+
$mod_next
+z exec transset-df -a --min 0.20 --dec 0.20
bindsym $mod+
Mod1
+Shift+z exec transset-df -a --min 0.1 --dec 0.1
bindsym $mod+
$mod_next
+Shift+z exec transset-df -a --min 0.1 --dec 0.1
bindsym $mod+
Mod1
+Ctrl+z exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; transset-df -a --min 0.20 --dec 0.20; done"
bindsym $mod+
$mod_next
+Ctrl+z exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; transset-df -a --min 0.20 --dec 0.20; done"
bindsym $mod+
Mod1
+x exec transset-df -a --inc 0.20 --max 0.99
bindsym $mod+
$mod_next
+x exec transset-df -a --inc 0.20 --max 0.99
bindsym $mod+
Mod1
+Shift+x exec transset-df -a --inc 0.1 --max 0.99
bindsym $mod+
$mod_next
+Shift+x exec transset-df -a --inc 0.1 --max 0.99
bindsym $mod+
Mod1
+Ctrl+x exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; transset-df -a --inc 0.20 --max 0.99; done"
bindsym $mod+
$mod_next
+Ctrl+x exec "WINDOWS=$(xdotool search --all --onlyvisible --desktop $(xprop -notype -root _NET_CURRENT_DESKTOP | cut -c 24-) \\"\\" 2>/dev/null); for window in $WINDOWS; do xdotool windowactivate $window; transset-df -a --inc 0.20 --max 0.99; done"
bindsym $mod+
Mod1
+c exec --no-startup-id "pkill compton; compton -b"
bindsym $mod+
$mod_next
+c exec --no-startup-id "pkill compton; compton -b"
# window dimming enable or disable (uses xdotool and xprop to set a anti-dim flag, which compton recognises in focus-exclude array)
# window dimming enable or disable (uses xdotool and xprop to set a anti-dim flag, which compton recognises in focus-exclude array)
bindsym $mod+
Mod1
+a exec xprop -id $(xdotool getactivewindow) -f ANTIDIM_FLAG 8c -set ANTIDIM_FLAG 1; exec notify-send 'anti-dim set on window'
bindsym $mod+
$mod_next
+a exec xprop -id $(xdotool getactivewindow) -f ANTIDIM_FLAG 8c -set ANTIDIM_FLAG 1; exec notify-send 'anti-dim set on window'
bindsym $mod+
Mod1
+d exec xprop -id $(xdotool getactivewindow) -remove ANTIDIM_FLAG; exec notify-send 'dim set on window'
bindsym $mod+
$mod_next
+d exec xprop -id $(xdotool getactivewindow) -remove ANTIDIM_FLAG; exec notify-send 'dim set on window'
# focus the parent container
# focus the parent container
bindsym $mod+a focus parent
bindsym $mod+a focus parent
...
@@ -252,14 +244,14 @@ bindsym $mod+7 workspace $ws7
...
@@ -252,14 +244,14 @@ bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+8 workspace $ws8
# Move focused container to workspace
# Move focused container to workspace
bindsym $mod+
Mod1
+1 move container to workspace $ws1
bindsym $mod+
$mod_next
+1 move container to workspace $ws1
bindsym $mod+
Mod1
+2 move container to workspace $ws2
bindsym $mod+
$mod_next
+2 move container to workspace $ws2
bindsym $mod+
Mod1
+3 move container to workspace $ws3
bindsym $mod+
$mod_next
+3 move container to workspace $ws3
bindsym $mod+
Mod1
+4 move container to workspace $ws4
bindsym $mod+
$mod_next
+4 move container to workspace $ws4
bindsym $mod+
Mod1
+5 move container to workspace $ws5
bindsym $mod+
$mod_next
+5 move container to workspace $ws5
bindsym $mod+
Mod1
+6 move container to workspace $ws6
bindsym $mod+
$mod_next
+6 move container to workspace $ws6
bindsym $mod+
Mod1
+7 move container to workspace $ws7
bindsym $mod+
$mod_next
+7 move container to workspace $ws7
bindsym $mod+
Mod1
+8 move container to workspace $ws8
bindsym $mod+
$mod_next
+8 move container to workspace $ws8
# Move to workspace with focused container
# Move to workspace with focused container
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
bindsym $mod+Shift+1 move container to workspace $ws1; workspace $ws1
...
@@ -318,7 +310,7 @@ for_window [title="dropdown-terminal"] sticky enable border none
...
@@ -318,7 +310,7 @@ for_window [title="dropdown-terminal"] sticky enable border none
for_window [title="dropdown-terminal"] move scratchpad
for_window [title="dropdown-terminal"] move scratchpad
exec --no-startup-id tilix -t dropdown-terminal
exec --no-startup-id tilix -t dropdown-terminal
bindsym $mod+Shift+Return [title="dropdown-terminal"] scratchpad show
bindsym $mod+Shift+Return [title="dropdown-terminal"] scratchpad show
bindsym $mod+
Mod1
+Return [title="dropdown-terminal"] move position 0px 0px; resize set 1920 600
bindsym $mod+
$mod_next
+Return [title="dropdown-terminal"] move position 0px 0px; resize set 1920 600
# setting up dropdown Bitwarden
# setting up dropdown Bitwarden
for_window [title="Bitwarden"] sticky enable border none
for_window [title="Bitwarden"] sticky enable border none
...
@@ -338,7 +330,7 @@ bindsym Print exec --no-startup-id i3-scrot
...
@@ -338,7 +330,7 @@ bindsym Print exec --no-startup-id i3-scrot
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
bindsym $mod+Print --release exec --no-startup-id i3-scrot -w
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
bindsym $mod+Shift+Print --release exec --no-startup-id i3-scrot -s
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
bindsym
Mod1
+grave exec --no-startup-id skippy-xd --activate-window-picker
bindsym
$mod_next
+grave exec --no-startup-id skippy-xd --activate-window-picker
# shortcuts to often used applications
# shortcuts to often used applications
bindsym $mod+u exec pamac-manager
bindsym $mod+u exec pamac-manager
...
@@ -348,9 +340,9 @@ bindsym $mod+bracketleft exec nautilus
...
@@ -348,9 +340,9 @@ bindsym $mod+bracketleft exec nautilus
bindsym $mod+Shift+bracketleft exec gksu nautilus
bindsym $mod+Shift+bracketleft exec gksu nautilus
#sm-player shortcuts (e.g. for use if send smplayer to scratchpad)
#sm-player shortcuts (e.g. for use if send smplayer to scratchpad)
bindsym
Mod1
+Shift+space exec --no-startup-id smplayer -send-action pause
bindsym
$mod_next
+Shift+space exec --no-startup-id smplayer -send-action pause
bindsym
Mod1
+Shift+h exec --no-startup-id smplayer -send-action rewind1
bindsym
$mod_next
+Shift+h exec --no-startup-id smplayer -send-action rewind1
bindsym
Mod1
+Shift+l exec --no-startup-id smplayer -send-action forward1
bindsym
$mod_next
+Shift+l exec --no-startup-id smplayer -send-action forward1
# switch to workspace with urgent window automatically
# switch to workspace with urgent window automatically
for_window [urgent=latest] focus
for_window [urgent=latest] focus
...
@@ -410,27 +402,27 @@ bindsym $mod+F12 exec --no-startup-id i3exit suspend, mode "default"
...
@@ -410,27 +402,27 @@ bindsym $mod+F12 exec --no-startup-id i3exit suspend, mode "default"
#}
#}
# arrow key resizing without resize mode
# arrow key resizing without resize mode
bindsym $mod+
Mod1
+Left resize shrink width 100 px or 10 ppt
bindsym $mod+
$mod_next
+Left resize shrink width 100 px or 10 ppt
bindsym $mod+
Mod1
+Down resize grow height 100 px or 10 ppt
bindsym $mod+
$mod_next
+Down resize grow height 100 px or 10 ppt
bindsym $mod+
Mod1
+Up resize shrink height 100 px or 10 ppt
bindsym $mod+
$mod_next
+Up resize shrink height 100 px or 10 ppt
bindsym $mod+
Mod1
+Right resize grow width 100 px or 10 ppt
bindsym $mod+
$mod_next
+Right resize grow width 100 px or 10 ppt
# hkjl resize
# hkjl resize
bindsym $mod+
Mod1
+h resize shrink width 100 px or 10 ppt
bindsym $mod+
$mod_next
+h resize shrink width 100 px or 10 ppt
bindsym $mod+
Mod1
+j resize grow height 100 px or 10 ppt
bindsym $mod+
$mod_next
+j resize grow height 100 px or 10 ppt
bindsym $mod+
Mod1
+k resize shrink height 100 px or 10 ppt
bindsym $mod+
$mod_next
+k resize shrink height 100 px or 10 ppt
bindsym $mod+
Mod1
+l resize grow width 100 px or 10 ppt
bindsym $mod+
$mod_next
+l resize grow width 100 px or 10 ppt
# predefined sizes (70/30)
# predefined sizes (70/30)
bindsym $mod+
Mod1
+u resize set width 30 ppt
bindsym $mod+
$mod_next
+u resize set width 30 ppt
bindsym $mod+
Mod1
+i resize set width 50 ppt
bindsym $mod+
$mod_next
+i resize set width 50 ppt
bindsym $mod+
Mod1
+o resize set width 70 ppt
bindsym $mod+
$mod_next
+o resize set width 70 ppt
bindsym $mod+
Mod1
+Shift+u resize set width 1 ppt
bindsym $mod+
$mod_next
+Shift+u resize set width 1 ppt
bindsym $mod+
Mod1
+Shift+o resize set width 99 ppt
bindsym $mod+
$mod_next
+Shift+o resize set width 99 ppt
# "netflix" and "spotify" modes
# "netflix" and "spotify" modes
bindsym $mod+
Mod1
+n floating enable;sticky enable;move position 1300px 708px resize set 612 343;border none
bindsym $mod+
$mod_next
+n floating enable;sticky enable;move position 1300px 708px resize set 612 343;border none
bindsym $mod+
Mod1
+m floating enable;sticky enable;resize set 791 70;border none
bindsym $mod+
$mod_next
+m floating enable;sticky enable;resize set 791 70;border none
# Color palette used for the terminal ( ~/.Xresources file )
# Color palette used for the terminal ( ~/.Xresources file )
# Colors are gathered based on the documentation:
# Colors are gathered based on the documentation:
...
@@ -497,11 +489,11 @@ bindsym $mod+m bar mode toggle
...
@@ -497,11 +489,11 @@ bindsym $mod+m bar mode toggle
# class border backgr. text indic. child_border
# class border backgr. text indic. child_border
client.focused $bdrcolor $acolor $txtacolor $indcolor $acolor
client.focused $bdrcolor $acolor $txtacolor $indcolor $acolor
client.focused_inactive $bdrcolor $bgicolor $txtacolor $indcolor $bgucolor
#
client.focused_inactive $bdrcolor $bgicolor $txtacolor $indcolor $bgucolor
client.unfocused $bdrcolor $bgucolor $txtucolor $indcolor $bgucolor
#
client.unfocused $bdrcolor $bgucolor $txtucolor $indcolor $bgucolor
client.urgent #CB4B16 #FDF6E3 #CB4B16 $indcolor
#
client.urgent #CB4B16 #FDF6E3 #CB4B16 $indcolor
client.placeholder #000000 #0c0c0c $txtacolor #000000
#
client.placeholder #000000 #0c0c0c $txtacolor #000000
client.background #2B2C2B
#
client.background #2B2C2B
#############################
#############################
### settings for i3-gaps: ###
### settings for i3-gaps: ###
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment