Düzenlemesi kolay X11 Window Manager önerisi

mrlinuxpower

Zeptopat
Katılım
13 Kasım 2024
Mesajlar
30
Daha fazla  
Cinsiyet
Erkek
Config dosyası kolay ve düzenlemesi kolay bir window Manager lazım. Hyprland'de, Wiki'ye çok az bakarak gelen Config'i düzenleyerek bir şeyler yapmıştım, ama i3'te bunu yapamadım. Config'i kolay olan, X11 kullanan bir window Manager önerir misiniz?
 

i3 WM en kolaylarından biridir ama Openbox mevcuttur araştırmanızı öneririm.
 
Hocam nasıl kolay anlamış değilim ya karmakarışık bir Config yapısı var wikisi ayrı karmaşık.

Hocam bazı WM'ler zor görünüyor ise hazır Config kullanabilirsiniz.
Mesela EndeavourOS hazır i3 Config'i ve masaüstü sunuyor.
 
Hocam bazı WM'ler zor görünüyor ise hazır Config kullanabilirsiniz.
Mesela EndeavourOS hazır i3 Config'i ve masaüstü sunuyor.
Yok hocam ya zaten öyle yaptım. Hazır config veriyor, evet ama gene çok zor. Openbox indirip deneyeceğim. Sevmezsem, desktop environment indirip kısayollu bir şeyler yapacağım.
 
i3 ayarlaması o kadar zor değil. Sade, hazır konfigürasyonlar var onları kullanabilirsiniz.

Kod:
# GTK Theme, Icon, Font, etc...
set $gnome-schema org.gnome.desktop.interface

exec_always {
    gsettings set $gnome-schema gtk-theme 'Yaru-dark'
    gsettings set $gnome-schema icon-theme 'Papirus-Dark'
    gsettings set $gnome-schema cursor-theme 'Simp1e-Adw-Dark'
    gsettings set $gnome-schema font-name 'Roboto 10'
}

for_window [class="^.*"] border pixel 1
default_border none
default_floating_border none
font pango:Lilex Nerd Font, Font Awesome 11
titlebar_padding 5
titlebar_border_thickness 0
title_align center

gaps inner 3
gaps outer 3

set $mod Mod4
# Home row direction keys, like vim
set $left h
set $down j
set $up k
set $right l

# Set keybind for programs
set $term foot
set $menu rofi -show drun
set $emoji_menu rofimoji
set $browser MOZ_ENABLED_WAYLAND=1 firefox
set $filemanager nemo

# Volume
set $refresh_i3status killall -SIGUSR1 i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +2% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -2% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status

### Output configuration
#
# Wallpaper
# output * bg /home/linux/.config/wall/5.png fill

# colors
set $bg     #ffd866
set $fg     #fcfcfa
set $ia     #221f22

# set some nice colors      border     background  text    indicator
client.focused              $bg        $bg         $fg     $bg
client.unfocused            $ia        $ia         $fg     $ia
client.focused_inactive     $ia        $ia         $fg     $ia
client.urgent               $ia        $ia         $fg     $ia
client.background           $ia        $ia         $fg     $ia
client.placeholder          $ia        $ia         $fg     $ia
client.focused_tab_title    $ia        $ia         $fg     $ia

# Start a terminal
bindsym $mod+Return exec $term

# Start browser
bindsym $mod+w exec $browser

# Start your launcher
bindsym $mod+d exec $menu

# Start rofimoji
bindsym $mod+m exec $emoji_menu

# Start file manager
bindsym $mod+e exec $filemanager

# Kill focused window
bindsym $mod+q kill

# Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows.
# Change normal to inverse to use left mouse button for resizing and right
# mouse button for dragging.
floating_modifier $mod normal

# Reload the configuration file
bindsym $mod+Shift+r reload
#
# Moving around:
#
    # Or use $mod+[up|down|left|right]
    bindsym $mod+Left focus left
    bindsym $mod+Down focus down
    bindsym $mod+Up focus up
    bindsym $mod+Right focus right

    # Move the focused window with the same, but add Shift
    bindsym $mod+Shift+$left move left
    bindsym $mod+Shift+$down move down
    bindsym $mod+Shift+$up move up
    bindsym $mod+Shift+$right move right
    # Ditto, with arrow keys
    bindsym $mod+Shift+Left move left
    bindsym $mod+Shift+Down move down
    bindsym $mod+Shift+Up move up
    bindsym $mod+Shift+Right move right
#
# Workspaces:
#
    # Switch to workspace
    bindsym $mod+1 workspace number 1
    bindsym $mod+2 workspace number 2
    bindsym $mod+3 workspace number 3
    bindsym $mod+4 workspace number 4
    bindsym $mod+5 workspace number 5
    bindsym $mod+6 workspace number 6
    bindsym $mod+7 workspace number 7
    bindsym $mod+8 workspace number 8
    bindsym $mod+9 workspace number 9
    bindsym $mod+0 workspace number 10
    # Move focused container to workspace
    bindsym $mod+Shift+1 move container to workspace number 1
    bindsym $mod+Shift+2 move container to workspace number 2
    bindsym $mod+Shift+3 move container to workspace number 3
    bindsym $mod+Shift+4 move container to workspace number 4
    bindsym $mod+Shift+5 move container to workspace number 5
    bindsym $mod+Shift+6 move container to workspace number 6
    bindsym $mod+Shift+7 move container to workspace number 7
    bindsym $mod+Shift+8 move container to workspace number 8
    bindsym $mod+Shift+9 move container to workspace number 9
    bindsym $mod+Shift+0 move container to workspace number 10
    # Note: workspaces can have any name you want, not just numbers.
    # We just use 1-10 as the default.
#
# Layout stuff:
#
    # You can "split" the current object of your focus with
    # $mod+b or $mod+v, for horizontal and vertical splits
    # respectively.
    bindsym $mod+h splith
    bindsym $mod+v splitv

    # Switch the current container between different layout styles
    bindsym $mod+t layout stacking
    bindsym $mod+y layout tabbed
    bindsym $mod+u layout toggle split

    # Make the current focus fullscreen
    bindsym $mod+f fullscreen

    # Toggle the current focus between tiling and floating mode
    bindsym $mod+Shift+d floating toggle

    # Swap focus between the tiling area and the floating area
    bindsym $mod+space focus mode_toggle

    # Move focus to the parent container
    bindsym $mod+a focus parent
#
# Scratchpad:
#
    # Sway has a "scratchpad", which is a bag of holding for windows.
    # You can send windows there and get them back later.

    # Move the currently focused window to the scratchpad
    bindsym $mod+Shift+minus move scratchpad

    # Show the next scratchpad window or hide the focused scratchpad window.
    # If there are multiple scratchpad windows, this command cycles through them.
    bindsym $mod+minus scratchpad show
#
# Resizing containers:
#
mode "resize" {
    # left will shrink the containers width
    # right will grow the containers width
    # up will shrink the containers height
    # down will grow the containers height
    bindsym $left resize shrink width 10px
    bindsym $down resize grow height 10px
    bindsym $up resize shrink height 10px
    bindsym $right resize grow width 10px

    # Ditto, with arrow keys
    bindsym Left resize shrink width 10px
    bindsym Down resize grow height 10px
    bindsym Up resize shrink height 10px
    bindsym Right resize grow width 10px

    # Return to default mode
    bindsym Return mode "default"
    bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"

bar {
        position top

        workspace_buttons yes

        colors {
        background #221f22
        statusline #fcfcfa
        separator  #403e41

        focused_workspace  #403e41 #403e41 #fcfcfa
        active_workspace   #221f22 #221f22 #fcfcfa
        inactive_workspace #221f22 #221f22 #fcfcfa
        urgent_workspace   #ff6188 #ff6188 #fcfcfa
        binding_mode       #403e41 #403e41 #fcfcfa
    }
}

Foot, Nemo, Rofi, Firefox kurmanız gerekir. Ayrıca Lilex Nerd Font paketini kurmalısınız.

Windows + Enter = terminal
Windows + W = Firefox
Windows + E = Nemo (Dosya yöneticisi)
Windows + D = Rofi (Uygulama başlatıcı)
Windows + Shift + D = Uygulamanın Tiling / Floating geçişi
Windows + Q = Uygulamayı kapat
Windows + Shift + R = Oturumu yeniler.
Windows + F = Tam ekran

Bilmeniz gereken kısayollar bunlar.
 
Ama mesela ben şunu yapmamıştım ya da benim beceriksizliğim ya da olmuyor. Capslock + 1 ile çalışma ortamı 1'e geçsin.

bindsym $capslock+1 workspace number 1
bindsym $caps_lock+1 workspace number 1
bindsym $caps-lock+1 workspace number 1
bindsym caps-lock+1 workspace number 1
bindsym caps_lock+1 workspace number 1
bindsym capslock+1 workspace number 1

Bunları denemiştim ama olmamıştı.
 
Capslock tuşu verdiğiniz örneklere bakılırsa $capslock, $caps_lock, $caps-lock değişkenlerine atanmadığı sürece yapamazsınız. Yazım diziminde hatanız var yani. Ayrıca Caps kullanmak yerine neden Super yani Windows tuşu kullanmıyorsunuz?

Bu içeriği görüntülemek için üçüncü taraf çerezlerini yerleştirmek için izninize ihtiyacımız olacak.
Daha detaylı bilgi için, çerezler sayfamıza bakınız.

Burada nasıl yapacağınız anlatılmış. Çözebilirseniz yapabilirsiniz.
 
Hyprlandde biraz alıştım birde daha kolay geliyordu.
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…