Monday, April 14, 2025

i3wm

 


✅ Kako koristiti Rofi umesto dmenu u i3

1. Instaliraj Rofi

Ako već nisi:

sudo apt install rofi

ili za Arch-based:

sudo pacman -S rofi

2. Izmeni i3 konfiguraciju

Otvori ~/.config/i3/config ili ~/.i3/config i pronađi liniju poput:

bindsym $mod+d exec dmenu_run

Zameni je sa:

bindsym $mod+d exec rofi -show drun

drun koristi .desktop fajlove iz /usr/share/applications i ~/.local/share/applications, slično kao standardni app launcher.

Ako želiš više Rofi opcija (kao window switcher, ssh launcher itd.), evo primera:

bindsym $mod+Shift+d exec rofi -show run
bindsym $mod+Tab exec rofi -show window bindsym $mod+Shift+s exec rofi -show ssh

🎨 Primer picom.conf fajla (za transparenciju, senke...)

Putanja: ~/.config/picom/picom.conf

backend = "glx";
vsync = true; corner-radius = 8; round-borders = 1; shadow = true; shadow-radius = 10; shadow-offset-x = -5; shadow-offset-y = -5; shadow-opacity = 0.5; shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "class_g = 'i3-frame'" ]; fading = true; fade-delta = 4; fade-in-step = 0.03; fade-out-step = 0.03; opacity-rule = [ "90:class_g = 'URxvt'", "90:class_g = 'Alacritty'", "90:class_g = 'XTerm'", "80:class_g = 'Rofi'" ]; blur: { method = "dual_kawase"; strength = 5; };

Pokretanje Picom-a automatski u i3:

Dodaj u ~/.config/i3/config:

exec --no-startup-id picom --config ~/.config/picom/picom.conf

🎯 Savet: Testiraj Rofi teme

Rofi ima mnogo tema. Možeš ih testirati komandom:

rofi-theme-selector

To će otvoriti interaktivni alat za menjanje tema.





No comments:

Post a Comment

Komentar=