Compare commits
3 Commits
master
...
712edf8fd3
| Author | SHA1 | Date | |
|---|---|---|---|
|
712edf8fd3
|
|||
|
0bed8eb1d0
|
|||
|
9c80db8592
|
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,4 +1,3 @@
|
||||
*.lock
|
||||
neovim/.config/nvim/.netrwhist
|
||||
neovim/.config/nvim/plugged
|
||||
gpg/.gnupg/**
|
||||
@@ -7,5 +6,3 @@ beets/.config/beets/**
|
||||
!beets/.config/beets/config.yaml
|
||||
kitty/.config/kitty/current-theme.conf
|
||||
kitty/.config/kitty/kitty.conf.bak
|
||||
easyeffects/.config/easyeffects/db/convolverrc
|
||||
easyeffects/.config/easyeffects/db/easyeffectsrc
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
[sie][Compressor#0]
|
||||
sidechainMode=1
|
||||
21
easyeffects/.config/easyeffects/db/easyeffectsrc
Normal file
21
easyeffects/.config/easyeffects/db/easyeffectsrc
Normal file
@@ -0,0 +1,21 @@
|
||||
[Presets]
|
||||
lastLoadedInputPreset=Improved Microphone
|
||||
lastLoadedOutputPreset=AKG K361
|
||||
|
||||
[StreamInputs]
|
||||
inputDevice=alsa_input.pci-0000_04_00.6.analog-stereo
|
||||
mostUsedPresets=Improved Microphone
|
||||
plugins=gate#0,compressor#0,filter#0,deesser#0,rnnoise#0,limiter#0
|
||||
usedPresets=Improved Microphone:1
|
||||
|
||||
[StreamOutputs]
|
||||
mostUsedPresets=AKG K361,Koss KPH40
|
||||
outputDevice=alsa_output.pci-0000_04_00.6.analog-stereo
|
||||
plugins=convolver#0
|
||||
usedPresets=Koss KPH40:1,AKG K361:5
|
||||
visiblePage=pluginsPage
|
||||
visiblePlugin=convolver#0
|
||||
|
||||
[Window]
|
||||
height=1055
|
||||
width=960
|
||||
@@ -1,2 +0,0 @@
|
||||
[sie][Filter#0]
|
||||
frequency=80
|
||||
@@ -1,2 +0,0 @@
|
||||
[sie][Gate#0]
|
||||
attack=5
|
||||
@@ -1,2 +0,0 @@
|
||||
[sie][Limiter#0]
|
||||
threshold=-1
|
||||
@@ -1,14 +0,0 @@
|
||||
# This file was created by fish when upgrading to version 4.3, to migrate
|
||||
# the 'fish_key_bindings' variable from its old default scope (universal)
|
||||
# to its new default scope (global). We recommend you delete this file
|
||||
# and configure key bindings in ~/.config/fish/config.fish if needed.
|
||||
|
||||
# set --global fish_key_bindings fish_default_key_bindings
|
||||
|
||||
# Prior to version 4.3, fish shipped an event handler that runs
|
||||
# `set --universal fish_key_bindings fish_default_key_bindings`
|
||||
# whenever the fish_key_bindings variable is erased.
|
||||
# This means that as long as any fish < 4.3 is still running on this system,
|
||||
# we cannot complete the migration.
|
||||
# As a workaround, erase the universal variable at every shell startup.
|
||||
set --erase --universal fish_key_bindings
|
||||
@@ -1,38 +0,0 @@
|
||||
# This file was created by fish when upgrading to version 4.3, to migrate
|
||||
# theme variables from universal to global scope.
|
||||
# Don't edit this file, as it will be written by the web-config tool (`fish_config`).
|
||||
# To customize your theme, delete this file and see
|
||||
# help interactive#syntax-highlighting
|
||||
# or
|
||||
# man fish-interactive | less +/^SYNTAX.HIGHLIGHTING
|
||||
# for appropriate commands to add to ~/.config/fish/config.fish instead.
|
||||
# See also the release notes for fish 4.3.0 (run `help relnotes`).
|
||||
|
||||
set --global fish_color_autosuggestion 555 brblack
|
||||
set --global fish_color_cancel -r
|
||||
set --global fish_color_command white --bold
|
||||
set --global fish_color_comment 990000
|
||||
set --global fish_color_cwd green
|
||||
set --global fish_color_cwd_root red
|
||||
set --global fish_color_end 009900
|
||||
set --global fish_color_error red
|
||||
set --global fish_color_escape 00a6b2
|
||||
set --global fish_color_history_current --bold
|
||||
set --global fish_color_host normal
|
||||
set --global fish_color_host_remote yellow
|
||||
set --global fish_color_match --background=brblue
|
||||
set --global fish_color_normal normal
|
||||
set --global fish_color_operator red
|
||||
set --global fish_color_param cyan
|
||||
set --global fish_color_quote green
|
||||
set --global fish_color_redirection red
|
||||
set --global fish_color_search_match white --background=brblack
|
||||
set --global fish_color_selection white --bold --background=brblack
|
||||
set --global fish_color_status red
|
||||
set --global fish_color_user brgreen
|
||||
set --global fish_color_valid_path --underline
|
||||
set --global fish_pager_color_completion
|
||||
set --global fish_pager_color_description B3A06D yellow
|
||||
set --global fish_pager_color_prefix white --bold --underline
|
||||
set --global fish_pager_color_progress brwhite --background=cyan
|
||||
set --global fish_pager_color_selected_background -r
|
||||
@@ -16,8 +16,6 @@ alias jcu "journalctl --user -eu"
|
||||
alias webtorrent "webtorrent -i -o /tmp/webtorrent --mpv --player-args='--sub-auto=all --sub-file-paths=Subs:subs'"
|
||||
alias ns "nix-shell -p"
|
||||
alias tmpdir "cd $(mktemp -d)"
|
||||
alias clean-git "git repack -a -d -f --depth=250 --window=250"
|
||||
alias light "brightnessctl -m | cut -d , -f 4"
|
||||
|
||||
# Additional paths
|
||||
set PATH $PATH $HOME/.emacs.d/bin
|
||||
|
||||
@@ -3,5 +3,34 @@
|
||||
SETUVAR __fish_init_2_39_8:\x1d
|
||||
SETUVAR __fish_init_2_3_0:\x1d
|
||||
SETUVAR __fish_init_3_x:\x1d
|
||||
SETUVAR __fish_initialized:4300
|
||||
SETUVAR __fish_initialized:3800
|
||||
SETUVAR fish_color_autosuggestion:555\x1ebrblack
|
||||
SETUVAR fish_color_cancel:\x2dr
|
||||
SETUVAR fish_color_command:white\x1e\x2d\x2dbold
|
||||
SETUVAR fish_color_comment:990000
|
||||
SETUVAR fish_color_cwd:green
|
||||
SETUVAR fish_color_cwd_root:red
|
||||
SETUVAR fish_color_end:009900
|
||||
SETUVAR fish_color_error:red
|
||||
SETUVAR fish_color_escape:00a6b2
|
||||
SETUVAR fish_color_history_current:\x2d\x2dbold
|
||||
SETUVAR fish_color_host:normal
|
||||
SETUVAR fish_color_host_remote:yellow
|
||||
SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue
|
||||
SETUVAR fish_color_normal:normal
|
||||
SETUVAR fish_color_operator:red
|
||||
SETUVAR fish_color_param:cyan
|
||||
SETUVAR fish_color_quote:green
|
||||
SETUVAR fish_color_redirection:red
|
||||
SETUVAR fish_color_search_match:white\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack
|
||||
SETUVAR fish_color_status:red
|
||||
SETUVAR fish_color_user:brgreen
|
||||
SETUVAR fish_color_valid_path:\x2d\x2dunderline
|
||||
SETUVAR fish_greeting:\x1d
|
||||
SETUVAR fish_key_bindings:fish_default_key_bindings
|
||||
SETUVAR fish_pager_color_completion:\x1d
|
||||
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
|
||||
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
|
||||
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
|
||||
SETUVAR fish_pager_color_selected_background:\x2dr
|
||||
|
||||
@@ -4,14 +4,6 @@
|
||||
signingkey = 9893DA236405AF57
|
||||
[core]
|
||||
excludesfile = /home/coolneng/.config/git/global_gitignore
|
||||
pager = delta
|
||||
[interactive]
|
||||
diffFilter = delta --color-only
|
||||
[delta]
|
||||
navigate = true
|
||||
dark = true
|
||||
[merge]
|
||||
conflictStyle = zdiff3
|
||||
[credential]
|
||||
helper = !pass-git-helper $@
|
||||
[commit]
|
||||
|
||||
@@ -5,8 +5,8 @@ profile multihead-dock {
|
||||
exec swaymsg workspace "3: ", move workspace to eDP-1
|
||||
exec swaymsg workspace "2: ", move workspace to DP-1
|
||||
exec swaymsg workspace "4: ", move workspace to DP-1
|
||||
exec brightnessctl set 100%
|
||||
exec brightnessctl --device=tpacpi::kbd_backlight set 0
|
||||
exec light -S 100
|
||||
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
|
||||
}
|
||||
|
||||
profile multihead-HDMI {
|
||||
@@ -16,11 +16,11 @@ profile multihead-HDMI {
|
||||
exec swaymsg workspace "3: ", move workspace to eDP-1
|
||||
exec swaymsg workspace "2: ", move workspace to HDMI-A-2
|
||||
exec swaymsg workspace "4: ", move workspace to HDMI-A-2
|
||||
exec brightnessctl set 100%
|
||||
exec brightnessctl --device=tpacpi::kbd_backlight set 0
|
||||
exec light -S 100
|
||||
exec light -s sysfs/leds/tpacpi::kbd_backlight -S 0
|
||||
}
|
||||
|
||||
profile nomad {
|
||||
output eDP-1 enable
|
||||
exec brightnessctl set 50%
|
||||
exec light -S 50
|
||||
}
|
||||
|
||||
@@ -1,94 +1,94 @@
|
||||
#!/bin/sh
|
||||
|
||||
usage() {
|
||||
echo "Usage: project-init <type>"
|
||||
echo "type git: VCS project"
|
||||
echo "type remote-git: VCS project with README, LICENSE and tests"
|
||||
echo "type src: Simple coding project"
|
||||
echo "type init: Initialize populated project"
|
||||
echo "type doc: Assignment"
|
||||
echo "type nix-ld: Run unpatched programs with Nix"
|
||||
echo "type datasci: Python data science project"
|
||||
exit 1
|
||||
echo "Usage: project-init <type>"
|
||||
echo "type git: VCS project"
|
||||
echo "type remote-git: VCS project with README, LICENSE and tests"
|
||||
echo "type src: Simple coding project"
|
||||
echo "type init: Initialize populated project"
|
||||
echo "type doc: Assignment"
|
||||
echo "type nix-ld: Run unpatched programs with Nix"
|
||||
echo "type datasci: Python data science project"
|
||||
exit 1
|
||||
}
|
||||
|
||||
copy_nix_files() {
|
||||
if [ "$1" = "flake" ]; then
|
||||
cp ~/Projects/devenv/flake-template.nix flake.nix
|
||||
elif [ "$1" = "nix-ld" ]; then
|
||||
cp ~/Projects/devenv/nix-ld.nix shell.nix
|
||||
elif [ "$1" = "datasci" ]; then
|
||||
cp ~/Projects/devenv/python-data-science.nix flake.nix
|
||||
else
|
||||
cp ~/Projects/devenv/shell.nix .
|
||||
fi
|
||||
if [ "$1" = "flake" ]; then
|
||||
cp ~/Projects/devenv/flake-template.nix flake.nix
|
||||
elif [ "$1" = "nix-ld" ]; then
|
||||
cp ~/Projects/devenv/nix-ld.nix shell.nix
|
||||
elif [ "$1" = "datasci" ]; then
|
||||
cp ~/Projects/devenv/python-data-science.nix shell.nix
|
||||
else
|
||||
cp ~/Projects/devenv/shell.nix .
|
||||
fi
|
||||
}
|
||||
|
||||
git_initialization() {
|
||||
git init
|
||||
git add ./*
|
||||
git commit -m "Initial commit"
|
||||
git init
|
||||
git add ./*
|
||||
git commit -m "Initial commit"
|
||||
}
|
||||
|
||||
direnv_integration() {
|
||||
if [ "$1" = "flake" ]; then
|
||||
echo "use flake" >.envrc
|
||||
else
|
||||
echo "use nix" >.envrc
|
||||
fi
|
||||
direnv allow
|
||||
if [ "$1" = "flake" ]; then
|
||||
echo "use flake" >.envrc
|
||||
else
|
||||
echo "use nix" >.envrc
|
||||
fi
|
||||
direnv allow
|
||||
}
|
||||
|
||||
create_dir() {
|
||||
if [ ! -d "$1" ]; then
|
||||
mkdir "$1"
|
||||
fi
|
||||
if [ ! -d "$1" ]; then
|
||||
mkdir "$1"
|
||||
fi
|
||||
}
|
||||
|
||||
if [ $# != 1 ]; then
|
||||
usage
|
||||
usage
|
||||
fi
|
||||
|
||||
type=$1
|
||||
|
||||
if [ "$type" = "git" ]; then
|
||||
copy_nix_files "nix"
|
||||
create_dir data
|
||||
create_dir src
|
||||
git_initialization
|
||||
direnv_integration "nix"
|
||||
copy_nix_files "nix"
|
||||
create_dir data
|
||||
create_dir src
|
||||
git_initialization
|
||||
direnv_integration "nix"
|
||||
elif [ "$type" = "remote-git" ]; then
|
||||
touch README.org
|
||||
cp ~/Projects/devenv/LICENSE.md LICENSE.md
|
||||
copy_nix_files "flake"
|
||||
create_dir data
|
||||
create_dir src
|
||||
git_initialization
|
||||
direnv_integration "flake"
|
||||
touch README.org
|
||||
cp ~/Projects/devenv/LICENSE.md LICENSE.md
|
||||
copy_nix_files "flake"
|
||||
create_dir data
|
||||
create_dir src
|
||||
git_initialization
|
||||
direnv_integration "flake"
|
||||
elif [ "$type" = "doc" ]; then
|
||||
create_dir assets
|
||||
touch Report.org
|
||||
touch .project
|
||||
create_dir assets
|
||||
touch Report.org
|
||||
touch .project
|
||||
elif [ "$type" = "src" ]; then
|
||||
copy_nix_files "nix"
|
||||
create_dir data
|
||||
create_dir src
|
||||
touch .project
|
||||
direnv_integration "nix"
|
||||
copy_nix_files "nix"
|
||||
create_dir data
|
||||
create_dir src
|
||||
touch .project
|
||||
direnv_integration "nix"
|
||||
elif [ "$type" = "init" ]; then
|
||||
touch .project
|
||||
if [ ! -f shell.nix ]; then
|
||||
copy_nix_files "nix"
|
||||
fi
|
||||
direnv_integration "nix"
|
||||
touch .project
|
||||
if [ ! -f shell.nix ]; then
|
||||
copy_nix_files "nix"
|
||||
fi
|
||||
direnv_integration "nix"
|
||||
elif [ "$type" = "nix-ld" ]; then
|
||||
copy_nix_files "nix-ld"
|
||||
direnv_integration "nix"
|
||||
copy_nix_files "nix-ld"
|
||||
direnv_integration "nix"
|
||||
elif [ "$type" = "datasci" ]; then
|
||||
copy_nix_files "datasci"
|
||||
create_dir data
|
||||
touch .project
|
||||
direnv_integration "flake"
|
||||
copy_nix_files "datasci"
|
||||
create_dir data
|
||||
touch .project
|
||||
direnv_integration "nix"
|
||||
else
|
||||
usage
|
||||
usage
|
||||
fi
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -271,14 +271,14 @@ bindsym XF86AudioLowerVolume exec pulsemixer --change-volume -5
|
||||
bindsym XF86AudioMute exec pulsemixer --toggle-mute
|
||||
bindsym XF86AudioMicMute exec ~/.local/share/scripts/pulseaudio-mic-mute
|
||||
# Brightness
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set 10%+
|
||||
bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
|
||||
bindsym XF86MonBrightnessUp exec light -A 10
|
||||
bindsym XF86MonBrightnessDown exec light -U 10
|
||||
# Media control
|
||||
bindsym XF86Messenger exec playerctl play-pause
|
||||
bindsym XF86AudioPlay exec playerctl play-pause
|
||||
bindsym XF86Go exec playerctl stop
|
||||
bindsym Cancel exec playerctl prev
|
||||
bindsym XF86Favorites exec playerctl next
|
||||
bindsym XF86Messenger exec mpc toggle
|
||||
bindsym XF86AudioPlay exec mpc toggle
|
||||
bindsym XF86Go exec mpc stop
|
||||
bindsym Cancel exec mpc prev
|
||||
bindsym XF86Favorites exec mpc next
|
||||
|
||||
#
|
||||
# Program keybindings
|
||||
|
||||
@@ -1,26 +1,27 @@
|
||||
{
|
||||
"layer": "top",
|
||||
"height": 25,
|
||||
"modules-left": [ "sway/workspaces"],
|
||||
"modules-center": [ "clock" ],
|
||||
"modules-right": [ "mpris", "network", "pulseaudio", "battery" ],
|
||||
"mpris": {
|
||||
"format": "<span foreground='#88C0D0'>{status_icon}</span> {title}",
|
||||
"modules-left": ["sway/workspaces" ],
|
||||
"modules-center": ["custom/org-pomodoro", "clock"],
|
||||
"modules-right": ["mpd", "network", "pulseaudio", "battery" ],
|
||||
"mpd": {
|
||||
"format": "<span foreground='#88C0D0'>{stateIcon}</span> {title}",
|
||||
"format-disconnected": "",
|
||||
"format-stopped": "{status_icon} ",
|
||||
"format-stopped": "{stateIcon} ",
|
||||
"unknown-tag": "N/A",
|
||||
"interval": 2,
|
||||
"consume-icons": {
|
||||
"on": " "
|
||||
},
|
||||
"status-icons": {
|
||||
"state-icons": {
|
||||
"paused": "",
|
||||
"playing": ""
|
||||
},
|
||||
"tooltip-format": "{artist} - {album}",
|
||||
"tooltip-format": "{elapsedTime:%H:%M:%S}/{totalTime:%H:%M:%S}",
|
||||
"tooltip-format-disconnected": "MPD (disconnected)",
|
||||
"title-len": 50,
|
||||
"on-click": "playerctl play-pause",
|
||||
"on-click-right": "playerctl stop"
|
||||
"on-click": "mpc toggle",
|
||||
"on-click-right": "mpc stop"
|
||||
},
|
||||
"clock": {
|
||||
"format": "{:%a %d %b %H:%M}",
|
||||
|
||||
@@ -70,7 +70,7 @@ window#waybar.chromium {
|
||||
#tray,
|
||||
#mode,
|
||||
#idle_inhibitor,
|
||||
#mpris {
|
||||
#mpd {
|
||||
padding: 0 10px;
|
||||
margin: 0 4px;
|
||||
}
|
||||
@@ -156,16 +156,16 @@ label:focus {
|
||||
#idle_inhibitor.activated {
|
||||
}
|
||||
|
||||
#mpris {
|
||||
#mpd {
|
||||
}
|
||||
|
||||
#mpris.disconnected {
|
||||
#mpd.disconnected {
|
||||
}
|
||||
|
||||
#mpris.stopped {
|
||||
#mpd.stopped {
|
||||
}
|
||||
|
||||
#mpris.paused {
|
||||
#mpd.paused {
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user