From 06eb86069eee2e3d733c4e08bed64955fe74ac50 Mon Sep 17 00:00:00 2001 From: ferrreo Date: Sat, 24 Jun 2023 17:59:13 +0100 Subject: [PATCH] greetd --- pika-hyprland-settings/debian/changelog | 6 ++++++ pika-hyprland-settings/debian/postinst | 5 ++++- .../etc/lightdm/lightdm.conf.d/1-pika.conf | 4 ---- .../etc/sddm.conf.d/kde_settings.conf | 11 ----------- .../etc/skel/.config/hypr/exec.conf | 1 - .../etc/skel/.config/hypr/hyprland.conf | 1 + .../etc/skel/.config/ironbar/config.json | 7 ------- .../etc/skel/.config/rofi/config.rasi | 3 +-- .../usr/share/pika/greetd/config.toml | 11 +++++++++++ 9 files changed, 23 insertions(+), 26 deletions(-) delete mode 100644 pika-hyprland-settings/etc/lightdm/lightdm.conf.d/1-pika.conf delete mode 100644 pika-hyprland-settings/etc/sddm.conf.d/kde_settings.conf create mode 100644 pika-hyprland-settings/usr/share/pika/greetd/config.toml diff --git a/pika-hyprland-settings/debian/changelog b/pika-hyprland-settings/debian/changelog index e2a93f1..519f6fe 100644 --- a/pika-hyprland-settings/debian/changelog +++ b/pika-hyprland-settings/debian/changelog @@ -1,3 +1,9 @@ +pika-hyprland-settings (1.0.1-99pika1) lunar; urgency=medium + + * Switch to greetd + + -- ferrreo Sat, 01 Oct 2022 14:50:00 +0300 + pika-hyprland-settings (1.0.0-99pika21) lunar; urgency=medium * Fix brightnessctl diff --git a/pika-hyprland-settings/debian/postinst b/pika-hyprland-settings/debian/postinst index 1df6b80..515daba 100755 --- a/pika-hyprland-settings/debian/postinst +++ b/pika-hyprland-settings/debian/postinst @@ -11,4 +11,7 @@ cp -f /etc/skel/.config/examples/.profile /etc/skel/ then cp -a /etc/skel/. "${u}/" fi - done \ No newline at end of file + done + +mkdir -p /etc/greetd/ +cp -f /usr/share/pika/greetd/config.toml /etc/greetd/config.toml \ No newline at end of file diff --git a/pika-hyprland-settings/etc/lightdm/lightdm.conf.d/1-pika.conf b/pika-hyprland-settings/etc/lightdm/lightdm.conf.d/1-pika.conf deleted file mode 100644 index ab5f72f..0000000 --- a/pika-hyprland-settings/etc/lightdm/lightdm.conf.d/1-pika.conf +++ /dev/null @@ -1,4 +0,0 @@ -[SeatDefaults] -user-session=hyprland -autologin-user=pikaos -greeter-session=lightdm-gtk-greeter \ No newline at end of file diff --git a/pika-hyprland-settings/etc/sddm.conf.d/kde_settings.conf b/pika-hyprland-settings/etc/sddm.conf.d/kde_settings.conf deleted file mode 100644 index ce1000a..0000000 --- a/pika-hyprland-settings/etc/sddm.conf.d/kde_settings.conf +++ /dev/null @@ -1,11 +0,0 @@ -[Autologin] -Relogin=false -Session=plasma -User= - -[General] -HaltCommand= -InputMethod= - -[Theme] -Current=Orchis diff --git a/pika-hyprland-settings/etc/skel/.config/hypr/exec.conf b/pika-hyprland-settings/etc/skel/.config/hypr/exec.conf index aa3b825..db072cb 100644 --- a/pika-hyprland-settings/etc/skel/.config/hypr/exec.conf +++ b/pika-hyprland-settings/etc/skel/.config/hypr/exec.conf @@ -4,7 +4,6 @@ exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRE exec-once=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once=mako exec-once=hyprpaper -exec-once=fcitx5 exec-once=nm-applet exec-once=/usr/lib/x86_64-linux-gnu/libexec/polkit-kde-authentication-agent-1 exec-once=sleep 2 && ironbar diff --git a/pika-hyprland-settings/etc/skel/.config/hypr/hyprland.conf b/pika-hyprland-settings/etc/skel/.config/hypr/hyprland.conf index dc99ac8..bc0dab0 100644 --- a/pika-hyprland-settings/etc/skel/.config/hypr/hyprland.conf +++ b/pika-hyprland-settings/etc/skel/.config/hypr/hyprland.conf @@ -10,6 +10,7 @@ general { } input { + #kb_layout= repeat_rate=50 repeat_delay=300 numlock_by_default=1 diff --git a/pika-hyprland-settings/etc/skel/.config/ironbar/config.json b/pika-hyprland-settings/etc/skel/.config/ironbar/config.json index 35f4d94..c5817d2 100644 --- a/pika-hyprland-settings/etc/skel/.config/ironbar/config.json +++ b/pika-hyprland-settings/etc/skel/.config/ironbar/config.json @@ -4,12 +4,6 @@ "start": [ { "all_monitors": false, - "name_map": { - "2": " ", - "3": " ", - "1": " ", - "4": " " - }, "type": "workspaces" }, { @@ -18,7 +12,6 @@ "󰏈 {temp_c:k10temp-Tctl}°C", " {memory_percent}%", " {disk_percent:/}%", - "李 {net_down:enp16s0}", " {uptime}" ], "interval": { diff --git a/pika-hyprland-settings/etc/skel/.config/rofi/config.rasi b/pika-hyprland-settings/etc/skel/.config/rofi/config.rasi index ef9dbea..7c81047 100644 --- a/pika-hyprland-settings/etc/skel/.config/rofi/config.rasi +++ b/pika-hyprland-settings/etc/skel/.config/rofi/config.rasi @@ -1,5 +1,5 @@ configuration{ - modi: "run,drun,window"; + modi: "run,drun"; icon-theme: "Oranchelo"; show-icons: true; terminal: "kitty"; @@ -9,7 +9,6 @@ configuration{ hide-scrollbar: true; display-drun: "  Apps "; display-run: "  Run "; - display-window: " 﩯 Window"; display-Network: " 󰤨 Network"; sidebar-mode: true; } diff --git a/pika-hyprland-settings/usr/share/pika/greetd/config.toml b/pika-hyprland-settings/usr/share/pika/greetd/config.toml new file mode 100644 index 0000000..73c3276 --- /dev/null +++ b/pika-hyprland-settings/usr/share/pika/greetd/config.toml @@ -0,0 +1,11 @@ +[terminal] +vt = 7 + +[default_session] +command = "tuigreet -g 'Welcome to pikaos' --user-menu --asterisks --cmd Hyprland" +user = "_greetd" + +#Autologin +#[initial_session] +#command = "Hyprland" +#user = "pikaos"