Add i3
This commit is contained in:
parent
df3e22eb70
commit
7c0df8c680
1 changed files with 122 additions and 0 deletions
122
.config/i3/config
Normal file
122
.config/i3/config
Normal file
|
@ -0,0 +1,122 @@
|
|||
set $mod Mod4
|
||||
|
||||
font pango:DejaVu Sans 9
|
||||
|
||||
floating_modifier $mod
|
||||
|
||||
bindsym $mod+Return exec i3-sensible-terminal
|
||||
|
||||
bindsym $mod+Shift+x kill
|
||||
|
||||
#bindsym $mod+a exec dmenu_run
|
||||
bindsym $mod+a exec rofi -show drun -no-levenshtein-sort -terminal $terminal
|
||||
|
||||
bindsym $mod+n focus left
|
||||
bindsym $mod+r focus down
|
||||
bindsym $mod+t focus up
|
||||
bindsym $mod+d focus right
|
||||
|
||||
bindsym $mod+Shift+n move left
|
||||
bindsym $mod+Shift+r move down
|
||||
bindsym $mod+Shift+t move up
|
||||
bindsym $mod+Shift+d move right
|
||||
|
||||
bindsym $mod+h split h
|
||||
bindsym $mod+v split v
|
||||
|
||||
bindsym $mod+e fullscreen toggle
|
||||
|
||||
bindsym $mod+q layout stacking
|
||||
bindsym $mod+f layout tabbed
|
||||
bindsym $mod+g layout toggle split
|
||||
|
||||
bindsym $mod+Shift+space floating toggle
|
||||
|
||||
bindsym $mod+space focus mode_toggle
|
||||
#bindsym $mod+u focus parent
|
||||
#bindsym $mod+d focus child
|
||||
|
||||
bindsym $mod+1 workspace 1
|
||||
bindsym $mod+2 workspace 2
|
||||
bindsym $mod+3 workspace 3
|
||||
bindsym $mod+4 workspace 4
|
||||
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
|
||||
|
||||
bindsym $mod+Shift+1 move container to workspace 1
|
||||
bindsym $mod+Shift+2 move container to workspace 2
|
||||
bindsym $mod+Shift+3 move container to workspace 3
|
||||
bindsym $mod+Shift+4 move container to workspace 4
|
||||
bindsym $mod+Shift+5 move container to workspace 5
|
||||
bindsym $mod+Shift+6 move container to workspace 6
|
||||
bindsym $mod+Shift+7 move container to workspace 7
|
||||
bindsym $mod+Shift+8 move container to workspace 8
|
||||
bindsym $mod+Shift+9 move container to workspace 9
|
||||
bindsym $mod+Shift+0 move container to workspace 10
|
||||
|
||||
bindsym $mod+Shift+l reload
|
||||
bindsym $mod+Shift+c restart
|
||||
#bindsym $mod+Shift+l exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
|
||||
|
||||
mode "resize" {
|
||||
bindsym n resize shrink width 10 px or 10 ppt
|
||||
bindsym r resize grow height 10 px or 10 ppt
|
||||
bindsym t resize shrink height 10 px or 10 ppt
|
||||
bindsym d resize grow width 10 px or 10 ppt
|
||||
|
||||
bindsym Return mode "default"
|
||||
bindsym Escape mode "default"
|
||||
}
|
||||
|
||||
bindsym $mod+c mode "resize"
|
||||
|
||||
default_border pixel 1
|
||||
hide_edge_borders smart
|
||||
|
||||
bar {
|
||||
status_command python ~/.config/i3pystatus/config.py
|
||||
position top
|
||||
tray_output primary
|
||||
workspace_buttons yes
|
||||
}
|
||||
|
||||
for_window [window_role="pop-up"] floating enable
|
||||
for_window [class="Pavucontrol"] floating enable
|
||||
|
||||
exec xset s noblank && xset s 90 10 && xset -dpms
|
||||
exec xsetroot -bg black
|
||||
exec redshift-gtk
|
||||
exec --no-startup-id blueman-applet
|
||||
exec xss-lock -n /home/kunsi/.bin/notify.sh -- /home/kunsi/.bin/screenlock.sh
|
||||
exec nextcloud
|
||||
|
||||
bindsym Control+$mod+l exec /home/kunsi/.bin/screenlock.sh
|
||||
|
||||
bindsym Control+$mod+r move workspace to output up
|
||||
bindsym Control+$mod+t move workspace to output down
|
||||
bindsym Control+$mod+n move workspace to output left
|
||||
bindsym Control+$mod+d move workspace to output right
|
||||
|
||||
bindsym XF86LaunchA exec /home/kunsi/.bin/screenlayout.sh
|
||||
bindsym $mod+F3 exec /home/kunsi/.bin/screenlayout.sh
|
||||
|
||||
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
|
||||
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
|
||||
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
bindsym $mod+F12 exec pactl set-sink-volume @DEFAULT_SINK@ +2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
|
||||
bindsym $mod+F11 exec pactl set-sink-volume @DEFAULT_SINK@ -2%; exec pactl set-sink-mute @DEFAULT_SINK@ 0
|
||||
bindsym $mod+F10 exec pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||
|
||||
#bindsym XF86AudioPlay exec playerctl play-pause
|
||||
#bindsym XF86AudioNext exec playerctl next
|
||||
#bindsym XF86AudioPrev exec playerctl previous
|
||||
|
||||
bindsym XF86MonBrightnessUp exec xbacklight -inc 5
|
||||
bindsym XF86MonBrightnessDown exec xbacklight -dec 5
|
||||
|
||||
bindsym XF86KbdBrightnessUp exec kb-light + 10
|
||||
bindsym XF86KbdBrightnessDown exec kb-light - 10
|
Loading…
Reference in a new issue