Session for greeter

This commit is contained in:
Antoine Phan
2024-09-21 23:51:03 -04:00
parent 22bb9b2217
commit feed706a8a
3 changed files with 51 additions and 48 deletions

View File

@@ -5,10 +5,9 @@ vt = 1
# The default session, also known as the greeter.
[default_session]
command = "tuigreet --cmd /usr/bin/zsh"
# The user to run the command as. The privileges this user must have depends
# on the greeter. A graphical greeter may for example require the user to be
# in the `video` group.
user = "antoine"
[initial_session]
command = "Hyprland"
user = "antoine"

View File

@@ -23,6 +23,7 @@ exec-once = waybar
exec-once = hyprpaper
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = fcitx5 -d
exec-once = sudo modprobe v4l2loopback
# Set programs that you use
$terminal = alacritty
@@ -44,12 +45,11 @@ input {
numlock_by_default = true
follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad {
natural_scroll = yes
clickfinger_behavior = true
}
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}
general {
@@ -78,7 +78,7 @@ decoration {
passes = 1
}
drop_shadow = no
drop_shadow = yes
col.shadow = rgba(1a1a1aee)
}
@@ -88,7 +88,7 @@ animations {
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
# bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = myBezier, .77,.39,.25,.92
bezier = myBezier, .72,.39,.25,.92
animation = windows, 1, 4, myBezier
# animation = windowsOut, 1, 4, default, popin 100%
@@ -268,6 +268,8 @@ bind = $mainMod CTRL SHIFT, S, exec, grim -g "$(slurp -d)" - > $HOME/Screenshots
bind = , Print, exec, grim - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png
# Enviroment variables
env = GTK_THEME, adw-gtk3-dark:dark
env = GDK_BACKEND,wayland,x11,*
env = QT_QPA_PLATFORM,wayland;xcb
env = QT_AUTO_SCREEN_SCALE_FACTOR,1

View File

@@ -7,12 +7,13 @@ set $mod Mod4
# transparency
exec --no-startup-id picom -b
exec autotiling &
# --shadow --shadow-radius=60 --shadow-opacity=0.2 --fade-in-step=0.8 &
# --inactive-opacity=0.9
exec sudo modprobe v4l2loopback
# Font for window titles
font pango:FiraCode Nerd Font 10
export GTK_THEME adw-gtk3-dark:dark
# Keymap
exec setxkbmap -layout us -variant altgr-intl
@@ -198,7 +199,8 @@ bindsym $mod+Shift+r restart
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit' -B 'SHUTDOWN' 'shutdown now' -B 'Reboot' 'reboot'"
# resize window (you can also use the mouse for that)
mode "resize" {
mode "resize"
{
# same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 10 px or 10 ppt
@@ -211,8 +213,6 @@ mode "resize" {
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
# toggle showing bar
bindsym $mod+b bar mode toggle
# colors for the bars
@@ -225,7 +225,8 @@ set $blue #C6DEF1
set $mint #A0C49A
set $none ##00000000
bar {
bar
{
status_command i3blocks
i3bar_command i3bar --transparency
# output primary
@@ -236,7 +237,8 @@ bar {
padding 6 6 0 0
workspace_min_width 32
colors {
colors
{
focused_background $blackbb
background $blackee
separator $blue33