mirror of
https://github.com/hnhx/rice.git
synced 2025-01-09 11:27:29 -03:00
added a new script for changing audio, made dwm border wider
This commit is contained in:
parent
0bbb8f568b
commit
41ed415541
14 changed files with 26 additions and 6 deletions
7
Makefile
7
Makefile
|
@ -2,12 +2,11 @@ all:
|
|||
cp -f ./zshrc ~/.zshrc
|
||||
cp -f ./xinitrc ~/.xinitrc
|
||||
cp -f ./picom.conf ~/.config/
|
||||
mkdir ~/sxhkd
|
||||
cp -f ./sxhkdrc ~/sxhkd/
|
||||
feh --bg-scale ./bg.jpg
|
||||
chmod +x ./bar
|
||||
chmod +x ./screenshot
|
||||
|
||||
install:
|
||||
$(MAKE) -C suckless/st install
|
||||
$(MAKE) -C suckless/dwm install
|
||||
cp -f ./bar /usr/local/bin/
|
||||
cp -f ./screenshot /usr/local/bin/
|
||||
cp -f ./scripts/* /usr/local/bin/
|
||||
|
|
|
@ -13,4 +13,4 @@ sudo make install
|
|||
chsh -s /bin/zsh (if zsh is not your default shell already)
|
||||
```
|
||||
|
||||
The packages you will need: `zsh xclip scrot dmenu feh picom hack (font)`
|
||||
The packages you will need: `zsh xclip scrot dmenu feh sxhkd picom hack (font)`
|
11
scripts/audio-switch
Executable file
11
scripts/audio-switch
Executable file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
sink=$(pactl get-default-sink)
|
||||
new_sink="alsa_output.pci-0000_0b_00.4.analog-stereo"
|
||||
|
||||
if [ "$sink" = "$new_sink" ]
|
||||
then
|
||||
new_sink="alsa_output.pci-0000_09_00.1.hdmi-stereo-extra3"
|
||||
fi
|
||||
|
||||
pactl set-default-sink "$new_sink"
|
|
@ -1,7 +1,7 @@
|
|||
/* See LICENSE file for copyright and license details. */
|
||||
|
||||
/* appearance */
|
||||
static const unsigned int borderpx = 1; /* border pixel of windows */
|
||||
static const unsigned int borderpx = 3; /* border pixel of windows */
|
||||
static const unsigned int gappx = 10; /* gaps between windows */
|
||||
static const unsigned int baralpha = 0xd0;
|
||||
static const unsigned int borderalpha = OPAQUE;
|
||||
|
|
Binary file not shown.
BIN
suckless/dwm/dwm
BIN
suckless/dwm/dwm
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
suckless/st/st
BIN
suckless/st/st
Binary file not shown.
BIN
suckless/st/st.o
BIN
suckless/st/st.o
Binary file not shown.
9
sxhkdrc
Normal file
9
sxhkdrc
Normal file
|
@ -0,0 +1,9 @@
|
|||
XF86AudioRaiseVolume
|
||||
pactl -- set-sink-volume 0 +3%
|
||||
|
||||
XF86AudioLowerVolume
|
||||
pactl -- set-sink-volume 0 -3%
|
||||
|
||||
XF86AudioMute
|
||||
audio-switch
|
||||
|
1
xinitrc
1
xinitrc
|
@ -5,5 +5,6 @@ fi
|
|||
|
||||
~/.fehbg &
|
||||
picom &
|
||||
sxhkd &
|
||||
bar &
|
||||
exec dwm
|
||||
|
|
Loading…
Reference in a new issue