added shortcuts

This commit is contained in:
aj 2018-12-20 21:06:19 +00:00
parent 7e55c1db7a
commit a13601966b
3 changed files with 20 additions and 8 deletions

View File

@ -9,6 +9,8 @@
#
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
set $wsSpotify "100:spotify"
#new_window 1pixel
hide_edge_borders smart
workspace_auto_back_and_forth yes
@ -20,15 +22,25 @@ smart_gaps on
bindsym Control+$alt+Right workspace next
bindsym Control+$alt+Left workspace prev
bindsym $mod+n exec --no-startup-id nautilus
bindsym $mod+n exec --no-startup-id i3-sensible-terminal -e ranger
bindsym $mod+i exec --no-startup-id i3-sensible-terminal -e nmtui
bindsym $mod+m exec --no-startup-id spotify
bindsym $mod+c exec --no-startup-id firefox
bindsym $mod+o exec --no-startup-id obs --startrecording
#for_window [class="(?i)firefox"] set workspace_layout tabbed
assign [class="obs"] 101:obs
bindsym $mod+shift+l exec pkill -KILL -u andy
bindsym $mod+l exec --no-startup-id firefox -new-window last.fm/user/sarsoo
set $mod Mod4
set $alt Mod1
for_window [class="(?i)spotify"] move window to workspace 100:spotify
for_window [class="(?i)spotify"] move window to workspace $wsSpotify
for_window [class="(?i)spotify"] fullscreen enable
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
@ -59,7 +71,7 @@ bindsym $mod+Shift+q kill
# There also is the (new) i3-dmenu-desktop which only displays applications
# shipping a .desktop file. It is a wrapper around dmenu, so you need that
# installed.
bindsym $mod+d exec rofi -show combi -config ~/.config/rofi/config
bindsym $mod+d exec rofi -show combi -show-icons -config ~/.config/rofi/config
# change focus
#bindsym $mod+j focus left

View File

@ -69,9 +69,9 @@ modules-left = i3
;modules-center = xwindow
modules-right = xbacklight wifi public-ip vpn battery powermenu date
tray-position = right
tray-padding = 4
tray-maxsize = 16
;tray-position = right
;tray-padding = 4
;tray-maxsize = 16
;tray-transparent = true
;tray-detached = true
;tray-offset-x = 50

View File

@ -1,3 +1,3 @@
rofi.lines: 20
rofi.modi: window,run,ssh
rofi.combi-modi: window,run,ssh
rofi.modi: window,drun,ssh,run
rofi.combi-modi: window,drun,ssh,run