money maker

This commit is contained in:
yourfriendoss 2024-04-07 18:46:09 +03:00
parent 88cb6d25b9
commit a2a60b50e6
3 changed files with 35 additions and 50 deletions

View file

@ -15,13 +15,14 @@ ansible-playbook -K play.yml
Deps: `pkgconfig patch flex bison which` Deps: `pkgconfig patch flex bison which`
1. Audio - `pipewire wireplumber pipewire-pulse pipewire-alsa pipewire-jack qpwgraph` 1. Audio - `pipewire wireplumber pipewire-pulse pipewire-alsa pipewire-jack qpwgraph`
2. Wayland compositor - `hyprland xdg-desktop-portal-hyprland polkit-kde-agent` 2. Wayland compositor - `hyprland xdg-desktop-portal-hyprland polkit-kde-agent`
3. Status bar - `waybar-hyprland-git` 3. Status bar - `waybar`
4. Terminal - `alacritty` 4. Terminal - `alacritty`
5. Screenshotting - `wl-clipboard slurp grim` 5. Screenshotting - `wl-clipboard slurp grim`
6. Application picker - `rofi-lbonn-wayland` 6. Application picker - `rofi-lbonn-wayland`
7. Notifications - `mako` 7. Notifications - `mako`
8. Background - `swww` 8. Background - `swww`
9. File manager - `thunar gvfs gvfs-smb` 9. File manager - `thunar gvfs gvfs-smb`
10. File syncing - `syncthing`
11. Music - `spotify spicetify-cli` 11. Music - `spotify spicetify-cli`
``` ```
curl -fsSL https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/install.sh | sh 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` 15. Documents - `wps-office ttf-wps-fonts`
16. Code editor - `visual-studio-code-bin` 16. Code editor - `visual-studio-code-bin`
17. Extras - `pipes.sh neofetch` 17. Extras - `pipes.sh neofetch lemurs`

View file

@ -71,37 +71,6 @@
become: yes become: yes
become_user: yf 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 - name: Install stow
community.general.pacman: community.general.pacman:
name: name:
@ -123,7 +92,7 @@
become: yes become: yes
become_user: yf become_user: yf
- name: Run stowt - name: Run stow
ansible.builtin.shell: "stow . --target=/home/yf/ --verbose=2" ansible.builtin.shell: "stow . --target=/home/yf/ --verbose=2"
args: args:
chdir: /home/yf/.shell/src chdir: /home/yf/.shell/src
@ -154,7 +123,7 @@
- hyprland - hyprland
- xdg-desktop-portal-hyprland-git - xdg-desktop-portal-hyprland-git
- polkit-kde-agent - polkit-kde-agent
- waybar-hyprland-git - waybar
- alacritty - alacritty
- wl-clipboard - wl-clipboard
- slurp - slurp
@ -176,8 +145,8 @@
- pipes.sh - pipes.sh
- neofetch - neofetch
- network-manager-applet - network-manager-applet
- pam_autologin - lemurs
- swaylock - syncthing
become: yes become: yes
become_user: yf become_user: yf
@ -189,14 +158,23 @@
access_time: preserve access_time: preserve
become: yes become: yes
become_user: yf 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 - name: Write auto-hyprland login
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: /home/yf/.bash_profile path: /etc/lemurs/wayland/hyprland
block: | block: |
if [[ "$(tty)" == "/dev/tty1" ]] #! /bin/sh
then exec Hyprland
Hyprland
fi
become: yes become: yes
become_user: yf

View file

@ -6,8 +6,8 @@ source=~/.config/hypr/theme.conf
monitor=HDMI-A-1, 1920x1080@144, 1920x0, 1 monitor=HDMI-A-1, 1920x1080@144, 1920x0, 1
monitor=DP-3, 1920x1080@60, 0x0, 1 monitor=DP-3, 1920x1080@60, 0x0, 1
workspace=HDMI-A-1,1 workspace=HDMI-A-1,5
workspace=DP-3,5 workspace=DP-3,1
monitor=,highres,auto,auto monitor=,highres,auto,auto
@ -101,10 +101,10 @@ bind = $mainMod, J, togglesplit, # dwindle
bind = SHIFT_ALT,S, exec, grim -g "$(slurp)" - | wl-copy bind = SHIFT_ALT,S, exec, grim -g "$(slurp)" - | wl-copy
bind = $mainMod, left, movefocus, l #bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r #bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u #bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d #bind = $mainMod, down, movefocus, d
bind = $mainMod, 1, workspace, 1 bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2 bind = $mainMod, 2, workspace, 2
@ -136,3 +136,9 @@ bindm = $mainMod, mouse:273, resizewindow
windowrulev2 = float, class:floating windowrulev2 = float, class:floating
windowrulev2 = size 800 800, class:winecfg.exe 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)$