Skip to content

Commit

Permalink
i3 tweaks + removing stuff I don't need
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinpinto committed Feb 27, 2024
1 parent 996c9ce commit cfec8f1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 168 deletions.
10 changes: 0 additions & 10 deletions dotfiles/dot_config/private_pulse/private_default.pa
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,3 @@

# If updated, pulseaudio can be restarted using:
# systemctl --user restart pulseaudio.service

# pulseaudio null-sink & combined-sink for Game Audio (game audio has to feed
# into headphones + recorder)
load-module module-null-sink sink_name=game-audio-recording sink_properties=device.description=game-audio-recording
load-module module-combine-sink sink_name=game-audio-combined sink_properties=device.description=game-audio-combined slaves=game-audio-recording,alsa_output.pci-0000_00_1b.0.analog-stereo

# pulseaudio null-sink, combined-sink, and loopback for Game Voice (mic/discord)
load-module module-null-sink sink_name=game-voice-recording sink_properties=device.description=game-voice-recording
load-module module-combine-sink sink_name=game-voice-combined sink_properties=device.description=game-voice-combined slaves=game-voice-recording,alsa_output.pci-0000_00_1b.0.analog-stereo
load-module module-loopback source=alsa_input.usb-USB_Audio_Device_USB_Audio_Device_20200508V100-00.mono-fallback sink=game-voice-recording latency_msec=1
56 changes: 0 additions & 56 deletions dotfiles/private_bin/private_executable_shd-tracker.tmpl

This file was deleted.

12 changes: 5 additions & 7 deletions dotfiles/private_dot_i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,10 @@ workspace "other" output DP-3
# Workspaces mapped to the primary monitor
workspace "misc" output DP-0

# Volume controls for the Dell T1700
bindsym XF86AudioRaiseVolume exec --no-startup-id ~/.i3/pavolume.sh --up
bindsym XF86AudioLowerVolume exec --no-startup-id ~/.i3/pavolume.sh --down
bindsym XF86AudioMute exec --no-startup-id ~/.i3/pavolume.sh --togmute
bindsym XF86Calculator exec --no-startup-id gnome-calculator
# Volume controls (sink #1, `pactl list sinks`)
bindsym XF86AudioRaiseVolume exec pactl set-sink-volume 1 +5% #increase sound volume
bindsym XF86AudioLowerVolume exec pactl set-sink-volume 1 -5% #decrease sound volume
bindsym XF86AudioMute exec pactl set-sink-mute 1 toggle # mute sound

# do not allow control+q to kill firefox or anything else
bindsym Control+q nop
Expand Down Expand Up @@ -124,14 +123,13 @@ exec_always --no-startup-id /usr/bin/xrdb -load ~/.xresources
exec_always --no-startup-id /usr/bin/gnome-settings-daemon &
exec_always --no-startup-id /usr/bin/xset r rate 250 50
exec_always --no-startup-id xrandr --output DP-0 --primary --rotate normal --output DP-3 --left-of DP-0 --rotate right --brightness 0.8
exec_always --no-startup-id ~/.i3/startup-app.sh "/home/marvin/bin/stock-checker" "stock-checker"

# NOTE: Use the "xprop" utility to find window class name strings, ref: https://www.tuxtips.info/linux/how-to-find-applications-window-class-in-i3-window-manager
# WM_CLASS(STRING) = "<instance>", "<class>"

# Start up a floating terminal & leave it in the scratchpad
exec_always --no-startup-id alacritty --class "scratch-terminal" --title "scratch terminal"
for_window [class="Alacritty" instance="scratch-terminal"] floating enable, border normal, move to scratchpad
for_window [class="scratch-terminal" instance="scratch-terminal"] floating enable, border normal, move to scratchpad

# Start 1password desktop and move it to the scratchpad
exec_always --no-startup-id ~/.i3/startup-app.sh "1password --disable-gpu" "1password"
Expand Down
95 changes: 0 additions & 95 deletions dotfiles/private_dot_i3/executable_pavolume.sh

This file was deleted.

0 comments on commit cfec8f1

Please sign in to comment.