commit 9df34749320a2b19bda1d06439fa404431587208
parent 35dd63a5da07c60076b77099e1fa1c1824e2e0df
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 8 Dec 2018 11:03:02 +0100
Clean-up i3 configuration
Diffstat:
M | links/.i3/config | | | 117 | ++----------------------------------------------------------------------------- |
1 file changed, 2 insertions(+), 115 deletions(-)
diff --git a/links/.i3/config b/links/.i3/config
@@ -1,14 +1,3 @@
-# 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 somewhen, 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!
-
# Super as modifier
set $mod Mod4
set $alt Mod1
@@ -17,19 +6,7 @@ set $alt Mod1
#set $mod Mod1
#set $alt Control
-# Font for window titles. Will also be used by the bar unless a different font
-# is used in the bar {} block below. ISO 10646 = Unicode
-#font -misc-fixed-medium-r-normal--12-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, if you need a lot of unicode glyphs or
-# right-to-left text rendering, you should instead use pango for rendering and
-# chose an xft font, such as:
-#font xft:DejaVu Sans Mono 10
-#font xft:LucidaTypewriter 7
-#font -*-termsynu-medium-r-*-*-13-*-*-*-*-*-*-*
font xft:PragmataPro 9
-#font -*-nu-*-*-*-*-*-*-*-*-*-*-*-*
-#font -*-terminus-*-*-*-*-*-*-*-*-*-*-*-*
# Window style
# normal: default border, window title
@@ -37,34 +14,6 @@ font xft:PragmataPro 9
# none: no border, no window title
new_window 1pixel
-# color class border backgr. text indicator
-
-# default
-#client.focused #4c7899 #285577 #ffffff #2e9ef4
-##client.focused_inactive #333333 #5f676a #ffffff #484e50
-#client.focused_inactive #333333 #222222 #888888 #292d2e
-#client.unfocused #333333 #222222 #888888 #292d2e
-#client.urgent #2f343a #900000 #ffffff #900000
-
-# gray
-#client.focused #666666 #333333 #ffffff #555555
-#client.focused_inactive #333333 #222222 #888888 #333333
-#client.unfocused #333333 #222222 #888888 #222222
-#client.urgent #2f343a #900000 #ffffff #900000
-
-# erosionedit
-#client.focused #bea492 #bea492 #332d29 #93a1a1
-#client.focused_inactive #333333 #222222 #888888 #333333
-#client.unfocused #333333 #222222 #888888 #222222
-#client.urgent #181512 #900000 #ffffff #900000
-
-# solarized dark
-#client.focused #002b36 #586e75 #fdf6e3 #268bd2
-#client.focused_inactive #002b36 #073642 #839496 #073642
-#client.unfocused #002b36 #073642 #839496 #073642
-#client.urgent #002b36 #dc322f #fdf6e3 #002b36
-
-# solarized black
# color class border backgr. text indicator
client.focused #232323 #6a6a6a #fdf6e3 #268bd2
client.focused_inactive #3d3d3d #3d3d3d #839496 #073642
@@ -79,24 +28,11 @@ bindsym $mod+Return exec i3-sensible-terminal -e tmux
bindsym $mod+Shift+Return exec i3-sensible-terminal
# other application launchers
-#bindsym $mod+b exec uzbl-browser
bindsym $mod+b exec firefox
-#bindsym $mod+Shift+b exec chromium
-#bindsym $mod+b exec dwb
-bindsym $mod+c exec emacs
-bindsym $mod+v exec gvim
-bindsym $mod+t exec tor-browser.sh
-#bindsym $mod+t exec torbrowser-launcher
+bindsym $mod+t exec tor-browser
bindsym $mod+p exec zathura
bindsym Mod1+Mod4+l exec --no-startup-id ~/bin/keyboard-layout-switch.sh && notify-send `cat ~/.kbd-layout` && killall -SIGUSR1 i3status
-#bindsym $alt+Shift+l exec --no-startup-id ~/bin/keyboard-layout-switch.sh &&
-#notify-send `cat ~/.kbd-layout`
-bindsym $mod+n exec nautilus
-bindsym $mod+g exec gnome-control-center
-
-# volume control with pulseaudio
-#bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 -- +10% && killall -SIGUSR1 i3status
-#bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -- -10% && killall -SIGUSR1 i3status
+bindsym $mod+n exec i3-sensible-terminal -e ranger
# volume control with alsamixer
bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master 3%+ unmute && killall -SIGUSR1 i3status
@@ -116,10 +52,6 @@ bindsym $mod+Shift+n exec --no-startup-id mpc -h localhost next && killall -SIGU
bindsym $mod+Shift+b exec --no-startup-id mpc -h localhost prev && killall -SIGUSR1 i3status
bindsym $mod+Shift+s exec --no-startup-id mpc -h localhost stop && killall -SIGUSR1 i3status
-# Light X colors
-#bindsym $mod+Shift+w exec --no-startup-id /home/ad/bin/solarized-light.sh
-#bindsym $mod+Shift+d exec --no-startup-id /home/ad/bin/solarized-dark.sh
-
# configure displays
bindsym $mod+Shift+d exec --no-startup-id bash /home/ad/code/dotfiles/bin/xrandr-auto.sh
bindsym $mod+Shift+a exec --no-startup-id bash /home/ad/bin/wallpaper.sh && xrandr --auto
@@ -209,11 +141,6 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
# 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
@@ -246,14 +173,9 @@ bar {
#tray_output none
#tray_output primary
- #font -misc-fixed-medium-r-normal--13-120-75-75-C-70-iso10646-1
- #font pango:Droid Sans 8
-
colors {
# colorclass <border> <backgr.> <text>
-
- # default
background #111111
statusline #ffffff
separator #333333
@@ -261,45 +183,10 @@ bar {
active_workspace #333333 #5f676a #ffffff
inactive_workspace #333333 #222222 #888888
urgent_workspace #2f343a #900000 #ffffff
-
- # solarized dark
- #background #002b36
- #statusline #657b83
- #separator #586e75
- #focused_workspace #b58900 #b58900 #002b36
- #active_workspace #586e75 #586e75 #002b36
- #inactive_workspace #073642 #002b36 #839496
- #urgent_workspace #dc322f #dc322f #fdf6e3
-
- # solarized black
- #background #232323
- #statusline #657b83
- #separator #586e75
- #focused_workspace #6a6a6a #6a6a6a #002b36
- #active_workspace #586e75 #586e75 #002b36
- #inactive_workspace #2d2d2d #232323 #839496
- #urgent_workspace #dc322f #dc322f #fdf6e3
-
- # solarized light
- #background #fdf6e3
- #statusline #657b83
- #separator #586e75
- #focused_workspace #b58900 #b58900 #002b36
- #active_workspace #586e75 #586e75 #002b36
- #inactive_workspace #fdf6e3 #fdf6e3 #839496
- #urgent_workspace #dc322f #dc322f #fdf6e3
}
}
# auto-start programs
-#exec --no-startup-id wicd-client --tray
exec --no-startup-id nm-applet
-#exec --no-startup-id i3-msg 'workspace 2; exec emacs; workspace 3; exec firefox; workspace 1; exec urxvt -e tmux-utility.sh'
-#exec --no-startup-id i3-msg 'workspace 2; exec firefox; workspace 1; exec urxvt -e tmuxinator utility'
-#exec --no-startup-id i3-msg 'workspace 2; exec urxvt -e tmuxinator iddqd; workspace 1; exec urxvt -e tmuxinator utility'
-#exec --no-startup-id i3-msg 'workspace 1; exec urxvt -e tmuxinator utility; exec tor-browser.sh'
-#exec --no-startup-id i3-msg 'workspace 1; exec urxvt -e tmuxinator utility; exec torbrowser-launcher'
-#exec --no-startup-id i3-msg 'workspace 1; exec bash ~/bin/export_x_info.sh; exec mpd; exec xrdb ~/.Xresources'
-#exec --no-startup-id i3-msg 'workspace 2; exec firefox; layout tabbed; exec tor-browser.sh'
exec --no-startup-id i3-msg 'workspace 2; exec firefox; layout tabbed'
exec --no-startup-id i3-msg 'workspace 1; exec urxvt -e tmux-utility.sh'