1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-19 16:27:45 +02:00

Compare commits

..

No commits in common. "70d459030349c240111279618cb05277f9b9251a" and "6e5fcdec64575cba54e15ae18b5027920bd3bf4b" have entirely different histories.

8 changed files with 10 additions and 48 deletions

View File

@ -105,10 +105,6 @@ alias sudo="sudo "
#sc-im #sc-im
alias sc="sc-im" alias sc="sc-im"
# screenkey
alias keys="screenkey"
# script # script
alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed" alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed"

View File

@ -4,17 +4,9 @@ super + b
$BROWSER $BROWSER
super + f super + f
$TERMINAL -e $FILE $TERMINAL -e $FILE
super + i
record_stop
super + m super + m
thunderbird thunderbird
super + o super + x
record_replay_start
super + p
record_replay_save
super + u
record_start
super + shift + x
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config' pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
super + shift + r super + shift + r
dmenu_run -c -l 20 dmenu_run -c -l 20
@ -37,6 +29,8 @@ super + F12
super + Print super + Print
maimpick maimpick
XF86Launch1
xset dpms force off
XF86AudioMute XF86AudioMute
lmc m && pkill -RTMIN+4 $STATUSBAR lmc m && pkill -RTMIN+4 $STATUSBAR
XF86AudioMicMute XF86AudioMicMute

View File

@ -3,7 +3,7 @@
# Requires maim. It lets you choose the kind of screenshot to take, # Requires maim. It lets you choose the kind of screenshot to take,
# including copying the image or even highlighting an area to copy. # including copying the image or even highlighting an area to copy.
output="$HOME/downloads/screenshot-$(date '+%Y-%m-%d_%H-%M-%S').png" output="$HOME/downloads/screenshot-$(date '+%y%m%d-%H%M-%S').png"
xclip_cmd="xclip -sel clip -t image/png" xclip_cmd="xclip -sel clip -t image/png"
case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (clipboard)\\ncurrent window (clipboard)\\nfull screen (clipboard)\\ncolor picker (clipboard)" | dmenu -l 6 -i -p "Screenshot which area?")" in case "$(printf "a selected area\\ncurrent window\\nfull screen\\na selected area (clipboard)\\ncurrent window (clipboard)\\nfull screen (clipboard)\\ncolor picker (clipboard)" | dmenu -l 6 -i -p "Screenshot which area?")" in

View File

@ -1,3 +0,0 @@
#!/bin/sh
killall -SIGUSR1 gpu-screen-recorder && notify-send 'Screen record' 'Replay saved'

View File

@ -1,11 +0,0 @@
#!/bin/sh
window=$(xdotool getwindowfocus)
fps=30
audio="$(pactl get-default-sink).monitor"
format="mp4"
lenght=20
output="$HOME/downloads"
gpu-screen-recorder -w $window -f $fps -a $audio -c $format -r $lenght -o $output &
notify-send 'Screen record' 'Replay started'

View File

@ -1,10 +0,0 @@
#!/bin/sh
window=$(xdotool getwindowfocus)
fps=30
audio="$(pactl get-default-sink).monitor"
format="mp4"
output="$HOME/downloads/recording-$(date '+%Y-%m-%d_%H-%M-%S').$format"
gpu-screen-recorder -w $window -c "mp4" -f $fps -a $audio -o $output &
notify-send 'Screen record' 'Recording started'

View File

@ -1,3 +0,0 @@
#!/bin/sh
killall -SIGINT gpu-screen-recorder && notify-send 'Screen record' 'Recording stopped'

View File

@ -45,14 +45,14 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
| ------ | ----- | ----------------- | --------------------------------------------------------- | | ------ | ----- | ----------------- | --------------------------------------------------------- |
| Super | | Return | Spawn terminal | | Super | | Return | Spawn terminal |
| Super | | b | Spawn browser | | Super | | b | Spawn browser |
| Super | Shift | b | Toggle dwmbar |
| Super | | f | Spawn filemanager | | Super | | f | Spawn filemanager |
| Super | | i | (gpu-screen-record) stop recording | | Super | | i | Spawn intellij-idea-ultimate-edition |
| Super | | m | Spawn thunderbird | | Super | | m | Spawn thunderbird |
| Super | | o | (gpu-screen-record) start replay | | Super | | p | Spawn ncmpcpp in st |
| Super | | p | (gpu-screen-record) save replay |
| Super | | u | (gpu-screen-record) start recording |
| Super | Shift | r | (dmenu) dmenu\_run | | Super | Shift | r | (dmenu) dmenu\_run |
| Super | Shift | x | Restart sxkd | | Super | Shift | r | Restart sxkd |
| Super | | s | (dmenu) Startpagesearch |
| Super | | F5 | Enable 2 Screen Monitor | | Super | | F5 | Enable 2 Screen Monitor |
| Super | | F6 | Toggle touchpad | | Super | | F6 | Toggle touchpad |
| Super | | F7 | (dmenu) Mounting drives | | Super | | F7 | (dmenu) Mounting drives |
@ -69,7 +69,6 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
| | | MonBrightnessDown | Brightness decrease | | | | MonBrightnessDown | Brightness decrease |
| | | MonBrightnessUp | Brightness increase | | | | MonBrightnessUp | Brightness increase |
## Additional configs ## Additional configs
Additional configs (and for example firefox plugins) can be found in my [wiki](https://github.com/tiyn/wiki). Additional configs (and for example firefox plugins) can be found in my [wiki](https://github.com/tiyn/wiki).