2015-07-16 13:49:19 +02:00
|
|
|
|
# i3 config file (v4)
|
|
|
|
|
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# Set mod key (Mod1=<Alt>, Mod4=<Super>)
|
2015-07-16 13:49:19 +02:00
|
|
|
|
set $mod Mod4
|
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# set default desktop layout (default is tiling)
|
|
|
|
|
# workspace_layout tabbed <stacking|tabbed>
|
|
|
|
|
|
|
|
|
|
# Configure border style <normal|1pixel|pixel xx|none|pixel>
|
|
|
|
|
new_window pixel 2
|
|
|
|
|
new_float normal
|
|
|
|
|
|
|
|
|
|
# Hide borders
|
|
|
|
|
hide_edge_borders both
|
|
|
|
|
|
|
|
|
|
# change borders
|
|
|
|
|
#bindsym $mod+u border none
|
|
|
|
|
#bindsym $mod+y border pixel 2
|
|
|
|
|
#bindsym $mod+n border normal
|
|
|
|
|
|
2018-08-17 15:34:09 +02:00
|
|
|
|
# Compatibility layer for people coming from other backgrounds
|
|
|
|
|
bindsym Mod1+Tab exec --no-startup-id rofi -modi window -show window
|
|
|
|
|
bindsym Mod1+F2 exec --no-startup-id rofi -modi drun -show drun
|
|
|
|
|
bindsym Mod1+F4 kill
|
|
|
|
|
|
2015-07-16 13:49:19 +02:00
|
|
|
|
# Font for window titles. Will also be used by the bar unless a different font
|
|
|
|
|
# is used in the bar {} block below.
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
2018-04-10 15:38:18 +02:00
|
|
|
|
font pango:DejaVu Sans 8
|
2015-07-16 13:49:19 +02:00
|
|
|
|
font pango:Sans 8
|
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# Use Mouse+$mod to drag floating windows
|
|
|
|
|
floating_modifier $mod
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# kill focused window
|
2016-10-28 10:28:16 +02:00
|
|
|
|
bindsym $mod+z kill
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym button2 kill
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
2018-08-17 15:34:09 +02:00
|
|
|
|
bindsym $mod+c exec --no-startup-id rofi-pass --last-used
|
|
|
|
|
bindsym $mod+asterisk exec --no-startup-id rofi -modi ssh -show ssh
|
|
|
|
|
bindsym $mod+dollar exec --no-startup-id rofi -modi ssh -show ssh -ssh-command '{terminal} -e {ssh-client} {host} -t "sudo -s -E"'
|
|
|
|
|
bindsym $mod+Tab exec --no-startup-id rofi -modi window -show window
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# start program launcher
|
2018-08-17 15:34:09 +02:00
|
|
|
|
bindsym $mod+d exec --no-startup-id rofi -modi run -show run
|
|
|
|
|
bindsym $mod+Shift+d exec --no-startup-id rofi -modi drun -show drun
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# Start Applications
|
2018-04-15 16:29:27 +02:00
|
|
|
|
bindsym $mod+Return exec urxvtc
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+p exec thunar
|
2017-06-27 09:19:59 +02:00
|
|
|
|
bindsym $mod+m exec qutebrowser --override-restore --backend=webengine
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# Volume control
|
2017-09-17 18:42:53 +02:00
|
|
|
|
bindsym XF86AudioRaiseVolume exec pactl set-sink-mute @DEFAULT_SINK@ false; exec pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|
|
|
|
bindsym XF86AudioLowerVolume exec pactl set-sink-mute @DEFAULT_SINK@ false; exec pactl set-sink-volume @DEFAULT_SINK@ -5%
|
|
|
|
|
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ true
|
|
|
|
|
bindsym $mod+F7 exec pactl suspend-sink @DEFAULT_SINK@ 1; exec pactl suspend-sink @DEFAULT_SINK@ 0
|
|
|
|
|
# Re-synchronize bluetooth headset
|
2018-05-21 10:57:19 +02:00
|
|
|
|
bindsym XF86AudioPrev exec mpc prev
|
|
|
|
|
bindsym XF86AudioPlay exec mpc toggle
|
|
|
|
|
bindsym XF86AudioNext exec mpc next
|
2018-04-15 16:29:27 +02:00
|
|
|
|
bindsym $mod+F11 exec urxvtc -e 'pacmixer'
|
|
|
|
|
bindsym $mod+F12 exec urxvtc -e 'pacmixer'
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
#Brightness control
|
|
|
|
|
bindsym XF86MonBrightnessDown exec xbacklight -dec 20
|
|
|
|
|
bindsym XF86MonBrightnessUp exec xbacklight -inc 20
|
|
|
|
|
|
|
|
|
|
# Screenshots
|
2016-07-25 09:58:48 +02:00
|
|
|
|
bindsym Print exec scrot -ue 'mv $f ~/Screenshots/'
|
|
|
|
|
bindsym $mod+Print exec scrot -e 'mv $f ~/Screenshots/'
|
|
|
|
|
bindsym Ctrl+Print exec sleep 1 && scrot -se 'mv $f ~/Screenshots/'
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
focus_follows_mouse yes
|
2016-01-12 14:05:49 +01:00
|
|
|
|
mouse_warping output
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# change focus
|
|
|
|
|
bindsym $mod+h focus left
|
|
|
|
|
bindsym $mod+j focus down
|
|
|
|
|
bindsym $mod+k focus up
|
|
|
|
|
bindsym $mod+l focus right
|
|
|
|
|
|
2016-10-28 07:50:59 +02:00
|
|
|
|
## 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
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# move focused window
|
|
|
|
|
bindsym $mod+Shift+h move left
|
|
|
|
|
bindsym $mod+Shift+j move down
|
|
|
|
|
bindsym $mod+Shift+k move up
|
|
|
|
|
bindsym $mod+Shift+l move right
|
|
|
|
|
|
2016-10-28 07:50:59 +02:00
|
|
|
|
## 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
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# workspace back and forth (with/without active container)
|
2017-06-27 09:19:59 +02:00
|
|
|
|
workspace_auto_back_and_forth no
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+b workspace back_and_forth
|
|
|
|
|
bindsym $mod+Shift+b move container to workspace back_and_forth; workspace back_and_forth
|
|
|
|
|
|
2015-07-16 13:49:19 +02:00
|
|
|
|
# split in horizontal orientation
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+g split h
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# split in vertical orientation
|
|
|
|
|
bindsym $mod+v split v
|
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# toggle fullscreen mode for the focused container
|
|
|
|
|
bindsym $mod+f fullscreen toggle
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# 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
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+a focus parent
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# focus the child container
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+q focus child
|
|
|
|
|
|
|
|
|
|
# Workspace names
|
2017-07-02 22:06:24 +02:00
|
|
|
|
set $WS1 1
|
|
|
|
|
set $WS2 2
|
|
|
|
|
set $WS3 3
|
|
|
|
|
set $WS4 4
|
|
|
|
|
set $WS5 5
|
|
|
|
|
set $WS6 6
|
|
|
|
|
set $WS7 7
|
|
|
|
|
set $WS8 8
|
|
|
|
|
set $WS9 9
|
|
|
|
|
set $WS10 10
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
2015-11-30 10:56:46 +01:00
|
|
|
|
# Workspace output
|
2017-09-01 18:44:59 +02:00
|
|
|
|
workspace "$WS1" output LVDS1
|
2018-07-30 10:55:06 +02:00
|
|
|
|
workspace "$WS2" output HDMI1
|
2017-09-01 18:44:59 +02:00
|
|
|
|
workspace "$WS3" output LVDS1
|
2018-07-30 10:55:06 +02:00
|
|
|
|
workspace "$WS4" output HDMI1
|
2017-09-01 18:44:59 +02:00
|
|
|
|
workspace "$WS5" output LVDS1
|
2018-07-30 10:55:06 +02:00
|
|
|
|
workspace "$WS6" output HDMI1
|
2017-09-01 18:44:59 +02:00
|
|
|
|
workspace "$WS7" output LVDS1
|
2018-07-30 10:55:06 +02:00
|
|
|
|
workspace "$WS8" output HDMI1
|
2017-09-01 18:44:59 +02:00
|
|
|
|
workspace "$WS9" output LVDS1
|
2018-07-30 10:55:06 +02:00
|
|
|
|
workspace "$WS10" output HDMI1
|
2015-11-30 10:56:46 +01:00
|
|
|
|
|
2015-07-16 13:49:19 +02:00
|
|
|
|
# switch to workspace
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+1 workspace $WS1
|
|
|
|
|
bindsym $mod+2 workspace $WS2
|
|
|
|
|
bindsym $mod+3 workspace $WS3
|
|
|
|
|
bindsym $mod+4 workspace $WS4
|
|
|
|
|
bindsym $mod+5 workspace $WS5
|
|
|
|
|
bindsym $mod+6 workspace $WS6
|
|
|
|
|
bindsym $mod+7 workspace $WS7
|
|
|
|
|
bindsym $mod+8 workspace $WS8
|
|
|
|
|
bindsym $mod+9 workspace $WS9
|
|
|
|
|
bindsym $mod+0 workspace $WS10
|
|
|
|
|
|
|
|
|
|
#navigate workspaces next / previous
|
2016-10-28 07:50:59 +02:00
|
|
|
|
bindsym $mod+Ctrl+h workspace prev_on_output
|
|
|
|
|
bindsym $mod+Ctrl+l workspace next_on_output
|
|
|
|
|
bindsym $mod+Ctrl+j workspace prev
|
|
|
|
|
bindsym $mod+Ctrl+k workspace next
|
|
|
|
|
|
|
|
|
|
##navigate workspaces next / previous (arrow keys)
|
|
|
|
|
#bindsym $mod+Ctrl+Left workspace prev_on_output
|
|
|
|
|
#bindsym $mod+Ctrl+Right workspace next_on_output
|
|
|
|
|
#bindsym $mod+Ctrl+Down workspace prev
|
|
|
|
|
#bindsym $mod+Ctrl+Up workspace next
|
2015-11-30 10:56:46 +01:00
|
|
|
|
|
|
|
|
|
# Move to workspace next / previous with focused container
|
2016-10-28 07:50:59 +02:00
|
|
|
|
bindsym $mod+Ctrl+Shift+h move container to workspace prev_on_output; workspace prev_on_output
|
|
|
|
|
bindsym $mod+Ctrl+Shift+l move container to workspace next_on_output; workspace next_on_output
|
|
|
|
|
bindsym $mod+Ctrl+Shift+j move container to workspace prev; workspace prev
|
|
|
|
|
bindsym $mod+Ctrl+Shift+k move container to workspace next; workspace next
|
|
|
|
|
|
|
|
|
|
## Move to workspace next / previous with focused container (arrow keys)
|
|
|
|
|
#bindsym $mod+Ctrl+Shift+Left move container to workspace prev_on_output; workspace prev_on_output
|
|
|
|
|
#bindsym $mod+Ctrl+Shift+Right move container to workspace next_on_output; workspace next_on_output
|
|
|
|
|
#bindsym $mod+Ctrl+Shift+Down move container to workspace prev; workspace prev
|
|
|
|
|
#bindsym $mod+Ctrl+Shift+Up move container to workspace next; workspace next
|
2015-11-30 10:56:46 +01:00
|
|
|
|
|
|
|
|
|
# move focused container to workspace
|
|
|
|
|
bindsym $mod+ctrl+1 move container to workspace $ws1
|
|
|
|
|
bindsym $mod+ctrl+2 move container to workspace $ws2
|
|
|
|
|
bindsym $mod+ctrl+3 move container to workspace $ws3
|
|
|
|
|
bindsym $mod+ctrl+4 move container to workspace $ws4
|
|
|
|
|
bindsym $mod+ctrl+5 move container to workspace $ws5
|
|
|
|
|
bindsym $mod+ctrl+6 move container to workspace $ws6
|
|
|
|
|
bindsym $mod+ctrl+7 move container to workspace $ws7
|
|
|
|
|
bindsym $mod+ctrl+8 move container to workspace $ws8
|
|
|
|
|
bindsym $mod+ctrl+9 move container to workspace $ws9
|
|
|
|
|
bindsym $mod+ctrl+0 move container to workspace $ws10
|
|
|
|
|
|
|
|
|
|
# move to workspace with focused container
|
|
|
|
|
bindsym $mod+shift+1 move container to workspace $ws1; workspace $ws1
|
|
|
|
|
bindsym $mod+shift+2 move container to workspace $ws2; workspace $ws2
|
|
|
|
|
bindsym $mod+shift+3 move container to workspace $ws3; workspace $ws3
|
|
|
|
|
bindsym $mod+shift+4 move container to workspace $ws4; workspace $ws4
|
|
|
|
|
bindsym $mod+shift+5 move container to workspace $ws5; workspace $ws5
|
|
|
|
|
bindsym $mod+shift+6 move container to workspace $ws6; workspace $ws6
|
|
|
|
|
bindsym $mod+shift+7 move container to workspace $ws7; workspace $ws7
|
|
|
|
|
bindsym $mod+shift+8 move container to workspace $ws8; workspace $ws8
|
|
|
|
|
bindsym $mod+shift+9 move container to workspace $ws9; workspace $ws9
|
|
|
|
|
bindsym $mod+shift+0 move container to workspace $ws10; workspace $ws10
|
|
|
|
|
|
2016-10-28 07:50:59 +02:00
|
|
|
|
## move workspaces to screen
|
|
|
|
|
#bindsym $mod+ctrl+shift+r move workspace to output right
|
|
|
|
|
#bindsym $mod+ctrl+shift+l move workspace to output left
|
|
|
|
|
#bindsym $mod+Ctrl+Shift+u move workspace to output above
|
|
|
|
|
#bindsym $mod+Ctrl+Shift+d move workspace to output below
|
|
|
|
|
|
|
|
|
|
# move workspaces to screen (arrow keys)
|
|
|
|
|
bindsym $mod+ctrl+shift+Right move workspace to output right
|
|
|
|
|
bindsym $mod+ctrl+shift+Left move workspace to output left
|
|
|
|
|
bindsym $mod+Ctrl+Shift+Up move workspace to output above
|
|
|
|
|
bindsym $mod+Ctrl+Shift+Down move workspace to output below
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# Open applications on specific workspaces
|
2015-11-30 10:56:46 +01:00
|
|
|
|
assign [class="Thunderbird"] $WS7
|
2015-09-26 21:32:00 +02:00
|
|
|
|
assign [class="Skype"] $WS7
|
|
|
|
|
assign [class="Pidgin"] $WS7
|
|
|
|
|
assign [class="Clementine"] $WS10
|
2015-10-08 23:32:48 +02:00
|
|
|
|
assign [title="TweetDeck"] $WS8
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# Open specific applications in floating mode
|
2017-11-02 16:48:43 +01:00
|
|
|
|
for_window [title="pacmixer"] floating enable border pixel 2
|
2015-09-26 21:32:00 +02:00
|
|
|
|
for_window [class="Firefox"] layout tabbed
|
2016-06-20 17:28:17 +02:00
|
|
|
|
for_window [class="qutebrowser"] layout tabbed
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
for_window [window_role="pop-up"] floating enable
|
|
|
|
|
for_window [window_role="task_dialog"] floating enable
|
2018-07-10 14:50:07 +02:00
|
|
|
|
for_window [ title="^pdfpc.*" window_role="presenter" ] move to output left, fullscreen
|
|
|
|
|
for_window [ title="^pdfpc.*" window_role="presentation" ] move to output right, fullscreen
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# switch to workspace with urgent window automatically
|
|
|
|
|
for_window [urgent=latest] focus
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# focus urgent window
|
2016-12-18 18:25:25 +01:00
|
|
|
|
#bindsym $mod+x [urgent=latest] focus
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# reload the configuration file
|
|
|
|
|
bindsym $mod+Shift+c reload
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
2015-07-16 13:49:19 +02:00
|
|
|
|
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
|
|
|
|
|
bindsym $mod+Shift+r restart
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
2015-07-16 13:49:19 +02:00
|
|
|
|
# exit i3 (logs you out of your X session)
|
|
|
|
|
bindsym $mod+Shift+e exit
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# Set shut down, restart and locking features
|
|
|
|
|
set $locker $HOME/.config/i3/lock
|
|
|
|
|
set $mode_system [L] Vérouillage [E] Déconnexion [S] Veille [H] Hibernation [R] Redémarrage [P] Extinction
|
|
|
|
|
mode "$mode_system" {
|
|
|
|
|
bindsym l exec --no-startup-id $locker, mode "default"
|
|
|
|
|
bindsym e exit, mode "default"
|
2016-12-04 14:20:46 +01:00
|
|
|
|
bindsym s exec --no-startup-id $locker & systemctl suspend, mode "default"
|
|
|
|
|
bindsym h exec --no-startup-id $locker & systemctl hibernate, mode "default"
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym r exec --no-startup-id systemctl reboot, mode "default"
|
2016-12-04 14:20:46 +01:00
|
|
|
|
bindsym p exec --no-startup-id systemctl poweroff -i, mode "default"
|
2015-09-26 21:32:00 +02:00
|
|
|
|
|
|
|
|
|
# back to normal: Enter or Escape
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
bindsym $mod+Escape mode "$mode_system"
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# resize window (you can also use the mouse for that)
|
2015-09-26 21:32:00 +02:00
|
|
|
|
mode "Resize" {
|
2015-07-16 13:49:19 +02:00
|
|
|
|
# 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.
|
2016-11-20 13:34:20 +01:00
|
|
|
|
bindsym h resize shrink width 10 px or 10 ppt
|
|
|
|
|
bindsym j resize grow height 10 px or 10 ppt
|
|
|
|
|
bindsym k resize shrink height 10 px or 10 ppt
|
2015-07-16 13:49:19 +02:00
|
|
|
|
bindsym l resize grow width 10 px or 10 ppt
|
|
|
|
|
|
2016-10-28 07:50:59 +02:00
|
|
|
|
## 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
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# back to normal: Enter or Escape
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+r mode "Resize"
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
2017-07-06 21:53:33 +02:00
|
|
|
|
set $mode_screen Screen setup [A] Auto [L] Load [S] Save [R] Remove [D] Default
|
|
|
|
|
bindsym $mod+t mode "$mode_screen"
|
|
|
|
|
mode "$mode_screen" {
|
|
|
|
|
bindsym a exec autorandr --change --force, mode "default"
|
|
|
|
|
bindsym l exec ~/.config/i3/autorandrloadmenu, mode "default"
|
|
|
|
|
bindsym s exec ~/.config/i3/autorandrsavemenu, mode "default"
|
|
|
|
|
bindsym r exec ~/.config/i3/autorandrremovemenu, mode "default"
|
|
|
|
|
bindsym d exec ~/.config/i3/autorandrdefaultmenu, mode "default"
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
|
|
|
|
# back to normal: Enter or Escape
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
|
2017-07-06 21:53:33 +02:00
|
|
|
|
# Screen temperature ("redness") setting
|
2017-02-11 16:22:44 +01:00
|
|
|
|
bindsym $mod+y mode "$mode_temp"
|
|
|
|
|
set $mode_temp Temperature [R] Red [D] Dust storm [C] Campfire [O] Normal [A] All nighter [B] Blue
|
|
|
|
|
mode "$mode_temp" {
|
|
|
|
|
bindsym r exec sct 1000
|
|
|
|
|
bindsym d exec sct 2000
|
|
|
|
|
bindsym c exec sct 4500
|
|
|
|
|
bindsym o exec sct
|
|
|
|
|
bindsym a exec sct 8000
|
|
|
|
|
bindsym b exec sct 10000
|
|
|
|
|
|
|
|
|
|
# back to normal: Enter or Escape
|
|
|
|
|
bindsym Return mode "default"
|
|
|
|
|
bindsym Escape mode "default"
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-12 07:45:14 +01:00
|
|
|
|
# Colors
|
2018-07-30 10:55:06 +02:00
|
|
|
|
set_from_resource $background i3wm.background #272822
|
|
|
|
|
set_from_resource $foreground i3wm.foreground #f1ebeb
|
|
|
|
|
set_from_resource $color00 i3wm.color0 #48483e
|
|
|
|
|
set_from_resource $color01 i3wm.color1 #dc2566
|
|
|
|
|
set_from_resource $color02 i3wm.color2 #8fc029
|
|
|
|
|
set_from_resource $color03 i3wm.color3 #d4c96e
|
|
|
|
|
set_from_resource $color04 i3wm.color4 #55bcce
|
|
|
|
|
set_from_resource $color05 i3wm.color5 #9358fe
|
|
|
|
|
set_from_resource $color06 i3wm.color6 #56b7a5
|
|
|
|
|
set_from_resource $color07 i3wm.color7 #acada1
|
|
|
|
|
set_from_resource $color08 i3wm.color8 #76715e
|
|
|
|
|
set_from_resource $color09 i3wm.color9 #fa2772
|
|
|
|
|
set_from_resource $color10 i3wm.color10 #a7e22e
|
|
|
|
|
set_from_resource $color11 i3wm.color11 #e7db75
|
|
|
|
|
set_from_resource $color12 i3wm.color12 #66d9ee
|
|
|
|
|
set_from_resource $color13 i3wm.color13 #ae82ff
|
|
|
|
|
set_from_resource $color14 i3wm.color14 #66efd5
|
|
|
|
|
set_from_resource $color15 i3wm.color15 #cfd0c2
|
2017-02-12 07:45:14 +01:00
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# Inactivity settings
|
2015-11-20 14:03:59 +01:00
|
|
|
|
exec --no-startup-id xautolock -time 10 -locker 'xset dpms force standby' -killtime 1 -killer '$locker'
|
2015-09-26 21:32:00 +02:00
|
|
|
|
bindsym $mod+F4 exec --no-startup-id xautolock -disable
|
|
|
|
|
bindsym $mod+F5 exec --no-startup-id xautolock -enable
|
|
|
|
|
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# Autostart applications
|
2018-04-10 15:38:18 +02:00
|
|
|
|
#exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 # Password remembering
|
|
|
|
|
#exec --no-startup-id gnome-keyring-daemon # Password remembering
|
2018-04-15 16:29:27 +02:00
|
|
|
|
exec --no-startup-id urxvtd -q -f # urxvt daemon
|
2016-06-10 18:28:56 +02:00
|
|
|
|
exec --no-startup-id numlockx on # Activate Num lock
|
2018-05-21 10:57:19 +02:00
|
|
|
|
exec --no-startup-id unclutter -root # Hide mouse cursor after some time
|
2018-04-10 15:38:18 +02:00
|
|
|
|
#exec --no-startup-id dunst # Notifications (handled by systemd)
|
2017-07-26 09:42:41 +02:00
|
|
|
|
exec --no-startup-id keynav # Keyboard cursor controller
|
2018-04-10 15:38:18 +02:00
|
|
|
|
#exec --no-startup-id mpd # Music Player Daemon (handled by systemd)
|
2018-03-19 07:29:56 +01:00
|
|
|
|
exec --no-startup-id ~/.config/i3/ashuffle # MPD Auto-refill
|
2017-11-26 08:53:39 +01:00
|
|
|
|
exec --no-startup-id autorandr --change # Screen configuration and everything that depends on it
|
2018-04-10 15:38:18 +02:00
|
|
|
|
exec --no-startup-id ~/.config/i3/batteryNotify -d # Battery state notification
|
2015-07-16 13:49:19 +02:00
|
|
|
|
|
2017-02-12 07:45:14 +01:00
|
|
|
|
set $ignore #ff00000
|
|
|
|
|
|
2015-09-26 21:32:00 +02:00
|
|
|
|
# Theme colors
|
2018-07-30 10:55:06 +02:00
|
|
|
|
#class border backgr. text indicator child_border
|
|
|
|
|
client.focused $color02 $color02 $background $color08 $color10
|
|
|
|
|
client.focused_inactive $color03 $color03 $color08 $color15 $color14
|
|
|
|
|
client.unfocused $color08 $color08 $color07 $color11 $color00
|
|
|
|
|
client.urgent $color01 $color01 $color07 $foreground $color09
|
|
|
|
|
client.placeholder $ignore $color06 $color07 $ignore $color14
|
|
|
|
|
|
|
|
|
|
client.background $color15
|