71 lines
2.6 KiB
Plaintext
71 lines
2.6 KiB
Plaintext
# Base configuration options
|
|
|
|
set $i3_path ~/.config/i3
|
|
|
|
# Use the Super key as $mod, because Alt is used in tmux
|
|
set $mod Mod4
|
|
floating_modifier $mod
|
|
|
|
new_window pixel 1
|
|
new_float normal
|
|
|
|
hide_edge_borders none
|
|
|
|
bindsym $mod+u border none
|
|
bindsym $mod+y border pixel 1
|
|
bindsym $mod+n border normal
|
|
|
|
font xft:URWGothic-Book 11
|
|
|
|
# reload the configuration file
|
|
bindsym $mod+Shift+c reload
|
|
|
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
|
bindsym $mod+Shift+r restart
|
|
|
|
# exit i3 (logs you out of your X session)
|
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
|
|
|
# Set shut down, restart and locking features
|
|
bindsym $mod+0 mode "$mode_system"
|
|
set $mode_system (l)ock, (e)xit, switch_(u)ser, (s)uspend, (r)eboot, (Shift+s)hutdown
|
|
mode "$mode_system" {
|
|
bindsym l exec --no-startup-id i3lock-fancy -p
|
|
bindsym s exec --no-startup-id i3exit suspend, mode "default"
|
|
bindsym u exec --no-startup-id i3exit switch_user, mode "default"
|
|
bindsym e exec --no-startup-id i3exit logout, mode "default"
|
|
bindsym r exec --no-startup-id i3exit reboot, mode "default"
|
|
bindsym Shift+s exec --no-startup-id i3exit shutdown, mode "default"
|
|
|
|
# exit system mode: "Enter" or "Escape"
|
|
bindsym Return mode "default"
|
|
bindsym Escape mode "default"
|
|
}
|
|
|
|
################################################################################################
|
|
## sound-section - DO NOT EDIT if you wish to automatically upgrade Alsa -> Pulseaudio later! ##
|
|
################################################################################################
|
|
|
|
exec --no-startup-id volumeicon
|
|
bindsym $mod+Ctrl+m exec terminal -e 'alsamixer'
|
|
#exec --no-startup-id pulseaudio
|
|
#exec --no-startup-id pa-applet
|
|
#bindsym $mod+Ctrl+m exec pavucontrol
|
|
|
|
################################################################################################
|
|
|
|
# Screen brightness controls
|
|
# bindsym XF86MonBrightnessUp exec "xbacklight -inc 10; notify-send 'brightness up'"
|
|
# bindsym XF86MonBrightnessDown exec "xbacklight -dec 10; notify-send 'brightness down'"
|
|
|
|
# Theme colors
|
|
# class border backgr. text indic. child_border
|
|
client.focused #89b8c2 #89b8c2 #161821 #b4be82
|
|
client.focused_inactive #a093c7 #a093c7 #161821 #e2a478
|
|
client.unfocused #6b7089 #6b7089 #c6c8d1 #84a0c6
|
|
client.urgent #e27878 #e27878 #CB4B16 #CB4B16
|
|
client.placeholder #e2a478 #e2a478 #161821 #95c4ce
|
|
client.background #161821
|
|
|
|
# End base configuration
|