aboutsummaryrefslogtreecommitdiff
path: root/i3/config
diff options
context:
space:
mode:
Diffstat (limited to 'i3/config')
-rw-r--r--i3/config142
1 files changed, 5 insertions, 137 deletions
diff --git a/i3/config b/i3/config
index 816ff69..64a5c6e 100644
--- a/i3/config
+++ b/i3/config
@@ -7,7 +7,7 @@ font pango:monospace 9
floating_modifier $mod
# start a terminal
-bindsym $mod+Return exec "termite"
+bindsym $mod+Return exec "termite -t termite"
bindsym $mod+Shift+Return exec "termite -t termite_floating"
#start ranger
@@ -23,10 +23,11 @@ bindsym $mod+Shift+w exec "XSECURELOCK_PASSWORD_PROMPT=kaomoji xsecurelock"
#"i3lock -p win -i ~/vimconfig/pictures/lock.png"
#Screenshot on mod+p
-bindsym $mod+p exec "scrot ~/Screenshots/Screenshot%Y-%m-%d%H:%M:%S.png"
+bindsym $mod+p exec "flameshot gui"
+#"scrot ~/Screenshots/Screenshot%Y-%m-%d%H:%M:%S.png"
# rofi
-bindsym $mod+d exec "rofi window,drun,ssh -show drun -terminal termite"
+bindsym $mod+d exec rofi drun -show drun -terminal termite -run-command "/bin/bash -i -c '{cmd}'"
# Scratchpad
bindsym $mod+Shift+BackSpace move scratchpad
@@ -99,7 +100,7 @@ bindsym $mod+space focus mode_toggle
bindsym $mod+a focus parent
# focus the child container
-#bindsym $mod+d focus child
+# bindsym $mod+d focus child
# Define names for default workspaces for which we configure key bindings later on.
# We use variables to avoid repeating the names in multiple places.
@@ -171,27 +172,17 @@ bindsym $mod+Mod4+Shift+8 move container to workspace $ws18
bindsym $mod+Mod4+Shift+9 move container to workspace $ws19
bindsym $mod+Mod4+Shift+0 move container to workspace $ws20
-
-# resize window (you can also use the mouse for that)
mode "resize" {
- # These bindings trigger as soon as you enter the resize mode
-
- # Pressing left will shrink the window’s width.
- # Pressing right will grow the window’s width.
- # Pressing up will shrink the window’s height.
- # Pressing down will grow the window’s height.
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym odiaeresis resize grow width 10 px or 10 ppt
- # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
bindsym Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
- # back to normal: Enter or Escape or $mod+r
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
@@ -199,129 +190,6 @@ mode "resize" {
bindsym $mod+r mode "resize"
-##GAPS
-set $mode_gaps Gaps: (o)uter, (i)nner, (h)orizontal, (v)ertical, (t)op, (r)ight, (b)ottom, (l)eft
-set $mode_gaps_outer Outer Gaps: +|-|0 (local), Shift + +|-|0 (global)
-set $mode_gaps_inner Inner Gaps: +|-|0 (local), Shift + +|-|0 (global)
-set $mode_gaps_horiz Horizontal Gaps: +|-|0 (local), Shift + +|-|0 (global)
-set $mode_gaps_verti Vertical Gaps: +|-|0 (local), Shift + +|-|0 (global)
-set $mode_gaps_top Top Gaps: +|-|0 (local), Shift + +|-|0 (global)
-set $mode_gaps_right Right Gaps: +|-|0 (local), Shift + +|-|0 (global)
-set $mode_gaps_bottom Bottom Gaps: +|-|0 (local), Shift + +|-|0 (global)
-set $mode_gaps_left Left Gaps: +|-|0 (local), Shift + +|-|0 (global)
-bindsym $mod+Shift+g mode "$mode_gaps"
-
-mode "$mode_gaps" {
- bindsym o mode "$mode_gaps_outer"
- bindsym i mode "$mode_gaps_inner"
- bindsym h mode "$mode_gaps_horiz"
- bindsym v mode "$mode_gaps_verti"
- bindsym t mode "$mode_gaps_top"
- bindsym r mode "$mode_gaps_right"
- bindsym b mode "$mode_gaps_bottom"
- bindsym l mode "$mode_gaps_left"
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-
-mode "$mode_gaps_outer" {
- bindsym plus gaps outer current plus 5
- bindsym minus gaps outer current minus 5
- bindsym 0 gaps outer current set 0
-
- bindsym Shift+plus gaps outer all plus 5
- bindsym Shift+minus gaps outer all minus 5
- bindsym Shift+0 gaps outer all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-mode "$mode_gaps_inner" {
- bindsym plus gaps inner current plus 5
- bindsym minus gaps inner current minus 5
- bindsym 0 gaps inner current set 0
-
- bindsym Shift+plus gaps inner all plus 5
- bindsym Shift+minus gaps inner all minus 5
- bindsym Shift+0 gaps inner all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-mode "$mode_gaps_horiz" {
- bindsym plus gaps horizontal current plus 5
- bindsym minus gaps horizontal current minus 5
- bindsym 0 gaps horizontal current set 0
-
- bindsym Shift+plus gaps horizontal all plus 5
- bindsym Shift+minus gaps horizontal all minus 5
- bindsym Shift+0 gaps horizontal all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-mode "$mode_gaps_verti" {
- bindsym plus gaps vertical current plus 5
- bindsym minus gaps vertical current minus 5
- bindsym 0 gaps vertical current set 0
-
- bindsym Shift+plus gaps vertical all plus 5
- bindsym Shift+minus gaps vertical all minus 5
- bindsym Shift+0 gaps vertical all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-mode "$mode_gaps_top" {
- bindsym plus gaps top current plus 5
- bindsym minus gaps top current minus 5
- bindsym 0 gaps top current set 0
-
- bindsym Shift+plus gaps top all plus 5
- bindsym Shift+minus gaps top all minus 5
- bindsym Shift+0 gaps top all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-mode "$mode_gaps_right" {
- bindsym plus gaps right current plus 5
- bindsym minus gaps right current minus 5
- bindsym 0 gaps right current set 0
-
- bindsym Shift+plus gaps right all plus 5
- bindsym Shift+minus gaps right all minus 5
- bindsym Shift+0 gaps right all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-mode "$mode_gaps_bottom" {
- bindsym plus gaps bottom current plus 5
- bindsym minus gaps bottom current minus 5
- bindsym 0 gaps bottom current set 0
-
- bindsym Shift+plus gaps bottom all plus 5
- bindsym Shift+minus gaps bottom all minus 5
- bindsym Shift+0 gaps bottom all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-mode "$mode_gaps_left" {
- bindsym plus gaps left current plus 5
- bindsym minus gaps left current minus 5
- bindsym 0 gaps left current set 0
-
- bindsym Shift+plus gaps left all plus 5
- bindsym Shift+minus gaps left all minus 5
- bindsym Shift+0 gaps left all set 0
-
- bindsym Return mode "$mode_gaps"
- bindsym Escape mode "default"
-}
-##/GAPS
-
#COLOR
set $bgb #282a36
set $bg #282a36AA