[terezi] remove legacy i3 configs; add new configs
This commit is contained in:
parent
b558f08252
commit
c22b24f885
|
|
@ -1,388 +0,0 @@
|
|||
# This file has been auto-generated by i3-config-wizard(1).
|
||||
# It will not be overwritten, so edit it as you like.
|
||||
#
|
||||
# Should you change your keyboard layout some time, delete
|
||||
# this file and re-run i3-config-wizard(1).
|
||||
#
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
#font pango:monospace 8
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 9
|
||||
font pango:Liberation Sans 9.5
|
||||
|
||||
# Before i3 v4.8, we used to recommend this one as the default:
|
||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||
# font, it doesn’t scale on retina/hidpi displays.
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# No auto focussing
|
||||
focus_follows_mouse no
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
#bindsym $mod+d exec "rofi -combi-modi window,drun -show combi -modi combi"
|
||||
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
#bindsym $mod+semicolon 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+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
#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
|
||||
|
||||
# split in horizontal orientation
|
||||
#bindsym $mod+h split h
|
||||
bindsym $mod+s split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
#bindsym $mod+s layout stacking
|
||||
bindsym $mod+t layout tabbed
|
||||
bindsym $mod+Shift+t 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
|
||||
bindsym $mod+shift+a focus child
|
||||
|
||||
|
||||
# define output names (primary, secondard monitor)
|
||||
set $OUTPUT1 LVDS1
|
||||
set $OUTPUT2 HDMI1
|
||||
|
||||
# define workspace names
|
||||
set $WS1 "1: www"
|
||||
set $WS2 2
|
||||
set $WS3 3
|
||||
set $WS4 4
|
||||
set $WS5 5
|
||||
set $WS6 6
|
||||
set $WS7 7
|
||||
set $WS8 8
|
||||
set $WS9 "9: mail"
|
||||
set $WS10 "10: com"
|
||||
|
||||
# alternative workspaces for use on second monitor
|
||||
set $WSalt1 "11"
|
||||
set $WSalt2 "12"
|
||||
set $WSalt3 "13"
|
||||
set $WSalt4 "14"
|
||||
set $WSalt5 "15"
|
||||
set $WSalt6 "16"
|
||||
set $WSalt7 "17"
|
||||
set $WSalt8 "18"
|
||||
set $WSalt9 "19"
|
||||
set $WSalt10 "20"
|
||||
#set $WSalt10 $WS10
|
||||
|
||||
workspace $WS1 output $OUTPUT1
|
||||
workspace $WS2 output $OUTPUT1
|
||||
workspace $WS3 output $OUTPUT1
|
||||
workspace $WS4 output $OUTPUT1
|
||||
workspace $WS5 output $OUTPUT1
|
||||
workspace $WS6 output $OUTPUT1
|
||||
workspace $WS7 output $OUTPUT1
|
||||
workspace $WS8 output $OUTPUT1
|
||||
workspace $WS9 output $OUTPUT1
|
||||
workspace $WS10 output $OUTPUT1
|
||||
|
||||
workspace $WSalt1 output $OUTPUT2
|
||||
workspace $WSalt2 output $OUTPUT2
|
||||
workspace $WSalt3 output $OUTPUT2
|
||||
workspace $WSalt4 output $OUTPUT2
|
||||
workspace $WSalt5 output $OUTPUT2
|
||||
workspace $WSalt6 output $OUTPUT2
|
||||
workspace $WSalt7 output $OUTPUT2
|
||||
workspace $WSalt8 output $OUTPUT2
|
||||
workspace $WSalt9 output $OUTPUT2
|
||||
workspace $WSalt10 output $OUTPUT2
|
||||
|
||||
# make windows on workspace 10 (primary workspace on second monitor) floating by default
|
||||
#for_window [workspace=$WS10] floating enable
|
||||
|
||||
# assign windows to workspaces
|
||||
# - Waterfox -> Workspace 1, always tabbed
|
||||
#assign [class="^Waterfox$"] output $OUTPUT1
|
||||
assign [class="^Waterfox$"] number $WS1
|
||||
for_window [class="^Waterfox$"] layout tabbed
|
||||
|
||||
# - Thunderbird -> Workspace 9
|
||||
assign [class="^Thunderbird$"] output $OUTPUT1
|
||||
assign [class="^Thunderbird$"] number $WS9
|
||||
|
||||
# - Telegram -> Workspace 10
|
||||
#assign [class="^TelegramDesktop$"] output $OUTPUT2
|
||||
assign [class="^TelegramDesktop$"] number $WS10
|
||||
# TODO resize doesn't work yet
|
||||
#for_window [class="^TelegramDesktop$"] floating enable; resize set 900 600
|
||||
|
||||
# TODO audacious
|
||||
|
||||
# - pavucontrol -> floating
|
||||
for_window [class="^Pavucontrol$"] floating enable
|
||||
|
||||
|
||||
# window hotkeys
|
||||
bindsym $mod+Ctrl+t [class="^TelegramDesktop$"] focus
|
||||
|
||||
|
||||
# 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
|
||||
bindsym $mod+6 workspace number $WS6
|
||||
bindsym $mod+7 workspace number $WS7
|
||||
bindsym $mod+8 workspace number $WS8
|
||||
bindsym $mod+9 workspace number $WS9
|
||||
bindsym $mod+0 workspace number $WS10
|
||||
|
||||
bindsym $mod+F1 workspace number $WSalt1
|
||||
bindsym $mod+F2 workspace number $WSalt2
|
||||
bindsym $mod+F3 workspace number $WSalt3
|
||||
bindsym $mod+F4 workspace number $WSalt4
|
||||
bindsym $mod+F5 workspace number $WSalt5
|
||||
bindsym $mod+F6 workspace number $WSalt6
|
||||
bindsym $mod+F7 workspace number $WSalt7
|
||||
bindsym $mod+F8 workspace number $WSalt8
|
||||
bindsym $mod+F9 workspace number $WSalt9
|
||||
bindsym $mod+F10 workspace number $WSalt10
|
||||
|
||||
# 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
|
||||
bindsym $mod+Shift+6 move container to workspace number $WS6
|
||||
bindsym $mod+Shift+7 move container to workspace number $WS7
|
||||
bindsym $mod+Shift+8 move container to workspace number $WS8
|
||||
bindsym $mod+Shift+9 move container to workspace number $WS9
|
||||
bindsym $mod+Shift+0 move container to workspace number $WS10
|
||||
|
||||
bindsym $mod+Shift+F1 move container to workspace number $WSalt1
|
||||
bindsym $mod+Shift+F2 move container to workspace number $WSalt2
|
||||
bindsym $mod+Shift+F3 move container to workspace number $WSalt3
|
||||
bindsym $mod+Shift+F4 move container to workspace number $WSalt4
|
||||
bindsym $mod+Shift+F5 move container to workspace number $WSalt5
|
||||
bindsym $mod+Shift+F6 move container to workspace number $WSalt6
|
||||
bindsym $mod+Shift+F7 move container to workspace number $WSalt7
|
||||
bindsym $mod+Shift+F8 move container to workspace number $WSalt8
|
||||
bindsym $mod+Shift+F9 move container to workspace number $WSalt9
|
||||
bindsym $mod+Shift+F10 move container to workspace number $WSalt10
|
||||
|
||||
bindsym $mod+comma focus output left
|
||||
bindsym $mod+period focus output right
|
||||
|
||||
|
||||
# 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'"
|
||||
|
||||
|
||||
# open i3-input
|
||||
bindsym $mod+Shift+grave exec i3-input
|
||||
|
||||
|
||||
# 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 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
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
#bindsym semicolon 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
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
#status_command i3status
|
||||
status_command py3status -c ~/.config/i3status/py3status.conf
|
||||
|
||||
# gaps
|
||||
#i3bar_command i3bar -t
|
||||
height 24
|
||||
#position top
|
||||
#separator_symbol "|"
|
||||
|
||||
tray_output $OUTPUT1
|
||||
tray_padding 0
|
||||
|
||||
colors {
|
||||
background #000000
|
||||
statusline #ffffff
|
||||
separator #666666
|
||||
|
||||
focused_workspace #880044 #bb0066 #ffffff
|
||||
active_workspace #333333 #5f676a #ffffff
|
||||
inactive_workspace #333333 #222222 #888888
|
||||
urgent_workspace #2f343a #900000 #ffffff
|
||||
binding_mode #2f343a #900000 #ffffff
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Colors
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #880044 #bb0066 #ffffff #9933dd #880044
|
||||
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
||||
client.urgent #2f343a #c00000 #ffffff #900000 #900000
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
|
||||
client.background #ffffff
|
||||
|
||||
|
||||
#----------------
|
||||
# sort this stuff
|
||||
#----------------
|
||||
|
||||
exec --no-startup-id redshift-gtk
|
||||
exec --no-startup-id volumeicon
|
||||
exec --no-startup-id nextcloud
|
||||
#exec --no-startup-id dropbox
|
||||
|
||||
# Script that auto clears X primary selection on window focus events
|
||||
# (uses xdotool and xclip, effectively disables middle mouse paste)
|
||||
#exec --no-startup-id /home/lexi/bin/xprimaryselection-autoclear.pl
|
||||
|
||||
# Switch between PulseAudio profiles (analog/HDMI) using Shift + Mute key
|
||||
bindsym Shift+XF86AudioMute exec --no-startup-id "~/bin/paprofile -n toggle"
|
||||
|
||||
# Lock screen
|
||||
bindsym XF86ScreenSaver exec --no-startup-id "loginctl lock-session"
|
||||
|
||||
# Display/projector key: auto detect displays
|
||||
bindsym XF86Display exec --no-startup-id "~/bin/xrandr-autodetect"
|
||||
|
||||
# Window rules
|
||||
for_window [instance="meowstuck"] floating enable
|
||||
|
||||
|
||||
# Gaps
|
||||
#for_window [class="^.*"] border pixel 1
|
||||
##for_window [class="^.*"] border normal
|
||||
#
|
||||
#set $gaps_default_outer 0
|
||||
#set $gaps_default_inner 8
|
||||
#
|
||||
#gaps outer $gaps_default_outer
|
||||
#gaps inner $gaps_default_inner
|
||||
#
|
||||
#
|
||||
#set $mode_gaps Gaps: inner [i/j/9/n], outer [o/k/0/m], global [+Shift]
|
||||
#bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
#
|
||||
#mode "$mode_gaps" {
|
||||
# bindsym i gaps inner current plus 2
|
||||
# bindsym j gaps inner current minus 2
|
||||
# bindsym 9 gaps inner current set 0
|
||||
# bindsym n gaps inner current set $gaps_default_inner
|
||||
#
|
||||
# bindsym Shift+i gaps inner all plus 2
|
||||
# bindsym Shift+j gaps inner all minus 2
|
||||
# bindsym Shift+9 gaps inner all set 0
|
||||
# bindsym Shift+n gaps inner current set $gaps_default_inner
|
||||
#
|
||||
# bindsym o gaps outer current plus 2
|
||||
# bindsym k gaps outer current minus 2
|
||||
# bindsym 0 gaps outer current set 0
|
||||
# bindsym m gaps outer current set $gaps_default_outer
|
||||
#
|
||||
# bindsym Shift+o gaps outer all plus 2
|
||||
# bindsym Shift+k gaps outer all minus 2
|
||||
# bindsym Shift+0 gaps outer all set 0
|
||||
# bindsym Shift+m gaps outer current set $gaps_default_outer
|
||||
#
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
# open empty container
|
||||
bindsym $mod+o open
|
||||
|
||||
# open passmenu
|
||||
bindsym $mod+Shift+p exec passmenu
|
||||
|
||||
|
|
@ -1,434 +0,0 @@
|
|||
# This file has been auto-generated by i3-config-wizard(1).
|
||||
# It will not be overwritten, so edit it as you like.
|
||||
#
|
||||
# Should you change your keyboard layout some time, delete
|
||||
# this file and re-run i3-config-wizard(1).
|
||||
#
|
||||
|
||||
# i3 config file (v4)
|
||||
#
|
||||
# Please see http://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
set $mod Mod4
|
||||
|
||||
# Font for window titles. Will also be used by the bar unless a different font
|
||||
# is used in the bar {} block below.
|
||||
#font pango:monospace 8
|
||||
|
||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||
#font pango:DejaVu Sans Mono 9
|
||||
#font pango:Liberation Sans 9.5
|
||||
font pango:Liberation Sans 12
|
||||
|
||||
# Before i3 v4.8, we used to recommend this one as the default:
|
||||
# font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
|
||||
# The font above is very space-efficient, that is, it looks good, sharp and
|
||||
# clear in small sizes. However, its unicode glyph coverage is limited, the old
|
||||
# X core fonts rendering does not support right-to-left and this being a bitmap
|
||||
# font, it doesn’t scale on retina/hidpi displays.
|
||||
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
# No auto focussing
|
||||
focus_follows_mouse no
|
||||
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
|
||||
bindsym Mod5+Menu exec i3-sensible-terminal
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym $mod+d exec dmenu_run
|
||||
#bindsym $mod+d exec "rofi -combi-modi window,drun -show combi -modi combi"
|
||||
|
||||
# There also is the (new) i3-dmenu-desktop which only displays applications
|
||||
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
|
||||
# installed.
|
||||
# bindsym $mod+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
#bindsym $mod+semicolon 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+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
#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
|
||||
|
||||
# split in horizontal orientation
|
||||
#bindsym $mod+h split h
|
||||
bindsym $mod+s split h
|
||||
|
||||
# split in vertical orientation
|
||||
bindsym $mod+v split v
|
||||
|
||||
# enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# change container layout (stacked, tabbed, toggle split)
|
||||
#bindsym $mod+s layout stacking
|
||||
bindsym $mod+t layout tabbed
|
||||
bindsym $mod+Shift+t 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
|
||||
bindsym $mod+shift+a focus child
|
||||
|
||||
|
||||
# define output names (primary, secondard monitor)
|
||||
set $OUTPUT1 eDP1
|
||||
set $OUTPUT2 DP2-3
|
||||
|
||||
# hotkeys for switching between monitors
|
||||
bindsym $mod+comma focus output left
|
||||
bindsym $mod+period focus output right
|
||||
|
||||
# hotkeys for moving windows between monitors
|
||||
bindsym $mod+Shift+comma move output left
|
||||
bindsym $mod+Shift+period move output right
|
||||
|
||||
|
||||
# define workspace names
|
||||
set $WS1 "1: www"
|
||||
set $WS2 "2: dev"
|
||||
set $WS3 3
|
||||
set $WS4 4
|
||||
set $WS5 5
|
||||
set $WS6 6
|
||||
set $WS7 7
|
||||
set $WS8 8
|
||||
set $WS9 "9: mail"
|
||||
|
||||
# alternative workspaces for use on second monitor
|
||||
set $WS10 "10: com"
|
||||
set $WSalt1 "11"
|
||||
set $WSalt2 "12"
|
||||
set $WSalt3 "13"
|
||||
set $WSalt4 "14"
|
||||
set $WSalt5 "15"
|
||||
set $WSalt6 "16"
|
||||
set $WSalt7 "17"
|
||||
set $WSalt8 "18"
|
||||
set $WSalt9 "19"
|
||||
#set $WSalt10 $WS10
|
||||
|
||||
workspace $WS1 output $OUTPUT1
|
||||
workspace $WS2 output $OUTPUT1
|
||||
workspace $WS3 output $OUTPUT1
|
||||
workspace $WS4 output $OUTPUT1
|
||||
workspace $WS5 output $OUTPUT1
|
||||
workspace $WS6 output $OUTPUT1
|
||||
workspace $WS7 output $OUTPUT1
|
||||
workspace $WS8 output $OUTPUT1
|
||||
workspace $WS9 output $OUTPUT1
|
||||
workspace $WS10 output $OUTPUT1
|
||||
|
||||
#workspace $WS10 output $OUTPUT2
|
||||
workspace $WSalt1 output $OUTPUT2
|
||||
workspace $WSalt2 output $OUTPUT2
|
||||
workspace $WSalt3 output $OUTPUT2
|
||||
workspace $WSalt4 output $OUTPUT2
|
||||
workspace $WSalt5 output $OUTPUT2
|
||||
workspace $WSalt6 output $OUTPUT2
|
||||
workspace $WSalt7 output $OUTPUT2
|
||||
workspace $WSalt8 output $OUTPUT2
|
||||
workspace $WSalt9 output $OUTPUT2
|
||||
|
||||
# make windows on workspace 10 (primary workspace on second monitor) floating by default
|
||||
for_window [workspace=$WS10] floating enable
|
||||
|
||||
# !! assign workspaces only on start in startup script
|
||||
|
||||
# assign windows to workspaces
|
||||
# - Waterfox -> Workspace 1, always tabbed
|
||||
#assign [class="^(Water|Fire)fox$"] output $OUTPUT1
|
||||
#assign [class="^(Water|Fire)fox$"] workspace $WS1
|
||||
for_window [class="^(Water|Fire)fox$"] layout tabbed
|
||||
|
||||
# - Thunderbird -> Workspace 9
|
||||
#assign [class="^Thunderbird$"] output $OUTPUT1
|
||||
#assign [class="^Thunderbird$"] workspace $WS9
|
||||
for_window [class="^Thunderbird$"] layout tabbed
|
||||
|
||||
# - Telegram -> Workspace 10
|
||||
#assign [class="^TelegramDesktop$"] output $OUTPUT2
|
||||
#assign [class="^TelegramDesktop$"] number $WS10
|
||||
#for_window [class="^TelegramDesktop$" title="^Telegram"] floating enable
|
||||
#for_window [class="^TelegramDesktop$" title="^Telegram"] resize set 900 600
|
||||
|
||||
# - Gajim -> Workspace 10
|
||||
#assign [class="^Gajim$"] workspace $WS10
|
||||
for_window [class="^Gajim$"] floating enable
|
||||
|
||||
# - PhpStorm -> Workspace 2, tabbed
|
||||
#assign [class="^jetbrains-phpstorm$"] workspace $WS2
|
||||
for_window [class="^jetbrains-phpstorm$"] layout tabbed
|
||||
for_window [class="^jetbrains-phpstorm$" title="Commit Changes"] floating disable
|
||||
|
||||
# TODO audacious
|
||||
|
||||
# - pavucontrol -> floating
|
||||
for_window [class="^Pavucontrol$"] floating enable
|
||||
|
||||
|
||||
# window hotkeys
|
||||
#bindsym $mod+Ctrl+t [class="^TelegramDesktop$"] focus
|
||||
|
||||
|
||||
# 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
|
||||
bindsym $mod+6 workspace number $WS6
|
||||
bindsym $mod+7 workspace number $WS7
|
||||
bindsym $mod+8 workspace number $WS8
|
||||
bindsym $mod+9 workspace number $WS9
|
||||
bindsym $mod+0 workspace number $WS10
|
||||
|
||||
# switch to alt workspaces (right display)
|
||||
bindsym $mod+Ctrl+1 workspace number $WSalt1
|
||||
bindsym $mod+Ctrl+2 workspace number $WSalt2
|
||||
bindsym $mod+Ctrl+3 workspace number $WSalt3
|
||||
bindsym $mod+Ctrl+4 workspace number $WSalt4
|
||||
bindsym $mod+Ctrl+5 workspace number $WSalt5
|
||||
bindsym $mod+Ctrl+6 workspace number $WSalt6
|
||||
bindsym $mod+Ctrl+7 workspace number $WSalt7
|
||||
bindsym $mod+Ctrl+8 workspace number $WSalt8
|
||||
bindsym $mod+Ctrl+9 workspace number $WSalt9
|
||||
bindsym $mod+Ctrl+0 workspace number $WS10
|
||||
|
||||
# alt hotkeys to switch to alt workspaces (right display)
|
||||
bindsym $mod+F1 workspace number $WSalt1
|
||||
bindsym $mod+F2 workspace number $WSalt2
|
||||
bindsym $mod+F3 workspace number $WSalt3
|
||||
bindsym $mod+F4 workspace number $WSalt4
|
||||
bindsym $mod+F5 workspace number $WSalt5
|
||||
bindsym $mod+F6 workspace number $WSalt6
|
||||
bindsym $mod+F7 workspace number $WSalt7
|
||||
bindsym $mod+F8 workspace number $WSalt8
|
||||
bindsym $mod+F9 workspace number $WSalt9
|
||||
bindsym $mod+F10 workspace number $WS10
|
||||
|
||||
# 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
|
||||
bindsym $mod+Shift+6 move container to workspace number $WS6
|
||||
bindsym $mod+Shift+7 move container to workspace number $WS7
|
||||
bindsym $mod+Shift+8 move container to workspace number $WS8
|
||||
bindsym $mod+Shift+9 move container to workspace number $WS9
|
||||
bindsym $mod+Shift+0 move container to workspace number $WS10
|
||||
|
||||
bindsym $mod+Shift+Ctrl+1 move container to workspace number $WSalt1
|
||||
bindsym $mod+Shift+Ctrl+2 move container to workspace number $WSalt2
|
||||
bindsym $mod+Shift+Ctrl+3 move container to workspace number $WSalt3
|
||||
bindsym $mod+Shift+Ctrl+4 move container to workspace number $WSalt4
|
||||
bindsym $mod+Shift+Ctrl+5 move container to workspace number $WSalt5
|
||||
bindsym $mod+Shift+Ctrl+6 move container to workspace number $WSalt6
|
||||
bindsym $mod+Shift+Ctrl+7 move container to workspace number $WSalt7
|
||||
bindsym $mod+Shift+Ctrl+8 move container to workspace number $WSalt8
|
||||
bindsym $mod+Shift+Ctrl+9 move container to workspace number $WSalt9
|
||||
bindsym $mod+Shift+Ctrl+0 move container to workspace number $WS10
|
||||
|
||||
bindsym $mod+Shift+F1 move container to workspace number $WSalt1
|
||||
bindsym $mod+Shift+F2 move container to workspace number $WSalt2
|
||||
bindsym $mod+Shift+F3 move container to workspace number $WSalt3
|
||||
bindsym $mod+Shift+F4 move container to workspace number $WSalt4
|
||||
bindsym $mod+Shift+F5 move container to workspace number $WSalt5
|
||||
bindsym $mod+Shift+F6 move container to workspace number $WSalt6
|
||||
bindsym $mod+Shift+F7 move container to workspace number $WSalt7
|
||||
bindsym $mod+Shift+F8 move container to workspace number $WSalt8
|
||||
bindsym $mod+Shift+F9 move container to workspace number $WSalt9
|
||||
bindsym $mod+Shift+F10 move container to workspace number $WS10
|
||||
|
||||
# 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'"
|
||||
|
||||
|
||||
# open i3-input
|
||||
bindsym $mod+Shift+grave exec i3-input
|
||||
|
||||
|
||||
# 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 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
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
#bindsym semicolon 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
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
|
||||
# # gaps
|
||||
# #i3bar_command i3bar -t
|
||||
# height 24
|
||||
# #position top
|
||||
# #separator_symbol "|"
|
||||
|
||||
tray_output $OUTPUT1
|
||||
# tray_padding 0
|
||||
|
||||
colors {
|
||||
background #000000
|
||||
statusline #ffffff
|
||||
separator #666666
|
||||
|
||||
focused_workspace #880044 #bb0066 #ffffff
|
||||
active_workspace #333333 #5f676a #ffffff
|
||||
inactive_workspace #333333 #222222 #888888
|
||||
urgent_workspace #2f343a #900000 #ffffff
|
||||
binding_mode #2f343a #900000 #ffffff
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Colors
|
||||
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #880044 #bb0066 #ffffff #9933dd #880044
|
||||
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
||||
client.urgent #2f343a #c00000 #ffffff #900000 #900000
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
|
||||
client.background #ffffff
|
||||
|
||||
|
||||
#----------------
|
||||
# sort this stuff
|
||||
#----------------
|
||||
|
||||
exec --no-startup-id redshift-gtk
|
||||
exec --no-startup-id volumeicon
|
||||
exec --no-startup-id nextcloud
|
||||
exec --no-startup-id dropbox
|
||||
|
||||
# Script that auto clears X primary selection on window focus events
|
||||
# (uses xdotool and xclip, effectively disables middle mouse paste)
|
||||
#exec --no-startup-id /home/lexi/bin/xprimaryselection-autoclear.pl
|
||||
|
||||
# Switch between PulseAudio profiles (analog/HDMI) using Shift + Mute key
|
||||
#bindsym Shift+XF86AudioMute exec --no-startup-id "~/bin/paprofile -n toggle"
|
||||
|
||||
# Lock screen
|
||||
bindsym $mod+ctrl+l exec --no-startup-id "loginctl lock-session"
|
||||
bindsym $mod+mod1+l exec --no-startup-id "systemctl suspend"
|
||||
|
||||
# Display/projector key: auto detect displays
|
||||
#bindsym XF86Display exec --no-startup-id "~/bin/xrandr-autodetect"
|
||||
|
||||
# Window rules
|
||||
for_window [instance="meowstuck"] floating enable
|
||||
|
||||
|
||||
# Gaps
|
||||
#for_window [class="^.*"] border pixel 1
|
||||
##for_window [class="^.*"] border normal
|
||||
#
|
||||
#set $gaps_default_outer 0
|
||||
#set $gaps_default_inner 8
|
||||
#
|
||||
#gaps outer $gaps_default_outer
|
||||
#gaps inner $gaps_default_inner
|
||||
#
|
||||
#
|
||||
#set $mode_gaps Gaps: inner [i/j/9/n], outer [o/k/0/m], global [+Shift]
|
||||
#bindsym $mod+Shift+g mode "$mode_gaps"
|
||||
#
|
||||
#mode "$mode_gaps" {
|
||||
# bindsym i gaps inner current plus 2
|
||||
# bindsym j gaps inner current minus 2
|
||||
# bindsym 9 gaps inner current set 0
|
||||
# bindsym n gaps inner current set $gaps_default_inner
|
||||
#
|
||||
# bindsym Shift+i gaps inner all plus 2
|
||||
# bindsym Shift+j gaps inner all minus 2
|
||||
# bindsym Shift+9 gaps inner all set 0
|
||||
# bindsym Shift+n gaps inner current set $gaps_default_inner
|
||||
#
|
||||
# bindsym o gaps outer current plus 2
|
||||
# bindsym k gaps outer current minus 2
|
||||
# bindsym 0 gaps outer current set 0
|
||||
# bindsym m gaps outer current set $gaps_default_outer
|
||||
#
|
||||
# bindsym Shift+o gaps outer all plus 2
|
||||
# bindsym Shift+k gaps outer all minus 2
|
||||
# bindsym Shift+0 gaps outer all set 0
|
||||
# bindsym Shift+m gaps outer current set $gaps_default_outer
|
||||
#
|
||||
# bindsym Return mode "default"
|
||||
# bindsym Escape mode "default"
|
||||
#}
|
||||
|
||||
# open empty container
|
||||
bindsym $mod+o open
|
||||
|
||||
# open passmenu
|
||||
bindsym $mod+Shift+p exec --no-startup-id passmenu
|
||||
|
||||
# screenshots
|
||||
bindsym $mod+Print exec gnome-screenshot -i
|
||||
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
# i3status configuration file.
|
||||
# see "man i3status" for documentation.
|
||||
|
||||
# It is important that this file is edited as UTF-8.
|
||||
# The following line should contain a sharp s:
|
||||
# ß
|
||||
# If the above line is not correctly displayed, fix your editor first!
|
||||
|
||||
general {
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
#order += "ipv6"
|
||||
#order += "disk /"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "battery all"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
#format_down = "E: down"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%status %percentage %remaining"
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
low_threshold = 30
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
|
@ -1,74 +0,0 @@
|
|||
# i3status configuration file.
|
||||
# see "man i3status" for documentation.
|
||||
|
||||
# It is important that this file is edited as UTF-8.
|
||||
# The following line should contain a sharp s:
|
||||
# ß
|
||||
# If the above line is not correctly displayed, fix your editor first!
|
||||
|
||||
general {
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
#order += "ipv6"
|
||||
#order += "disk /"
|
||||
order += "ethernet tun0"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "battery 0"
|
||||
order += "battery 1"
|
||||
order += "cpu_temperature 0"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
format_down = "E: down"
|
||||
}
|
||||
|
||||
# VPN
|
||||
ethernet tun0 {
|
||||
format_up = "VPN: %ip"
|
||||
format_down = "No VPN"
|
||||
color_good = "#FF0000"
|
||||
color_bad = "#666666"
|
||||
}
|
||||
|
||||
battery 0 {
|
||||
format = "BAT0: %status %percentage %remaining"
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
low_threshold = 30
|
||||
}
|
||||
|
||||
battery 1 {
|
||||
format = "BAT1: %status %percentage %remaining"
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
low_threshold = 30
|
||||
}
|
||||
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
cpu_temperature 0 {
|
||||
format = "%degrees °C"
|
||||
max_threshold = 70
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
|
@ -1,63 +0,0 @@
|
|||
# i3status configuration file.
|
||||
# see "man i3status" for documentation.
|
||||
|
||||
# It is important that this file is edited as UTF-8.
|
||||
# The following line should contain a sharp s:
|
||||
# ß
|
||||
# If the above line is not correctly displayed, fix your editor first!
|
||||
|
||||
general {
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
#order += "ipv6"
|
||||
#order += "disk /"
|
||||
order += "wireless _first_"
|
||||
order += "ethernet _first_"
|
||||
order += "battery all"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
order += "spaceapi"
|
||||
|
||||
wireless _first_ {
|
||||
format_up = "W: (%quality at %essid) %ip"
|
||||
format_down = "W: down"
|
||||
}
|
||||
|
||||
ethernet _first_ {
|
||||
# if you use %speed, i3status requires root privileges
|
||||
format_up = "E: %ip (%speed)"
|
||||
#format_down = "E: down"
|
||||
format_down = ""
|
||||
}
|
||||
|
||||
battery all {
|
||||
format = "%status %percentage %remaining"
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
low_threshold = 30
|
||||
}
|
||||
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
disk "/" {
|
||||
format = "%avail"
|
||||
}
|
||||
|
||||
# py3status module spaceapi
|
||||
spaceapi {
|
||||
cache_timeout = 60
|
||||
url = "https://spaceapi.afra-berlin.de/v1/status.json"
|
||||
format = "AfRA"
|
||||
state_open = "open"
|
||||
state_closed = "closed"
|
||||
color_closed = "#666666"
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,372 @@
|
|||
# ~/.config/i3/config -- i3 config file (v4)
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# Author: binaryDiv
|
||||
# Host-specific config for: terezi
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
||||
# COMMON VARIABLES
|
||||
# ~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Set modifier: Mod4 = Super/Win key
|
||||
set $mod Mod4
|
||||
|
||||
# ~~ Define output displays (primary, secondary monitor)
|
||||
set $OUTPUT1 LVDS1
|
||||
set $OUTPUT2 HDMI1
|
||||
|
||||
set $OUTPUT_LEFT $OUTPUT2
|
||||
set $OUTPUT_RIGHT $OUTPUT2
|
||||
|
||||
|
||||
# GENERAL SETTINGS
|
||||
# ~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Use Mouse+$mod to drag and resize windows
|
||||
floating_modifier $mod
|
||||
|
||||
# ~~ No auto focussing via mouseover
|
||||
focus_follows_mouse no
|
||||
|
||||
|
||||
# APPEARANCE
|
||||
# ~~~~~~~~~~
|
||||
|
||||
# ~~ Define font
|
||||
#font pango:Liberation Sans 9.5
|
||||
font pango:Liberation Sans 10
|
||||
|
||||
# Alternative: Monospace font
|
||||
#font pango:DejaVu Sans Mono 9
|
||||
|
||||
# ~~ Define colors
|
||||
# class border backgr. text indicator child_border
|
||||
client.focused #880044 #bb0066 #ffffff #9933dd #880044
|
||||
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
|
||||
client.unfocused #333333 #222222 #888888 #292d2e #222222
|
||||
client.urgent #2f343a #c00000 #ffffff #900000 #900000
|
||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
client.background #ffffff
|
||||
|
||||
|
||||
# STATUS BAR
|
||||
# ~~~~~~~~~~
|
||||
|
||||
# ~~ Start i3bar with i3status
|
||||
bar {
|
||||
status_command i3status
|
||||
#status_command py3status -c ~/.config/i3status/py3status.conf
|
||||
|
||||
tray_output primary
|
||||
tray_padding 0
|
||||
|
||||
colors {
|
||||
background #000000
|
||||
statusline #ffffff
|
||||
separator #666666
|
||||
|
||||
focused_workspace #880044 #bb0066 #ffffff
|
||||
active_workspace #333333 #5f676a #ffffff
|
||||
inactive_workspace #333333 #222222 #888888
|
||||
urgent_workspace #2f343a #900000 #ffffff
|
||||
binding_mode #2f343a #900000 #ffffff
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# KEYBINDINGS: i3 MANAGEMENT
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Reload i3 config 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'"
|
||||
|
||||
|
||||
# KEYBINDINGS: OPENING AND CLOSING WINDOWS
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Start a terminal
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
|
||||
# ~~ Start a terminal in floating mode (works at least with mate-terminal, parameters may vary)
|
||||
for_window [window_role="floating"] floating enable
|
||||
bindsym $mod+Shift+Return exec i3-sensible-terminal --window --role=floating
|
||||
|
||||
# ~~ Start application launcher (dmenu)
|
||||
# Regular dmenu:
|
||||
bindsym $mod+d exec dmenu_run
|
||||
# This one only displays .desktop file applications
|
||||
bindsym $mod+Shift+d exec --no-startup-id i3-dmenu-desktop
|
||||
|
||||
# ~~ Kill focused window
|
||||
bindsym $mod+Shift+q kill
|
||||
|
||||
# ~~ Kill window with middle button
|
||||
bindsym --release button2 kill
|
||||
|
||||
# ~~ Open empty container
|
||||
#bindsym $mod+o open
|
||||
|
||||
|
||||
# WINDOW MOVEMENT AND LAYOUTS
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Change window focus with [hjkl]
|
||||
bindsym $mod+h focus left
|
||||
bindsym $mod+j focus down
|
||||
bindsym $mod+k focus up
|
||||
bindsym $mod+l focus right
|
||||
|
||||
# ~~ Move focused window with [hjkl]
|
||||
bindsym $mod+Shift+h move left
|
||||
bindsym $mod+Shift+j move down
|
||||
bindsym $mod+Shift+k move up
|
||||
bindsym $mod+Shift+l move right
|
||||
|
||||
# ~~ Split in horizontal and vertical orientation with [s] and [v]
|
||||
bindsym $mod+s split h
|
||||
bindsym $mod+v split v
|
||||
|
||||
# ~~ Change container layout (toggle split orientation, tabbed, stacking)
|
||||
bindsym $mod+e layout toggle split
|
||||
bindsym $mod+t layout tabbed
|
||||
#bindsym $mod+s layout stacking
|
||||
|
||||
# ~~ Focus the parent or child container
|
||||
bindsym $mod+a focus parent
|
||||
bindsym $mod+shift+a focus child
|
||||
|
||||
# ~~ Toggle floating / tiling window
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
# ~~ Switch focus between floating / tiling windows
|
||||
bindsym $mod+space focus mode_toggle
|
||||
|
||||
# ~~ Enter fullscreen mode for the focused container
|
||||
bindsym $mod+f fullscreen toggle
|
||||
|
||||
# ~~ Define resize mode
|
||||
mode "resize" {
|
||||
# Resize window with [hjkl]
|
||||
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
|
||||
bindsym l resize grow width 10 px or 10 ppt
|
||||
|
||||
# Exit to default mode
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
bindsym $mod+r mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+r mode "resize"
|
||||
|
||||
|
||||
# WORKSPACE AND DISPLAY MANAGEMENT
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Define workspace names
|
||||
set $WS0 0
|
||||
set $WS1 "1: www"
|
||||
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: mail"
|
||||
set $WS11 11
|
||||
set $WS12 "12: chat"
|
||||
|
||||
# Alternative set of workspaces for secondary monitor
|
||||
set $WSf1 "F1"
|
||||
set $WSf2 "F2"
|
||||
set $WSf3 "F3"
|
||||
set $WSf4 "F4"
|
||||
set $WSf5 "F5"
|
||||
set $WSf6 "F6"
|
||||
set $WSf7 "F7"
|
||||
set $WSf8 "F8"
|
||||
set $WSf9 "F9"
|
||||
set $WSf10 "F10"
|
||||
set $WSf11 "F11"
|
||||
set $WSf12 "F12"
|
||||
|
||||
# Specialized workspaces
|
||||
set $WS_www $WS1
|
||||
set $WS_mail $WS10
|
||||
set $WS_irc $WS11
|
||||
set $WS_com $WS12
|
||||
|
||||
# ~~ Assign workspaces to displays
|
||||
workspace $WS1 output $OUTPUT1
|
||||
workspace $WS2 output $OUTPUT1
|
||||
workspace $WS3 output $OUTPUT1
|
||||
workspace $WS4 output $OUTPUT1
|
||||
workspace $WS5 output $OUTPUT1
|
||||
workspace $WS6 output $OUTPUT1
|
||||
workspace $WS7 output $OUTPUT1
|
||||
workspace $WS8 output $OUTPUT1
|
||||
workspace $WS9 output $OUTPUT1
|
||||
workspace $WS10 output $OUTPUT1
|
||||
workspace $WS11 output $OUTPUT1
|
||||
workspace $WS12 output $OUTPUT1
|
||||
workspace $WS0 output $OUTPUT1
|
||||
|
||||
workspace $WSf1 output $OUTPUT2
|
||||
workspace $WSf2 output $OUTPUT2
|
||||
workspace $WSf3 output $OUTPUT2
|
||||
workspace $WSf4 output $OUTPUT2
|
||||
workspace $WSf5 output $OUTPUT2
|
||||
workspace $WSf6 output $OUTPUT2
|
||||
workspace $WSf7 output $OUTPUT2
|
||||
workspace $WSf8 output $OUTPUT2
|
||||
workspace $WSf9 output $OUTPUT2
|
||||
workspace $WSf10 output $OUTPUT2
|
||||
workspace $WSf11 output $OUTPUT2
|
||||
workspace $WSf12 output $OUTPUT2
|
||||
|
||||
# ~~ Keybindings to switch workspaces
|
||||
bindsym $mod+grave workspace number $WS0
|
||||
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
|
||||
bindsym $mod+6 workspace number $WS6
|
||||
bindsym $mod+7 workspace number $WS7
|
||||
bindsym $mod+8 workspace number $WS8
|
||||
bindsym $mod+9 workspace number $WS9
|
||||
bindsym $mod+0 workspace number $WS10
|
||||
bindsym $mod+minus workspace number $WS11
|
||||
bindsym $mod+equal workspace number $WS12
|
||||
|
||||
bindsym $mod+F1 workspace $WSf1
|
||||
bindsym $mod+F2 workspace $WSf2
|
||||
bindsym $mod+F3 workspace $WSf3
|
||||
bindsym $mod+F4 workspace $WSf4
|
||||
bindsym $mod+F5 workspace $WSf5
|
||||
bindsym $mod+F6 workspace $WSf6
|
||||
bindsym $mod+F7 workspace $WSf7
|
||||
bindsym $mod+F8 workspace $WSf8
|
||||
bindsym $mod+F9 workspace $WSf9
|
||||
bindsym $mod+F10 workspace $WSf10
|
||||
bindsym $mod+F11 workspace $WSf11
|
||||
bindsym $mod+F12 workspace $WSf12
|
||||
|
||||
# ~~ Keybindings to move focused container to workspaces
|
||||
bindsym $mod+Shift+grave move container to workspace number $WS0; workspace $WS0
|
||||
bindsym $mod+Shift+1 move container to workspace number $WS1; workspace $WS1
|
||||
bindsym $mod+Shift+2 move container to workspace number $WS2; workspace $WS2
|
||||
bindsym $mod+Shift+3 move container to workspace number $WS3; workspace $WS3
|
||||
bindsym $mod+Shift+4 move container to workspace number $WS4; workspace $WS4
|
||||
bindsym $mod+Shift+5 move container to workspace number $WS5; workspace $WS5
|
||||
bindsym $mod+Shift+6 move container to workspace number $WS6; workspace $WS6
|
||||
bindsym $mod+Shift+7 move container to workspace number $WS7; workspace $WS7
|
||||
bindsym $mod+Shift+8 move container to workspace number $WS8; workspace $WS8
|
||||
bindsym $mod+Shift+9 move container to workspace number $WS9; workspace $WS9
|
||||
bindsym $mod+Shift+0 move container to workspace number $WS10; workspace $WS10
|
||||
bindsym $mod+Shift+minus move container to workspace number $WS11; workspace $WS11
|
||||
bindsym $mod+Shift+equal move container to workspace number $WS12; workspace $WS12
|
||||
|
||||
bindsym $mod+Shift+F1 move container to workspace $WSf1; workspace $WSf1
|
||||
bindsym $mod+Shift+F2 move container to workspace $WSf2; workspace $WSf2
|
||||
bindsym $mod+Shift+F3 move container to workspace $WSf3; workspace $WSf3
|
||||
bindsym $mod+Shift+F4 move container to workspace $WSf4; workspace $WSf4
|
||||
bindsym $mod+Shift+F5 move container to workspace $WSf5; workspace $WSf5
|
||||
bindsym $mod+Shift+F6 move container to workspace $WSf6; workspace $WSf6
|
||||
bindsym $mod+Shift+F7 move container to workspace $WSf7; workspace $WSf7
|
||||
bindsym $mod+Shift+F8 move container to workspace $WSf8; workspace $WSf8
|
||||
bindsym $mod+Shift+F9 move container to workspace $WSf9; workspace $WSf9
|
||||
bindsym $mod+Shift+F10 move container to workspace $WSf10; workspace $WSf10
|
||||
bindsym $mod+Shift+F11 move container to workspace $WSf11; workspace $WSf11
|
||||
bindsym $mod+Shift+F12 move container to workspace $WSf12; workspace $WSf12
|
||||
|
||||
# ~~ Keybindings for moving focus/containers/workspaces between monitors
|
||||
bindsym $mod+comma focus output $OUTPUT_LEFT
|
||||
bindsym $mod+period focus output primary
|
||||
bindsym $mod+slash focus output $OUTPUT_RIGHT
|
||||
|
||||
bindsym $mod+Shift+comma move container to output $OUTPUT_LEFT; focus output $OUTPUT_LEFT
|
||||
bindsym $mod+Shift+period move container to output primary; focus output primary
|
||||
bindsym $mod+Shift+slash move container to output $OUTPUT_RIGHT; focus output $OUTPUT_RIGHT
|
||||
|
||||
bindsym Control+$mod+comma move workspace to output $OUTPUT_LEFT
|
||||
bindsym Control+$mod+period move workspace to output primary
|
||||
bindsym Control+$mod+slash move workspace to output $OUTPUT_RIGHT
|
||||
|
||||
|
||||
# APP-SPECIFIC WINDOW RULES
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Make windows on "com" workspace floating by default
|
||||
for_window [workspace=$WS_com] floating enable
|
||||
|
||||
# ~~ Waterfox, Firefox
|
||||
assign [class="^(Water|Fire)fox$"] number $WS_www
|
||||
for_window [class="^(Water|Fire)fox$"] layout tabbed
|
||||
|
||||
# ~~ Thunderbird
|
||||
assign [class="^Thunderbird$"] number $WS_mail
|
||||
for_window [class="^Thunderbird$"] layout tabbed
|
||||
|
||||
# ~~ Telegram
|
||||
#assign [class="^TelegramDesktop$"] output $OUTPUT2
|
||||
assign [class="^TelegramDesktop$"] number $WS_com
|
||||
for_window [class="^TelegramDesktop$" title="^Telegram"] floating enable
|
||||
|
||||
# ~~ Gajim
|
||||
#assign [class="^Gajim$"] output $OUTPUT2
|
||||
assign [class="^Gajim$"] number $WS_com
|
||||
for_window [class="^Gajim$"] floating enable
|
||||
|
||||
# ~~ VS Code
|
||||
for_window [class="^code-oss$"] layout tabbed
|
||||
|
||||
# ~~ Jetbrains IDE
|
||||
for_window [class="^jetbrains-"] layout tabbed
|
||||
for_window [class="^jetbrains-" title="Commit Changes"] floating disable
|
||||
|
||||
# ~~ Steam
|
||||
for_window [class="^Steam$"] layout tabbed
|
||||
|
||||
# ~~ Misc other apps
|
||||
for_window [class="^Pavucontrol$"] floating enable
|
||||
|
||||
|
||||
# DESKTOP AND APPLICATION KEYBINDINGS
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Suspend and lock screen
|
||||
bindsym XF86ScreenSaver exec --no-startup-id "loginctl lock-session"
|
||||
|
||||
# ~~ Display/projector key: auto detect displays
|
||||
bindsym XF86Display exec --no-startup-id "~/bin/xrandr-autodetect"
|
||||
|
||||
# ~~ Volume keys
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id "volctl up"
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id "volctl down"
|
||||
bindsym XF86AudioMute exec --no-startup-id "volctl mute toggle"
|
||||
|
||||
# ~~ Password manager: passmenu
|
||||
bindsym $mod+Shift+p exec --no-startup-id passmenu
|
||||
|
||||
# ~~ Screenshot tool
|
||||
bindsym $mod+Print exec gnome-screenshot -i
|
||||
|
||||
|
||||
# INITIALIZATION AND AUTOSTART
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# ~~ Run background applications
|
||||
exec --no-startup-id redshift-gtk
|
||||
#exec --no-startup-id nextcloud
|
||||
|
||||
|
|
@ -0,0 +1,78 @@
|
|||
# ~/.config/i3status/py3status.conf -- py3status config file
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
# Author: binaryDiv
|
||||
# Host-specific config for: terezi
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# (See "man i3status" for documentation.)
|
||||
|
||||
# ~~ General i3status settings
|
||||
general {
|
||||
colors = true
|
||||
interval = 1
|
||||
}
|
||||
|
||||
|
||||
# ~~ Define order of status bar elements
|
||||
order += "ethernet _first_"
|
||||
order += "wireless _first_"
|
||||
order += "battery all"
|
||||
order += "cpu_temperature 0"
|
||||
order += "load"
|
||||
order += "tztime local"
|
||||
order += "volume master"
|
||||
|
||||
|
||||
# ~~ Ethernet status
|
||||
ethernet _first_ {
|
||||
format_up = "🌐 %ip (%speed)"
|
||||
format_down = "🌐 No Ethernet"
|
||||
color_bad = "#666666"
|
||||
}
|
||||
|
||||
# ~~ Wireless status
|
||||
wireless _first_ {
|
||||
format_up = "📶 %ip (%essid ~%quality)"
|
||||
format_down = "📶 down"
|
||||
}
|
||||
|
||||
# ~~ Battery status
|
||||
battery all {
|
||||
format = "%status %percentage %remaining"
|
||||
|
||||
status_chr = "⚡"
|
||||
status_bat = "🔋"
|
||||
status_unk = "❓"
|
||||
status_full = "🔌"
|
||||
|
||||
last_full_capacity = true
|
||||
integer_battery_capacity = true
|
||||
low_threshold = 30
|
||||
}
|
||||
|
||||
# ~~ Date and time
|
||||
tztime local {
|
||||
format = "%Y-%m-%d %H:%M:%S"
|
||||
}
|
||||
|
||||
# ~~ Volume control display
|
||||
volume master {
|
||||
format = "🔉 %volume"
|
||||
format_muted = "🔇 %volume"
|
||||
device = "pulse"
|
||||
}
|
||||
|
||||
# ~~ CPU temperature
|
||||
cpu_temperature 0 {
|
||||
format = "%degrees °C"
|
||||
format_above_threshold = "🔥 %degrees °C"
|
||||
max_threshold = 70
|
||||
#path = "/sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon1/temp1_input"
|
||||
}
|
||||
|
||||
# ~~ CPU average load
|
||||
load {
|
||||
format = "%1min"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue