From 059df2c6755bce70dbe1e68bdf47ea7c6cc2cb4f Mon Sep 17 00:00:00 2001 From: Ewy~ Date: Sat, 28 Dec 2024 01:08:10 +0100 Subject: updated commit --- .config/Trolltech.conf | 17 + .config/environment.d/GTK_VULKAN.conf | 2 + .config/environment.d/java-tiling.conf | 2 + .config/environment.d/local-bin.conf | 1 + .config/environment.d/qt.conf | 2 + .config/hyfetch.json | 16 + .config/kitty/kitty.conf | 14 + .config/mako/config | 12 + .config/mpDris2/mpDris2.conf | 19 + .config/mpd/database | Bin 0 -> 281611 bytes .config/mpd/mpd.conf | 419 +++++++++++++++++++++ .config/mpd/playlists/[Radio Streams].m3u | 1 + .config/mpd/sticker.sql | Bin 0 -> 12288 bytes .config/nvim/init.vim | 1 + .config/rofi/config.rasi | 21 ++ .config/sway/config | 170 +++++++++ .config/sway/config.d/autotiling | 1 + .config/sway/config.d/colors | 9 + .config/sway/config.d/inputs | 4 + .config/sway/config.d/layout | 4 + .config/sway/config.d/mediakeys | 3 + .config/sway/config.d/notifications | 1 + .config/sway/config.d/outputs | 14 + .config/sway/config.d/satty | 1 + .config/sway/config.d/uwu | 1 + .config/sway/config.d/waybar | 3 + .config/sway/config.d/windows | 10 + .config/sway/config.d/wofi | 1 + .../user/default.target.wants/dunst.service | 1 + .../user/default.target.wants/kdeconnectd.service | 1 + .../user/default.target.wants/mpDris2.service | 1 + .../systemd/user/default.target.wants/mpd.service | 1 + .../default.target.wants/pipewire-pulse.service | 1 + .../user/default.target.wants/syncthing.service | 1 + .../systemd/user/default.target.wants/wal.service | 1 + .../user/default.target.wants/ydotool.service | 1 + .config/systemd/user/easyeffects.service | 13 + .../easyeffects.service | 1 + .config/systemd/user/kdeconnectd.service | 8 + .../sockets.target.wants/pipewire-pulse.socket | 1 + .config/systemd/user/sway-session.service | 10 + .config/systemd/user/wal.service | 9 + .config/waybar/config.jsonc | 115 ++++++ .config/waybar/style.css | 61 +++ .config/xdg-desktop-portal-wlr/sway | 0 .config/xdg-desktop-portal/portals.conf | 4 + 46 files changed, 979 insertions(+) create mode 100644 .config/Trolltech.conf create mode 100644 .config/environment.d/GTK_VULKAN.conf create mode 100644 .config/environment.d/java-tiling.conf create mode 100644 .config/environment.d/local-bin.conf create mode 100644 .config/environment.d/qt.conf create mode 100644 .config/hyfetch.json create mode 100644 .config/kitty/kitty.conf create mode 100644 .config/mako/config create mode 100644 .config/mpDris2/mpDris2.conf create mode 100644 .config/mpd/database create mode 100644 .config/mpd/mpd.conf create mode 100644 .config/mpd/playlists/[Radio Streams].m3u create mode 100644 .config/mpd/sticker.sql create mode 100644 .config/nvim/init.vim create mode 100644 .config/rofi/config.rasi create mode 100644 .config/sway/config create mode 100644 .config/sway/config.d/autotiling create mode 100644 .config/sway/config.d/colors create mode 100644 .config/sway/config.d/inputs create mode 100644 .config/sway/config.d/layout create mode 100644 .config/sway/config.d/mediakeys create mode 100644 .config/sway/config.d/notifications create mode 100644 .config/sway/config.d/outputs create mode 100644 .config/sway/config.d/satty create mode 100644 .config/sway/config.d/uwu create mode 100644 .config/sway/config.d/waybar create mode 100644 .config/sway/config.d/windows create mode 100644 .config/sway/config.d/wofi create mode 120000 .config/systemd/user/default.target.wants/dunst.service create mode 120000 .config/systemd/user/default.target.wants/kdeconnectd.service create mode 120000 .config/systemd/user/default.target.wants/mpDris2.service create mode 120000 .config/systemd/user/default.target.wants/mpd.service create mode 120000 .config/systemd/user/default.target.wants/pipewire-pulse.service create mode 120000 .config/systemd/user/default.target.wants/syncthing.service create mode 120000 .config/systemd/user/default.target.wants/wal.service create mode 120000 .config/systemd/user/default.target.wants/ydotool.service create mode 100644 .config/systemd/user/easyeffects.service create mode 120000 .config/systemd/user/graphical-session.target.wants/easyeffects.service create mode 100644 .config/systemd/user/kdeconnectd.service create mode 120000 .config/systemd/user/sockets.target.wants/pipewire-pulse.socket create mode 100644 .config/systemd/user/sway-session.service create mode 100644 .config/systemd/user/wal.service create mode 100644 .config/waybar/config.jsonc create mode 100644 .config/waybar/style.css create mode 100644 .config/xdg-desktop-portal-wlr/sway create mode 100644 .config/xdg-desktop-portal/portals.conf (limited to '.config') diff --git a/.config/Trolltech.conf b/.config/Trolltech.conf new file mode 100644 index 0000000..e153706 --- /dev/null +++ b/.config/Trolltech.conf @@ -0,0 +1,17 @@ +[qt] +GUIEffects=none +KDE\contrast=7 +KWinPalette\activeBackground=#31363b +KWinPalette\activeBlend=#fcfcfc +KWinPalette\activeForeground=#fcfcfc +KWinPalette\activeTitleBtnBg=#2a2e32 +KWinPalette\frame=#2a2e32 +KWinPalette\inactiveBackground=#2a2e32 +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 +font="Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1" diff --git a/.config/environment.d/GTK_VULKAN.conf b/.config/environment.d/GTK_VULKAN.conf new file mode 100644 index 0000000..466af2d --- /dev/null +++ b/.config/environment.d/GTK_VULKAN.conf @@ -0,0 +1,2 @@ +GDK_DISABLE=vulkan +GSK_RENDERER=gl diff --git a/.config/environment.d/java-tiling.conf b/.config/environment.d/java-tiling.conf new file mode 100644 index 0000000..a2e00ad --- /dev/null +++ b/.config/environment.d/java-tiling.conf @@ -0,0 +1,2 @@ +_JAVA_AWT_WM_NONREPARENTING=1 +_JAVA_OPTIONS="$_JAVA_OPTIONS -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel" diff --git a/.config/environment.d/local-bin.conf b/.config/environment.d/local-bin.conf new file mode 100644 index 0000000..ba35e6d --- /dev/null +++ b/.config/environment.d/local-bin.conf @@ -0,0 +1 @@ +PATH="$HOME/.local/bin:$PATH" diff --git a/.config/environment.d/qt.conf b/.config/environment.d/qt.conf new file mode 100644 index 0000000..2087d51 --- /dev/null +++ b/.config/environment.d/qt.conf @@ -0,0 +1,2 @@ +QT_QPA_PLATFORM=wayland;xcb +QT_QPA_PLATFORMTHEME=qt6ct diff --git a/.config/hyfetch.json b/.config/hyfetch.json new file mode 100644 index 0000000..15be2f1 --- /dev/null +++ b/.config/hyfetch.json @@ -0,0 +1,16 @@ +{ + "preset": "transgender", + "mode": "rgb", + "light_dark": "dark", + "lightness": 0.5, + "color_align": { + "mode": "horizontal", + "custom_colors": [], + "fore_back": null + }, + "backend": "neofetch", + "args": null, + "distro": null, + "pride_month_shown": [], + "pride_month_disable": false +} \ No newline at end of file diff --git a/.config/kitty/kitty.conf b/.config/kitty/kitty.conf new file mode 100644 index 0000000..2604708 --- /dev/null +++ b/.config/kitty/kitty.conf @@ -0,0 +1,14 @@ +font_family Operator Mono Book +bold_font auto +italic_font auto +bold_italic_font auto + +window_padding_width 4 + +cursor_trail 1 +cursor_shape block +text_fg_override_treshold 0 + +include ~/.cache/wal/colors-kitty.conf +background_opacity 0.8 +background_blur 16 diff --git a/.config/mako/config b/.config/mako/config new file mode 100644 index 0000000..fe2fb6b --- /dev/null +++ b/.config/mako/config @@ -0,0 +1,12 @@ +background-color=#000000 +border-color=#ffffff +border-radius=4 +padding=8,16 +text-alignment=right +icon-location=left +anchor=bottom-left +margin=5,5 +output=HDMI-A-1 + +[mode=do-not-disturb] +invisible=1 diff --git a/.config/mpDris2/mpDris2.conf b/.config/mpDris2/mpDris2.conf new file mode 100644 index 0000000..056e209 --- /dev/null +++ b/.config/mpDris2/mpDris2.conf @@ -0,0 +1,19 @@ +# Copy this to /etc/mpDris2.conf or ~/.config/mpDris2/mpDris2.conf +# Default values are shown here, commented out. + +[Connection] +# You can also export $MPD_HOST and/or $MPD_PORT to change the server. +#host = localhost +#port = 6600 +#password = + +[Library] +#music_dir = +#cover_regex = ^(album|cover|\.?folder|front).*\.(gif|jpeg|jpg|png)$ + +[Bling] +notify = False +#mmkeys = True +#notify = True +# Urgency of the notification: 0 for low, 1 for medium and 2 for high. +#notify_urgency = 0 diff --git a/.config/mpd/database b/.config/mpd/database new file mode 100644 index 0000000..7c95566 Binary files /dev/null and b/.config/mpd/database differ diff --git a/.config/mpd/mpd.conf b/.config/mpd/mpd.conf new file mode 100644 index 0000000..773229e --- /dev/null +++ b/.config/mpd/mpd.conf @@ -0,0 +1,419 @@ +# An example configuration file for MPD. +# Read the user manual for documentation: http://www.musicpd.org/doc/user/ + + +# Files and directories ####################################################### +# +# This setting controls the top directory which MPD will search to discover the +# available audio files and add them to the daemon's online database. This +# setting defaults to the XDG directory, otherwise the music directory will be +# be disabled and audio files will only be accepted over ipc socket (using +# file:// protocol) or streaming files over an accepted protocol. +# +music_directory "~/Music" +# +# This setting sets the MPD internal playlist directory. The purpose of this +# directory is storage for playlists created by MPD. The server will use +# playlist files not created by the server but only if they are in the MPD +# format. This setting defaults to playlist saving being disabled. +# +playlist_directory "~/.config/mpd/playlists" +# +# This setting sets the location of the MPD database. This file is used to +# load the database at server start up and store the database while the +# server is not up. This setting defaults to disabled which will allow +# MPD to accept files over ipc socket (using file:// protocol) or streaming +# files over an accepted protocol. +# +db_file "~/.config/mpd/database" + +# These settings are the locations for the daemon log files for the daemon. +# +# The special value "syslog" makes MPD use the local syslog daemon. This +# setting defaults to logging to syslog. +# +# If you use systemd, do not configure a log_file. With systemd, MPD +# defaults to the systemd journal, which is fine. +# +#log_file "~/.mpd/log" + +# This setting sets the location of the file which stores the process ID +# for use of mpd --kill and some init scripts. This setting is disabled by +# default and the pid file will not be stored. +# +# If you use systemd, do not configure a pid_file. +# +#pid_file "~/.mpd/pid" + +# This setting sets the location of the file which contains information about +# most variables to get MPD back into the same general shape it was in before +# it was brought down. This setting is disabled by default and the server +# state will be reset on server start up. +# +#state_file "~/.mpd/state" +# +# The location of the sticker database. This is a database which +# manages dynamic information attached to songs. +# +sticker_file "~/.config/mpd/sticker.sql" +# +############################################################################### + + +# General music daemon options ################################################ +# +# This setting specifies the user that MPD will run as. MPD should never run as +# root and you may use this setting to make MPD change its user ID after +# initialization. This setting is disabled by default and MPD is run as the +# current user. +# +#user "nobody" +# +# This setting specifies the group that MPD will run as. If not specified +# primary group of user specified with "user" setting will be used (if set). +# This is useful if MPD needs to be a member of group such as "audio" to +# have permission to use sound card. +# +#group "nogroup" +# +# This setting sets the address for the daemon to listen on. Careful attention +# should be paid if this is assigned to anything other than the default, any. +# This setting can deny access to control of the daemon. Not effective if +# systemd socket activation is in use. +# +# For network +#bind_to_address "any" +# +# And for Unix Socket +#bind_to_address "~/.mpd/socket" +# +# This setting is the TCP port that is desired for the daemon to get assigned +# to. +# +#port "6600" +# +# Suppress all messages below the given threshold. Use "verbose" for +# troubleshooting. Available setting arguments are "notice", "info", "verbose", +# "warning" and "error". +# +#log_level "notice" +# +# Setting "restore_paused" to "yes" puts MPD into pause mode instead +# of starting playback after startup. +# +#restore_paused "no" +# +# This setting enables MPD to create playlists in a format usable by other +# music players. +# +#save_absolute_paths_in_playlists "no" +# +# This setting defines a list of tag types that will be extracted during the +# audio file discovery process. The complete list of possible values can be +# found in the user manual. +#metadata_to_use "artist,album,title,track,name,genre,date,composer,performer,disc" +# +# This example just enables the "comment" tag without disabling all +# the other supported tags: +#metadata_to_use "+comment" +# +# This setting enables automatic update of MPD's database when files in +# music_directory are changed. +# +#auto_update "yes" +# +# Limit the depth of the directories being watched, 0 means only watch +# the music directory itself. There is no limit by default. +# +#auto_update_depth "3" +# +############################################################################### + + +# Symbolic link behavior ###################################################### +# +# If this setting is set to "yes", MPD will discover audio files by following +# symbolic links outside of the configured music_directory. +# +#follow_outside_symlinks "yes" +# +# If this setting is set to "yes", MPD will discover audio files by following +# symbolic links inside of the configured music_directory. +# +#follow_inside_symlinks "yes" +# +############################################################################### + + +# Zeroconf / Avahi Service Discovery ########################################## +# +# If this setting is set to "yes", service information will be published with +# Zeroconf / Avahi. +# +zeroconf_enabled "yes" +# +# The argument to this setting will be the Zeroconf / Avahi unique name for +# this MPD server on the network. %h will be replaced with the hostname. +# +zeroconf_name "ZWART MPD" +# +############################################################################### + + +# Permissions ################################################################# +# +# If this setting is set, MPD will require password authorization. The password +# setting can be specified multiple times for different password profiles. +# +#password "password@read,add,control,admin" +# +# This setting specifies the permissions a user has who has not yet logged in. +# +#default_permissions "read,add,control,admin" +# +############################################################################### + + +# Database ####################################################################### +# +# An example of a database section instead of the old 'db_file' setting. +# It enables mounting other storages into the music directory. +# +#database { +# plugin "simple" +# path "~/.local/share/mpd/db" +# cache_directory "~/.local/share/mpd/cache" +#} +# +# An example of database config for a satellite setup +# +#music_directory "nfs://fileserver.local/srv/mp3" +#database { +# plugin "proxy" +# host "other.mpd.host" +# port "6600" +#} + +# Input ####################################################################### +# +input { + plugin "curl" +# proxy "proxy.isp.com:8080" +# proxy_user "user" +# proxy_password "password" +} + +# +############################################################################### + +# Audio Output ################################################################ +# +# MPD supports various audio output types, as well as playing through multiple +# audio outputs at the same time, through multiple audio_output settings +# blocks. Setting this block is optional, though the server will only attempt +# autodetection for one sound card. +# +# An example of an ALSA output: +# +#audio_output { +# type "alsa" +# name "My ALSA Device" +## device "hw:0,0" # optional +## mixer_type "hardware" # optional +## mixer_device "default" # optional +## mixer_control "PCM" # optional +## mixer_index "0" # optional +#} +# +# An example of an OSS output: +# +#audio_output { +# type "oss" +# name "My OSS Device" +## device "/dev/dsp" # optional +## mixer_type "hardware" # optional +## mixer_device "/dev/mixer" # optional +## mixer_control "PCM" # optional +#} +# +# An example of a shout output (for streaming to Icecast): +# +#audio_output { +# type "shout" +# encoder "vorbis" # optional +# name "My Shout Stream" +# host "localhost" +# port "8000" +# mount "/mpd.ogg" +# password "hackme" +# quality "5.0" +# bitrate "128" +# format "44100:16:1" +## protocol "icecast2" # optional +## user "source" # optional +## description "My Stream Description" # optional +## url "http://example.com" # optional +## genre "jazz" # optional +## public "no" # optional +## timeout "2" # optional +## mixer_type "software" # optional +#} +# +# An example of a recorder output: +# +#audio_output { +# type "recorder" +# name "My recorder" +# encoder "vorbis" # optional, vorbis or lame +# path "/var/lib/mpd/recorder/mpd.ogg" +## quality "5.0" # do not define if bitrate is defined +# bitrate "128" # do not define if quality is defined +# format "44100:16:1" +#} +# +# An example of a httpd output (built-in HTTP streaming server): +# +#audio_output { +# type "httpd" +# name "My HTTP Stream" +# encoder "vorbis" # optional, vorbis or lame +# port "8000" +# bind_to_address "0.0.0.0" # optional, IPv4 or IPv6 +## quality "5.0" # do not define if bitrate is defined +# bitrate "128" # do not define if quality is defined +# format "44100:16:1" +# max_clients "0" # optional 0=no limit +#} +# +# An example of a pulseaudio output (streaming to a remote pulseaudio server) +# +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). +# +#audio_output { +# type "winmm" +# name "My WinMM output" +## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional +# or +## device "0" # optional +## mixer_type "hardware" # optional +#} +# +# An example of a wasapi output (Windows multimedia API). +# +#audio_output { +# type "wasapi" +# name "My WASAPI output" +## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional +# or +## device "0" # optional +## mixer_type "hardware" # optional +## Exclusive mode blocks all other audio source, and get best audio quality without resampling. +## exclusive "no" # optional +## Enumerate all devices in log. +## enumerate "no" # optional +#} +# +# An example of an openal output. +# +#audio_output { +# type "openal" +# name "My OpenAL output" +## device "Digital Audio (S/PDIF) (High Definition Audio Device)" # optional +#} +# +# An example of an sndio output. +# +#audio_output { +# type "sndio" +# name "sndio output" +# mixer_type "hardware" +#} +# +# An example of an OS X output: +# +#audio_output { +# type "osx" +# name "My OS X Device" +## device "Built-in Output" # optional +## channel_map "-1,-1,0,1" # optional +#} +# +## Example "pipe" output: +# +#audio_output { +# type "pipe" +# name "my pipe" +# command "aplay -f cd 2>/dev/null" +## Or if you're want to use AudioCompress +# command "AudioCompress -m | aplay -f cd 2>/dev/null" +## Or to send raw PCM stream through PCM: +# command "nc example.org 8765" +# format "44100:16:2" +#} +# +## An example of a null output (for no audio output): +# +#audio_output { +# type "null" +# name "My Null Output" +# mixer_type "none" # optional +#} +# +############################################################################### + + +# Normalization automatic volume adjustments ################################## +# +# This setting specifies the type of ReplayGain to use. This setting can have +# the argument "off", "album", "track" or "auto". "auto" is a special mode that +# chooses between "track" and "album" depending on the current state of +# random playback. If random playback is enabled then "track" mode is used. +# See for +# more details about ReplayGain. +# This setting is off by default. +# +replaygain "album" +# +# This setting sets the pre-amp used for files that have ReplayGain tags. By +# default this setting is disabled. +# +#replaygain_preamp "0" +# +# This setting sets the pre-amp used for files that do NOT have ReplayGain tags. +# By default this setting is disabled. +# +#replaygain_missing_preamp "0" +# +# This setting enables or disables ReplayGain limiting. +# MPD calculates actual amplification based on the ReplayGain tags +# and replaygain_preamp / replaygain_missing_preamp setting. +# If replaygain_limit is enabled MPD will never amplify audio signal +# above its original level. If replaygain_limit is disabled such amplification +# might occur. By default this setting is enabled. +# +#replaygain_limit "yes" +# +# This setting enables on-the-fly normalization volume adjustment. This will +# result in the volume of all playing audio to be adjusted so the output has +# equal "loudness". This setting is disabled by default. +# +#volume_normalization "no" +# +############################################################################### + +# Character Encoding ########################################################## +# +# If file or directory names do not display correctly for your locale then you +# may need to modify this setting. +# +#filesystem_charset "UTF-8" +# +############################################################################### diff --git a/.config/mpd/playlists/[Radio Streams].m3u b/.config/mpd/playlists/[Radio Streams].m3u new file mode 100644 index 0000000..ea2908e --- /dev/null +++ b/.config/mpd/playlists/[Radio Streams].m3u @@ -0,0 +1 @@ +http://streams.pinguinradio.com/PinguinRadio320.mp3#Pinguin%20Indie diff --git a/.config/mpd/sticker.sql b/.config/mpd/sticker.sql new file mode 100644 index 0000000..ead292a Binary files /dev/null and b/.config/mpd/sticker.sql differ diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..32801a5 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1 @@ +hi Normal guibg=NONE ctermbg=NONE diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi new file mode 100644 index 0000000..7c982c1 --- /dev/null +++ b/.config/rofi/config.rasi @@ -0,0 +1,21 @@ +@theme "/usr/share/rofi/themes/gruvbox-dark-hard.rasi" +@import "~/.cache/wal/colors-rofi-dark.rasi" + +configuration { + modi: "combi"; + font: "Operator Mono Book 12"; + comb-modi: "window,drun,ssh,run"; + icon-theme: "Papirus"; +} + +#window { + border: 2px; + border-color: @selected-normal-foreground; +} + +#inputbar { + border: 0px 0px 2px 0px; + border-color: @selected-normal-foreground; +} + + diff --git a/.config/sway/config b/.config/sway/config new file mode 100644 index 0000000..2b7231e --- /dev/null +++ b/.config/sway/config @@ -0,0 +1,170 @@ +# Default config for sway +# +# Copy this to ~/.config/sway/config and edit it to your liking. +# +# Read `man 5 sway` for a complete reference. + +### Variables +# +# Logo key. Use Mod1 for Alt. +set $mod Mod4 +# Home row direction keys, like vim +set $left h +set $down j +set $up k +set $right l +# Your preferred terminal emulator +set $term kitty + +### Key bindings +# +# Basics: +# + # Start a terminal + bindsym $mod+Return exec $term + + # Kill focused window + bindsym $mod+Shift+q kill + + font "Noto Sans" 10 + + # Drag floating windows by holding down $mod and left mouse button. + # Resize them with right mouse button + $mod. + # Despite the name, also works for non-floating windows. + # Change normal to inverse to use left mouse button for resizing and right + # mouse button for dragging. + floating_modifier $mod normal + + # Reload the configuration file + bindsym $mod+Shift+c reload + + # Exit sway (logs you out of your Wayland session) + bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' +# +# Moving around: +# + # Move your focus around + bindsym $mod+$left focus left + bindsym $mod+$down focus down + bindsym $mod+$up focus up + bindsym $mod+$right focus right + # Or use $mod+[up|down|left|right] + bindsym $mod+Left focus left + bindsym $mod+Down focus down + bindsym $mod+Up focus up + bindsym $mod+Right focus right + + # Move the focused window with the same, but add Shift + bindsym $mod+Shift+$left move left + bindsym $mod+Shift+$down move down + bindsym $mod+Shift+$up move up + bindsym $mod+Shift+$right move right + # Ditto, with arrow keys + bindsym $mod+Shift+Left move left + bindsym $mod+Shift+Down move down + bindsym $mod+Shift+Up move up + bindsym $mod+Shift+Right move right +# +# Workspaces: +# + # Switch to workspace + bindsym $mod+1 workspace number 1 + bindsym $mod+2 workspace number 2 + bindsym $mod+3 workspace number 3 + bindsym $mod+4 workspace number 4 + bindsym $mod+5 workspace number 5 + bindsym $mod+6 workspace number 6 + bindsym $mod+7 workspace number 7 + bindsym $mod+8 workspace number 8 + bindsym $mod+9 workspace number 9 + bindsym $mod+0 workspace number 10 + # Move focused container to workspace + bindsym $mod+Shift+1 move container to workspace number 1 + bindsym $mod+Shift+2 move container to workspace number 2 + bindsym $mod+Shift+3 move container to workspace number 3 + bindsym $mod+Shift+4 move container to workspace number 4 + bindsym $mod+Shift+5 move container to workspace number 5 + bindsym $mod+Shift+6 move container to workspace number 6 + bindsym $mod+Shift+7 move container to workspace number 7 + bindsym $mod+Shift+8 move container to workspace number 8 + bindsym $mod+Shift+9 move container to workspace number 9 + bindsym $mod+Shift+0 move container to workspace number 10 + # Note: workspaces can have any name you want, not just numbers. + # We just use 1-10 as the default. +# +# Layout stuff: +# + bindsym $mod+v split toggle + + # Switch the current container between different layout styles + bindsym $mod+s layout stacking + bindsym $mod+w layout tabbed + bindsym $mod+e layout toggle split + + + bindsym $mod+Shift+b border toggle + # Make the current focus fullscreen + bindsym $mod+f fullscreen + + # Toggle the current focus between tiling and floating mode + bindsym $mod+Shift+space floating toggle + + # Swap focus between the tiling area and the floating area + bindsym $mod+space focus mode_toggle + + # Move focus to the parent container + bindsym $mod+a focus parent +# +# Scratchpad: +# + # Sway has a "scratchpad", which is a bag of holding for windows. + # You can send windows there and get them back later. + + # Move the currently focused window to the scratchpad + bindsym $mod+Shift+minus move scratchpad + + # Show the next scratchpad window or hide the focused scratchpad window. + # If there are multiple scratchpad windows, this command cycles through them. + bindsym $mod+minus scratchpad show +# +# Resizing containers: +# +mode "resize" { + # left will shrink the containers width + # right will grow the containers width + # up will shrink the containers height + # down will grow the containers height + bindsym $left resize shrink width 10px + bindsym $down resize grow height 10px + bindsym $up resize shrink height 10px + bindsym $right resize grow width 10px + + # Ditto, with arrow keys + bindsym Left resize shrink width 10px + bindsym Down resize grow height 10px + bindsym Up resize shrink height 10px + bindsym Right resize grow width 10px + + # Return to default mode + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+r mode "resize" +# +# Utilities: +# + # Special keys to adjust volume via PulseAudio + bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle + bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5% + bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5% + bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle + # Special keys to adjust brightness via brightnessctl + bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%- + bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+ + + +include "$HOME/.cache/wal/colors-sway" +include "$HOME/.config/sway/config.d/*" +include /etc/sway/config.d/* + +exec sleep 5 && systemctl --user start sway-session.service diff --git a/.config/sway/config.d/autotiling b/.config/sway/config.d/autotiling new file mode 100644 index 0000000..1a0dba3 --- /dev/null +++ b/.config/sway/config.d/autotiling @@ -0,0 +1 @@ +exec_always autotiling diff --git a/.config/sway/config.d/colors b/.config/sway/config.d/colors new file mode 100644 index 0000000..2255546 --- /dev/null +++ b/.config/sway/config.d/colors @@ -0,0 +1,9 @@ +# class border backgr. text indicator child_border +client.focused $color1 $color2 $foreground $color2 $color2 +client.unfocused $color1 $color0 $foreground $color0 $color0 +client.focused_inactive $color3 $color3 $foreground $color3 $color3 +client.urgent $color15 $color15 $foreground $color15 $color15 +client.placeholder $color3 $color3 $foreground $color3 $color3 + +bindsym $mod+Shift+w exec systemctl --user start wal + diff --git a/.config/sway/config.d/inputs b/.config/sway/config.d/inputs new file mode 100644 index 0000000..900b061 --- /dev/null +++ b/.config/sway/config.d/inputs @@ -0,0 +1,4 @@ +input type:pointer { + accel_profile flat + pointer_accel 1 +} diff --git a/.config/sway/config.d/layout b/.config/sway/config.d/layout new file mode 100644 index 0000000..6e9e2e4 --- /dev/null +++ b/.config/sway/config.d/layout @@ -0,0 +1,4 @@ +smart_gaps on +gaps inner 5 +title_align center +default_border pixel diff --git a/.config/sway/config.d/mediakeys b/.config/sway/config.d/mediakeys new file mode 100644 index 0000000..894d381 --- /dev/null +++ b/.config/sway/config.d/mediakeys @@ -0,0 +1,3 @@ +bindsym XF86AudioPlay exec playerctl play-pause +bindsym XF86AudioPrev exec playerctl previous +bindsym XF86AudioNext exec playerctl next diff --git a/.config/sway/config.d/notifications b/.config/sway/config.d/notifications new file mode 100644 index 0000000..4ac9c33 --- /dev/null +++ b/.config/sway/config.d/notifications @@ -0,0 +1 @@ +bindsym $mod+Grave exec makoctl dismiss diff --git a/.config/sway/config.d/outputs b/.config/sway/config.d/outputs new file mode 100644 index 0000000..2cd8e29 --- /dev/null +++ b/.config/sway/config.d/outputs @@ -0,0 +1,14 @@ +output * { + background "$(cat $HOME/.cache/wal/wal)" fit +} + +output DP-2 { + resolution 2560x1440@239.970Hz + position 0,0 +} + +output HDMI-A-1 { + resolution 1920x1080@60.000Hz + position 2560,0 +} + diff --git a/.config/sway/config.d/satty b/.config/sway/config.d/satty new file mode 100644 index 0000000..8204049 --- /dev/null +++ b/.config/sway/config.d/satty @@ -0,0 +1 @@ +bindsym $mod+Print exec grim -g "$(slurp -o -r -c '#ff0000ff')" -t ppm - | satty --filename - --fullscreen --output-filename ~/Pictures/Screenshots/satty-$(date '+%Y%m%d-%H:%M:%S').png diff --git a/.config/sway/config.d/uwu b/.config/sway/config.d/uwu new file mode 100644 index 0000000..22f033b --- /dev/null +++ b/.config/sway/config.d/uwu @@ -0,0 +1 @@ +bindsym $mod+p exec uwupass diff --git a/.config/sway/config.d/waybar b/.config/sway/config.d/waybar new file mode 100644 index 0000000..8d3e95c --- /dev/null +++ b/.config/sway/config.d/waybar @@ -0,0 +1,3 @@ +bar { + swaybar_command waybar +} diff --git a/.config/sway/config.d/windows b/.config/sway/config.d/windows new file mode 100644 index 0000000..3111c6e --- /dev/null +++ b/.config/sway/config.d/windows @@ -0,0 +1,10 @@ +for_window [app_id="kitty"] border none +for_window [class="firefox"] border none +for_window [title="Picture-in-Picture"] { + sticky enabe + floating enable + position 2567,619 + size 791x445 +} +for_window [class="net-runelite-client-RuneLite"] border none +for_window [app_id="firefox"] border none diff --git a/.config/sway/config.d/wofi b/.config/sway/config.d/wofi new file mode 100644 index 0000000..cf3231d --- /dev/null +++ b/.config/sway/config.d/wofi @@ -0,0 +1 @@ +bindsym $mod+d exec rofi -show combi -combi-modes "window,drun,run" diff --git a/.config/systemd/user/default.target.wants/dunst.service b/.config/systemd/user/default.target.wants/dunst.service new file mode 120000 index 0000000..e743ccd --- /dev/null +++ b/.config/systemd/user/default.target.wants/dunst.service @@ -0,0 +1 @@ +/home/ewout/.config/systemd/user/dunst.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/kdeconnectd.service b/.config/systemd/user/default.target.wants/kdeconnectd.service new file mode 120000 index 0000000..62559d9 --- /dev/null +++ b/.config/systemd/user/default.target.wants/kdeconnectd.service @@ -0,0 +1 @@ +/home/ewout/.config/systemd/user/kdeconnectd.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/mpDris2.service b/.config/systemd/user/default.target.wants/mpDris2.service new file mode 120000 index 0000000..5740514 --- /dev/null +++ b/.config/systemd/user/default.target.wants/mpDris2.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/mpDris2.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/mpd.service b/.config/systemd/user/default.target.wants/mpd.service new file mode 120000 index 0000000..0524f66 --- /dev/null +++ b/.config/systemd/user/default.target.wants/mpd.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/mpd.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/pipewire-pulse.service b/.config/systemd/user/default.target.wants/pipewire-pulse.service new file mode 120000 index 0000000..f631f69 --- /dev/null +++ b/.config/systemd/user/default.target.wants/pipewire-pulse.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/pipewire-pulse.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/syncthing.service b/.config/systemd/user/default.target.wants/syncthing.service new file mode 120000 index 0000000..d55cc27 --- /dev/null +++ b/.config/systemd/user/default.target.wants/syncthing.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/syncthing.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/wal.service b/.config/systemd/user/default.target.wants/wal.service new file mode 120000 index 0000000..94c1354 --- /dev/null +++ b/.config/systemd/user/default.target.wants/wal.service @@ -0,0 +1 @@ +/home/ewout/.config/systemd/user/wal.service \ No newline at end of file diff --git a/.config/systemd/user/default.target.wants/ydotool.service b/.config/systemd/user/default.target.wants/ydotool.service new file mode 120000 index 0000000..e3b4f63 --- /dev/null +++ b/.config/systemd/user/default.target.wants/ydotool.service @@ -0,0 +1 @@ +/usr/lib/systemd/user/ydotool.service \ No newline at end of file diff --git a/.config/systemd/user/easyeffects.service b/.config/systemd/user/easyeffects.service new file mode 100644 index 0000000..3e89b27 --- /dev/null +++ b/.config/systemd/user/easyeffects.service @@ -0,0 +1,13 @@ +[Unit] +Description=easyeffects daemon +PartOf=graphical-session.target +After=graphical-session.target + +[Service] +Environment="G_MESSAGES_DEBUG=easyeffects" +ExecStart=/usr/bin/easyeffects --gapplication-service +Restart=on-failure +RestartSec=5 + +[Install] +WantedBy=graphical-session.target diff --git a/.config/systemd/user/graphical-session.target.wants/easyeffects.service b/.config/systemd/user/graphical-session.target.wants/easyeffects.service new file mode 120000 index 0000000..ab85c3c --- /dev/null +++ b/.config/systemd/user/graphical-session.target.wants/easyeffects.service @@ -0,0 +1 @@ +/home/ewout/.config/systemd/user/easyeffects.service \ No newline at end of file diff --git a/.config/systemd/user/kdeconnectd.service b/.config/systemd/user/kdeconnectd.service new file mode 100644 index 0000000..def1bff --- /dev/null +++ b/.config/systemd/user/kdeconnectd.service @@ -0,0 +1,8 @@ +[Unit] +Description=Connect your computer to your smartphone or tablet + +[Service] +ExecStart=env QT_QPA_PLATFORM=wayland /usr/bin/kdeconnectd + +[Install] +WantedBy=default.target diff --git a/.config/systemd/user/sockets.target.wants/pipewire-pulse.socket b/.config/systemd/user/sockets.target.wants/pipewire-pulse.socket new file mode 120000 index 0000000..45f6209 --- /dev/null +++ b/.config/systemd/user/sockets.target.wants/pipewire-pulse.socket @@ -0,0 +1 @@ +/usr/lib/systemd/user/pipewire-pulse.socket \ No newline at end of file diff --git a/.config/systemd/user/sway-session.service b/.config/systemd/user/sway-session.service new file mode 100644 index 0000000..4f56250 --- /dev/null +++ b/.config/systemd/user/sway-session.service @@ -0,0 +1,10 @@ +[Unit] +Description=sway window manager session +PartOf=graphical-session.target +Wants=graphical-session.target + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=/bin/true +Restart=never diff --git a/.config/systemd/user/wal.service b/.config/systemd/user/wal.service new file mode 100644 index 0000000..a2e74d5 --- /dev/null +++ b/.config/systemd/user/wal.service @@ -0,0 +1,9 @@ +[Unit] +Description=run pywal + +[Service] +Type=oneshot +ExecStart=wal -i "%h/Pictures/Wallpapers" + +[Install] +WantedBy=default.target diff --git a/.config/waybar/config.jsonc b/.config/waybar/config.jsonc new file mode 100644 index 0000000..b629fbe --- /dev/null +++ b/.config/waybar/config.jsonc @@ -0,0 +1,115 @@ +// -*- mode: jsonc -*- +{ + // "layer": "top", // Waybar at top layer + // "position": "bottom", // Waybar position (top|bottom|left|right) + "height": 30, // Waybar height (to be removed for auto height) + // "width": 1280, // Waybar width + "spacing": 4, // Gaps between modules (4px) + // Choose the order of the modules + "reload-on-style-change": true, + "modules-left": [ + "sway/workspaces", + "sway/mode", + "sway/scratchpad", + "mpris" + ], + "modules-center": [ + "sway/window" + ], + "modules-right": [ + "custom/headset", + "pipewire", + "load", + "memory", + "temperature", + "tray", + "clock" + ], + "sway/window": { + "all-outputs": true + }, + "sway/mode": { + "format": "{}" + }, + "sway/scratchpad": { + "format": "{icon} {count}", + "show-empty": false, + "format-icons": ["", ""], + "tooltip": true, + "tooltip-format": "{app}: {title}" + }, + "tray": { + // "icon-size": 21, + "spacing": 10 + }, + "mpris": { + "format": "{player_icon} {dynamic}", + "format-paused": "{status_icon} {dynamic}", + "dynamic-len": 50, + "dynamic-order": ["title", "artist", "album"], + "player-icons": { + "default": "▶", + "mpd": " ", + "firefox_*": " " + }, + "status-icons": { + "paused": "" + } + }, + "clock": { + "format": "{:%b %d %H:%M}", + "tooltip-format": "{calendar}", + "calendar": { + "mode" : "year", + "mode-mon-col" : 3, + "weeks-pos" : "right", + "on-scroll" : 1, + "format": { + "months": "{}", + "days": "{}", + "weeks": "W{}", + "weekdays": "{}", + "today": "{}" + } + }, + "actions": { + "on-click-right": "mode", + "on-scroll-up": "tz_up", + "on-scroll-down": "tz_down", + "on-scroll-up": "shift_up", + "on-scroll-down": "shift_down" + } + }, + "cpu": { + "format": "{usage}% ", + "tooltip": false + }, + "memory": { + "format": "{}% " + }, + "temperature": { + // "thermal-zone": 2, + // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", + "critical-threshold": 80, + // "format-critical": "{temperatureC}°C {icon}", + "format": "{temperatureC}°C {icon}", + "format-icons": ["", "", ""] + }, + "network": { + // "interface": "wlp2*", // (Optional) To force the use of this interface + "format-wifi": "{essid} ({signalStrength}%) ", + "format-ethernet": "{ipaddr}/{cidr} ", + "tooltip-format": "{ifname} via {gwaddr} ", + "format-linked": "{ifname} (No IP) ", + "format-disconnected": "Disconnected ⚠", + "format-alt": "{ifname}: {ipaddr}/{cidr}" + }, + "custom/headset": { + "exec": "headsetcontrol -b -o json | jq -r '.devices[0].battery.level'", + "exec-if": "headsetcontrol --connected", + "format": "󰋎 {} %", + "hide-empty-text": true, + "interval": 60, + "hide-empty-text": true + } +} diff --git a/.config/waybar/style.css b/.config/waybar/style.css new file mode 100644 index 0000000..f66aff4 --- /dev/null +++ b/.config/waybar/style.css @@ -0,0 +1,61 @@ +@import url("/home/ewout/.cache/wal/colors-waybar.css"); + +window#waybar { + background-color: @background; +} + +window#waybar.empty { + background-color: transparent; +} + +.module { + color: @foreground; + background-color: @background; + border-bottom: 2px solid @color1; + padding: 0 8px; + margin: 0 2px; +} + +.module:first-child { + margin-left: 0; +} + +.module:last-child { + margin-right: 0; +} + +#clock { + padding-right: 4px; + border-color: @color2; +} + +#tray { + border-color: @color3; +} + +#temperature { + border-color: @color4; +} + +#memory { +border-color: @color7; +} + +#load { + border-color: @color6; +} + +#network { + border-color: @color7; +} + +#workspaces button { + min-width: 32px; + border-radius: 0; + color: @foreground; +} + +#workspaces button.visible { + background-color: @foreground; + color: @background; +} diff --git a/.config/xdg-desktop-portal-wlr/sway b/.config/xdg-desktop-portal-wlr/sway new file mode 100644 index 0000000..e69de29 diff --git a/.config/xdg-desktop-portal/portals.conf b/.config/xdg-desktop-portal/portals.conf new file mode 100644 index 0000000..d55d092 --- /dev/null +++ b/.config/xdg-desktop-portal/portals.conf @@ -0,0 +1,4 @@ +[preferred] +default=gtk +org.freedesktop.impl.portal.Screenshot=wlr +org.freedesktop.impl.portal.ScreenCast=wlr -- cgit v1.3