Compare commits
20 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 486f78f13a | |||
| 1fafda2309 | |||
| f0fa61ff04 | |||
| bc2c63ec4c | |||
| cd846de220 | |||
| f254846995 | |||
|
|
a30b3ad70e |
||
|
|
ad335e55ca |
||
|
|
7329fee062 |
||
| b493f7602f | |||
| 9c3a67ceca | |||
| 3bf16f9f85 | |||
| 9dff6a3717 | |||
| cc63ec1b9c | |||
| 92e55d12b9 | |||
| 3316fd2009 | |||
|
|
6ce1083a52 |
||
| f90759931f | |||
| 4bb6f13c74 | |||
| c8d1857c75 |
|
|
@ -1 +1 @@
|
|||
@theme "asidebar.rasi"
|
||||
@theme "asidebar-yuri-blue.rasi"
|
||||
|
|
|
|||
110
.config/rofi/themes/asidebar-worlds-porter-robinson.rasi
Normal file
|
|
@ -0,0 +1,110 @@
|
|||
/**
|
||||
* ROFI Color theme
|
||||
* User: tenkuma
|
||||
* Copyright: Dave Davenport
|
||||
*/
|
||||
|
||||
* {
|
||||
text-color: #87ceeb;
|
||||
background-color: rgba(7, 4, 4, 0);
|
||||
dark: #1c1c1c;
|
||||
|
||||
// Black
|
||||
black: #000000F1;
|
||||
lightblack: #101010;
|
||||
|
||||
// Red
|
||||
red: #cd5c5c;
|
||||
lightred: #cc5533;
|
||||
|
||||
// Blue
|
||||
blue: #6495ed;
|
||||
lightblue: #87ceeb;
|
||||
|
||||
// Magenta
|
||||
magenta: #DE87CF;
|
||||
lightmagenta: #996600;
|
||||
darkmagenta: #3D2539;
|
||||
|
||||
// Cyan
|
||||
cyan: #b0c4de;
|
||||
lightcyan: #b0c4de;
|
||||
|
||||
// White
|
||||
white: #ffffff;
|
||||
lightwhite: #dddcdcff;
|
||||
|
||||
// Bold, Italic, Underline
|
||||
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: @darkmagenta;
|
||||
text-color: @magenta;
|
||||
}
|
||||
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: @lightred;
|
||||
}
|
||||
element selected active {
|
||||
background-color: @lightblue;
|
||||
text-color: @dark;
|
||||
}
|
||||
element selected urgent {
|
||||
background-color: @lightred;
|
||||
text-color: @dark;
|
||||
}
|
||||
error-message {
|
||||
expand: true;
|
||||
background-color: red;
|
||||
border-color: darkred;
|
||||
border: 2px;
|
||||
padding: 1em;
|
||||
}
|
||||
104
.config/rofi/themes/asidebar-yuri-blue.rasi
Normal 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;
|
||||
}
|
||||
|
|
@ -3,11 +3,18 @@
|
|||
# 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
|
||||
include strings_pt
|
||||
include workspaces
|
||||
include outputs
|
||||
set $alt Mod1
|
||||
set $sup Mod4
|
||||
set $ctrl Control
|
||||
|
||||
# *** SwayFX ***
|
||||
# /!\ COMMENT OUT IF YOU'RE USING REGULAR SWAY, THIS IS FOR SWAYFX
|
||||
|
|
@ -16,13 +23,13 @@ blur enable
|
|||
shadows enable
|
||||
corner_radius 0
|
||||
blur_noise .2
|
||||
blur_brightness .5
|
||||
blur_contrast .8
|
||||
blur_brightness 1
|
||||
blur_contrast 1
|
||||
blur_saturation 1
|
||||
blur_radius 1
|
||||
|
||||
layer_effects "waybar" blur enable; shadows enable;
|
||||
layer_effects "notifications" blur enable; shadows enable;
|
||||
layer_effects "waybar" blur disable; shadows disable;
|
||||
#layer_effects "notifications" blur enable; shadows enable;
|
||||
|
||||
# *** Startup | Inicialização ***
|
||||
include startup
|
||||
|
|
@ -41,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
|
||||
|
|
@ -50,6 +57,17 @@ input "1739:52780:SYNA2BA6:00_06CB:CE2C_Touchpad" {
|
|||
accel_profile adaptive
|
||||
}
|
||||
|
||||
# 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
|
||||
#}
|
||||
|
||||
# Run | Execute: swaymsg -t get_outputs
|
||||
# man sway-output
|
||||
# To get the monitors IDs
|
||||
|
|
@ -58,12 +76,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 <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
|
||||
|
|
@ -73,14 +91,11 @@ output eDP-1 {
|
|||
focus_follows_mouse no
|
||||
focus_on_window_activation none
|
||||
|
||||
set $gaps_inner_default 5
|
||||
set $gaps_outer_default 5
|
||||
set $gaps_inner_default 2
|
||||
set $gaps_outer_default 2
|
||||
gaps inner $gaps_inner_default
|
||||
gaps outer $gaps_outer_default
|
||||
|
||||
set $alt Mod1
|
||||
set $sup Mod4
|
||||
set $ctrl Control
|
||||
set $paper bash -c 'swww img "$(find ${HOME}/Pictures/Wallpapers/ -name "*[jJpP][nNpP][gG]" | shuf -n1)" &'
|
||||
|
||||
# To start in tabbed mode, like on OpenBox, you can set: workspace_layout default|stacking|tabbed
|
||||
|
|
@ -105,13 +120,13 @@ font pango:"UbuntuMono Nerd Font" 10
|
|||
#font pango:monospace 0.001
|
||||
#titlebar_padding 1
|
||||
#titlebar_border_thickness 0
|
||||
#default_floating_border normal 4
|
||||
default_floating_border normal 0
|
||||
|
||||
# mode hide
|
||||
hide_edge_borders smart
|
||||
#hide_edge_borders smart
|
||||
# hide_edge_borders both
|
||||
# hide_edge_borders --i3 both
|
||||
# hide_edge_borders --i3 smart
|
||||
#hide_edge_borders --i3 both
|
||||
hide_edge_borders --i3 smart
|
||||
|
||||
floating_modifier Mod1
|
||||
|
||||
|
|
@ -129,12 +144,14 @@ focus_on_window_activation focus
|
|||
#set_from_resource $bg background
|
||||
|
||||
# classe borda fundo texto ind. borda filho
|
||||
client.focused_inactive #4f4f4fA0 #303030F0 #FFFFFFFF #aeff00A0 #303030F0
|
||||
client.focused #000000D0 #00000DF0 #ffffffff #ffcf7cD0 #00000DF0
|
||||
client.unfocused #000000A0 #000000C0 #ffffffff #ffcf7cA0 #000000C0
|
||||
client.focused_inactive #000000A0 #000000C0 #FFFFFFFF #aeff00A0 #303030F0
|
||||
client.focused #000000A0 #00000DF0 #ffffffff #ffcf7cD0 #00000DF0
|
||||
client.unfocused #000000A0 #000000A0 #ffffffff #ffcf7cA0 #000000C0
|
||||
#client.urgent #2f343a #900000 #ffffff #900000 #900000
|
||||
#client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||
|
||||
titlebar_border_thickness 3
|
||||
|
||||
#shock#f700ff | #abacate#aeff00 | #semisalmon~laranja~fosco#ffcf7c
|
||||
|
||||
# *** Shortcuts | Atalhos do Teclado ***
|
||||
|
|
@ -149,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
|
||||
|
||||
|
|
@ -197,7 +217,7 @@ bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_SINK@ toggle
|
|||
#bindsym XF86AudioMicMute exec "amixer set Capture toggle"
|
||||
|
||||
# Pavucontrol
|
||||
bindsym $sup+p exec pavucontrol
|
||||
bindsym $sup+p exec $term -e pulsemixer
|
||||
|
||||
# Brighteness | Brilho
|
||||
bindsym XF86MonBrightnessUp exec brightnessctl set 10%+
|
||||
|
|
@ -277,9 +297,9 @@ bindsym $sup+Space exec rofi -no-lazy-grab -show drun -modi drun
|
|||
bindsym $sup+l exec swaylock
|
||||
|
||||
# Screenshot | Captura de tela
|
||||
bindsym $ctrl+Shift+Print exec bash -c 'grim -t png - | wl-copy && wl-paste > "${HOME}/Pictures/Capture/$(date +"%Y-%m-%d %H:%M:%S") - Capture.png"'
|
||||
bindsym $ctrl+Print exec bash -c 'grim -t png | wl-copy'
|
||||
bindsym Print exec bash -c 'slurp | grim -g - - | wl-copy'
|
||||
#bindsym $ctrl+Shift+Print exec bash -c 'grim -t png - | wl-copy && wl-paste > "${HOME}/Pictures/Capture/$(date +"%Y-%m-%d %H:%M:%S") - Capture.png"'
|
||||
bindsym Print exec bash -c "grim -o $(swaymsg -t get_outputs | jq -r '.[] | select(.focused) | .name') - | wl-copy"
|
||||
bindsym $ctrl+Shift+Print exec bash -c 'slurp | grim -g - - | wl-copy'
|
||||
|
||||
# Screen recording | Gravar tela
|
||||
#bindsym $ctrl+$alt+r exec bash -c '$term -e ffmpeg -video_size 1360x768 -framerate 25 -f x11grab -i :0.0 -f pulse -ac 2 -i default ${HOME}/Videos/Tela_$(date +%d-%m-%Y_%H:%M:%S).mkv'
|
||||
|
|
@ -334,7 +354,7 @@ bindsym $sup+Shift+8 move container to workspace number $ws8
|
|||
bindsym $sup+Shift+9 move container to workspace number $ws9
|
||||
bindsym $sup+Shift+0 move container to workspace number $ws10
|
||||
|
||||
bindsym $sup+d workspace back_and_forth
|
||||
#bindsym $sup+d workspace back_and_forth
|
||||
|
||||
# *** Window Modes | Modos da janela ***
|
||||
# On i3 the floating mode would be like:
|
||||
|
|
@ -446,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"
|
||||
|
|
@ -477,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
|
||||
|
|
|
|||
BIN
.config/sway/lowcortisol.webp
Normal file
|
After Width: | Height: | Size: 30 KiB |
20
.config/sway/outputs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# 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 1920 0
|
||||
transform normal
|
||||
scale 1.0
|
||||
scale_filter nearest
|
||||
adaptive_sync off
|
||||
dpms on
|
||||
}
|
||||
output "eDP-1" {
|
||||
mode 1920x1080@60.008Hz
|
||||
pos 0 0
|
||||
transform normal
|
||||
scale 1.0
|
||||
scale_filter nearest
|
||||
adaptive_sync off
|
||||
dpms on
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
exec signal-desktop
|
||||
exec nextcloud
|
||||
exec transmission-qt -m
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.1 MiB After Width: | Height: | Size: 93 KiB |
BIN
.config/sway/wallpaper1.jpg
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
.config/sway/wallpaper2.jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
4
.config/sway/workspaces
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Generated by nwg-displays on 2026-02-16 at 12:20:30. Do not edit manually.
|
||||
|
||||
workspace 1 output eDP-1
|
||||
workspace 2 output HDMI-A-1
|
||||
BIN
.config/wallpapers/Cool Cat.jpg
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
.config/wallpapers/Porter Robinson - Worlds.jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
.config/wallpapers/Towers.jpg
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
.config/wallpapers/wallpaper.jpg
Normal file
|
After Width: | Height: | Size: 93 KiB |
BIN
.config/wallpapers/wallpaper.png
Normal file
|
After Width: | Height: | Size: 2.7 MiB |
BIN
.config/wallpapers/wallpaper1.jpg
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
BIN
.config/wallpapers/wallpaper2.jpg
Normal file
|
After Width: | Height: | Size: 138 KiB |
BIN
.config/wallpapers/wallpaperHDMI.jpg
Normal file
|
After Width: | Height: | Size: 459 KiB |
|
|
@ -1,35 +1,39 @@
|
|||
// 😉 Config created by Felipe Facundes
|
||||
// Telegram: @FeFacundes
|
||||
// Telegram Group: t.me/winehq_linux
|
||||
// 😅 Dúvidas:https://github.com/Alexays/Waybar/wiki/Module:-Custom
|
||||
// By tenkuma
|
||||
// Originally by Felipe Facundes
|
||||
// Documentation: https://github.com/Alexays/Waybar/wiki/Module:-Custom
|
||||
// vim:ft=json
|
||||
|
||||
{
|
||||
// "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)
|
||||
[{
|
||||
"bar_id": "bar-0",
|
||||
// "ipc": true,
|
||||
"output": "eDP-1",
|
||||
// "layer": "top",
|
||||
"position": "bottom", // (top|bottom|left|right)
|
||||
"height": 10, // remove for auto height
|
||||
// "width": 1280,
|
||||
"spacing": 0, // Gaps between modules
|
||||
// Choose the order of the modules
|
||||
"modules-left": ["custom/menu", "sway/workspaces", "sway/window"], //"sway/mode", "sway/scratchpad", "sway/window"
|
||||
//"modules-center": ["sway/window"],
|
||||
"modules-right": ["custom/playerctl2", "pulseaudio", "custom/wf-recorder2", "network", "bluetooth", "custom/gpu", "idle_inhibitor", "cpu", "memory", "disk", "temperature", "battery", "custom/pacman", "custom/weather", "clock", "custom/clipboard", "tray", "custom/poweroff"],
|
||||
// "modules-right": ["custom/playerctl2", "custom/wf-recorder2", "network", "pulseaudio", "bluetooth", "custom/gpu", "idle_inhibitor", "cpu", "memory", "disk", "temperature", "battery", "custom/pacman", "custom/weather", "clock", "custom/clipboard", "tray", "custom/poweroff"],
|
||||
"modules-right": ["network", "pulseaudio", "bluetooth", "custom/gpu", "idle_inhibitor", "cpu", "memory", "disk", "temperature", "battery", "clock", "custom/clipboard", "tray"],
|
||||
// Modules configuration
|
||||
// "sway/workspaces": {
|
||||
// "disable-scroll": true,
|
||||
// "all-outputs": true,
|
||||
// "format": "{name}: {icon}",
|
||||
// "format-icons": {
|
||||
// "1": "",
|
||||
// "2": "",
|
||||
// "3": "",
|
||||
// "4": "",
|
||||
// "5": "",
|
||||
// "urgent": "",
|
||||
// "focused": "",
|
||||
// "default": ""
|
||||
// }
|
||||
// },
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
//"all-outputs": true,
|
||||
//"format": "{name}",
|
||||
"format": "[{name}] {icon}",
|
||||
"format-icons": {
|
||||
// "1": "",
|
||||
// "2": "",
|
||||
// "3": "",
|
||||
// "4": "",
|
||||
// "5": "",
|
||||
// "urgent": "",
|
||||
"focused": "■",
|
||||
"default": "□"
|
||||
}
|
||||
},
|
||||
"sway/mode": {
|
||||
"format": "<span style=\"italic\">{}</span>"
|
||||
},
|
||||
|
|
@ -123,8 +127,8 @@
|
|||
"tooltip-format": "{ifname} via {gwaddr}",
|
||||
"format-linked": "{ifname} (No IP) LNK",
|
||||
"format-disconnected": "Disconnected", //⚠
|
||||
"format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||
"on-click-right": "alacritty -e iwctl"
|
||||
// "format-alt": "{ifname}: {ipaddr}/{cidr}",
|
||||
"on-click-right": "kitty -e iwctl"
|
||||
},
|
||||
|
||||
"pulseaudio": {
|
||||
|
|
@ -150,7 +154,7 @@
|
|||
"disk": {
|
||||
"interval": 30,
|
||||
"format": "[ (/) {used}/{total} ]",
|
||||
"format-alt": "Free: {}%",
|
||||
//"format-alt": "Free: {}%",
|
||||
"tooltip-format": "{used} used\n{free} free\n{total} total",
|
||||
"on-click-right": "pcmanfm",
|
||||
"on-click-middle": "kitty -e watch df -h /",
|
||||
|
|
@ -166,7 +170,7 @@
|
|||
"format" : "[CLIPBOARD]",
|
||||
"tooltip": false, //
|
||||
"on-click": "cliphist list | rofi -dmenu | cliphist decode | wl-copy",
|
||||
"on-click-right": "cliphist list | dmenu | cliphist decode | wl-copy",
|
||||
// "on-click-right": "cliphist list | dmenu | cliphist decode | wl-copy",
|
||||
"on-click-middle": "cliphist wipe",
|
||||
"signal": 8
|
||||
},
|
||||
|
|
@ -180,4 +184,29 @@
|
|||
"exec-if": "exit 0",
|
||||
"on-click": "swaynag -t warning -m 'Power Options:' -b 'Exit' 'loginctl terminate-session self' -b 'LockScreen' 'swaylock' -b 'Suspend' 'systemctl suspend; swaylock' -b 'Reboot' 'systemctl -i reboot' -b 'Poweroff' 'openrc-shutdown -p now && systemctl shutdown -h now'"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"bar_id": "bar-0",
|
||||
// "ipc": true,
|
||||
"output": "HDMI-A-1",
|
||||
"position": "top",
|
||||
"height": 10,
|
||||
"spacing": 0,
|
||||
"modules-left": ["sway/workspaces"],
|
||||
"modules-right": ["sway/window"],
|
||||
|
||||
"sway/workspaces": {
|
||||
"disable-scroll": true,
|
||||
"format": "[{name}] {icon}",
|
||||
"format-icons": {
|
||||
// "1": "",
|
||||
// "2": "",
|
||||
// "3": "",
|
||||
// "4": "",
|
||||
// "5": "",
|
||||
// "urgent": "",
|
||||
"focused": "■",
|
||||
"default": "□"
|
||||
}
|
||||
}
|
||||
}]
|
||||
|
|
|
|||
|
|
@ -41,23 +41,25 @@ nord15 #b48ead
|
|||
/* Reset all styles */
|
||||
|
||||
* {
|
||||
color: #FFFFFF; /* #FFFFFF; */
|
||||
color: #9cb7dc; /* #FFFFFF; */
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
padding: 0 0;
|
||||
padding: 1px 0;
|
||||
font-family: 'UbuntuMono Nerd Font';
|
||||
font-size: 15px;
|
||||
margin-right: 5px;
|
||||
margin-left: 5px;
|
||||
padding-bottom:3px;
|
||||
}
|
||||
padding-bottom: 2px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
window#waybar {
|
||||
background:rgba (0, 0, 0, 0.8);
|
||||
background:rgba (0, 0, 0, 0.6);
|
||||
/* background: rgba(59, 69, 83, 0.99); */
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
padding: 2px 0px;
|
||||
/* padding: 2px 0px; */
|
||||
border-bottom: 0px;
|
||||
color: #FFFFFF;
|
||||
border-color: #FFFFFF;
|
||||
|
|
@ -74,7 +76,7 @@ window#waybar {
|
|||
}
|
||||
|
||||
#clock, #battery, #cpu, #memory, #idle_inhibitor, #temperature, #custom-keyboard-layout, #language, #keyboard-state, #backlight, #bluetooth, #network, #pulseaudio, #mode, #disk, #tray, #window, #custom-menu, #custom-gpu, #custom-clipboard, #custom-uptime, #custom-pacman, #custom-playerctl2, #custom-wf-recorder2, #custom-weather, #custom-weather2, #custom-poweroff {
|
||||
padding: 0 3px;
|
||||
padding: 0 4px;
|
||||
border-bottom: 0px;
|
||||
border-style: solid;
|
||||
}
|
||||
|
|
|
|||
129
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 <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/bf0b98b5-8246-4737-bcf2-cf37287cc7b1" />
|
||||
|
||||
<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.
|
||||
- `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>
|
||||
|
|
|
|||