swaying work

This commit is contained in:
ackman678
2020-05-10 22:22:24 -07:00
parent 6b3a0efc28
commit ca5ce3b2a6
5 changed files with 35 additions and 20 deletions

View File

@@ -16,8 +16,9 @@ set $mod Mod4
set $alt Mod1
# Your preferred terminal emulator
set $term urxvt
# set $term urxvt
set $term alacritty
#
# Your preferred application launcher
# set $menu dmenu_run
# Note: it's recommended that you pass the final command to sway
@@ -27,8 +28,9 @@ bindsym --release $mod+z exec 'fn=$(date "+%Y-%m-%d-%H%M%S").png; grim -g "$(slu
# 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
bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | wl-copy"
# bindsym $mod+Shift+z exec "date --iso-8601='seconds' | tr -d '\n' | xclip -selection clipboard"
#audio output kbd control- pulse audio
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 0 +5%
@@ -307,6 +309,6 @@ bindsym $mod+Shift+b bar mode toggle
#exec --no-startup-id "i3-msg 'workspace 1; append_layout ~/.config/i3/workspace-1.json'"
include /etc/sway/config.d/*
exec xrdb -load ~/.Xresources
# exec xrdb -load ~/.Xresources
# exec mako
exec dunst