Smaller i3gaps, +Shift+e exits i3, ranger instead of pcmanfm, changed lock
This commit is contained in:
@@ -21,7 +21,7 @@ focus_follows_mouse no
|
||||
|
||||
# Configure
|
||||
# border style <normal|1pixel|pixel xx|none|pixel>
|
||||
new_window pixel 1
|
||||
new_window none
|
||||
new_float normal
|
||||
hide_edge_borders none
|
||||
|
||||
@@ -85,10 +85,8 @@ bindsym $mod+Shift+8 move container to workspace $ws8; workspace $ws8
|
||||
bindsym $mod+Shift+9 move container to workspace $ws9; workspace $ws9
|
||||
|
||||
# Open specific applications in floating mode
|
||||
for_window [title="alsamixer"] flMoating enable border pixel 1
|
||||
for_window [title="alsamixer"] floating enable border pixel 1
|
||||
for_window [title="File Transfer*"] floating enable
|
||||
for_window [class="GParted"] floating enable border normal
|
||||
for_window [title="i3_help"] floating enable sticky enable border normal
|
||||
for_window [class="Lightdm-gtk-greeter-settings"] floating enable
|
||||
for_window [class="Lxappearance"] floating enable sticky enable border normal
|
||||
for_window [class="Nitrogen"] floating enable sticky enable border normal
|
||||
@@ -99,6 +97,7 @@ for_window [class="(?i)System-config-printer.py"] floating enable border normal
|
||||
for_window [class="Thus"] floating enable border normal
|
||||
for_window [class="Timeset-gui"] floating enable border normal
|
||||
for_window [class="(?i)virtualbox"] floating enable border normal
|
||||
for_window [title="KeePassX$"] floating enable border normal
|
||||
|
||||
# switch to workspace with urgent window automatically
|
||||
for_window [urgent=latest] focus
|
||||
@@ -107,7 +106,7 @@ for_window [urgent=latest] focus
|
||||
############################ Startup Applications #############################
|
||||
###############################################################################
|
||||
|
||||
exec ~/.scripts/startup.sh
|
||||
exec --no-startup-id setxkbmap us,de
|
||||
exec --no-startup-id nitrogen --restore; compton -b
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id emacs --daemon
|
||||
@@ -115,6 +114,9 @@ exec --no-startup-id udiskie
|
||||
exec --no-startup-id polybar beep -r
|
||||
exec --no-startup-id polybar boop -r
|
||||
exec --no-startup-id setxkbmap -option "ctrl:swapcaps"
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id xss-lock -- python ~/.scripts/i3lock.py
|
||||
|
||||
###############################################################################
|
||||
################################# Keybindings #################################
|
||||
###############################################################################
|
||||
@@ -141,7 +143,7 @@ bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
|
||||
|
||||
# Application Shortcuts
|
||||
bindsym $mod+b exec env GTK_THEME=Materia:light waterfox
|
||||
bindsym $mod+e exec pcmanfm
|
||||
bindsym $mod+e exec termite -e ranger
|
||||
bindsym $mod+m exec thunderbird
|
||||
|
||||
bindsym Print exec --no-startup-id scrot
|
||||
@@ -189,9 +191,9 @@ bindsym $mod+minus scratchpad show
|
||||
bindsym $mod+Ctrl+semicolon workspace next
|
||||
bindsym $mod+Ctrl+j workspace prev
|
||||
|
||||
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
||||
# restart/exit i3
|
||||
bindsym $mod+Shift+r restart
|
||||
|
||||
bindsym $mod+Shift+e exit
|
||||
|
||||
# Resize window (you can also use the mouse for that)
|
||||
bindsym $mod+r mode "resize"
|
||||
@@ -281,15 +283,15 @@ client.background $i3_color10
|
||||
#############################
|
||||
|
||||
# Set inner/outer gaps
|
||||
gaps inner 15
|
||||
gaps inner 10
|
||||
gaps outer -4
|
||||
|
||||
# Smart gaps (gaps used if only more than one container on the workspace)
|
||||
smart_gaps on
|
||||
# smart_gaps on
|
||||
|
||||
# Smart borders (draw borders around container only if it is not the only container on this workspace)
|
||||
# on|no_gaps (on=always activate and no_gaps=only activate if the gap size to the edge of the screen is 0)
|
||||
smart_borders on
|
||||
# smart_borders on
|
||||
|
||||
# Press $mod+Shift+g to enter the gap mode. Choose o or i for modifying outer/inner gaps. Press one of + / - (in-/decrement for current workspace) or 0 (remove gaps for current workspace). If you also press Shift with these keys, the change will be global for all workspaces.
|
||||
set $mode_gaps Gaps: (o) outer, (i) inner
|
||||
|
||||
Reference in New Issue
Block a user