Fixed Formatting and added print function.

This commit is contained in:
James Patrick 2019-04-28 21:41:21 -04:00
parent 59fbbcfaca
commit 3ea6964c0b

View File

@ -176,8 +176,18 @@ font pango:Fira Code 9
# Note: workspaces can have any name you want, not just numbers.
# We just use 1-10 as the default.
#
bindsym print exec file=~/Pictures/Screenshots/Screenshot-$(date '+%Y%m%d%H%M%S').png \
&& grim -g "$(slurp)" $file \
&& wl-copy $file \
&& notify-send -i $file "File copied to clipboard"
#bindsym $mod+print exec file=~/Pictures/Screenshots/Screenshot-$(date '+%Y%m%d%H%M%S').mp4 \
## && wf-recorder -g "$(slurp)" $file \
## && wl-copy $file \
## && notify-send -i $file "File copied to clipboard"
# Layout stuff:
#
# You can "split" the current object of your focus with
# $mod+b or $mod+v, for horizontal and vertical splits
# respectively.
@ -253,7 +263,6 @@ bindsym $mod+r mode "resize"
# GTK 3 settings
# See https://github.com/swaywm/sway/wiki/GTK-3-settings-on-Wayland for more info.
exec_always ~/.config/sway/import-gsettings \
gtk-theme:gtk-theme-name \
icon-theme:gtk-icon-theme-name \
@ -264,20 +273,5 @@ exec_always ~/.config/sway/import-gsettings \
bar {
swaybar_command waybar
}
#
# Read `man 5 sway-bar` for more information about this section.
#bar {
# position top
#
# # When the status_command prints a new line to stdout, swaybar updates.
# # The default just shows the current date and time.
# status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done
#
# colors {
# statusline #ffffff
# background #323232
# inactive_workspace #32323200 #32323200 #5c5c5c
# }
#}
#include /etc/sway/config.d/*