mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-09 20:27:46 +02:00
Compare commits
7 Commits
6e5fcdec64
...
70d4590303
Author | SHA1 | Date | |
---|---|---|---|
70d4590303 | |||
29ac61618d | |||
1488c9ce5a | |||
dfb203063e | |||
db94baae71 | |||
|
0c518edd9b | ||
0d221f7db0 |
@ -102,9 +102,13 @@ alias rsync="rsync -vh --progress --partial"
|
||||
alias su="sudo -i"
|
||||
alias sudo="sudo "
|
||||
|
||||
#sc-im
|
||||
# sc-im
|
||||
alias sc="sc-im"
|
||||
|
||||
# screenkey
|
||||
|
||||
alias keys="screenkey"
|
||||
|
||||
# script
|
||||
alias scriptclear="cat typescript | perl -pe 's/\e([^\[\]]|\[.*?[a-zA-Z]|\].*?\a)//g' | col -b > typescript-processed"
|
||||
|
||||
|
@ -4,9 +4,17 @@ super + b
|
||||
$BROWSER
|
||||
super + f
|
||||
$TERMINAL -e $FILE
|
||||
super + i
|
||||
record_stop
|
||||
super + m
|
||||
thunderbird
|
||||
super + x
|
||||
super + o
|
||||
record_replay_start
|
||||
super + p
|
||||
record_replay_save
|
||||
super + u
|
||||
record_start
|
||||
super + shift + x
|
||||
pkill -usr1 -x sxhkd; notify-send 'sxhkd' 'Reloaded config'
|
||||
super + shift + r
|
||||
dmenu_run -c -l 20
|
||||
@ -29,8 +37,6 @@ super + F12
|
||||
super + Print
|
||||
maimpick
|
||||
|
||||
XF86Launch1
|
||||
xset dpms force off
|
||||
XF86AudioMute
|
||||
lmc m && pkill -RTMIN+4 $STATUSBAR
|
||||
XF86AudioMicMute
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Requires maim. It lets you choose the kind of screenshot to take,
|
||||
# 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"
|
||||
|
||||
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
|
||||
|
3
.local/bin/tools/record_replay_save
Executable file
3
.local/bin/tools/record_replay_save
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
killall -SIGUSR1 gpu-screen-recorder && notify-send 'Screen record' 'Replay saved'
|
11
.local/bin/tools/record_replay_start
Executable file
11
.local/bin/tools/record_replay_start
Executable file
@ -0,0 +1,11 @@
|
||||
#!/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'
|
10
.local/bin/tools/record_start
Executable file
10
.local/bin/tools/record_start
Executable file
@ -0,0 +1,10 @@
|
||||
#!/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'
|
3
.local/bin/tools/record_stop
Executable file
3
.local/bin/tools/record_stop
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
killall -SIGINT gpu-screen-recorder && notify-send 'Screen record' 'Recording stopped'
|
11
README.md
11
README.md
@ -45,14 +45,14 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
|
||||
| ------ | ----- | ----------------- | --------------------------------------------------------- |
|
||||
| Super | | Return | Spawn terminal |
|
||||
| Super | | b | Spawn browser |
|
||||
| Super | Shift | b | Toggle dwmbar |
|
||||
| Super | | f | Spawn filemanager |
|
||||
| Super | | i | Spawn intellij-idea-ultimate-edition |
|
||||
| Super | | i | (gpu-screen-record) stop recording |
|
||||
| Super | | m | Spawn thunderbird |
|
||||
| Super | | p | Spawn ncmpcpp in st |
|
||||
| Super | | o | (gpu-screen-record) start replay |
|
||||
| Super | | p | (gpu-screen-record) save replay |
|
||||
| Super | | u | (gpu-screen-record) start recording |
|
||||
| Super | Shift | r | (dmenu) dmenu\_run |
|
||||
| Super | Shift | r | Restart sxkd |
|
||||
| Super | | s | (dmenu) Startpagesearch |
|
||||
| Super | Shift | x | Restart sxkd |
|
||||
| Super | | F5 | Enable 2 Screen Monitor |
|
||||
| Super | | F6 | Toggle touchpad |
|
||||
| Super | | F7 | (dmenu) Mounting drives |
|
||||
@ -69,6 +69,7 @@ There are various shortcuts and hotkeys used in this version. Included in my bui
|
||||
| | | MonBrightnessDown | Brightness decrease |
|
||||
| | | MonBrightnessUp | Brightness increase |
|
||||
|
||||
|
||||
## Additional configs
|
||||
|
||||
Additional configs (and for example firefox plugins) can be found in my [wiki](https://github.com/tiyn/wiki).
|
||||
|
Loading…
x
Reference in New Issue
Block a user