Several changes for i3.
This commit is contained in:
30
i3/i3/config
30
i3/i3/config
@@ -68,6 +68,7 @@
|
||||
|
||||
set $splith c
|
||||
set $splitv v
|
||||
set $split_toggle x
|
||||
|
||||
set $fullscreen f
|
||||
|
||||
@@ -84,6 +85,8 @@
|
||||
set $prev_on_output u
|
||||
set $next_on_output i
|
||||
|
||||
set $workspace_back_and_forth asciicircum
|
||||
|
||||
set $reload Shift+C
|
||||
set $restart Shift+R
|
||||
set $exit Shift+E
|
||||
@@ -131,6 +134,8 @@
|
||||
bindsym $mod+$layout_tabbed layout tabbed
|
||||
bindsym $mod+$layout_default layout default
|
||||
|
||||
bindsym $mod+$split_toggle layout toggle split
|
||||
|
||||
bindsym $mod+$floating_toggle floating toggle
|
||||
bindsym $mod+$focus_mode_toggle focus mode_toggle
|
||||
|
||||
@@ -162,6 +167,8 @@
|
||||
bindsym $mod+$prev_on_output workspace prev_on_output
|
||||
bindsym $mod+$next_on_output workspace next_on_output
|
||||
|
||||
bindsym $mod+$workspace_back_and_forth workspace back_and_forth
|
||||
|
||||
bindsym $mod+Shift+$prev_on_output move container to workspace prev_on_output
|
||||
bindsym $mod+Shift+$next_on_output move container to workspace next_on_output
|
||||
|
||||
@@ -174,7 +181,7 @@
|
||||
|
||||
### START APPLICATIONS #####################################################
|
||||
|
||||
bindsym $mod+d exec dmenu_run -b -l 5 -p "-->"
|
||||
bindsym $mod+d exec i3-dmenu-desktop --dmenu="dmenu -b -i -l 10 -p '>'"
|
||||
bindsym $mod+Return exec $terminal
|
||||
bindsym $mod+F1 exec firefox
|
||||
|
||||
@@ -247,7 +254,7 @@
|
||||
|
||||
# Draw normal borders around all windows with 1-pixel borders
|
||||
new_window normal 1
|
||||
new_float normal 1
|
||||
new_float normal 3
|
||||
|
||||
# Do show borders at the screen edges
|
||||
hide_edge_borders none
|
||||
@@ -276,6 +283,9 @@
|
||||
# Use Mouse+$mod to drag floating windows to their wanted position
|
||||
floating_modifier $mod
|
||||
|
||||
floating_minimum_size 0 x 0
|
||||
floating_maximum_size 0 x 0
|
||||
|
||||
################################################################################
|
||||
### COLOR SETTINGS #############################################################
|
||||
################################################################################
|
||||
@@ -291,15 +301,21 @@ client.urgent #2f343a #900000 #ffffff #900000
|
||||
################################################################################
|
||||
|
||||
for_window [class="^Wicd-client.py$"] floating enable
|
||||
for_window [class="^Xfce4-notifyd$"] floating enable ; border none
|
||||
for_window [class="^Xfce4-notifyd$"] floating enable , border none
|
||||
for_window [class="^Conky$"] floating enable
|
||||
for_window [class="^Terminator$"] border 1pixel
|
||||
for_window [class="^Firefox$"] border 1pixel
|
||||
for_window [class="^Truecrypt$"] floating enable
|
||||
for_window [class="^URxvt$"] border 1pixel
|
||||
for_window [class="^Cairo-dock$"] floating enable ; border none
|
||||
for_window [class="^Cairo-dock$"] floating enable , border none
|
||||
for_window [class="^Pavucontrol$"] floating enable
|
||||
for_window [title="^Skype.*for Linux$" ] floating enable
|
||||
for_window [title="^Skype.*for Linux$" ] floating enable , border none
|
||||
for_window [class="^Chromium$" ] border none
|
||||
for_window [class="^yad-status$" ] floating enable ; border none
|
||||
for_window [class="^Docky$" ] floating enable ; border none
|
||||
for_window [class="^yad-status$" ] floating enable , border none
|
||||
for_window [class="^Docky$" ] floating enable , border none
|
||||
for_window [class="^Skype$" ] border 1pixel
|
||||
for_window [class="^Steam$" ] border 1pixel
|
||||
#for_window [class="^Steam$" title="^Friends$" ] border 1pixel , floating enable , floating_maximum_size 200 x 700
|
||||
#for_window [class="^Steam$" title="Chat$" ] border 1pixel , floating enable
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
# bind some keys
|
||||
bindsym XF86Sleep exec --no-startup-id $path_i3exit suspend
|
||||
bindsym XF86AudioMute exec --no-startup-id amixer set Master toggle
|
||||
#bindsym XF86AudioRaiseVolume exec --no-startup-id amixer set Master %5+
|
||||
#bindsym XF86AudioLowerVolume exec --no-startup-id amixer set Master %5-
|
||||
bindsym XF86AudioRaiseVolume exec --no-startup-id bash $HOME/.i3/scripts/pa-volume.bash set-vol +5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
|
||||
bindsym XF86AudioLowerVolume exec --no-startup-id bash $HOME/.i3/scripts/pa-volume.bash set-vol -5 ; exec --no-startup-id "bash $HOME/.i3/scripts/update-status.bash"
|
||||
# keys seemingly switched
|
||||
bindsym XF86MonBrightnessUp exec --no-startup-id sudo /usr/local/bin/backlight.sh -10
|
||||
bindsym XF86MonBrightnessDown exec --no-startup-id sudo /usr/local/bin/backlight.sh +10
|
||||
|
||||
bindsym XF86AudioPlay exec --no-startup-id mpc toggle
|
||||
|
||||
bindsym XF86AudioPrev exec --no-startup-id mpc prev
|
||||
bindsym XF86AudioNext exec --no-startup-id mpc next
|
||||
|
||||
# start i3bar to display a workspace bar (plus the system information i3status
|
||||
# finds out, if available)
|
||||
bar {
|
||||
|
||||
Reference in New Issue
Block a user