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. # The default session, also known as the greeter.
[default_session] [default_session]
command = "tuigreet --cmd /usr/bin/zsh" command = "tuigreet --cmd /usr/bin/zsh"
user = "antoine"
# 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 [initial_session]
# in the `video` group. command = "Hyprland"
user = "antoine" user = "antoine"

View File

@@ -21,8 +21,9 @@ monitor=,1920x1080@165, -1920x0, 1
# Execute your favorite apps at launch # Execute your favorite apps at launch
exec-once = waybar exec-once = waybar
exec-once = hyprpaper exec-once = hyprpaper
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 = fcitx5 -d exec-once = fcitx5 -d
exec-once = sudo modprobe v4l2loopback
# Set programs that you use # Set programs that you use
$terminal = alacritty $terminal = alacritty
@@ -44,12 +45,11 @@ input {
numlock_by_default = true numlock_by_default = true
follow_mouse = 1 follow_mouse = 1
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
touchpad { touchpad {
natural_scroll = yes natural_scroll = yes
clickfinger_behavior = true clickfinger_behavior = true
} }
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
} }
general { general {
@@ -78,7 +78,7 @@ decoration {
passes = 1 passes = 1
} }
drop_shadow = no drop_shadow = yes
col.shadow = rgba(1a1a1aee) col.shadow = rgba(1a1a1aee)
} }
@@ -88,7 +88,7 @@ animations {
# Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
# bezier = myBezier, 0.05, 0.9, 0.1, 1.05 # 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 = windows, 1, 4, myBezier
# animation = windowsOut, 1, 4, default, popin 100% # 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 bind = , Print, exec, grim - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png
# Enviroment variables # Enviroment variables
env = GTK_THEME, adw-gtk3-dark:dark
env = GDK_BACKEND,wayland,x11,* env = GDK_BACKEND,wayland,x11,*
env = QT_QPA_PLATFORM,wayland;xcb env = QT_QPA_PLATFORM,wayland;xcb
env = QT_AUTO_SCREEN_SCALE_FACTOR,1 env = QT_AUTO_SCREEN_SCALE_FACTOR,1

View File

@@ -7,12 +7,13 @@ set $mod Mod4
# transparency # transparency
exec --no-startup-id picom -b exec --no-startup-id picom -b
exec autotiling & exec autotiling &
# --shadow --shadow-radius=60 --shadow-opacity=0.2 --fade-in-step=0.8 & exec sudo modprobe v4l2loopback
# --inactive-opacity=0.9
# Font for window titles # Font for window titles
font pango:FiraCode Nerd Font 10 font pango:FiraCode Nerd Font 10
export GTK_THEME adw-gtk3-dark:dark
# Keymap # Keymap
exec setxkbmap -layout us -variant altgr-intl 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'" 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) # resize window (you can also use the mouse for that)
mode "resize" { mode "resize"
{
# same bindings, but for the arrow keys # same bindings, but for the arrow keys
bindsym Left resize shrink width 10 px or 10 ppt bindsym Left resize shrink width 10 px or 10 ppt
bindsym Down resize grow height 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 "default"
} }
bindsym $mod+r mode "resize"
# toggle showing bar # toggle showing bar
bindsym $mod+b bar mode toggle bindsym $mod+b bar mode toggle
# colors for the bars # colors for the bars
@@ -225,7 +225,8 @@ set $blue #C6DEF1
set $mint #A0C49A set $mint #A0C49A
set $none ##00000000 set $none ##00000000
bar { bar
{
status_command i3blocks status_command i3blocks
i3bar_command i3bar --transparency i3bar_command i3bar --transparency
# output primary # output primary
@@ -236,7 +237,8 @@ bar {
padding 6 6 0 0 padding 6 6 0 0
workspace_min_width 32 workspace_min_width 32
colors { colors
{
focused_background $blackbb focused_background $blackbb
background $blackee background $blackee
separator $blue33 separator $blue33