Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c3100eab7 | |||
| 0cc4d816ec | |||
| ddaa4f1678 | |||
| 548301d3a9 | |||
| 9c829b888f |
@@ -104,7 +104,7 @@ launch=xdg-open ${url}
|
|||||||
[touch]
|
[touch]
|
||||||
# long-press-delay=400
|
# long-press-delay=400
|
||||||
|
|
||||||
[colors]
|
[colors-dark]
|
||||||
alpha=0.9
|
alpha=0.9
|
||||||
# alpha-mode=default # Can be `default`, `matching` or `all`
|
# alpha-mode=default # Can be `default`, `matching` or `all`
|
||||||
# background=242424
|
# background=242424
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ exec-once = blueman-applet
|
|||||||
exec-once = nm-applet --indicator
|
exec-once = nm-applet --indicator
|
||||||
exec-once = nextcloud --background
|
exec-once = nextcloud --background
|
||||||
exec-once = keepassxc
|
exec-once = keepassxc
|
||||||
exec-once = sleep 2 && hyprpm reload
|
exec-once = hyprpm reload -n
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
@@ -111,10 +111,29 @@ general {
|
|||||||
|
|
||||||
resize_on_border = true
|
resize_on_border = true
|
||||||
|
|
||||||
# layout = dwindle
|
#layout = scrolling
|
||||||
layout = hy3
|
layout = hy3
|
||||||
|
#layout = master
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
master {
|
||||||
|
allow_small_split = true
|
||||||
|
special_scale_factor = .80
|
||||||
|
mfact = .34
|
||||||
|
orientation = center
|
||||||
|
}
|
||||||
|
|
||||||
|
dwindle {
|
||||||
|
split_width_multiplier = .33
|
||||||
|
}
|
||||||
|
|
||||||
|
#scrolling {
|
||||||
|
# column_width = .33
|
||||||
|
# fullscreen_on_one_column = false
|
||||||
|
#}
|
||||||
|
|
||||||
# Pro monitors
|
# Pro monitors
|
||||||
# hyperctrl monitors
|
# hyperctrl monitors
|
||||||
monitorv2 {
|
monitorv2 {
|
||||||
@@ -326,6 +345,16 @@ bind = $mainMod SHIFT, right, hy3:movewindow, r
|
|||||||
bind = $mainMod SHIFT, up, hy3:movewindow, u
|
bind = $mainMod SHIFT, up, hy3:movewindow, u
|
||||||
bind = $mainMod SHIFT, down, hy3:movewindow, d
|
bind = $mainMod SHIFT, down, hy3:movewindow, d
|
||||||
|
|
||||||
|
#bind = $mainMod, left, movefocus, l
|
||||||
|
#bind = $mainMod, right, movefocus, r
|
||||||
|
#bind = $mainMod, up, movefocus, u
|
||||||
|
#bind = $mainMod, down, movefocus, d
|
||||||
|
#
|
||||||
|
#bind = $mainMod SHIFT, left, movewindow, l
|
||||||
|
#bind = $mainMod SHIFT, right, movewindow, r
|
||||||
|
#bind = $mainMod SHIFT, up, movewindow, u
|
||||||
|
#bind = $mainMod SHIFT, down, movewindow, d
|
||||||
|
|
||||||
bind = $mainMod SHIFT CTRL, right, movecurrentworkspacetomonitor, r
|
bind = $mainMod SHIFT CTRL, right, movecurrentworkspacetomonitor, r
|
||||||
bind = $mainMod SHIFT CTRL, left, movecurrentworkspacetomonitor, l
|
bind = $mainMod SHIFT CTRL, left, movecurrentworkspacetomonitor, l
|
||||||
bind = $mainMod SHIFT CTRL, up, movecurrentworkspacetomonitor, u
|
bind = $mainMod SHIFT CTRL, up, movecurrentworkspacetomonitor, u
|
||||||
@@ -410,3 +439,5 @@ windowrule {
|
|||||||
move = 20 monitor_h-120
|
move = 20 monitor_h-120
|
||||||
float = yes
|
float = yes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
workspace = 1, layout:dwindle
|
||||||
|
|||||||
@@ -1,103 +0,0 @@
|
|||||||
# Default config for sway
|
|
||||||
#
|
|
||||||
# Copy this to ~/.config/sway/config and edit it to your liking.
|
|
||||||
#
|
|
||||||
# Read `man 5 sway` for a complete reference.
|
|
||||||
|
|
||||||
### Variables
|
|
||||||
#
|
|
||||||
# Logo key. Use Mod1 for Alt.
|
|
||||||
set $mod Mod4
|
|
||||||
|
|
||||||
# Your preferred terminal emulator
|
|
||||||
set $term /usr/bin/footclient
|
|
||||||
|
|
||||||
# Your preferred application launcher
|
|
||||||
# Note: pass the final command to swaymsg so that the resulting window can be opened
|
|
||||||
# on the original workspace that the command was run on.
|
|
||||||
# set $menu dmenu_path | dmenu | xargs swaymsg exec --
|
|
||||||
|
|
||||||
set $menu wofi --gtk-dark --show=drun
|
|
||||||
|
|
||||||
include "$HOME/.config/sway/config.d/*"
|
|
||||||
|
|
||||||
default_border pixel 5
|
|
||||||
smart_borders on
|
|
||||||
|
|
||||||
gaps inner 8
|
|
||||||
smart_gaps on
|
|
||||||
|
|
||||||
focus_follows_mouse no
|
|
||||||
|
|
||||||
### Output configuration
|
|
||||||
#
|
|
||||||
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
|
|
||||||
output * bg #283646 solid_color
|
|
||||||
output eDP-1 bg "$HOME/nextcloud/perso/images/wallapper_desktop.png" fill
|
|
||||||
#
|
|
||||||
# Example configuration:
|
|
||||||
#
|
|
||||||
# output HDMI-A-1 resolution 1920x1080 position 1920,0
|
|
||||||
#
|
|
||||||
# You can get the names of your outputs by running: swaymsg -t get_outputs
|
|
||||||
|
|
||||||
|
|
||||||
### Idle configuration
|
|
||||||
#
|
|
||||||
# Example configuration:
|
|
||||||
#
|
|
||||||
# exec swayidle -w \
|
|
||||||
# timeout 300 'swaylock -f -c 000000' \
|
|
||||||
# timeout 600 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
|
|
||||||
# before-sleep 'swaylock -f -c 000000'
|
|
||||||
#
|
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
|
||||||
# resumed. It will also lock your screen before your computer goes to sleep.
|
|
||||||
|
|
||||||
|
|
||||||
### Key bindings
|
|
||||||
#
|
|
||||||
# Basics:
|
|
||||||
#
|
|
||||||
# Start a terminal
|
|
||||||
bindsym $mod+Return exec $term
|
|
||||||
|
|
||||||
# Kill focused window
|
|
||||||
bindsym $mod+Shift+q kill
|
|
||||||
|
|
||||||
# Start your launcher
|
|
||||||
bindsym $mod+d exec $menu
|
|
||||||
|
|
||||||
# Drag floating windows by holding down $mod and left mouse button.
|
|
||||||
# Resize them with right mouse button + $mod.
|
|
||||||
# Despite the name, also works for non-floating windows.
|
|
||||||
# Change normal to inverse to use left mouse button for resizing and right
|
|
||||||
# mouse button for dragging.
|
|
||||||
floating_modifier $mod normal
|
|
||||||
|
|
||||||
# Reload the configuration file
|
|
||||||
bindsym $mod+Shift+c reload
|
|
||||||
|
|
||||||
# Exit sway (logs you out of your Wayland session)
|
|
||||||
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
|
|
||||||
|
|
||||||
bindsym $mod+l exec swaylock --color "#243646"
|
|
||||||
|
|
||||||
### Laptop screen is close
|
|
||||||
bindswitch --locked lid:on output eDP-1 disable
|
|
||||||
### Laptop screen is open
|
|
||||||
bindswitch --locked lid:off output eDP-1 enable
|
|
||||||
|
|
||||||
exec kanshi
|
|
||||||
|
|
||||||
bar {
|
|
||||||
swaybar_command waybar
|
|
||||||
}
|
|
||||||
|
|
||||||
exec foot --server
|
|
||||||
exec blueman-applet
|
|
||||||
exec nm-applet --indicator
|
|
||||||
exec nextcloud --background
|
|
||||||
exec keepassxc
|
|
||||||
exec /usr/lib/xdg-desktop-portal-gnome
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
# swaymsg -t get_outputs
|
|
||||||
|
|
||||||
# Laptop pro
|
|
||||||
output 'Najing CEC Panda FPD Technology CO. ltd 0x0056 Unknown' pos 0 0 res 1920x1080 subpixel rgb
|
|
||||||
workspace 1 output 'Najing CEC Panda FPD Technology CO. ltd 0x0056 Unknown'
|
|
||||||
|
|
||||||
# laptop perso
|
|
||||||
output 'BOE 0x090F Unknown' pos 0 0 res 1920x1080 subpixel rgb
|
|
||||||
workspace 1 output 'BOE 0x090F Unknown'
|
|
||||||
|
|
||||||
# Home screen
|
|
||||||
output 'Samsung Electric Company LC34G55T HNTW606264' pos 1920 0
|
|
||||||
workspace 5 output 'Samsung Electric Company LC34G55T HNTW606264'
|
|
||||||
|
|
||||||
# Work screen
|
|
||||||
output 'Iiyama North America PL3481WQ 1242550210951' pos 1920 0
|
|
||||||
workspace 5 output 'Iiyama North America PL3481WQ 1242550210951'
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
# import variables into system-user enviroment
|
|
||||||
# based on the instructions in the sway wiki
|
|
||||||
# see also https://github.com/swaywm/sway/issues/5732
|
|
||||||
# and https://github.com/systemd/systemd/blob/dfc637d0ff756889e8e5b7cb4ec991eb06069aa1/xorg/50-systemd-user.sh
|
|
||||||
|
|
||||||
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
|
||||||
|
|
||||||
exec hash dbus-update-activation-environment 2>/dev/null && \
|
|
||||||
dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
input type:keyboard {
|
|
||||||
xkb_layout "fr"
|
|
||||||
xkb_variant "oss"
|
|
||||||
}
|
|
||||||
@@ -1,22 +0,0 @@
|
|||||||
# You can "split" the current object of your focus with
|
|
||||||
# $mod+b or $mod+v, for horizontal and vertical splits
|
|
||||||
# respectively.
|
|
||||||
bindsym $mod+h splith
|
|
||||||
bindsym $mod+v splitv
|
|
||||||
|
|
||||||
# Switch the current container between different layout styles
|
|
||||||
bindsym $mod+s layout stacking
|
|
||||||
bindsym $mod+w layout tabbed
|
|
||||||
bindsym $mod+e layout toggle split
|
|
||||||
|
|
||||||
# Make the current focus fullscreen
|
|
||||||
bindsym $mod+f fullscreen
|
|
||||||
|
|
||||||
# Toggle the current focus between tiling and floating mode
|
|
||||||
bindsym $mod+Shift+space floating toggle
|
|
||||||
|
|
||||||
# Swap focus between the tiling area and the floating area
|
|
||||||
bindsym $mod+space focus mode_toggle
|
|
||||||
|
|
||||||
# Move focus to the parent container
|
|
||||||
bindsym $mod+a focus parent
|
|
||||||
@@ -1,11 +0,0 @@
|
|||||||
mode "resize" {
|
|
||||||
bindsym Left resize shrink width 10px
|
|
||||||
bindsym Down resize grow height 10px
|
|
||||||
bindsym Up resize shrink height 10px
|
|
||||||
bindsym Right resize grow width 10px
|
|
||||||
|
|
||||||
# Return to default mode
|
|
||||||
bindsym Escape mode "default"
|
|
||||||
}
|
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
|
||||||
@@ -1,17 +0,0 @@
|
|||||||
# Move your focus around
|
|
||||||
bindsym $mod+Left focus left
|
|
||||||
bindsym $mod+Down focus down
|
|
||||||
bindsym $mod+Up focus up
|
|
||||||
bindsym $mod+Right focus right
|
|
||||||
|
|
||||||
# Move the focused window
|
|
||||||
bindsym $mod+Shift+Left move left
|
|
||||||
bindsym $mod+Shift+Down move down
|
|
||||||
bindsym $mod+Shift+Up move up
|
|
||||||
bindsym $mod+Shift+Right move right
|
|
||||||
|
|
||||||
# Move current workspace
|
|
||||||
bindsym $mod+Control+Shift+Right move workspace to output right
|
|
||||||
bindsym $mod+Control+Shift+Left move workspace to output left
|
|
||||||
bindsym $mod+Control+Shift+Down move workspace to output down
|
|
||||||
bindsym $mod+Control+Shift+Up move workspace to output up
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
|
||||||
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
|
||||||
bindsym --locked XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
|
||||||
bindsym XF86MonBrightnessDown exec brightnessctl set 5%-
|
|
||||||
bindsym XF86MonBrightnessUp exec brightnessctl set 5%+
|
|
||||||
bindsym --locked XF86AudioPlay exec playerctl play-pause
|
|
||||||
bindsym XF86AudioNext exec playerctl next
|
|
||||||
bindsym XF86AudioPrev exec playerctl previous
|
|
||||||
@@ -1,27 +0,0 @@
|
|||||||
# switch to workspace
|
|
||||||
bindsym $mod+ampersand workspace 1
|
|
||||||
bindsym $mod+eacute workspace 2
|
|
||||||
bindsym $mod+quotedbl workspace 3
|
|
||||||
bindsym $mod+apostrophe workspace 4
|
|
||||||
bindsym $mod+parenleft workspace 5
|
|
||||||
bindsym $mod+minus workspace 6
|
|
||||||
bindsym $mod+egrave workspace 7
|
|
||||||
bindsym $mod+underscore workspace 8
|
|
||||||
bindsym $mod+ccedilla workspace 9
|
|
||||||
bindsym $mod+agrave workspace 10
|
|
||||||
bindsym $mod+parenright workspace 11
|
|
||||||
bindsym $mod+equal workspace 12
|
|
||||||
|
|
||||||
# move focused container to workspace
|
|
||||||
bindsym $mod+Shift+ampersand move container to workspace 1
|
|
||||||
bindsym $mod+Shift+eacute move container to workspace 2
|
|
||||||
bindsym $mod+Shift+quotedbl move container to workspace 3
|
|
||||||
bindsym $mod+Shift+apostrophe move container to workspace 4
|
|
||||||
bindsym $mod+Shift+parenleft move container to workspace 5
|
|
||||||
bindsym $mod+Shift+minus move container to workspace 6
|
|
||||||
bindsym $mod+Shift+egrave move container to workspace 7
|
|
||||||
bindsym $mod+Shift+underscore move container to workspace 8
|
|
||||||
bindsym $mod+Shift+ccedilla move container to workspace 9
|
|
||||||
bindsym $mod+Shift+agrave move container to workspace 10
|
|
||||||
bindsym $mod+Shift+parenright move container to workspace 11
|
|
||||||
bindsym $mod+Shift+equal move container to workspace 12
|
|
||||||
@@ -17,8 +17,6 @@ function main
|
|||||||
# Mise à jour système
|
# Mise à jour système
|
||||||
yay -Suy
|
yay -Suy
|
||||||
|
|
||||||
fisher update
|
|
||||||
|
|
||||||
# Mise à jour service languagetool
|
# Mise à jour service languagetool
|
||||||
update_languagetool
|
update_languagetool
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user