diff --git a/apps.md b/apps.md index fe11b97..8b6dc3e 100644 --- a/apps.md +++ b/apps.md @@ -15,13 +15,14 @@ ansible-playbook -K play.yml Deps: `pkgconfig patch flex bison which` 1. Audio - `pipewire wireplumber pipewire-pulse pipewire-alsa pipewire-jack qpwgraph` 2. Wayland compositor - `hyprland xdg-desktop-portal-hyprland polkit-kde-agent` -3. Status bar - `waybar-hyprland-git` +3. Status bar - `waybar` 4. Terminal - `alacritty` 5. Screenshotting - `wl-clipboard slurp grim` 6. Application picker - `rofi-lbonn-wayland` 7. Notifications - `mako` 8. Background - `swww` 9. File manager - `thunar gvfs gvfs-smb` +10. File syncing - `syncthing` 11. Music - `spotify spicetify-cli` ``` curl -fsSL https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/install.sh | sh @@ -36,4 +37,4 @@ Go to chrome://flags page, then search wayland. You will see the Preferred Ozone ``` 15. Documents - `wps-office ttf-wps-fonts` 16. Code editor - `visual-studio-code-bin` -17. Extras - `pipes.sh neofetch` \ No newline at end of file +17. Extras - `pipes.sh neofetch lemurs` \ No newline at end of file diff --git a/play.yml b/play.yml index a74b076..1dc784b 100644 --- a/play.yml +++ b/play.yml @@ -71,37 +71,6 @@ become: yes become_user: yf - - name: Creates getty autologin service folder - ansible.builtin.file: - path: /etc/systemd/system/getty@tty1.service.d - state: directory - become: yes - - - name: Create skip-username.conf - ansible.builtin.file: - path: /etc/systemd/system/getty@tty1.service.d/skip-username.conf - state: touch - modification_time: preserve - access_time: preserve - become: yes - become_user: yf - - - name: Insert block in getty config - ansible.builtin.blockinfile: - path: /etc/systemd/system/getty@tty1.service.d/skip-username.conf - block: | - [Service] - ExecStart= - ExecStart=-/sbin/agetty --skip-login - $TERM - Environment=XDG_SESSION_TYPE=wayland - become: yes - - - name: Enable getty@tty1 - ansible.builtin.systemd: - name: getty@tty1 - enabled: true - become: yes - - name: Install stow community.general.pacman: name: @@ -123,7 +92,7 @@ become: yes become_user: yf - - name: Run stowt + - name: Run stow ansible.builtin.shell: "stow . --target=/home/yf/ --verbose=2" args: chdir: /home/yf/.shell/src @@ -154,7 +123,7 @@ - hyprland - xdg-desktop-portal-hyprland-git - polkit-kde-agent - - waybar-hyprland-git + - waybar - alacritty - wl-clipboard - slurp @@ -176,8 +145,8 @@ - pipes.sh - neofetch - network-manager-applet - - pam_autologin - - swaylock + - lemurs + - syncthing become: yes become_user: yf @@ -189,14 +158,23 @@ access_time: preserve become: yes become_user: yf - + + - name: Enable lemurs + ansible.builtin.systemd: + name: lemurs + enabled: true + become: yes + + - name: Creates getty autologin service folder + ansible.builtin.file: + path: /etc/lemurs/wayland/ + state: directory + become: yes + - name: Write auto-hyprland login ansible.builtin.blockinfile: - path: /home/yf/.bash_profile + path: /etc/lemurs/wayland/hyprland block: | - if [[ "$(tty)" == "/dev/tty1" ]] - then - Hyprland - fi + #! /bin/sh + exec Hyprland become: yes - become_user: yf diff --git a/src/.config/hypr/hyprland.conf b/src/.config/hypr/hyprland.conf index 38e6c27..2941ceb 100644 --- a/src/.config/hypr/hyprland.conf +++ b/src/.config/hypr/hyprland.conf @@ -6,8 +6,8 @@ source=~/.config/hypr/theme.conf monitor=HDMI-A-1, 1920x1080@144, 1920x0, 1 monitor=DP-3, 1920x1080@60, 0x0, 1 -workspace=HDMI-A-1,1 -workspace=DP-3,5 +workspace=HDMI-A-1,5 +workspace=DP-3,1 monitor=,highres,auto,auto @@ -101,10 +101,10 @@ bind = $mainMod, J, togglesplit, # dwindle bind = SHIFT_ALT,S, exec, grim -g "$(slurp)" - | wl-copy -bind = $mainMod, left, movefocus, l -bind = $mainMod, right, movefocus, r -bind = $mainMod, up, movefocus, u -bind = $mainMod, down, movefocus, d +#bind = $mainMod, left, movefocus, l +#bind = $mainMod, right, movefocus, r +#bind = $mainMod, up, movefocus, u +#bind = $mainMod, down, movefocus, d bind = $mainMod, 1, workspace, 1 bind = $mainMod, 2, workspace, 2 @@ -136,3 +136,9 @@ bindm = $mainMod, mouse:273, resizewindow windowrulev2 = float, class:floating windowrulev2 = size 800 800, class:winecfg.exe + +windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ +windowrulev2 = noanim,class:^(xwaylandvideobridge)$ +windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ +windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$ +windowrulev2 = noblur,class:^(xwaylandvideobridge)$