mirror of
https://github.com/balkian/dotfiles.git
synced 2025-08-23 16:02:19 +00:00
Several improvements.
* Tmux is not started by default anymore * Added functions for i3 - Awesome!! * zsh to start tmux
This commit is contained in:
61
i3/config
61
i3/config
@@ -21,12 +21,14 @@ floating_modifier $mod
|
||||
#/exec
|
||||
# start a terminal
|
||||
bindsym $mod+Return exec i3-one-tmux
|
||||
bindsym Control+Mod1+t exec urxvt
|
||||
|
||||
# start lock
|
||||
bindsym Control+Mod1+l exec i3lock
|
||||
bindsym Control+Mod1+l exec i3lock -c 000000 -t -i ~/Pictures/Wallpapers/Game\ Over\ Hacker.png
|
||||
|
||||
bindsym Control+Mod1+w exec i3-one-instance google-chrome
|
||||
bindsym Control+Mod1+g exec i3-one-instance gvim
|
||||
bindsym $mod+o exec i3-winmenu.py
|
||||
bindsym Control+Mod1+f exec pcmanfm
|
||||
|
||||
# Spotify
|
||||
@@ -34,6 +36,11 @@ bindsym XF86AudioPlay exec spotify-remote.py -a playPause
|
||||
bindsym XF86AudioNext exec spotify-remote.py -a next
|
||||
bindsym XF86AudioPrev exec spotify-remote.py -a previous
|
||||
|
||||
# Volume
|
||||
bindsym XF86AudioRaiseVolume exec volume-up.sh
|
||||
bindsym XF86AudioLowerVolume exec volume-down.sh
|
||||
bindsym XF86AudioMute exec volume-toggle-mute.sh
|
||||
|
||||
# kill focused window
|
||||
bindsym $mod+q kill
|
||||
|
||||
@@ -96,30 +103,30 @@ bindsym $mod+a focus parent
|
||||
bindsym $mod+d focus child
|
||||
|
||||
# switch to workspace
|
||||
bindsym $mod+1 workspace number 1
|
||||
bindsym $mod+2 workspace number 2
|
||||
bindsym $mod+3 workspace number 3
|
||||
bindsym $mod+4 workspace number 4
|
||||
bindsym $mod+5 workspace number 5
|
||||
bindsym $mod+6 workspace number 6
|
||||
bindsym $mod+7 workspace number 7
|
||||
bindsym $mod+8 workspace number 8
|
||||
bindsym $mod+9 workspace number 9
|
||||
bindsym $mod+1 workspace 1: Term
|
||||
bindsym $mod+2 workspace 2: Web
|
||||
bindsym $mod+3 workspace 3: Edit
|
||||
bindsym $mod+4 workspace 4: Viewer
|
||||
bindsym $mod+5 workspace 5: Files
|
||||
bindsym $mod+6 workspace 6: Music
|
||||
bindsym $mod+7 workspace 7: Chat
|
||||
bindsym $mod+8 workspace 8: Misc Big
|
||||
bindsym $mod+9 workspace 9: Misc Small
|
||||
bindsym $mod+0 workspace number 10
|
||||
bindsym $mod+Control+h workspace prev
|
||||
bindsym $mod+Control+l workspace next
|
||||
|
||||
# move focused container to workspace
|
||||
bindsym $mod+Shift+exclam move container to workspace number 1
|
||||
bindsym $mod+Shift+at move container to workspace number 2
|
||||
bindsym $mod+Shift+numbersign move container to workspace number 3
|
||||
bindsym $mod+Shift+dollar move container to workspace number 4
|
||||
bindsym $mod+Shift+percent move container to workspace number 5
|
||||
bindsym $mod+Shift+asciicircum move container to workspace number 6
|
||||
bindsym $mod+Shift+ampersand move container to workspace number 7
|
||||
bindsym $mod+Shift+asterisk move container to workspace number 8
|
||||
bindsym $mod+Shift+parenleft move container to workspace number 9
|
||||
bindsym $mod+Shift+parenright move container to workspace number 10
|
||||
bindsym $mod+Shift+exclam move container to workspace 1: Term
|
||||
bindsym $mod+Shift+at move container to workspace 2: Web
|
||||
bindsym $mod+Shift+numbersign move container to workspace 3: Edit
|
||||
bindsym $mod+Shift+dollar move container to workspace 4: Viewer
|
||||
bindsym $mod+Shift+percent move container to workspace 5: Files
|
||||
bindsym $mod+Shift+asciicircum move container to workspace 6: Music
|
||||
bindsym $mod+Shift+ampersand move container to workspace 7: Chat
|
||||
bindsym $mod+Shift+asterisk move container to workspace 8: Misc Big
|
||||
bindsym $mod+Shift+parenleft move container to workspace 9: Misc Small
|
||||
bindsym $mod+Shift+parenright move container to workspace number 10
|
||||
|
||||
# reload the configuration file
|
||||
bindsym $mod+Shift+C reload
|
||||
@@ -186,11 +193,13 @@ 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 [title="^tmux$"] 1: Term
|
||||
assign [class="^Gvim$"] 3: Edit
|
||||
assign [class="^Evince$"] 4: Viewer
|
||||
assign [class="^Spotify$"] 6: Music
|
||||
assign [class="^Audacious$"] 6: Music
|
||||
assign [class="^Audacious$"] 6: Music
|
||||
assign [class="^Xchat$"] 7: Chat
|
||||
|
||||
workspace "1: Term" output DP1
|
||||
workspace "2: Web" output DP1
|
||||
@@ -198,7 +207,13 @@ 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
|
||||
workspace "7: Chat" output eDP1
|
||||
workspace "8: Misc Big" output DP1
|
||||
workspace "9: Misc Small" output eDP1
|
||||
|
||||
exec --no-startup-id nm-applet
|
||||
exec --no-startup-id dropbox start
|
||||
exec --no-startup-id volti
|
||||
exec --no-startup-id clipit
|
||||
exec xautolock -time 10 -locker 'i3lock -t -c 000000 -i ~/Pictures/Wallpapers/Game\ Over\ Hacker.png' &
|
||||
exec urxvt -e tmux attach
|
||||
|
Reference in New Issue
Block a user