123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- # Solarized-ish theme
-
- set $mod Mod4
-
- exec xfsettingsd
-
- exec xfce4-volumed
-
- exec compton --config ~/.comptonrc --backend glx --vsync opengl-swc --paint-on-overlay -b
-
- exec feh --bg-scale $HOME/pictures/71hnM4c.png
-
- # hide dem borders
- hide_edge_borders both
-
- # hide dem titles
- for_window [class="^.*"] border pixel 1
- for_window [title="^float$"] floating enable
-
- #colors
-
- set $background #313131
- set $back-inact #313131
- set $back-urgen #FFEEEE
- set $border #313131
- set $bor-in #313131
- set $bor-ur #313131
- set $text #EEEEEE
- set $t-in #454545
- set $t-ur #B000113
- #solarized theme, weird
- #set $background #839496
- #set $back-inact #073642
- #set $back-urgen #CB504E
- #set $border #93A1A1
- #set $bor-in #073642
- #set $bor-ur #424242
- #set $text #002B36
- #set $t-in #839496
- #set $t-ur #B00011
-
- # class border background text indicator
- client.focused $border $background $text #31392F
- client.focused_inactive $bor-in $back-inact $t-in #676767
- client.unfocused $bor-in $back-inact $t-in #515151
- client.urgent $bor-ur $back-urgen $t-ur #900000
-
- # font for window titles. ISO 10646 = Unicode
- #apt-get install xfonts-terminus
- font xft:Terminus 8
-
- # Use Mouse+$mod to drag floating windows to their wanted position
- floating_modifier $mod
-
- # start a terminal
- bindsym $mod+Return exec i3-sensible-terminal
- bindsym $mod+t exec i3-sensible-terminal -T float
-
- # kill focused window
- bindsym $mod+shift+Q kill
-
- # start dmenu (a program launcher)
- bindsym $mod+d exec dmenu_run
-
- bindsym $mod+shift+d exec i3-dmenu-desktop
-
- # change focus
- bindsym $mod+b focus left
- bindsym $mod+n focus down
- bindsym $mod+p focus up
- bindsym $mod+f 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+b move left
- bindsym $mod+Shift+n move down
- bindsym $mod+Shift+p move up
- bindsym $mod+Shift+f 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
-
- # split in vertical orientation
- bindsym $mod+v split v
-
- # enter fullscreen mode for the focused container
- bindsym $mod+Shfit+z fullscreen
-
- # change container layout (stacked, tabbed, default)
- bindsym $mod+s layout stacking
- bindsym $mod+w layout tabbed
- bindsym $mod+e layout default
-
- # 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
- #bindcode $mod+d focus child
-
- # switch to workspace
- bindsym $mod+1 workspace 1: www
- bindsym $mod+2 workspace 2: ircode
- bindsym $mod+3 workspace 3: music
- bindsym $mod+4 workspace 4: misc
- bindsym $mod+5 workspace 5
- bindsym $mod+6 workspace 6
- bindsym $mod+7 workspace 7
- bindsym $mod+8 workspace 8
- bindsym $mod+9 workspace 9
- bindsym $mod+0 workspace 10
-
- # move focused container to workspace
- bindsym $mod+Shift+exclam move workspace 1: www
- bindsym $mod+Shift+at move workspace 2: ircode
- bindsym $mod+Shift+numbersign move workspace 3: music
- bindsym $mod+Shift+dollar move workspace 4: misc
- bindsym $mod+Shift+percent move workspace 5
- bindsym $mod+Shift+asciicircum move workspace 6
- bindsym $mod+Shift+ampersand move workspace 7
- bindsym $mod+Shift+asterisk move workspace 8
- bindsym $mod+Shift+parenleft move workspace 9
- bindsym $mod+Shift+parenright move workspace 10
-
- # 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 exit
-
- # resize window (you can also use the mouse for that)
- mode "resize" {
- # These bindings trigger as soon as you enter the resize mode
-
- # They resize the border in the direction you pressed, e.g.
- # when pressing left, the window is resized so that it has
- # more space on its left
-
- bindsym b resize shrink left 1 px or 1 ppt
- bindsym Shift+B resize grow left 1 px or 1 ppt
-
- bindsym n resize shrink down 1 px or 1 ppt
- bindsym Shift+N resize grow down 1 px or 1 ppt
-
- bindsym p resize shrink up 1 px or 1 ppt
- bindsym Shift+P resize grow up 1 px or 1 ppt
-
- bindsym f resize shrink right 1 px or 1 ppt
- bindsym Shift+F resize grow right 1 px or 1 ppt
-
- # same bindings, but for the arrow keys
- bindsym Left resize shrink left 10 px or 10 ppt
- bindsym Shift+Left resize grow left 10 px or 10 ppt
-
- bindsym Down resize shrink down 10 px or 10 ppt
- bindsym Shift+Down resize grow down 10 px or 10 ppt
-
- bindsym Up resize shrink up 10 px or 10 ppt
- bindsym Shift+Up resize grow up 10 px or 10 ppt
-
- bindsym Right resize shrink right 10 px or 10 ppt
- bindsym Shift+Right resize grow right 10 px or 10 ppt
-
- # back to normal: Enter or Escape
- bindsym Return mode "default"
- bindsym Escape 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 conky-i3bar
- position top
- # tray_output none
- colors {
- background $back-inact
- statusline $text
- #border #back #text
- focused_workspace $border $background $text
- active_workspace $border $background $text
- inactive_workspace $bor-in $back-inact $t-in
- urgent_workspace $bor-ur $back-urgen $t-ur
- }
- }
|