134 lines
4.2 KiB
Plaintext
134 lines
4.2 KiB
Plaintext
set $mod Mod1
|
|
font pango:monospace 8
|
|
exec --no-startup-id setxkbmap -option caps:escape
|
|
exec --no-startup-id nitrogen --restore
|
|
exec --no-startup-id picom
|
|
exec --no-startup-id dex-autostart --autostart --environment i3
|
|
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
|
exec --no-startup-id nm-applet
|
|
set $refresh_i3status killall -SIGUSR1 i3status
|
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
|
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
|
|
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
|
|
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
|
|
|
|
floating_modifier $mod
|
|
tiling_drag modifier titlebar
|
|
default_border pixel 4
|
|
gaps inner 5px
|
|
gaps outer 5px
|
|
|
|
bindsym $mod+t exec kitty
|
|
bindsym $mod+f exec nemo
|
|
bindsym $mod+w exec librewolf
|
|
bindsym $mod+e kill
|
|
|
|
# start dmenu (a program launcher)
|
|
bindsym Super_L exec --no-startup-id rofi -show drun
|
|
|
|
# change focus
|
|
bindsym $mod+h focus left
|
|
bindsym $mod+j focus down
|
|
bindsym $mod+k focus up
|
|
bindsym $mod+l focus right
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
bindsym $mod+Left focus left
|
|
bindsym $mod+Down focus down
|
|
bindsym $mod+Up focus up
|
|
bindsym $mod+Right focus right
|
|
|
|
# move focused window
|
|
bindsym $mod+Shift+j move left
|
|
bindsym $mod+Shift+k move down
|
|
bindsym $mod+Shift+l move up
|
|
bindsym $mod+Shift+semicolon move right
|
|
|
|
# alternatively, you can use the cursor keys:
|
|
bindsym $mod+Shift+Left move left
|
|
bindsym $mod+Shift+Down move down
|
|
bindsym $mod+Shift+Up move up
|
|
bindsym $mod+Shift+Right move right
|
|
|
|
# splits
|
|
bindsym $mod+d split h
|
|
bindsym $mod+s split v
|
|
|
|
# enter fullscreen mode for the focused container
|
|
bindsym $mod+Return fullscreen toggle
|
|
|
|
# change container layout (stacked, tabbed, toggle split)
|
|
# bindsym $mod+s layout stacking
|
|
#bindsym $mod+w layout tabbed
|
|
#bindsym $mod+e layout toggle split
|
|
|
|
# toggle tiling / floating
|
|
bindsym $mod+Shift+space floating toggle
|
|
|
|
# change focus between tiling / floating windows
|
|
bindsym $mod+space focus mode_toggle
|
|
|
|
# focus the parent container
|
|
bindsym $mod+a focus parent
|
|
|
|
# focus the child container
|
|
#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.
|
|
set $ws1 "1"
|
|
set $ws2 "2"
|
|
set $ws3 "3"
|
|
set $ws4 "4"
|
|
set $ws5 "5"
|
|
|
|
# switch to workspace
|
|
bindsym $mod+1 workspace number $ws1
|
|
bindsym $mod+2 workspace number $ws2
|
|
bindsym $mod+3 workspace number $ws3
|
|
bindsym $mod+4 workspace number $ws4
|
|
bindsym $mod+5 workspace number $ws5
|
|
|
|
# move focused container to workspace
|
|
bindsym $mod+Shift+1 move container to workspace number $ws1
|
|
bindsym $mod+Shift+2 move container to workspace number $ws2
|
|
bindsym $mod+Shift+3 move container to workspace number $ws3
|
|
bindsym $mod+Shift+4 move container to workspace number $ws4
|
|
bindsym $mod+Shift+5 move container to workspace number $ws5
|
|
|
|
# reload the configuration file
|
|
bindsym $mod+r reload
|
|
bindsym $mod+Shift+r restart
|
|
bindsym $mod+End exec "i3-msg exit"
|
|
|
|
bindsym $mod+Control+h resize shrink width 10 px or 10 ppt
|
|
bindsym $mod+Control+j resize grow height 10 px or 10 ppt
|
|
bindsym $mod+Control+k resize shrink height 10 px or 10 ppt
|
|
bindsym $mod+Control+l resize grow width 10 px or 10 ppt
|
|
|
|
bindsym $mod+Control+Left resize shrink width 10 px or 10 ppt
|
|
bindsym $mod+Control+Down resize grow height 10 px or 10 ppt
|
|
bindsym $mod+Control+Up resize shrink height 10 px or 10 ppt
|
|
bindsym $mod+Control+Right resize grow width 10 px or 10 ppt
|
|
|
|
# bind mouse
|
|
bindsym button11 workspace number $ws1
|
|
bindsym button12 resize mouse
|
|
|
|
|
|
# Start i3bar to display a workspace bar (plus the system information i3status
|
|
# finds out, if available)
|
|
bar {
|
|
status_command i3status
|
|
}
|
|
|
|
# Colors
|
|
# class border backgr. text indicator child_border
|
|
client.focused #2596be #285577 #ffffff #abdbe3 #2596be
|
|
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
|
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
|
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
|
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
|
|
|
client.background #ffffff
|