diff options
31 files changed, 117 insertions, 51 deletions
diff --git a/.bash_profile b/.bash_profile new file mode 100644 index 0000000..3dc65fe --- /dev/null +++ b/.bash_profile @@ -0,0 +1,9 @@ +# +# ~/.bash_profile +# + +set -a +eval $(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator) +set +a + +[[ -f ~/.bashrc ]] && . ~/.bashrc @@ -2,10 +2,6 @@ # ~/.bashrc # -set -a -eval $(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator) -set +a - # If not running interactively, don't do anything [[ $- != *i* ]] && return diff --git a/.config/Trolltech.conf b/.config/Trolltech.conf index e153706..4b8b59e 100644 --- a/.config/Trolltech.conf +++ b/.config/Trolltech.conf @@ -1,17 +1,17 @@ [qt] GUIEffects=none KDE\contrast=7 -KWinPalette\activeBackground=#31363b +KWinPalette\activeBackground=#272c31 KWinPalette\activeBlend=#fcfcfc KWinPalette\activeForeground=#fcfcfc -KWinPalette\activeTitleBtnBg=#2a2e32 -KWinPalette\frame=#2a2e32 -KWinPalette\inactiveBackground=#2a2e32 +KWinPalette\activeTitleBtnBg=#202326 +KWinPalette\frame=#202326 +KWinPalette\inactiveBackground=#202428 KWinPalette\inactiveBlend=#a1a9b1 KWinPalette\inactiveForeground=#a1a9b1 -KWinPalette\inactiveFrame=#2a2e32 -KWinPalette\inactiveTitleBtnBg=#2a2e32 -Palette\active=#fcfcfc, #31363b, #474d54, #3a4045, #141618, #24282b, #fcfcfc, #ffffff, #fcfcfc, #1b1e20, #2a2e32, #0f1012, #3daee9, #fcfcfc, #1d99f3, #9b59b6, #232629, #000000, #31363b, #fcfcfc, #a1a9b1, #3daee9 -Palette\disabled=#6e7173, #2f3338, #454c52, #393e44, #131517, #222629, #656768, #ffffff, #727679, #1a1d1f, #282c30, #0e0f11, #282c30, #6e7173, #1a4665, #443051, #212427, #000000, #31363b, #fcfcfc, #464b4f, #282c30 -Palette\inactive=#fcfcfc, #31363b, #474d54, #3a4045, #141618, #24282b, #fcfcfc, #ffffff, #fcfcfc, #1b1e20, #2a2e32, #0f1012, #1f485e, #fcfcfc, #1d99f3, #9b59b6, #232629, #000000, #31363b, #fcfcfc, #a1a9b1, #1f485e +KWinPalette\inactiveFrame=#202326 +KWinPalette\inactiveTitleBtnBg=#202326 +Palette\active=#fcfcfc, #292c30, #40464c, #33383c, #101112, #1c1e21, #fcfcfc, #ffffff, #fcfcfc, #141618, #202326, #0b0c0d, #3daee9, #fcfcfc, #1d99f3, #9b59b6, #1d1f22, #000000, #292c30, #fcfcfc, #a1a9b1, #3daee9 +Palette\disabled=#686a6c, #272a2e, #3f454b, #32363b, #0f1012, #1a1d1f, #606263, #ffffff, #6d6f72, #131517, #1f2124, #0b0c0d, #1f2124, #686a6c, #164160, #402b4c, #1c1e20, #000000, #292c30, #fcfcfc, #42464a, #1f2124 +Palette\inactive=#fcfcfc, #292c30, #40464c, #33383c, #101112, #1c1e21, #fcfcfc, #ffffff, #fcfcfc, #141618, #202326, #0b0c0d, #1b4155, #fcfcfc, #1d99f3, #9b59b6, #1d1f22, #000000, #292c30, #fcfcfc, #a1a9b1, #1b4155 font="Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1" diff --git a/.config/environment.d/editor.conf b/.config/environment.d/editor.conf new file mode 100644 index 0000000..bc413c7 --- /dev/null +++ b/.config/environment.d/editor.conf @@ -0,0 +1,3 @@ +EDITOR=nvim +VISUAL=nvim +SYSTEMD_EDITOR=nvim diff --git a/.config/environment.d/firefox.conf b/.config/environment.d/firefox.conf new file mode 100644 index 0000000..b49e081 --- /dev/null +++ b/.config/environment.d/firefox.conf @@ -0,0 +1,2 @@ +GDK_BACKEND=wayland +MOZ_ENABLE_WAYLAND=1 diff --git a/.config/environment.d/go.conf b/.config/environment.d/go.conf new file mode 100644 index 0000000..8897419 --- /dev/null +++ b/.config/environment.d/go.conf @@ -0,0 +1,2 @@ +GOPATH=$HOME/.local/gopath +PATH=$PATH:$HOME/.local/go/bin diff --git a/.config/environment.d/hdr.conf b/.config/environment.d/hdr.conf new file mode 100644 index 0000000..38c77d7 --- /dev/null +++ b/.config/environment.d/hdr.conf @@ -0,0 +1,5 @@ +PROTON_ENABLE_HDR=1 +PROTON_ENABLE_WAYLAND=1 +DXVK_HDR=1 +WLR_RENDERER=vulkan +SDL_VIDEODRIVER=wayland diff --git a/.config/environment.d/local-bin.conf b/.config/environment.d/local-bin.conf index ba35e6d..c4d725c 100644 --- a/.config/environment.d/local-bin.conf +++ b/.config/environment.d/local-bin.conf @@ -1 +1,2 @@ PATH="$HOME/.local/bin:$PATH" +PATH="$PATH:/home/ewout/.local/share/JetBrains/Toolbox/scripts" diff --git a/.config/environment.d/mangohud.conf b/.config/environment.d/mangohud.conf new file mode 100644 index 0000000..fac08a8 --- /dev/null +++ b/.config/environment.d/mangohud.conf @@ -0,0 +1 @@ +MANGOHUD=1 diff --git a/.config/mako/config b/.config/mako/config index 94091d4..0de6b17 100644 --- a/.config/mako/config +++ b/.config/mako/config @@ -10,6 +10,9 @@ max-icon-size=64 padding=0,5,0,0 group-by=summary +[app-name="RuneLite"] +on-notify=exec play -v 0.3 /home/ewout/.config/mako/Magic_Dart.mp3 + [app-name="Nicotine+"] group-by=app-name diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf index 773229e..cd296f6 100644 --- a/.config/mpd/mpd.conf +++ b/.config/mpd/mpd.conf @@ -82,7 +82,7 @@ sticker_file "~/.config/mpd/sticker.sql" # systemd socket activation is in use. # # For network -#bind_to_address "any" +bind_to_address "any" # # And for Unix Socket #bind_to_address "~/.mpd/socket" @@ -90,7 +90,7 @@ sticker_file "~/.config/mpd/sticker.sql" # This setting is the TCP port that is desired for the daemon to get assigned # to. # -#port "6600" +port "6600" # # Suppress all messages below the given threshold. Use "verbose" for # troubleshooting. Available setting arguments are "notice", "info", "verbose", @@ -159,6 +159,11 @@ zeroconf_name "ZWART MPD" # ############################################################################### +audio_output { + type "pipewire" + name "PipeWire audio server" + enabled "yes" +} # Permissions ################################################################# # @@ -287,13 +292,13 @@ input { # # An example of a pulseaudio output (streaming to a remote pulseaudio server) # -audio_output { - type "pulse" - name "My Pulse Output" +#audio_output { +# type "pulse" +# name "My Pulse Output" # server "remote_server" # optional # sink "remote_server_sink" # optional # media_role "media_role" #optional -} +#} # # An example of a winmm output (Windows multimedia API). # diff --git a/.config/mpd/playlists/[Radio Streams].m3u b/.config/mpd/playlists/[Radio Streams].m3u index ea2908e..6de241d 100644 --- a/.config/mpd/playlists/[Radio Streams].m3u +++ b/.config/mpd/playlists/[Radio Streams].m3u @@ -1 +1 @@ -http://streams.pinguinradio.com/PinguinRadio320.mp3#Pinguin%20Indie +https://streams.pinguinradio.com/PinguinRadio320.mp3#StreamName=Pinguin%20Indie diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 32801a5..3ce58de 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -1 +1,2 @@ hi Normal guibg=NONE ctermbg=NONE +inoremap jj <Esc> diff --git a/.config/sway/config.d/apps b/.config/sway/config.d/apps index a8a4d68..243f626 100644 --- a/.config/sway/config.d/apps +++ b/.config/sway/config.d/apps @@ -1 +1,3 @@ -bindsym $mod+n exec dolphin +bindsym $mod+alt+n exec --no-repeat dolphin +bindsym $mod+alt+c exec --no-repeat gnome-calendar +exec XDG_MENU_PREFIX=plasma- kbuildsycoca6 diff --git a/.config/sway/config.d/outputs b/.config/sway/config.d/outputs index ad45998..e362f09 100644 --- a/.config/sway/config.d/outputs +++ b/.config/sway/config.d/outputs @@ -1,4 +1,6 @@ output * { background "$(cat $HOME/.cache/wal/wal)" fill + render_bit_depth 10 + hdr off } diff --git a/.config/sway/config.d/satty b/.config/sway/config.d/satty index 3d776cd..1d20f41 100644 --- a/.config/sway/config.d/satty +++ b/.config/sway/config.d/satty @@ -1,9 +1,15 @@ + + +# Keyboard doesn't send print but sends Shift+Print :( bindsym $mod+Print exec uwushot +bindsym $mod+Shift+Print exec replay-sorcery save + + for_window [app_id="satty"] { fullscreen disable move container to output HDMI-A-2 - resize set width 660 - resize set height 400 + resize set width 1320 + resize set height 800 move position 32 32 border none } diff --git a/.config/sway/config.d/windows b/.config/sway/config.d/windows index 10ffd7b..ad2d004 100644 --- a/.config/sway/config.d/windows +++ b/.config/sway/config.d/windows @@ -9,6 +9,11 @@ for_window [title="Picture-in-Picture"] { for_window [app_id="pavucontrol"] { floating enable move position cursor - resize set 600 300 + resize set 800 600 + focus +} + +for_window [class="feh"] { + floating enable focus } diff --git a/.config/sway/config.d/wofi b/.config/sway/config.d/wofi index cf3231d..d85da3e 100644 --- a/.config/sway/config.d/wofi +++ b/.config/sway/config.d/wofi @@ -1 +1,2 @@ -bindsym $mod+d exec rofi -show combi -combi-modes "window,drun,run" +# bindsym $mod+d exec rofi -show combi -combi-modes "window,drun,run" +bindsym $mod+d exec fuzzel diff --git a/.config/sway/hosts/wit/outputs b/.config/sway/hosts/wit/outputs index 9ca558c..eebd642 100644 --- a/.config/sway/hosts/wit/outputs +++ b/.config/sway/hosts/wit/outputs @@ -6,11 +6,17 @@ output $left { position 0,0 } workspace 1 output $left +bindsym XF86Reload output $left hdr toggle +bindsym XF86Favorites output $left adaptive_sync toggle + output $right { resolution 1920x1080@60.000Hz position 2560,0 } -workspace 2 output $right +workspace 9 output $right + +#set $wallpaper ls "$HOME/.steam/root/steamapps/workshop/content/431960" | shuf -n 1 +#exec linux-wallpaperengine --output DP-2 $wallpaper --output HDMI-A-2 $wallpaper exec mako --output "HDMI-A-2" diff --git a/.config/sway/hosts/wit/steam b/.config/sway/hosts/wit/steam new file mode 100644 index 0000000..81f5eee --- /dev/null +++ b/.config/sway/hosts/wit/steam @@ -0,0 +1,8 @@ +bindsym $mod+x workspace "x" +bindsym $mod+Shift+x move container to workspace "x" + +for_window [title="Steam Big Picture Mode"] { + workspace "x" + fullscreen enable +} + diff --git a/.config/systemd/user/swaybg.service b/.config/systemd/user/swaybg.service index ccc021b..f6f30ed 100644 --- a/.config/systemd/user/swaybg.service +++ b/.config/systemd/user/swaybg.service @@ -1,4 +1,4 @@ -[Unit] +] PartOf=graphical-session.target After=graphical-session.target Requisite=graphical-session.target diff --git a/.config/systemd/user/wal.service b/.config/systemd/user/wal.service index a2e74d5..8ff8bcf 100644 --- a/.config/systemd/user/wal.service +++ b/.config/systemd/user/wal.service @@ -1,9 +1,13 @@ [Unit] +PartOf=graphical-session.target +Before=graphical-session.target +Requisite=graphical-session.target Description=run pywal [Service] Type=oneshot ExecStart=wal -i "%h/Pictures/Wallpapers" +Before=sway.service [Install] -WantedBy=default.target +WantedBy=graphical-session.target diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc index 14b5340..d0e7c9a 100644 --- a/.config/waybar/config.jsonc +++ b/.config/waybar/config.jsonc @@ -33,7 +33,7 @@ "pulseaudio": { "format": " {volume}%", "format-muted": "<s> {volume}%</s>", - "on-click": "pavucontrol" + "on-click": "pavucontrol-qt" }, "battery": { "format": " {}%" @@ -116,5 +116,9 @@ "format-linked": "{ifname} (No IP) ", "format-disconnected": "Disconnected ⚠", "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "niri/workspaces": { + "on-scroll-up": "niri msg action focus-workspace-down", + "on-scroll-down": "niri msg action focus-workspace-up" } } diff --git a/.config/xdg-desktop-portal/portals.conf b/.config/xdg-desktop-portal/portals.conf index d55d092..872cb4b 100644 --- a/.config/xdg-desktop-portal/portals.conf +++ b/.config/xdg-desktop-portal/portals.conf @@ -1,4 +1,4 @@ [preferred] -default=gtk +default=kde;gtk org.freedesktop.impl.portal.Screenshot=wlr org.freedesktop.impl.portal.ScreenCast=wlr diff --git a/.local/bin/uwuload b/.local/bin/uwuload index f6ae737..7589958 100755 --- a/.local/bin/uwuload +++ b/.local/bin/uwuload @@ -1,7 +1,8 @@ #!/usr/bin/env bash -set -euo pipefail -filename=$(basename "$@") -rsync -r --progress --stats "$@" "root@ewy.one:/srv/uwu/$filename" +set -euox pipefail +filename="$1" +input='$(abs "$1")' +rsync -r --progress --stats $1 "ewout@ewy.one:/srv/uwu/$filename" url="https://uwu.ewy.one/$filename" echo "$url" | wl-copy message="Uploaded $filename to uwu; copied result URL to clipboard." diff --git a/.local/bin/uwupass b/.local/bin/uwupass index aad2a08..348214a 100755 --- a/.local/bin/uwupass +++ b/.local/bin/uwupass @@ -60,14 +60,13 @@ target=$(echo "$pass" | eval "$(dbQuery show -s)" -a Password \"$entry\") # Write the password -ydotool type "$target" -message "Finished writing password." +echo "$target" | wl-copy +message "Copied password for $entry to selection buffer." -# Copy TOTP to clipboard +# Copy TOTP ~~to clipboard~~ totp="$(echo "$pass" | eval "$(dbQuery show -s -t)" \"$entry\")" echo $totp if [[ -n "$totp" ]]; then - message "Copied TOTP ($totp) to selection." - echo "$totp" | wl-copy + message "Your TOTP is $totp." fi diff --git a/.local/bin/uwushot b/.local/bin/uwushot index cc99316..59aed24 100755 --- a/.local/bin/uwushot +++ b/.local/bin/uwushot @@ -1,5 +1,8 @@ #!/usr/bin/env bash -set -euo pipefail -filename="~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png" -grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --filename - --disable-notifications --corner-roundness 12 --output-filename "$filename" +set -euxo pipefail +DATE=$(date '+%Y%m%d-%H:%M:%S') +path="$HOME/Pictures/Screenshots/" +filename="satty-$DATE.png" +grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --actions-on-right-click=save-to-file --filename - --disable-notifications --corner-roundness 12 --output-filename "$path$filename" +cd "$path" uwuload "$filename" diff --git a/.local/share/kio/servicemenus/uwuload.desktop b/.local/share/kio/servicemenus/uwuload.desktop index 00a4bec..00a4bec 100644..100755 --- a/.local/share/kio/servicemenus/uwuload.desktop +++ b/.local/share/kio/servicemenus/uwuload.desktop diff --git a/.profile b/.profile deleted file mode 100644 index 1cc3179..0000000 --- a/.profile +++ /dev/null @@ -1,7 +0,0 @@ - -# Build dolphin open-with menus -XDG_MENU_PREFIX=plasma- kbuildsycoca6 - -# Added by Toolbox App -export PATH="$PATH:/home/ewout/.local/share/JetBrains/Toolbox/scripts" - diff --git a/.zsh_profile b/.zsh_profile new file mode 100644 index 0000000..bcecd8f --- /dev/null +++ b/.zsh_profile @@ -0,0 +1,6 @@ +#!/usr/bin/env zsh + +# export all variables from environment.d +set -a +. <(/usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator) +set +a @@ -1,9 +1,7 @@ setopt completealiases ZSH_CUSTOM="$HOME/.config/zsh" -# Disabled, tab completion garbles the output :'( ZSH_THEME="ewout" -#ZSH_THEME="funky" zstyle ':omz:update' mode auto plugins=( archlinux @@ -29,6 +27,6 @@ plugins=( zsh-navigation-tools ) -alias zluda="LD_LIBRARY_PATH=\"<ZLUDA_DIRECTORY>:$LD_LIBRARY_PATH\"" +. $HOME/.zsh_profile . /usr/share/oh-my-zsh/oh-my-zsh.sh |
