Skip to content

Instantly share code, notes, and snippets.

@deskangel
deskangel / keybindings.dconf
Created May 15, 2020
keybindings for gnome dumped by dconf
View keybindings.dconf
[org/gnome/mutter/keybindings]
switch-monitor=['XF86Display']
toggle-tiled-left=['<Primary><Alt>Left']
toggle-tiled-right=['<Primary><Alt>Right']
[org/gnome/desktop/wm/keybindings]
activate-window-menu=@as []
close=['<Super>q']
maximize=@as []
move-to-monitor-down=@as []
@deskangel
deskangel / keybindings.json
Last active May 15, 2020
Personal vscode keybindings for Ubuntu
View keybindings.json
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+k",
"command": "deleteAllRight",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+k",
"command": "-deleteAllRight",
@deskangel
deskangel / trash.sh
Created May 7, 2020
trash files to trash bin
View trash.sh
#!/bin/sh
# move files to trash bin
# NOTICE: creat ~/.Trash folder first on non-macos system
POST_FIX=$(date "+%Y-%m-%d %H-%M-%S")
echo $POST_FIX
for var in $@; do
mv -v $var ~/.Trash/"$var $POST_FIX"
You can’t perform that action at this time.