Compare commits

...

4 commits

2 changed files with 34 additions and 21 deletions

View file

@ -6,7 +6,7 @@
# # # #
# License: Creative Commons Attribution 4.0 International # # License: Creative Commons Attribution 4.0 International #
# Source: https://www.learnlinux.tv # # Source: https://www.learnlinux.tv #
# Author:Gregory Trolliet <gregory@trolliet.info # # Author: Gregory Trolliet <gregory@trolliet.info #
# # # #
# Pro-tip: While using Sway, you can trigger this configuration to be re-read by # # Pro-tip: While using Sway, you can trigger this configuration to be re-read by #
# pressing Super + Shift + C. # # pressing Super + Shift + C. #
@ -160,6 +160,19 @@ mode "present" {
} }
bindsym $mod+p mode "present" bindsym $mod+p mode "present"
#========================#
# Screen capture #
#========================#
# save screen to ~/Pictures
bindsym Print exec grim
# save a region to ~/Pictures
bindsym Shift+Print exec grim -g "$(slurp)"
# send screen to clipboard
bindsym Ctrl+Print exec grim - | wl-copy
# send a region to clipboard
bindsym Ctrl+Shift+Print exec grim -g "$(slurp)" - | wl-copy
#=================================# #=================================#
# Keyboard Shortcuts (Workspaces) # # Keyboard Shortcuts (Workspaces) #
#=================================# #=================================#

View file

@ -1,22 +1,22 @@
#================================================================================# //================================================================================//
# Waybar Configuration File # // Waybar Configuration File //
#--------------------------------------------------------------------------------# //--------------------------------------------------------------------------------//
# Purpose: Creates a minimalistic (yet functional) waybar at # // Purpose: Creates a minimalistic (yet functional) waybar at //
# the top of the screen. # // the top of the screen. //
# themes and colors, set the wallpaper, and more. # // themes and colors, set the wallpaper, and more. //
# # // //
# License: Creative Commons Attribution 4.0 International # // License: Creative Commons Attribution 4.0 International //
# Source: https:#www.learnlinux.tv # // Source: https://www.learnlinux.tv //
# Author:Gregory Trolliet <gregory@trolliet.info> # // Author:Gregory Trolliet <gregory@trolliet.info //
# # // //
# Credit: # // Credit: //
# Battery section adapted from: # // Battery section adapted from: //
# https://github.com/Egosummiki/dotfiles/blob/master/waybar/config # // https://github.com/Egosummiki/dotfiles/blob/master/waybar/config //
# # // //
# Pipewire audio adapted from: # // Pipewire audio adapted from: //
# https://www.reddit.com/r/swaywm/comments/sks343/ # // https://www.reddit.com/r/swaywm/comments/sks343/ //
# pwvolume_pipewire_volume_control_and_waybar_module # // pwvolume_pipewire_volume_control_and_waybar_module //
#================================================================================# //================================================================================//
{ {
"layer": "top", "layer": "top",
@ -96,4 +96,4 @@
"interval": "once", "interval": "once",
"on-click": "/usr/bin/rxvt -e /usr/bin/htop", "on-click": "/usr/bin/rxvt -e /usr/bin/htop",
}, },
}