Session for greeter
This commit is contained in:
@@ -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"
|
||||||
|
|
||||||
# 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"
|
user = "antoine"
|
||||||
|
|
||||||
|
[initial_session]
|
||||||
|
command = "Hyprland"
|
||||||
|
user = "antoine"
|
||||||
@@ -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
|
||||||
@@ -40,16 +41,15 @@ input {
|
|||||||
kb_model =
|
kb_model =
|
||||||
kb_options =
|
kb_options =
|
||||||
kb_rules =
|
kb_rules =
|
||||||
|
|
||||||
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 {
|
||||||
@@ -71,14 +71,14 @@ decoration {
|
|||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
||||||
rounding = 12
|
rounding = 12
|
||||||
|
|
||||||
blur {
|
blur {
|
||||||
enabled = true
|
enabled = true
|
||||||
size = 5
|
size = 5
|
||||||
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
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# i3 config
|
# i3 config
|
||||||
# @author Antoine Phan @notkaramel
|
# @author Antoine Phan @notkaramel
|
||||||
|
|
||||||
# mod key
|
# mod key
|
||||||
@@ -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
|
||||||
|
|
||||||
@@ -27,7 +28,7 @@ bindsym XF86AudioMute exec --no-startup-id wpctl set-mute @DEFAULT_SINK@ toggle
|
|||||||
# brightness
|
# brightness
|
||||||
set $refresh_brightness pkill -SIGRTMIN+2 i3blocks
|
set $refresh_brightness pkill -SIGRTMIN+2 i3blocks
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ && $refresh_brightness
|
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+ && $refresh_brightness
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 8%- && $refresh_brightness
|
bindsym XF86MonBrightnessDown exec brightnessctl set 8%- && $refresh_brightness
|
||||||
|
|
||||||
# media player controls
|
# media player controls
|
||||||
bindsym XF86AudioPlay exec playerctl play-pause
|
bindsym XF86AudioPlay exec playerctl play-pause
|
||||||
@@ -51,21 +52,21 @@ bindsym $mod+Return exec alacritty
|
|||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# Menu|Program launcher
|
# Menu|Program launcher
|
||||||
# bindsym $mod+d exec --no-startup-id dmenu_run
|
# bindsym $mod+d exec --no-startup-id dmenu_run
|
||||||
bindsym $mod+d exec --no-startup-id rofi -show combi
|
bindsym $mod+d exec --no-startup-id rofi -show combi
|
||||||
bindsym $mod+period exec "rofi -show emoji"
|
bindsym $mod+period exec "rofi -show emoji"
|
||||||
bindsym $mod+Tab exec rofi -show window
|
bindsym $mod+Tab exec rofi -show window
|
||||||
bindsym $mod+c exec rofi -show calc
|
bindsym $mod+c exec rofi -show calc
|
||||||
|
|
||||||
# -- Lock screen --
|
# -- Lock screen --
|
||||||
bindsym $mod+Shift+l exec notify-send 'Rendering new lockscreen!' && betterlockscreen -u ~/.wallpaper/ --fx dim && betterlockscreen -l dim
|
bindsym $mod+Shift+l exec notify-send 'Rendering new lockscreen!' && betterlockscreen -u ~/.wallpaper/ --fx dim && betterlockscreen -l dim
|
||||||
bindsym $mod+l exec betterlockscreen -l dim
|
bindsym $mod+l exec betterlockscreen -l dim
|
||||||
|
|
||||||
# -- Screenshot --
|
# -- Screenshot --
|
||||||
bindsym $mod+Shift+s exec "maim -s | xclip -selection clipboard -t image/png && notify-send 'Screenshot Captured!'"
|
bindsym $mod+Shift+s exec "maim -s | xclip -selection clipboard -t image/png && notify-send 'Screenshot Captured!'"
|
||||||
# interactive screenshot by pressing printscreen
|
# interactive screenshot by pressing printscreen
|
||||||
#bindsym Print exec gnome-screenshot -i
|
#bindsym Print exec gnome-screenshot -i
|
||||||
#crop-area screenshot by pressing Mod + printscreen
|
#crop-area screenshot by pressing Mod + printscreen
|
||||||
bindsym $mod+Print exec gnome-screenshot -a
|
bindsym $mod+Print exec gnome-screenshot -a
|
||||||
|
|
||||||
@@ -116,7 +117,7 @@ client.unfocused #333333 #222222 #888888 #292d2e #222222
|
|||||||
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
client.urgent #2f343a #900000 #ffffff #900000 #900000
|
||||||
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
|
||||||
|
|
||||||
client.background #ffffff
|
client.background #ffffff
|
||||||
|
|
||||||
# --- Gaps ---
|
# --- Gaps ---
|
||||||
# `inner` is like padding in CSS
|
# `inner` is like padding in CSS
|
||||||
@@ -198,34 +199,34 @@ 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
|
{
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
# same bindings, but for the arrow keys
|
||||||
bindsym Down resize grow height 10 px or 10 ppt
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
bindsym Up resize shrink height 10 px or 10 ppt
|
bindsym Down resize grow height 10 px or 10 ppt
|
||||||
bindsym Right resize grow width 10 px or 10 ppt
|
bindsym Up resize shrink height 10 px or 10 ppt
|
||||||
|
bindsym Right resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
# back to normal: Enter or Escape or $mod+r
|
# back to normal: Enter or Escape or $mod+r
|
||||||
bindsym Return mode "default"
|
bindsym Return mode "default"
|
||||||
bindsym Escape mode "default"
|
bindsym Escape mode "default"
|
||||||
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
|
||||||
set $white #ffffff
|
set $white #ffffff
|
||||||
set $black #242424
|
set $black #242424
|
||||||
set $red #FFADAD
|
set $red #FFADAD
|
||||||
set $orange #F7D9C4
|
set $orange #F7D9C4
|
||||||
set $yellow #FAFF81
|
set $yellow #FAFF81
|
||||||
set $blue #C6DEF1
|
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
|
||||||
@@ -233,19 +234,20 @@ bar {
|
|||||||
tray_output primary
|
tray_output primary
|
||||||
font pango:FiraCode Nerd Font Semibold 11
|
font pango:FiraCode Nerd Font Semibold 11
|
||||||
separator_symbol "│"
|
separator_symbol "│"
|
||||||
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
|
||||||
|
|
||||||
# colorclass <border> <background> <text>
|
# colorclass <border> <background> <text>
|
||||||
focused_workspace $yellow $yellow $blackaa
|
focused_workspace $yellow $yellow $blackaa
|
||||||
active_workspace $blue $blue $black
|
active_workspace $blue $blue $black
|
||||||
inactive_workspace $mint $mintbb $black
|
inactive_workspace $mint $mintbb $black
|
||||||
urgent_workspace $orange $orange $black
|
urgent_workspace $orange $orange $black
|
||||||
binding_mode $orange $orange $black
|
binding_mode $orange $orange $black
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user