mirror of
https://github.com/balkian/dotfiles.git
synced 2025-08-23 16:02:19 +00:00
Better support for i3
This commit is contained in:
52
i3/config
52
i3/config
@@ -20,13 +20,13 @@ font xft:Deja Vu Sans 8
|
||||
floating_modifier $mod
|
||||
#/exec
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec i3-one-instance urxvt
|
||||
bindsym $mod+Return exec i3-one-tmux
|
||||
|
||||
# start lock
|
||||
bindsym Control+Mod1+l exec i3lock
|
||||
|
||||
bindsym Control+Mod1+w exec i3-one-instance google-chrome
|
||||
bindsym Control+Mod1+g exec gvim
|
||||
bindsym Control+Mod1+g exec i3-one-instance gvim
|
||||
bindsym Control+Mod1+f exec pcmanfm
|
||||
|
||||
# Spotify
|
||||
@@ -38,7 +38,12 @@ bindsym XF86AudioPrev exec spotify-remote.py -a previous
|
||||
bindsym $mod+q kill
|
||||
|
||||
# start dmenu (a program launcher)
|
||||
bindsym Mod1+F2 exec dmenu_run
|
||||
#bindsym Mod1+F2 exec dmenu_run
|
||||
bindsym Mod1+F2 exec dmenu_run -fn "-*-cure-medium-*-*-*-11-*-*-*-*-*-*-*" -nb "#101010" -nf "#5f5f5f" -sb "#191919" -sf "#b72f62" -b
|
||||
|
||||
# Arandr magic
|
||||
bindsym Mod1+F5 exec dual-monitor
|
||||
bindsym Mod1+F6 exec single-monitor
|
||||
|
||||
# change focus
|
||||
bindsym $mod+h focus left
|
||||
@@ -154,21 +159,46 @@ bindsym $mod+n exec i3-input -F 'rename workspace to %s' -P 'New name: '
|
||||
|
||||
# Start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
status_command i3status
|
||||
}
|
||||
#bar {
|
||||
#status_command i3status
|
||||
#}
|
||||
|
||||
bar {
|
||||
mode dock
|
||||
position top
|
||||
workspace_buttons yes
|
||||
status_command ~/.i3/conky.sh
|
||||
colors {
|
||||
background #101010
|
||||
statusline #101010
|
||||
focused_workspace #101010 #586e75 #fdf6e3
|
||||
active_workspace #101010 #101010 #cb4b16
|
||||
inactive_workspace #101010 #101010 #93a1a1
|
||||
urgent_workspace #fdf6e3 #dc322f
|
||||
}
|
||||
}
|
||||
# class border backgr. text indicator
|
||||
client.focused #4c7899 #93a1a1 #002b36 #2e9ef4
|
||||
client.focused_inactive #4c7899 #002b36 #93a1a1 #484e50
|
||||
client.unfocused #333333 #222222 #888888 #292d2e
|
||||
client.urgent #2f343a #900000 #ffffff #900000
|
||||
client.focused #4c7899 #101010 #93a1a1 #2e9ef4
|
||||
client.focused_inactive #4c7899 #101010 #93a1a1 #484e50
|
||||
client.unfocused #333333 #101010 #93a1a1 #292d2e
|
||||
client.urgent #2f343a #101010 #93a1a1 #900000
|
||||
|
||||
for_window [class="^Google-chrome$"] border none
|
||||
assign [class="Google-chrome" window_role="browser"] 2: Web
|
||||
for_window [class="^URxvt$"] border 1px
|
||||
assign [class="^URxvt$"] 1: Term
|
||||
assign [class="^Gvim$"] 3: Edit
|
||||
assign [class="^Evince$"] 4: Viewer
|
||||
assign [class="^Spotify$"] 6: Music
|
||||
assign [class="^Audacious$"] 6: Music
|
||||
|
||||
workspace "1: Term" output DP1
|
||||
workspace "2: Web" output DP1
|
||||
workspace 3 output eDP1
|
||||
workspace "3: Edit" output DP1
|
||||
workspace "4: Viewer" output eDP1
|
||||
workspace "5: Files" output eDP1
|
||||
workspace "6: Music" output eDP1
|
||||
workspace "7: Misc Big" output DP1
|
||||
workspace "8: Misc Small" output eDP1
|
||||
|
||||
exec --no-startup-id nm-applet
|
||||
|
Reference in New Issue
Block a user