Compare commits

...

13 commits

18 changed files with 252 additions and 53 deletions

View file

@ -1 +1 @@
@theme "asidebar-worlds-porter-robinson.rasi"
@theme "asidebar-yuri-blue.rasi"

View file

@ -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;
}

View file

@ -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 <color> 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

View file

@ -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

View file

@ -1,3 +1,3 @@
exec signal-desktop --password-store="kwallet6"
exec signal-desktop
exec nextcloud
exec transmission-qt -m

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 93 KiB

Before After
Before After

BIN
.config/sway/wallpaper2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 459 KiB

View file

@ -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,

View file

@ -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 {

129
README.md
View file

@ -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 <kwalletd6 or gnome-keyring> rofi-power-menu grim wl-clipboard xorg-xprop libpulse dunst rofi-pulse-select soteria keepmenu python-pykeepass ydotool
```
<details>
<summary>Dependency table</summary>
| 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. |
</details>
# SwayWM
<img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/cab0d46d-5e81-4aa5-9487-4ca52c719ebc" />
<img alt="image" src="https://i.postimg.cc/J0LQMNnD/signal-2026-05-17-143009-002.jpg"/>
<details>
<summary>Older looks</summary>
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
<img alt="image" src="https://github.com/user-attachments/assets/9a8433fc-e737-423d-aa55-97eb0e033f84" />
## v2
<img alt="image" src="https://github.com/user-attachments/assets/ad93ce38-d1f0-4511-96f7-ff4e7865ce0b" />
## v1
<img alt="image" src="https://github.com/user-attachments/assets/fa54e217-c532-430e-9918-038688de85e1" />
</details>
## 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`.
<details>
<summary>Default modifiers</summary>
- `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.
</details>
@ -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
<img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/5e8a8ab3-e872-4a85-b248-202ba8d9a36b" />
<details>
<summary>Ly Screenshot</summary>
<img width="1920" height="1080" alt="image" src="https://github.com/user-attachments/assets/5e8a8ab3-e872-4a85-b248-202ba8d9a36b" />
</details>
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.
<details>
<summary>Wallpaper list</summary>
## Yuri Plisetsky
<img alt="image" src=".config/wallpapers/wallpaper.png"/>
## Victor Nikiforov
<img alt="image" src=".config/wallpapers/wallpaperHDMI.jpg"/>
## CoolCat!
<img alt="image" src=".config/wallpapers/Cool Cat.jpg"/>
### 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
<img alt="image" src=".config/wallpapers/Towers.jpg"/>
### 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
<img alt="image" src=".config/wallpapers/Porter Robinson - Worlds.jpg"/>
### Author
Porter Robinson
### Description
I struggled to even find this low resolution Worlds wallpaper, it's a shame!
</details>