sway the things
- add screenshot shortcut to sway config
- updated ctags, tagbar for vim.
- Markdown and BibTex now included, rm ctags config file
- and updated vimrc with altered ctags linkers
This commit is contained in:
@@ -9,7 +9,11 @@
|
||||
#
|
||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||
|
||||
# set modifier keys:
|
||||
# Mod4=Apple Command|Windows key
|
||||
set $mod Mod4
|
||||
# Mod1=Alt|option key
|
||||
set $alt Mod1
|
||||
|
||||
# Your preferred terminal emulator
|
||||
set $term urxvt
|
||||
@@ -21,6 +25,8 @@ set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
||||
|
||||
bindsym --release $mod+z exec 'fn=$(date "+%Y-%m-%d-%H%M%S").png; grim -g "$(slurp)" $fn; ~/bin/mv2figs.sh $fn'
|
||||
# bindsym --release $mod+z exec scrot '%Y-%m-%d_%H%M%S_$wx$h.png' -e '~/bin/mv2figs.sh $f'
|
||||
bindsym --release $alt+z exec 'fn=$(date "+%Y-%m-%d-%H%M%S").png; sleep 3; grim $fn; ~/bin/mv2figs.sh $fn'
|
||||
|
||||
bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | xclip -selection clipboard"
|
||||
#check out wl-clipboard for wayland xclip solution https://github.com/bugaevc/wl-clipboard
|
||||
|
||||
@@ -183,7 +189,7 @@ bindsym $mod+Shift+r restart
|
||||
# Exit sway (logs you out of your Wayland session)
|
||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -b 'Yes, exit sway' 'swaymsg exit'
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
# resize windowfigures/2020-02-25-021616.png" (you can also use the mouse for that)
|
||||
mode "resize" {
|
||||
# These bindings trigger as soon as you enter the resize mode
|
||||
|
||||
@@ -289,6 +295,14 @@ bindsym $mod+Shift+b bar mode toggle
|
||||
#client.placeholder $base00 $base00 $base05 $base00 $base00
|
||||
#client.background $base07
|
||||
|
||||
# disable system tray
|
||||
# bar {
|
||||
# tray_output none
|
||||
# }
|
||||
|
||||
# focus windowns using only keyboard
|
||||
# focus_follows_mouse no
|
||||
|
||||
#Can use the following with custom workspace save files to reload layouts
|
||||
#exec --no-startup-id "i3-msg 'workspace 1; append_layout ~/.config/i3/workspace-1.json'"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user