From d3fcf94e5c26f4e7dd6b422152758a14bc5ca908 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Fri, 9 Jun 2023 04:06:00 +0300 Subject: [PATCH 1/2] Volume +-5 --- i3/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i3/config b/i3/config index 559be4d..d59e52c 100644 --- a/i3/config +++ b/i3/config @@ -4,8 +4,8 @@ set $mod Mod4 # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status -bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status -bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status +bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5% && $refresh_i3status +bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5% && $refresh_i3status bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status #bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status From e889992c1ac5e2f48dae3518c19cc8ffcaedac7c Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Fri, 9 Jun 2023 04:06:17 +0300 Subject: [PATCH 2/2] bashrc --- .bashrc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..19efbfb --- /dev/null +++ b/.bashrc @@ -0,0 +1,15 @@ +# +# ~/.bashrc +# + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +PS1='[\u@\h \W]\$ ' + +unset SSH_AGENT_PID +if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then + export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)" +fi