display, i3

This commit is contained in:
2020-02-15 15:04:47 +01:00
parent 560841459c
commit 93edf69d60
16 changed files with 298 additions and 41 deletions

View File

@ -26,9 +26,47 @@ bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id rofi -show drun -theme themes/app-launcher
bindsym $mod+i exec --no-startup-id rofi -show window
bindsym $mod+i exec --no-startup-id rofi -show window -theme themes/app-launcher
set $workspacer ~/.config/i3/i3-workspacer.py
# go to new workspace blocks
#bindsym $mod+Tab exec --no-startup-id $workspacer go -d up
#bindsym $mod+m exec --no-startup-id $workspacer go -d down
# move to new workspace blocks
#bindsym $mod+Shift+Tab exec --no-startup-id $workspacer move -d up
#bindsym $mod+Shift+m exec --no-startup-id $workspacer move -d down
# switch to workspace
bindsym $mod+grave exec --no-startup-id ~/.config/i3/i3-goto-workspace
bindsym $mod+1 exec --no-startup-id $workspacer go -n 1
bindsym $mod+2 exec --no-startup-id $workspacer go -n 2
bindsym $mod+3 exec --no-startup-id $workspacer go -n 3
bindsym $mod+4 exec --no-startup-id $workspacer go -n 4
bindsym $mod+5 exec --no-startup-id $workspacer go -n 5
bindsym $mod+6 exec --no-startup-id $workspacer go -n 6
bindsym $mod+7 exec --no-startup-id $workspacer go -n 7
bindsym $mod+8 exec --no-startup-id $workspacer go -n 8
bindsym $mod+9 exec --no-startup-id $workspacer go -n 9
bindsym $mod+0 exec --no-startup-id $workspacer go -n 10
# move focused container to workspace
bindsym $mod+Shift+grave exec --no-startup-id ~/.config/i3/i3-moveto-workspace
bindsym $mod+Shift+1 exec --no-startup-id $workspacer move -n 1
bindsym $mod+Shift+2 exec --no-startup-id $workspacer move -n 2
bindsym $mod+Shift+3 exec --no-startup-id $workspacer move -n 3
bindsym $mod+Shift+4 exec --no-startup-id $workspacer move -n 4
bindsym $mod+Shift+5 exec --no-startup-id $workspacer move -n 5
bindsym $mod+Shift+6 exec --no-startup-id $workspacer move -n 6
bindsym $mod+Shift+7 exec --no-startup-id $workspacer move -n 7
bindsym $mod+Shift+8 exec --no-startup-id $workspacer move -n 8
bindsym $mod+Shift+9 exec --no-startup-id $workspacer move -n 9
bindsym $mod+Shift+0 exec --no-startup-id $workspacer move -n 10
# renaming workspace
bindsym $mod+n exec --no-startup-id ~/.config/i3/i3-rename-workspace
bindsym $mod+Shift+n exec --no-startup-id ~/.config/i3/i3-renumber-workspace
# move focused window
bindsym $mod+j move left
bindsym $mod+k move down
@ -74,30 +112,6 @@ set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# switch to workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# move focused container to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# reload the configuration file
bindsym $mod+Shift+c reload
@ -152,9 +166,10 @@ exec_always --no-startup-id $HOME/.config/polybar/launch.sh
exec --no-startup-id i3-msg 'exec $TERMINAL; workspace 2; exec firefox;'
exec --no-startup-id feh --bg-scale ~/Wallpapers/seneca.jpg
exec --no-startup-id xrandr --output HDMI1 --right-of eDP1
exec --no-startup-id xset dpms 500
exec --no-startup-id ~/bin/autoconfgure_display.sh
#exec --no-startup-id xset dpms 500
exec --no-startup-id nm-applet
exec --no-startup-id pasystray
exec --no-startup-id clipit
exec --no-startup-id xautolock -time 10 -locker "betterlockscreen -l dim"
exec --no-startup-id ~/bin/dunstwal
@ -163,7 +178,8 @@ exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec telegram-desktop
exec mattermost-desktop
exec --no-startup-id sleep 4; i3-msg '[class="Mattermost"] move scratchpad; [class="Telegram"] move scratchpad'
exec --no-startup-id sleep 4; i3-msg '[class="Telegram"] move scratchpad'
exec --no-startup-id sleep 4; i3-msg '[class="Mattermost"] move scratchpad'
exec_always --no-startup-id wal -R -n
@ -187,10 +203,11 @@ bindsym Mod1+Tab workspace back_and_forth
bindsym $mod+Tab focus right
bindsym $mod+Ctrl+Tab focus left
bindsym Print exec "~/bin/screenshot.sh"
bindsym $mod+Print exec "owo -s --fullscreen --no-cursor"
#bindsym $mod+Print exec "owo -sq --fullscreen --no-cursor"
bindsym $mod+minus [class="Telegram"] scratchpad show
bindsym $mod+p [class="Mattermost"] scratchpad show
bindsym $mod+m [class="Cantata"] scratchpad show
bindsym $mod+Delete exec rofi -modi system:$HOME/.config/rofi/scripts/powermenu.sh -show system -theme themes/system-menu
bindsym $mod+shift+Delete exec betterlockscreen -l