From 70827f776a507b8abdcc3b391a81d4b74268a1e1 Mon Sep 17 00:00:00 2001 From: Simonas Narbutas Date: Thu, 20 Dec 2018 12:57:56 +0100 Subject: [PATCH] dotfiles update --- .tmux.conf | 1 + .yadm/alt/.config/awesome/rc.lua##Linux.epiphanius | 4 ++-- .yadm/alt/.xinitrc##Linux.epiphanius | 1 + .zsh.d/00-path.zsh | 1 + .zsh.d/20-aliases.zsh | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) create mode 120000 .zsh.d/00-path.zsh diff --git a/.tmux.conf b/.tmux.conf index c4d7160..3ca5404 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -18,6 +18,7 @@ set -g mouse on set -g history-limit 30000 bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M" bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M" +bind -T copy-mode-vi Enter send-keys -X copy-pipe-and-cancel "xclip -selection clipboard -i" set -g status-position bottom set -g status-bg black diff --git a/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius b/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius index 5416e16..c36bb9f 100644 --- a/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius +++ b/.yadm/alt/.config/awesome/rc.lua##Linux.epiphanius @@ -364,7 +364,7 @@ globalkeys = gears.table.join( -- Extend monitor awful.key({ "Control", "Mod4" }, "e", function () awful.util.spawn("/home/snarbutas/.bin/multimonitor", false) end), -- Lock computer - awful.key({ "Control", "Mod4" }, "l", function () awful.util.spawn("i3lock -c 000000 -i /home/snarbutas/Pictures/spiral1.png") end), + awful.key({ "Control", "Mod4" }, "l", function () awful.util.spawn("loginctl lock-session") end), awful.key({ "Control", "Mod4", "Shift" }, "l", function () awful.util.spawn("i3lock -c 000000 -i /home/snarbutas/Pictures/spiral1.png") @@ -416,7 +416,7 @@ globalkeys = gears.table.join( end), awful.key({ "Control", "Mod4" }, "s", function () - awful.util.spawn_with_shell("sleep .1 && scrot -s '%d-%m-%y_%H:%M:%s_scrot.png' -e 'mv $f ~/Pictures/scrots/'", naughty.notify {text = "scrot complete", timeout = 0.5, bg = "#ad11c7"}) + awful.util.spawn_with_shell("sleep .1 && scrot -s '%d-%m-%y_%H_%M_scrot.png' -e 'mv $f ~/Pictures/scrots/'", naughty.notify {text = "scrot complete", timeout = 0.5, bg = "#ad11c7"}) end), awful.key({ modkey, "Control" }, "n", diff --git a/.yadm/alt/.xinitrc##Linux.epiphanius b/.yadm/alt/.xinitrc##Linux.epiphanius index 87eb88c..7400c9c 100644 --- a/.yadm/alt/.xinitrc##Linux.epiphanius +++ b/.yadm/alt/.xinitrc##Linux.epiphanius @@ -1,3 +1,4 @@ +xss-lock -- i3lock -c 000000 -i /home/snarbutas/Pictures/spiral1.png & xmodmap ~/.Xmodmap 2>~/.Xmodlog ssh-agent -s > ~/.ssh/agent exec awesome diff --git a/.zsh.d/00-path.zsh b/.zsh.d/00-path.zsh new file mode 120000 index 0000000..e014cc2 --- /dev/null +++ b/.zsh.d/00-path.zsh @@ -0,0 +1 @@ +/home/snarbutas/.yadm/alt/.zsh.d/00-path.zsh##Linux.epiphanius \ No newline at end of file diff --git a/.zsh.d/20-aliases.zsh b/.zsh.d/20-aliases.zsh index 957af37..00f4d22 100644 --- a/.zsh.d/20-aliases.zsh +++ b/.zsh.d/20-aliases.zsh @@ -17,3 +17,4 @@ fi alias find='noglob find' alias git='noglob git' alias history='history -100' +alias gssh='gcloud compute ssh --ssh-flag "-J shd-gcp-jump-001.bolcom.net"'