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
24de1e72
Commit
24de1e72
authored
Mar 29, 2022
by
Jay Ta'ala
Browse files
Cleanup and remove of unused shortcuts.
parent
ec9d5888
Changes
2
Show whitespace changes
Inline
Side-by-side
i3/config
View file @
24de1e72
...
@@ -102,21 +102,19 @@ floating_modifier $mod
...
@@ -102,21 +102,19 @@ floating_modifier $mod
# Autostart applications
# Autostart applications
#exec --no-startup-id alttab -pk h -nk l -fg "#d58681" -bg "#4a4a4a" -frame "#eb564d" -t 128x150 -i 127x64
#exec --no-startup-id alttab -pk h -nk l -fg "#d58681" -bg "#4a4a4a" -frame "#eb564d" -t 128x150 -i 127x64
# needs xorg-xsetroot installed
# needs xorg-xsetroot installed
exec --no-startup-id xsetroot -solid "#1d1d1d"
exec --no-startup-id "pkill -9 redshift; redshift -P -t 5000:4000"
exec --no-startup-id "pkill -9 redshift; redshift -P -t 5000:4000"
exec --no-startup-id "xkbset exp =m; xkbset m"
exec --no-startup-id "xkbset exp =m; xkbset m"
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd
exec --no-startup-id copyq
exec --no-startup-id copyq
exec --no-startup-id fcitx -d
exec --no-startup-id fcitx -d
exec --no-startup-id nm-applet
exec --no-startup-id nm-applet
exec --no-startup-id /usr/lib/xfce4/notifyd/xfce4-notifyd
exec --no-startup-id xfce4-power-manager
exec --no-startup-id optimus-manager-qt
exec --no-startup-id optimus-manager-qt
exec --no-startup-id xfce4-power-manager
exec --no-startup-id xsetroot -solid "#1d1d1d"
exec_always --no-startup-id "pkill conky; sleep 0.5; conky -c ~/.config/conky; conky -c ~/.config/conky_shortcuts"
set $picom_start "pkill picom; sleep 1; picom -b"
set $picom_start "pkill picom; sleep 1; picom -b"
exec_always --no-startup-id $picom_start
exec_always --no-startup-id $picom_start
exec_always --no-startup-id "pkill conky; sleep 0.5; conky -c ~/.config/conky; conky -c ~/.config/conky_shortcuts"
exec_always --no-startup-id i3-focus-last server
#exec_always --no-startup-id i3wsr --config ~/.i3/i3wsr.toml
# picom (compositor)
# picom (compositor)
bindsym $mod+t exec --no-startup-id $picom_start
bindsym $mod+t exec --no-startup-id $picom_start
...
@@ -173,17 +171,6 @@ bindsym $mod+a focus left
...
@@ -173,17 +171,6 @@ bindsym $mod+a focus left
bindsym $mod+s focus down
bindsym $mod+s focus down
bindsym $mod+d focus right
bindsym $mod+d focus right
# master-stack keybinding (moves stack window to master and current master back to stack window)
# NOTE: requires 'jq'
#bindsym $mod+period focus parent, focus right, focus child
#bindsym $mod+comma focus parent, focus left, focus child
#set $get_layout $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout')
#set $count_children $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).nodes' | jq length)
#bindsym $mod+Shift+period exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then MST=$get_layout; i3-msg layout stacked, focus right; STK=$get_layout; i3-msg layout stacked, focus left, move right, layout $STK, focus parent, focus left, layout $MST; fi"
#bindsym $mod+Shift+comma exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then STK=$get_layout; i3-msg layout stacked, focus left; MST=$get_layout; i3-msg layout stacked, focus right, move left, layout $MST, focus parent, focus right, layout $STK; fi"
#bindsym $mod_next+Shift+period exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then MST=$get_layout; i3-msg layout stacked, focus right; STK=$get_layout; i3-msg layout stacked, focus left, move right, focus up, layout $STK, focus parent, focus left, layout $MST; fi"
#bindsym $mod_next+Shift+comma exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then STK=$get_layout; i3-msg layout stacked, focus left; MST=$get_layout; i3-msg layout stacked, focus right, move left, focus up, layout $MST, focus parent, focus right, layout $STK; fi"
# container focusing (with fallback for case where window is direct child of workspace container)
# container focusing (with fallback for case where window is direct child of workspace container)
# NOTE: requires xdotool
# NOTE: requires xdotool
#bindsym $mod+comma exec "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus left; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus left\\"; fi"
#bindsym $mod+comma exec "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus left; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus left\\"; fi"
...
@@ -212,11 +199,11 @@ bindsym $mod+Shift+s move down 100px
...
@@ -212,11 +199,11 @@ bindsym $mod+Shift+s move down 100px
bindsym $mod+Shift+d move right 100px
bindsym $mod+Shift+d move right 100px
# move the currently focused window to the scratchpad
# move the currently focused window to the scratchpad
#
bindsym $mod+Shift+
Tab
move scratchpad
bindsym $mod+Shift+
minus
move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
# If there are multiple scratchpad windows, this command cycles through them.
#
bindsym $mod+minus scratchpad show
bindsym $mod+minus scratchpad show
# move all windows on workspace cache to mark STK
# move all windows on workspace cache to mark STK
bindsym $mod+grave move container to workspace $wsg
bindsym $mod+grave move container to workspace $wsg
...
@@ -273,10 +260,6 @@ bindsym $mod+Ctrl+space focus mode_toggle
...
@@ -273,10 +260,6 @@ bindsym $mod+Ctrl+space focus mode_toggle
# toggle sticky
# toggle sticky
bindsym $mod+Ctrl+v sticky toggle;exec notify-send 'sticky windows toggled'
bindsym $mod+Ctrl+v sticky toggle;exec notify-send 'sticky windows toggled'
# focus last window
# requires (https://crates.io/crates/i3-focus-last)
#bindsym $mod+Tab exec i3-focus-last
# window transparency adjustment (and alias to restart picom)
# window transparency adjustment (and alias to restart picom)
bindsym $mod+$mod_next+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+$mod_next+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
...
@@ -381,16 +364,18 @@ for_window [class="(?i)^workspacesclient$"] floating disable
...
@@ -381,16 +364,18 @@ for_window [class="(?i)^workspacesclient$"] floating disable
for_window [class="(?i)^zoom$"] floating disable
for_window [class="(?i)^zoom$"] floating disable
# Application shortcuts
# Application shortcuts
bindsym $mod+Return exec i3-sensible-terminal
bindsym Print exec --no-startup-id flameshot gui
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
# shortcuts to often used applications
bindsym $mod_next+u exec --no-startup-id pamac-manager
bindsym $mod_next+u exec --no-startup-id pamac-manager
bindsym $mod_next+i exec --no-startup-id brave
bindsym $mod_next+i exec --no-startup-id brave
bindsym $mod_next+o exec --no-startup-id xfce4-appfinder
bindsym $mod_next+o exec --no-startup-id xfce4-appfinder
bindsym $mod_next+p exec --no-startup-id putty
bindsym $mod_next+p exec --no-startup-id putty
bindsym $mod_next+bracketleft exec --no-startup-id nautilus
bindsym $mod_next+bracketleft exec --no-startup-id nautilus
# type clipboard contents (required xdotool and xclip)
bindsym $mod+Shift+Ctrl+v exec --no-startup-id "sleep 0.5; /usr/bin/xdotool type --delay 100 \\"$(xclip -o)\\""
# shortcuts to often used applications
bindsym $mod+Return exec i3-sensible-terminal
bindsym Print exec --no-startup-id flameshot gui
bindsym $mod+Ctrl+x --release exec --no-startup-id xkill
#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 $mod_next+Shift+space exec --no-startup-id smplayer -send-action pause
bindsym $mod_next+Shift+space exec --no-startup-id smplayer -send-action pause
...
@@ -432,10 +417,6 @@ mode "$mode_system" {
...
@@ -432,10 +417,6 @@ mode "$mode_system" {
bindsym Escape mode "default"
bindsym Escape mode "default"
}
}
# Lock screen
bindsym $mod+Home exec --no-startup-id i3exit lock, mode "default"
bindsym $mod+F12 exec --no-startup-id i3exit suspend, mode "default"
## Resize window (you can also use the mouse for that)
## Resize window (you can also use the mouse for that)
#bindsym $mod+r mode "resize"
#bindsym $mod+r mode "resize"
#mode "resize" {
#mode "resize" {
...
...
i3/config.simple
View file @
24de1e72
...
@@ -12,10 +12,10 @@ set $border_normal border normal 3
...
@@ -12,10 +12,10 @@ set $border_normal border normal 3
set $i3inputfont \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\"
set $i3inputfont \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\"
# Theme options (comment/uncomment theme group)
# Theme options (comment/uncomment theme group)
#
# Theme 1 "paradise pink"
# Theme 1 "paradise pink"
#
set $accent-bg #d64161
set $accent-bg #d64161
#
set $accent-txt #F9FAF9
set $accent-txt #F9FAF9
#
set $indicator #109648
set $indicator #109648
# Theme 2 "sheen green"
# Theme 2 "sheen green"
#set $accent-bg #8ae234
#set $accent-bg #8ae234
...
@@ -43,9 +43,9 @@ set $i3inputfont \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\"
...
@@ -43,9 +43,9 @@ set $i3inputfont \\"-*-*-*-*-*-*-24-*-*-*-*-*-*-*\\"
#set $indicator #109648
#set $indicator #109648
# Theme 6 "yellow green"
# Theme 6 "yellow green"
set $accent-bg #8ac926
#
set $accent-bg #8ac926
set $accent-txt #363636
#
set $accent-txt #363636
set $indicator #109648
#
set $indicator #109648
# set other colors
# set other colors
set $inactive-bg #3A4141
set $inactive-bg #3A4141
...
@@ -97,7 +97,6 @@ floating_modifier $mod
...
@@ -97,7 +97,6 @@ floating_modifier $mod
# Autostart applications
# Autostart applications
exec --no-startup-id xsetroot -solid "#6a6868"
exec --no-startup-id xsetroot -solid "#6a6868"
exec_always --no-startup-id i3wsr --config ~/.config/i3/i3wsr.toml
exec_always --no-startup-id vmware-user-suid-wrapper
exec_always --no-startup-id vmware-user-suid-wrapper
# picom (compositor)
# picom (compositor)
...
@@ -149,17 +148,6 @@ bindsym $mod+a focus left
...
@@ -149,17 +148,6 @@ bindsym $mod+a focus left
bindsym $mod+s focus down
bindsym $mod+s focus down
bindsym $mod+d focus right
bindsym $mod+d focus right
# master-stack keybinding (moves stack window to master and current master back to stack window)
# NOTE: requires 'jq'
#bindsym $mod+period focus parent, focus right, focus child
#bindsym $mod+comma focus parent, focus left, focus child
#set $get_layout $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).layout')
#set $count_children $(i3-msg -t get_tree | jq -r 'recurse(.nodes[];.nodes!=null)|select(.nodes[].focused).nodes' | jq length)
#bindsym $mod+Shift+period exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then MST=$get_layout; i3-msg layout stacked, focus right; STK=$get_layout; i3-msg layout stacked, focus left, move right, layout $STK, focus parent, focus left, layout $MST; fi"
#bindsym $mod+Shift+comma exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then STK=$get_layout; i3-msg layout stacked, focus left; MST=$get_layout; i3-msg layout stacked, focus right, move left, layout $MST, focus parent, focus right, layout $STK; fi"
#bindsym $mod_next+Shift+period exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then MST=$get_layout; i3-msg layout stacked, focus right; STK=$get_layout; i3-msg layout stacked, focus left, move right, focus up, layout $STK, focus parent, focus left, layout $MST; fi"
#bindsym $mod_next+Shift+comma exec "COUNT=$count_children; if [ \\"$COUNT\\" -gt 1 ]; then STK=$get_layout; i3-msg layout stacked, focus left; MST=$get_layout; i3-msg layout stacked, focus right, move left, focus up, layout $MST, focus parent, focus right, layout $STK; fi"
# container focusing (with fallback for case where window is direct child of workspace container)
# container focusing (with fallback for case where window is direct child of workspace container)
# NOTE: requires xdotool
# NOTE: requires xdotool
#bindsym $mod+comma exec "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus left; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus left\\"; fi"
#bindsym $mod+comma exec "WINDOW=$(xdotool getactivewindow); i3-msg \\"focus parent; focus left; focus child\\"; NEW_WINDOW=$(xdotool getactivewindow); if [ \\"$NEW_WINDOW\\" -eq \\"$WINDOW\\" ]; then i3-msg \\"focus left\\"; fi"
...
@@ -188,11 +176,11 @@ bindsym $mod+Shift+s move down 100px
...
@@ -188,11 +176,11 @@ bindsym $mod+Shift+s move down 100px
bindsym $mod+Shift+d move right 100px
bindsym $mod+Shift+d move right 100px
# move the currently focused window to the scratchpad
# move the currently focused window to the scratchpad
#
bindsym $mod+Shift+
Tab
move scratchpad
bindsym $mod+Shift+
minus
move scratchpad
# Show the next scratchpad window or hide the focused scratchpad window.
# Show the next scratchpad window or hide the focused scratchpad window.
# If there are multiple scratchpad windows, this command cycles through them.
# If there are multiple scratchpad windows, this command cycles through them.
#
bindsym $mod+minus scratchpad show
bindsym $mod+minus scratchpad show
# move all windows on workspace cache to mark STK
# move all windows on workspace cache to mark STK
bindsym $mod+grave move container to workspace $wsg
bindsym $mod+grave move container to workspace $wsg
...
@@ -249,10 +237,6 @@ bindsym $mod+Ctrl+space focus mode_toggle
...
@@ -249,10 +237,6 @@ bindsym $mod+Ctrl+space focus mode_toggle
# toggle sticky
# toggle sticky
bindsym $mod+Ctrl+v sticky toggle;exec notify-send 'sticky windows toggled'
bindsym $mod+Ctrl+v sticky toggle;exec notify-send 'sticky windows toggled'
# focus last window
# requires (https://crates.io/crates/i3-focus-last)
#bindsym $mod+Tab exec i3-focus-last
# window transparency adjustment (and alias to restart picom)
# window transparency adjustment (and alias to restart picom)
bindsym $mod+$mod_next+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+$mod_next+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
...
...
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