diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index a35cb01..4d1b74f 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1 +1 @@ -@theme "asidebar-worlds-porter-robinson.rasi" +@theme "asidebar-yuri-blue.rasi" diff --git a/.config/rofi/themes/asidebar-yuri-blue.rasi b/.config/rofi/themes/asidebar-yuri-blue.rasi new file mode 100644 index 0000000..5803dd5 --- /dev/null +++ b/.config/rofi/themes/asidebar-yuri-blue.rasi @@ -0,0 +1,104 @@ +/** + * ROFI Color theme + * User: tenkuma + * Copyright: Dave Davenport + */ + +* { + text-color: #87ceeb; + background-color: rgba(7, 4, 4, 0); + dark: #1c1c1c; + + black: #000000F1; + lightblack: #101010; + + red: #cd5c5c; + lightred: #cc5533; + + blue: #6495ed; + lightblue: #87ceeb; + + magenta: #DE87CF; + lightmagenta: #996600; + darkmagenta: #3D2539; + + cyan: #b0c4de; + lightcyan: #b0c4de; + darkcyan: #334a68; + + white: #ffffff; + lightwhite: #dddcdcff; + + highlight: bold #ffffff; +} +window { + height: 100%; + width: 30em; + location: west; + anchor: west; + border: 0px 2px 0px 0px; + text-color: @lightblue; +} +mode-switcher { + border: 2px 0px 0px 0px; + background-color: @lightblack; + padding: 4px; +} +button selected { + border-color: @black; + text-color: @lightblue; +} +inputbar { + background-color: @black; + text-color: @black; + padding: 4px; + border: 0px 0px 2px 0px; +} +mainbox { + expand: true; + background-color: @black; + spacing: 1em; +} +listview { + padding: 0em 0.4em 0em 1em; + dynamic: false; + lines: 0; +} +element-text { + background-color: inherit; + text-color: inherit; +} +element selected normal { + background-color: @darkcyan; + text-color: @cyan; +} +element normal active { + text-color: @lightblue; +} +element normal urgent { + text-color: @lightred; +} +element alternate normal { + text-color: @blue; +} +element alternate active { + text-color: @lightblue; +} +element alternate urgent { + text-color: @cyan; +} +element selected active { + background-color: @lightblue; + text-color: @dark; +} +element selected urgent { + background-color: @darkcyan; + text-color: @cyan; +} +error-message { + expand: true; + background-color: @dark; + border-color: @darkcyan; + border: 2px; + padding: 1em; +} diff --git a/.config/sway/config b/.config/sway/config index 107b5f4..79817e3 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -3,8 +3,9 @@ # Por tenkuma, originalmente por Felipe Facundes # *** Variables | Variáveis *** -set $term kitty -set $wallpaper ~/.config/sway/wallpaper.jpg +set $term alacritty +set $wallpaper ~/.config/wallpapers/wallpaper.png +set $wallpaperHDMI ~/.config/wallpapers/wallpaperHDMI.jpg # set $wallpaper ~/.config/sway/lowcortisol.webp set $startup_sound ${HOME}/.config/startup.mp3 set $keepassdb ~/Cloud/Documents/Database.kdbx @@ -47,8 +48,8 @@ input * xkb_numlock enabled input "1739:52780:SYNA2BA6:00_06CB:CE2C_Touchpad" { dwt false tap enabled - #drag enabled -# tap_button_map lmr + #drag enabled # Uncomment this to hold drag until click. Remova o comentário para segurar 'arrastar e soltar' até o próximo clique. + #tap_button_map lmr tap_button_map lrm middle_emulation enabled natural_scroll enabled @@ -57,12 +58,15 @@ input "1739:52780:SYNA2BA6:00_06CB:CE2C_Touchpad" { } # Waybar -bar { - swaybar_command waybar - position top - mode hide - modifier $sup -} +# Uncomment this and enable IPC in waybar config to enable hide feature, it will appear whenever $sup is pressed. +# Remova o comentário e habilite IPC na configuração do waybar para habilitar a função de esconder, a barra aparece quando $sup é apertado. +# +#bar { +# swaybar_command waybar +# position top +# mode hide +# modifier $sup +#} # Run | Execute: swaymsg -t get_outputs # man sway-output @@ -72,12 +76,12 @@ bar { output eDP-1 { #res 1360x768 mode 1920x1080@60.008Hz - #Observe que o x-pos esquerdo do eDP1 é 1600 = 3200/2 e o y-pos inferior é 1020 + (1800/2) = 1920 = 0 + 1920 + # Observe que o x-pos esquerdo do eDP1 é 1600 = 3200/2 e o y-pos inferior é 1020 + (1800/2) = 1920 = 0 + 1920 #pos 0 1020 #subpixel rgb|bgr|vrgb|vbgr|none subpixel rgb #background|bg solid_color - #Pode ser "90", "180", "270" para rotação; ou "flipped", "flipped-90", "flipped-180", "flipped-270" para aplicar uma rotação e inverter, ou "normal" + # Pode ser "90", "180", "270" para rotação; ou "flipped", "flipped-90", "flipped-180", "flipped-270" para aplicar uma rotação e inverter, ou "normal" #transform 180 #dpms on #scale 2 @@ -162,6 +166,9 @@ bindsym $ctrl+$alt+Escape exec FOCUSED_APP_ID=$(swaymsg -t get_tree | jq '.. | s # Clipboard wayland bindsym $ctrl+$alt+c exec bash -c 'pkill -9 wofi; cliphist list | wofi --show dmenu | cliphist decode | wl-copy' +# Color picker | Seletor de Cores +bindsym $sup+C exec hyprpicker --autocopy + # Task Manager | Gerenciador de Janelas bindsym $ctrl+Escape exec $term -e htop @@ -459,23 +466,32 @@ exec paplay "$startup_sound" --volume=76767 & # Sets Xwayland scale | Seta escala do Xwayland exec xprop -root -f _XWAYLAND_GLOBAL_OUTPUT_SCALE 32c -set _XWAYLAND_GLOBAL_OUTPUT_SCALE 2 & -# dbus-update-activation-environment --systemd --all & -exec systemctl --user import-environment WAYLAND_DISPLAY & dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP XDG_SESSION_TYPE & - # https://github.com/swaywm/swaylock/issues/99 exec swayidle -w timeout 300 'imv-wayland -x -t 1 -f /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png & sleep 0.25 ; swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' timeout 315 'swaylock -f' before-sleep 'swaylock -f ; sleep 1' & # Clipboard Wayland | Área de transferência Wayland exec bash -c 'wl-paste --type image --watch cliphist store & wl-paste --type text --watch cliphist -max-dedupe-search 750 -max-items 750 store &' & -# KWallet (keyring) +#- KWallet (keyring) exec kwalletd6 +#!! In theory, the instructions below should work, but I couldn't get it working. +#!! Em teoria, as instruções abaixo devem funcionar, mas não consegui aplicá-las corretamente. +#! Removed from here because the correct way to set this up is with pam. On Arch, install kwallet-pam and add `session optional pam_kwallet.so` to the end of the `session` section of /etc/pam.d/login. +#! Removi daqui, já que o jeito correto de fazer isso é com o pam. No Arch, instale kwallet-pam e adicione `session optional pam_kwallet.so` no final da seção `session` de /etc/pam.d/login. +#! Gnome Keyring didn't work :( +#! Gnome Keyring não funcionou :( + +# Gnome keyring +#exec_always eval $(gnome-keyring-daemon --start --components=secrets,ssh) +#! Last resort to have a working keyring without giving my newborn to satan +#! Última tentativa de ter um keyring funcional sem entregar meu primogênito para satan # Xwayland xwayland enable # Wallpaper | Papel de parede -exec swaybg --image $wallpaper +exec swaybg --output eDP-1 --image $wallpaper --mode fill +exec swaybg --output HDMI-A-1 --image $wallpaperHDMI --mode fill # Fix for broken keyboard key | Gambiarra por causa da minha tecla defeituosa bindsym $alt+1 exec wtype "2" @@ -490,3 +506,7 @@ exec --no-startup-id soteria # Automation, apps will not be able to type in your behalf without this | Automação, apps não vão poder escrever por você sem isso exec --no-startup-id ydotoold + +# xdg-desktop-portal-wlr +# Needed for screencapture and screencast | Necessário para captura e gravação da tela +exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway diff --git a/.config/sway/outputs b/.config/sway/outputs index e9f8d31..ce2d5d0 100644 --- a/.config/sway/outputs +++ b/.config/sway/outputs @@ -1,8 +1,8 @@ -# Generated by nwg-displays on 2026-02-16 at 14:15:32. Do not edit manually. +# Generated by nwg-displays on 2026-04-26 at 10:25:47. Do not edit manually. output "HDMI-A-1" { mode 1440x900@59.887Hz - pos 2296 0 + pos 1920 0 transform normal scale 1.0 scale_filter nearest diff --git a/.config/sway/startup b/.config/sway/startup index 54d98ed..b983c71 100644 --- a/.config/sway/startup +++ b/.config/sway/startup @@ -1,3 +1,3 @@ -exec signal-desktop --password-store="kwallet6" +exec signal-desktop exec nextcloud exec transmission-qt -m diff --git a/.config/sway/wallpaper.jpg b/.config/sway/wallpaper.jpg index c3a2e0d..8840848 100644 Binary files a/.config/sway/wallpaper.jpg and b/.config/sway/wallpaper.jpg differ diff --git a/.config/sway/wallpaper2.jpg b/.config/sway/wallpaper2.jpg new file mode 100644 index 0000000..c3a2e0d Binary files /dev/null and b/.config/sway/wallpaper2.jpg differ diff --git a/.config/wallpapers/Cool Cat.jpg b/.config/wallpapers/Cool Cat.jpg new file mode 100644 index 0000000..8840848 Binary files /dev/null and b/.config/wallpapers/Cool Cat.jpg differ diff --git a/.config/wallpapers/Porter Robinson - Worlds.jpg b/.config/wallpapers/Porter Robinson - Worlds.jpg new file mode 100644 index 0000000..c3a2e0d Binary files /dev/null and b/.config/wallpapers/Porter Robinson - Worlds.jpg differ diff --git a/.config/wallpapers/Towers.jpg b/.config/wallpapers/Towers.jpg new file mode 100644 index 0000000..ec417ba Binary files /dev/null and b/.config/wallpapers/Towers.jpg differ diff --git a/.config/wallpapers/wallpaper.jpg b/.config/wallpapers/wallpaper.jpg new file mode 100644 index 0000000..8840848 Binary files /dev/null and b/.config/wallpapers/wallpaper.jpg differ diff --git a/.config/wallpapers/wallpaper.png b/.config/wallpapers/wallpaper.png new file mode 100644 index 0000000..01b93bc Binary files /dev/null and b/.config/wallpapers/wallpaper.png differ diff --git a/.config/wallpapers/wallpaper1.jpg b/.config/wallpapers/wallpaper1.jpg new file mode 100644 index 0000000..ec417ba Binary files /dev/null and b/.config/wallpapers/wallpaper1.jpg differ diff --git a/.config/wallpapers/wallpaper2.jpg b/.config/wallpapers/wallpaper2.jpg new file mode 100644 index 0000000..c3a2e0d Binary files /dev/null and b/.config/wallpapers/wallpaper2.jpg differ diff --git a/.config/wallpapers/wallpaperHDMI.jpg b/.config/wallpapers/wallpaperHDMI.jpg new file mode 100644 index 0000000..fe96547 Binary files /dev/null and b/.config/wallpapers/wallpaperHDMI.jpg differ diff --git a/.config/waybar/config b/.config/waybar/config index 40a8d4c..04fa9d5 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -5,7 +5,7 @@ [{ "bar_id": "bar-0", - "ipc": true, + // "ipc": true, "output": "eDP-1", // "layer": "top", "position": "bottom", // (top|bottom|left|right) @@ -22,7 +22,7 @@ "disable-scroll": true, //"all-outputs": true, //"format": "{name}", - "format": "[{name}] {icon}", + "format": "[{name}] {icon}", "format-icons": { // "1": "", // "2": "", @@ -187,7 +187,7 @@ }, { "bar_id": "bar-0", - "ipc": true, + // "ipc": true, "output": "HDMI-A-1", "position": "top", "height": 10, diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 470a647..a8664bb 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.css @@ -54,8 +54,8 @@ nord15 #b48ead } window#waybar { - /* background:rgba (0, 0, 0, 0.9); */ - background: rgba(59, 69, 83, 0.99); + background:rgba (0, 0, 0, 0.6); + /* background: rgba(59, 69, 83, 0.99); */ } #workspaces button { diff --git a/README.md b/README.md index cf45610..a2b07da 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,29 @@ # Adrian's dotfiles +```ascii + _-====-__-======-__-========-_____-============-__ + _( _) + OO( _/Adrian's Dotfiles/_ )_ + 0 (_ ASCII by Donovan Baker _) + o0 (_ _) + o '=-___-===-_____-========-___________-===-dwb-=' + .o _________ + . ______ ______________ | | _____ + _()_||__|| ________ | | |_________| __||___||__ + (BNSF 1995| | | | | __Y______00_| |_ _| + /-OO----OO""="OO--OO"="OO--------OO"="OO-------OO"="OO-------OO"=P +##################################################################### +``` This is the repository for my dotfiles for Sway, forked from [Flipe Facundes](https://github.com/felipefacundes/dotfiles). +## Setting up +> [!IMPORTANT] +> I use my laptop in a two monitor setup, if you don't have a built-in monitor (or it's output name is anything else than eDP-1) you'll only see the secondary layout in your HDMI output, in that case, please go to Waybar config and change the output of the first bar and disable/change the output of the second. +> + - Install [the dependencies](#Dependencies) + - Clone or download the repo as a zip file + - Copy `.config` to your `~/.config`, make sure to backup any important stuff that would be overwritten! + - If you want the ly-dm config, copy `.config/ly/config.ini` to `/etc/ly/config.ini` + ## Dependencies > [!IMPORTANT] @@ -9,40 +32,56 @@ This is the repository for my dotfiles for Sway, forked from [Flipe Facundes](ht The dotfiles configuration references a lot of packages that may not be installed on your system: ``` -swayfx swayidle swaybg waybar rofi wlrctl cliphist lights ly kwalletd6 rofi-power-menu grim wl-clipboard xorg-xprop libpulse dunst rofi-pulse-select soteria keepmenu python-pykeepass ydotool +swayfx swayidle swaybg waybar rofi wlrctl cliphist light ly rofi-power-menu grim wl-clipboard xorg-xprop libpulse dunst rofi-pulse-select soteria keepmenu python-pykeepass ydotool ```
Dependency table -| Name | Reason | -|-------------------|-------------------------------------------------------------------------------------------------------------------| -| swayfx | Window manager ¯\_(ツ)_/¯ | -| swayidle | Puts your computer to sleep after certain amount of time. | -| swaybg | Wallpaper util | -| waybar | Status bar | -| rofi | Application/power menu, also used for switching audio in/outputs and accessing KeePass DBs. | -| wlrctl | Moving the cursor with keyboard keybinds. | -| cliphist | Waybar's "[Clipboard]" button uses to show clipboard history. | -| lights | Backlight control | -| ly | Login screen | -| kwalletd6 | Keyring | -| rofi-power-menu | Power options provider for Rofi | -| grim | Used to select screen sections for screenshots, only needed for selection screenshot. | -| wl-clipboard | Provides control over Wayland clipboard. | -| xorg-xprop | Used to set XWayland display scale. | -| libpulse | | -| dunst | Delivers notifications, some apps (Electron-based) will hang when you receive a notification if it's not present. | -| rofi-pulse-select | Provides audio in/output for Rofi. | -| soteria | Polkit, asks for elevation when needed. Akin to Windows' ACL. | -| keepmenu | KeePass provider for Rofi | -| python-pykeepass | Dependency of KeepMenu | -| ydotool | KeepMenu uses this to type passwords. | +| Name | Reason | +|---------------------------|-------------------------------------------------------------------------------------------------------------------| +| swayfx | Window manager ¯\_(ツ)_/¯ | +| swayidle | Puts your computer to sleep after certain amount of time. | +| swaybg | Wallpaper util | +| waybar | Status bar | +| rofi | Application/power menu, also used for switching audio in/outputs and accessing KeePass DBs. | +| wlrctl | Moving the cursor with keyboard keybinds. | +| cliphist | Waybar's "[Clipboard]" button uses to show clipboard history. | +| light | Backlight control | +| ly | Login screen | +| kwalletd6 / gnome-keyring | Keyring (manages your passwords and keys) | +| rofi-power-menu | Power options provider for Rofi | +| grim | Used to select screen sections for screenshots, only needed for selection screenshot. | +| wl-clipboard | Provides control over Wayland clipboard. | +| xorg-xprop | Used to set XWayland display scale. | +| libpulse | | +| dunst | Delivers notifications, some apps (Electron-based) will hang when you receive a notification if it's not present. | +| rofi-pulse-select | Provides audio in/output for Rofi. | +| soteria | Polkit, asks for elevation when needed. Akin to Windows' ACL. | +| keepmenu | KeePass provider for Rofi | +| python-pykeepass | Dependency of KeepMenu | +| ydotool | KeepMenu uses this to type passwords. |
# SwayWM -image + +image + +
+ Older looks + + You can find those older versions in the [releases](https://github.com/adrianvic/dotfiles/releases), please refer to the version's README in order to have a stable experience. Older dotfiles may be incomplete or have issues, since I'm improving it for my own use constantly. + + ## v3 + image + + ## v2 + image + + ## v1 + image +
## Changing language This is not a tutorial on changing your system language, this will only change the language of the configuration strings. @@ -56,7 +95,7 @@ Edit `.config/sway/startup` and add `exec yourapplication`.
Default modifiers -- `Mod` is Super by default. Shows waybar while pressed. +- `Mod` is Super by default. ~Shows waybar while pressed~ disabled, you can enable that behaviour by uncommenting some lines in the sway/waybar config. - `Menu` is the context menu button, generally only present in full-size keyboards.
@@ -127,6 +166,42 @@ In .config/sway/config replace XX from the line import strings_XX to a language - `Alt+Shift+Apostrophe` Change audio input (source) # ly display manager -image +
+ Ly Screenshot + image +
You can also replace your display manager with ly, a TUI display manager. The config file in `.config/ly/` will not work, you have to copy it to `/etc/ly/config.ini` after installing the package `ly` and enabling the systemd service (also, disable your current DM). + +# Wallpapers +The config files contain my curated list of wallpapers. +
+ Wallpaper list + + ## Yuri Plisetsky + image + + ## Victor Nikiforov + image + + ## CoolCat! + image + + ### Description + Stunning cat sitting on a rock, with a beautiful view of the sky - which I **always** love. I have this one since 2022 and been using it ocasionally. + + ## Towers + image + + ### Description + Found this one in a OSU beatmap (this one, [Dimrain47 - Cloud Control](https://osu.ppy.sh/beatmapsets/1550498#osu/3797111)), couldn't find anything useful with reverse image search. God, these towers look gorgeous!!! + + ## Worlds + image + + ### Author + Porter Robinson + + ### Description + I struggled to even find this low resolution Worlds wallpaper, it's a shame! +