diff --git a/.config/rofi/config.rasi b/.config/rofi/config.rasi index 4d1b74f..a35cb01 100644 --- a/.config/rofi/config.rasi +++ b/.config/rofi/config.rasi @@ -1 +1 @@ -@theme "asidebar-yuri-blue.rasi" +@theme "asidebar-worlds-porter-robinson.rasi" diff --git a/.config/rofi/themes/asidebar-yuri-blue.rasi b/.config/rofi/themes/asidebar-yuri-blue.rasi deleted file mode 100644 index 5803dd5..0000000 --- a/.config/rofi/themes/asidebar-yuri-blue.rasi +++ /dev/null @@ -1,104 +0,0 @@ -/** - * 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 79817e3..107b5f4 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -3,9 +3,8 @@ # Por tenkuma, originalmente por Felipe Facundes # *** Variables | Variáveis *** -set $term alacritty -set $wallpaper ~/.config/wallpapers/wallpaper.png -set $wallpaperHDMI ~/.config/wallpapers/wallpaperHDMI.jpg +set $term kitty +set $wallpaper ~/.config/sway/wallpaper.jpg # set $wallpaper ~/.config/sway/lowcortisol.webp set $startup_sound ${HOME}/.config/startup.mp3 set $keepassdb ~/Cloud/Documents/Database.kdbx @@ -48,8 +47,8 @@ input * xkb_numlock enabled input "1739:52780:SYNA2BA6:00_06CB:CE2C_Touchpad" { dwt false tap enabled - #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 + #drag enabled +# tap_button_map lmr tap_button_map lrm middle_emulation enabled natural_scroll enabled @@ -58,15 +57,12 @@ input "1739:52780:SYNA2BA6:00_06CB:CE2C_Touchpad" { } # Waybar -# 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 -#} +bar { + swaybar_command waybar + position top + mode hide + modifier $sup +} # Run | Execute: swaymsg -t get_outputs # man sway-output @@ -76,12 +72,12 @@ input "1739:52780:SYNA2BA6:00_06CB:CE2C_Touchpad" { 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 @@ -166,9 +162,6 @@ 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 @@ -466,32 +459,23 @@ 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 --output eDP-1 --image $wallpaper --mode fill -exec swaybg --output HDMI-A-1 --image $wallpaperHDMI --mode fill +exec swaybg --image $wallpaper # Fix for broken keyboard key | Gambiarra por causa da minha tecla defeituosa bindsym $alt+1 exec wtype "2" @@ -506,7 +490,3 @@ 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 ce2d5d0..e9f8d31 100644 --- a/.config/sway/outputs +++ b/.config/sway/outputs @@ -1,8 +1,8 @@ -# Generated by nwg-displays on 2026-04-26 at 10:25:47. Do not edit manually. +# Generated by nwg-displays on 2026-02-16 at 14:15:32. Do not edit manually. output "HDMI-A-1" { mode 1440x900@59.887Hz - pos 1920 0 + pos 2296 0 transform normal scale 1.0 scale_filter nearest diff --git a/.config/sway/startup b/.config/sway/startup index b983c71..54d98ed 100644 --- a/.config/sway/startup +++ b/.config/sway/startup @@ -1,3 +1,3 @@ -exec signal-desktop +exec signal-desktop --password-store="kwallet6" exec nextcloud exec transmission-qt -m diff --git a/.config/sway/wallpaper.jpg b/.config/sway/wallpaper.jpg index 8840848..c3a2e0d 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 deleted file mode 100644 index c3a2e0d..0000000 Binary files a/.config/sway/wallpaper2.jpg and /dev/null differ diff --git a/.config/wallpapers/Cool Cat.jpg b/.config/wallpapers/Cool Cat.jpg deleted file mode 100644 index 8840848..0000000 Binary files a/.config/wallpapers/Cool Cat.jpg and /dev/null differ diff --git a/.config/wallpapers/Porter Robinson - Worlds.jpg b/.config/wallpapers/Porter Robinson - Worlds.jpg deleted file mode 100644 index c3a2e0d..0000000 Binary files a/.config/wallpapers/Porter Robinson - Worlds.jpg and /dev/null differ diff --git a/.config/wallpapers/Towers.jpg b/.config/wallpapers/Towers.jpg deleted file mode 100644 index ec417ba..0000000 Binary files a/.config/wallpapers/Towers.jpg and /dev/null differ diff --git a/.config/wallpapers/wallpaper.jpg b/.config/wallpapers/wallpaper.jpg deleted file mode 100644 index 8840848..0000000 Binary files a/.config/wallpapers/wallpaper.jpg and /dev/null differ diff --git a/.config/wallpapers/wallpaper.png b/.config/wallpapers/wallpaper.png deleted file mode 100644 index 01b93bc..0000000 Binary files a/.config/wallpapers/wallpaper.png and /dev/null differ diff --git a/.config/wallpapers/wallpaper1.jpg b/.config/wallpapers/wallpaper1.jpg deleted file mode 100644 index ec417ba..0000000 Binary files a/.config/wallpapers/wallpaper1.jpg and /dev/null differ diff --git a/.config/wallpapers/wallpaper2.jpg b/.config/wallpapers/wallpaper2.jpg deleted file mode 100644 index c3a2e0d..0000000 Binary files a/.config/wallpapers/wallpaper2.jpg and /dev/null differ diff --git a/.config/wallpapers/wallpaperHDMI.jpg b/.config/wallpapers/wallpaperHDMI.jpg deleted file mode 100644 index fe96547..0000000 Binary files a/.config/wallpapers/wallpaperHDMI.jpg and /dev/null differ diff --git a/.config/waybar/config b/.config/waybar/config index 04fa9d5..40a8d4c 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 a8664bb..470a647 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.6); - /* background: rgba(59, 69, 83, 0.99); */ + /* background:rgba (0, 0, 0, 0.9); */ + background: rgba(59, 69, 83, 0.99); } #workspaces button { diff --git a/README.md b/README.md index a2b07da..cf45610 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,6 @@ # 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] @@ -32,56 +9,40 @@ 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 light ly 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 lights ly kwalletd6 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. | -| 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. | +| 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. |
# SwayWM - -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 -
+image ## Changing language This is not a tutorial on changing your system language, this will only change the language of the configuration strings. @@ -95,7 +56,7 @@ Edit `.config/sway/startup` and add `exec yourapplication`.
Default modifiers -- `Mod` is Super by default. ~Shows waybar while pressed~ disabled, you can enable that behaviour by uncommenting some lines in the sway/waybar config. +- `Mod` is Super by default. Shows waybar while pressed. - `Menu` is the context menu button, generally only present in full-size keyboards.
@@ -166,42 +127,6 @@ 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 -
- Ly Screenshot - image -
+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! -