random stuff

This commit is contained in:
Marco Thomas
2022-09-07 22:28:56 +02:00
parent fa34b02c8c
commit b94713c5f9
5 changed files with 24 additions and 11 deletions

View File

@@ -5,20 +5,21 @@
path = "~/dev/uni/lrz-gitlab/.gitconfig"
[alias]
aa = add .
st = status
sh = show
d = diff
b = blame -L
br = branch
c = commit -v
ca = commit -v --amend
co = checkout
br = branch
pl = pull --rebase
u = pull --rebase
ps = push
d = diff
lg = log --oneline --decorate --graph
yoink = pull
lgp = lg -p
pl = pull --rebase
ps = push
sh = show
st = status
u = pull --rebase
yeet = push
b = blame -L
yoink = pull
[blame]
date = relative
coloring = highlightRecent

View File

@@ -143,9 +143,10 @@ bindswitch --reload --locked lid:off output $laptop enable
set $SHOW_VOL pactl get-sink-volume @DEFAULT_SINK@ | head -n 1| awk '{print substr($5, 1, length($5)-1)}' > $WOBSOCK
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && $SHOW_VOL
bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && $SHOW_VOL
set $SHOW_MUTE_OUT notify-send "Audio Output" "$(pactl get-sink-mute @DEFAULT_SINK@)" -i speaker -u low
set $SHOW_MUTE_OUT notify-send "Audio" "$(pactl get-sink-mute @DEFAULT_SINK@)" -i speaker -u low
set $SHOW_MUTE_IN notify-send "Microphone" "$(pactl get-source-mute @DEFAULT_SOURCE@)" -i microphone -u low
bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle && $SHOW_MUTE_IN
bindsym $mod+m exec pactl set-source-mute @DEFAULT_SOURCE@ toggle && $SHOW_MUTE_IN
bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && $SHOW_MUTE_OUT
# Moving around:

View File

@@ -9,6 +9,7 @@
],
"modules-right": [
"tray",
"pulseaudio#mic",
"battery",
"clock#time",
],
@@ -135,6 +136,12 @@
"on-click": "pavucontrol"
},
"pulseaudio#mic": {
"format": "{format_source}",
"format-source": "",
"format-source-muted": ""
},
"temperature": {
"critical-threshold": 80,
"thermal-zone": 10,

View File

@@ -179,6 +179,10 @@
/* No styles */
}
#pulseaudio.mic {
padding-top: 0px;
}
#temperature {
/* No styles */
}

View File

@@ -44,7 +44,7 @@ alias mv='mv -i' # Ask before removal
alias -g G='| grep -i'
alias -g L='| less'
alias gg='git grep'
alias gg='git grep $1'
alias code='/usr/bin/code --enable-features=UseOzonePlatform --ozone-platform=wayland . 2>/dev/null'