差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| tips:linux:arch:gui:desktop:hyprland:start [2026/05/24 15:56] – asaasa | tips:linux:arch:gui:desktop:hyprland:start [2026/06/08 22:46] (現在) – [hyprland.conf 最小限カスタムしたやつ] asaasa | ||
|---|---|---|---|
| 行 17: | 行 17: | ||
| <code bash> | <code bash> | ||
| - | user$ sudo pacman -S hyprland xdg-desktop-portal-hyprland lightdm lightdm-gtk-greeter xdg-user-dirs foot thunar | + | user$ sudo pacman -S hyprland xdg-desktop-portal-hyprland lightdm lightdm-gtk-greeter xdg-user-dirs foot wofi waybar |
| + | thunar mousepad | ||
| pipewire pipewire-pulse wireplumber alsa-utils pavucontrol sof-firmware \ | pipewire pipewire-pulse wireplumber alsa-utils pavucontrol sof-firmware \ | ||
| - | cliphist wl-clipboard | + | cliphist wl-clipboard |
| fcitx5 fcitx5-mozc fcitx5-configtool fcitx5-gtk fcitx5-qt | fcitx5 fcitx5-mozc fcitx5-configtool fcitx5-gtk fcitx5-qt | ||
| user$ LC_ALL=C.UTF-8 xdg-user-dirs-update --force | user$ LC_ALL=C.UTF-8 xdg-user-dirs-update --force | ||
| 行 31: | 行 32: | ||
| * xdg-user-dirs : Documentsとかの整備 | * xdg-user-dirs : Documentsとかの整備 | ||
| * foot : ターミナル (Wayland用) | * foot : ターミナル (Wayland用) | ||
| - | * thunar : ファイラ (Xfce4系) | + | * thunar |
| * wofi : ランチャ | * wofi : ランチャ | ||
| * waybar : ステータスバー | * waybar : ステータスバー | ||
| 行 136: | 行 137: | ||
| } | } | ||
| } | } | ||
| + | |||
| + | xwayland { | ||
| + | force_zero_scaling = true | ||
| + | } | ||
| + | |||
| exec-once = sleep 5 && waybar | exec-once = sleep 5 && waybar | ||
| exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP | exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP | ||
| # | # | ||
| + | exec-once = cliphist wipe | ||
| exec-once = wl-paste --type text --watch cliphist store | exec-once = wl-paste --type text --watch cliphist store | ||
| exec-once = wl-paste --type image --watch cliphist store | exec-once = wl-paste --type image --watch cliphist store | ||
| 行 164: | 行 171: | ||
| bind = $mainMod, B, exec, $browser | bind = $mainMod, B, exec, $browser | ||
| bind = $mainMod, R, exec, wofi --show drun | bind = $mainMod, R, exec, wofi --show drun | ||
| - | bind = $mainMod SHIFT, S, exec, grim -g " | + | bind = $mainMod, F, fullscreen, 0 # normal fullscreen |
| + | bind = $mainMod SHIFT, F, fullscreen, 1 # maximize fullscreen (statusbar etc saved) | ||
| + | bind = $mainMod LCTRL, S, exec, grim -g " | ||
| + | bind = $mainMod SHIFT, S, exec, grim -g " | ||
| bind = $mainMod SHIFT, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy | bind = $mainMod SHIFT, V, exec, cliphist list | wofi --dmenu | cliphist decode | wl-copy | ||
| + | bind = $mainMod LCTRL, V, exec, cliphist wipe | ||
| # フォーカス移動 | # フォーカス移動 | ||
| 行 177: | 行 188: | ||
| bind = $mainMod, 2, workspace, 2 | bind = $mainMod, 2, workspace, 2 | ||
| bind = $mainMod, 3, workspace, 3 | bind = $mainMod, 3, workspace, 3 | ||
| + | bind = $mainMod, 4, workspace, 4 | ||
| + | bind = $mainMod, 5, workspace, 5 | ||
| + | bind = $mainMod, 6, workspace, 6 | ||
| + | bind = $mainMod, 7, workspace, 7 | ||
| + | bind = $mainMod, 8, workspace, 8 | ||
| + | bind = $mainMod, 9, workspace, 9 | ||
| # ウィンドウを別のワークスペースに移動 | # ウィンドウを別のワークスペースに移動 | ||
| 行 182: | 行 199: | ||
| bind = $mainMod SHIFT, 2, movetoworkspace, | bind = $mainMod SHIFT, 2, movetoworkspace, | ||
| bind = $mainMod SHIFT, 3, movetoworkspace, | bind = $mainMod SHIFT, 3, movetoworkspace, | ||
| + | bind = $mainMod SHIFT, 4, movetoworkspace, | ||
| + | bind = $mainMod SHIFT, 5, movetoworkspace, | ||
| + | bind = $mainMod SHIFT, 6, movetoworkspace, | ||
| + | bind = $mainMod SHIFT, 7, movetoworkspace, | ||
| + | bind = $mainMod SHIFT, 8, movetoworkspace, | ||
| + | bind = $mainMod SHIFT, 9, movetoworkspace, | ||
| # マウス操作 (272: | # マウス操作 (272: | ||