mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
Added some things to bin and made it easier to select music source, reset $PATH and added ~/.local/bin shortcut
This commit is contained in:
parent
fe7afd7cbf
commit
641c3b8c68
@ -3,7 +3,7 @@ cf ~/.config
|
||||
d ~/downloads
|
||||
gh ~/github
|
||||
h ~/
|
||||
l ~/.local/bin
|
||||
lb ~/.local/bin
|
||||
mn /mnt
|
||||
psc ~/.local/bin/polybar_scripts
|
||||
pp ~/pictures
|
||||
|
||||
@ -35,9 +35,7 @@ for_window [instance="dropdown_dropdowncalc"] resize set 800 300
|
||||
for_window [instance="dropdown_tmuxdd"] border pixel 3
|
||||
for_window [instance="dropdown_dropdowncalc"] border pixel 2
|
||||
for_window [instance="dropdown_*"] move position center
|
||||
for_window [class="Spotify"] move to workspace $ws10
|
||||
for_window [class="discord"] move to workspace $ws10
|
||||
for_window [class="Slack"] move to workspace $ws10
|
||||
for_window [class="Pulse"] move to workspace $ws9
|
||||
|
||||
# #---Basic Bindings---# #
|
||||
@ -57,7 +55,7 @@ bindsym $mod+Ctrl+x exec --no-startup-id prompt "Shutdown computer?" "$shutdown
|
||||
# #---Letter Key Bindings---# #
|
||||
# A
|
||||
bindsym $mod+a exec --no-startup-id ddspawn dropdowncalc -f mono:pixelsize=24
|
||||
bindsym $mod+shift +a exec $term -e alsamixer
|
||||
bindsym $mod+shift+a exec $term -e alsamixer
|
||||
# B
|
||||
bindsym $mod+b exec --no-startup-id polybar_msg cmd toggle
|
||||
bindsym $mod+Shift+b floating toggle; sticky toggle; exec --no-startup-id hover left
|
||||
@ -92,7 +90,7 @@ bindsym $mod+l focus right
|
||||
bindsym $mod+Shift+l move right 30
|
||||
bindsym $mod+Ctrl+l move workspace to output right
|
||||
# M
|
||||
bindsym $mod+m exec open_music_source
|
||||
bindsym $mod+m exec dmenu_openmusic
|
||||
bindsym $mod+Shift+m exec --no-startup-id amixer sset Master toggle
|
||||
# N
|
||||
bindsym $mod+n exec nautilus
|
||||
@ -152,10 +150,10 @@ bindsym $mod+Shift+slash exec --no-startup-id xkill
|
||||
bindsym $mod+backslash workspace back_and_forth
|
||||
|
||||
# #---Volume Bindings---# #
|
||||
bindsym $mod+plus exec --no-startup-id amixer sset Master 5%+ && pkill -RTMIN+10 i3blocks
|
||||
bindsym $mod+Shift+plus exec --no-startup-id amixer sset Master 15%+ && pkill -RTMIN+10 i3blocks
|
||||
bindsym $mod+minus exec --no-startup-id amixer sset Master 5%- && pkill -RTMIN+10 i3blocks
|
||||
bindsym $mod+Shift+minus exec --no-startup-id amixer sset Master 15%- && pkill -RTMIN+10 i3blocks
|
||||
bindsym $mod+plus exec --no-startup-id amixer sset Master 5%+
|
||||
bindsym $mod+Shift+plus exec --no-startup-id amixer sset Master 15%+
|
||||
bindsym $mod+minus exec --no-startup-id amixer sset Master 5%-
|
||||
bindsym $mod+Shift+minus exec --no-startup-id amixer sset Master 15%-
|
||||
|
||||
set $ws1 "1"
|
||||
set $ws2 "2"
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
export PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
|
||||
. ~/.profile
|
||||
|
||||
notify-send "Added ~/.local/bin/ to $PATH"
|
||||
notify-send "Added ~/.local/bin/ to \$PATH"
|
||||
|
||||
|
||||
@ -2,8 +2,10 @@
|
||||
|
||||
# Allow you to choose which music source you want to launch
|
||||
|
||||
chosen=$(printf "%s\\nGoogle Music\\Spotify| dmenu -i -p "Select music provider:") &&
|
||||
case "$chosen" in
|
||||
"nGoogle Music") google-chrome-stable https://music.google.com ;;
|
||||
"Spotify") spotify & ;;
|
||||
esac
|
||||
music_service=$(printf "Google Music\nSpotify" | dmenu -i -p "Select music service: ")
|
||||
case "$music_service" in
|
||||
"Google Music") notify-send "Opened $music_service" && google-chrome-stable https://music.google.com 2>/dev/null & ;;
|
||||
"Spotify") notify-send "Opened $music_service" && firefox https://open.spotify.com/browse/ 2>/dev/null & ;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
@ -1,5 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Refresh the dwmbar.
|
||||
# Send SIGTRAP signal to dwmbar script, which will handle it with a trap.
|
||||
pkill -SIGTRAP dwmbar
|
||||
Loading…
x
Reference in New Issue
Block a user