Screenshots, polish layout, filelog

This commit is contained in:
KK
2026-06-18 11:20:01 +02:00
parent b9b2d652f7
commit c6bd25182a
5 changed files with 20 additions and 2 deletions

View File

@@ -20,10 +20,13 @@
[tag]
sort = version:refname
[alias]
s = status --short --branch
st = status
co = checkout
br = branch
ci = commit
lg = log --graph --pretty=format:'%C(auto)%h%Creset %Cgreen%cr%Creset %C(bold blue)%an%Creset %s%C(auto)%d%Creset' --all
branches = for-each-ref --sort=-committerdate refs/heads/ --format='%(committerdate:relative) %(refname:short)'
filelog = log --follow --graph --decorate --date=relative --pretty=format:'%C(auto)%h%Creset %Cgreen%cr%Creset %C(bold blue)%an%Creset %s'

View File

@@ -12,3 +12,5 @@ map global insert <tab> '<space><space><space><space>'
hook global RegisterModified '"' %{ nop %sh{
printf %s "$kak_main_reg_dquote" | wl-copy > /dev/null 2>&1 &
}}
add-highlighter global/ number-lines

8
.config/pavucontrol.ini Normal file
View File

@@ -0,0 +1,8 @@
[window]
width=500
height=400
sinkInputType=1
sourceOutputType=1
sinkType=0
sourceType=1
showVolumeMeters=1

View File

@@ -69,6 +69,7 @@ exec swayidle -w \
# Read `man 5 sway-input` for more information about this section.
input * {
xkb_layout pl
repeat_rate 80
repeat_delay 300
}
@@ -98,6 +99,8 @@ exec systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
#
# Basics:
#
# Start a terminal
bindsym $mod+Return exec $term
@@ -243,7 +246,9 @@ bindsym $mod+r mode "resize"
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-; pkill -USR1 -f "$HOME/.config/sway/status.sh"
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+; pkill -USR1 -f "$HOME/.config/sway/status.sh"
# Special key to take a screenshot with grim
bindsym Print exec grim
bindsym Print exec sh -c 'mkdir -p ~/screenshots; f=~/screenshots/$(date +%F-%H%M%S).png; grim "$f"; wl-copy < "$f"'
bindsym Shift+Print exec sh -c 'mkdir -p ~/screenshots; f=~/screenshots/$(date +%F-%H%M%S).png; grim -g "$(slurp)" "$f"; wl-copy < "$f"'
# Pick an entry from clipboard history and copy it back to the clipboard
bindsym $mod+c exec sh -c 'cliphist list | wmenu -l 10 | cliphist decode | wl-copy'

View File

@@ -51,7 +51,7 @@
# sudo apt install -y xdg-desktop-portal-wlr xdg-desktop-portal-gtk xdg-user-dirs fonts-jetbrains-mono
# # DE setup
# sudo apt install -y sway swayidle swaybg swaylock foot wmenu brightnessctl xwayland wl-clipboard
# sudo apt install -y sway swayidle swaybg swaylock foot wmenu brightnessctl xwayland wl-clipboard grim
# # Issue fix
# # there were issues because user was not in render group (error messages on start of sway)