From e21e43b7a443e96cd93d56a66c80865acd65a440 Mon Sep 17 00:00:00 2001 From: Didier Slof Date: Fri, 8 Sep 2023 12:30:53 +0200 Subject: [PATCH] feat: modify for gemini --- crates/05-i3/files/config | 28 ++++++++++++++++++++++++---- crates/05-i3/files/status_config | 8 ++++---- crates/10-zsh/files/.zshrc | 2 +- 3 files changed, 29 insertions(+), 9 deletions(-) diff --git a/crates/05-i3/files/config b/crates/05-i3/files/config index 8e72cfd..aba8c1f 100644 --- a/crates/05-i3/files/config +++ b/crates/05-i3/files/config @@ -12,7 +12,7 @@ set $terminal alacritty set $screen_lock i3lock -c "#111111" --nofork set $appmenu i3-dmenu-desktop -set $screenshot maim | xclip -selection clipboard -t image/png +set $screenshot maim -s | xclip -selection clipboard -t image/png set $alt_screenshot maim ~/Pictures/Screenshots/$(date +%s).png set $mod Mod4 @@ -22,6 +22,8 @@ set $font pango:monospace 8 # Startup Applications: # Things that will startup when starting i3. # --- +exec --no-startup-id xrandr --output DP-2-1 --left-of DP-1-1 +exec --no-startup-id sh .scripts/clock-in.sh exec --no-startup-id dex --autostart --environment i3 exec --no-startup-id nm-applet exec --no-startup-id xss-lock --transfer-sleep-lock -- $screen_lock @@ -47,7 +49,7 @@ set $ws_1 "1:main" set $ws_2 "2:term" set $ws_3 "3:browser" set $ws_4 "4:mail" -set $ws_5 "5" +set $ws_5 "5:notes" set $ws_6 "6" set $ws_7 "7" set $ws_8 "8" @@ -56,6 +58,7 @@ set $ws_10 "10:multimedia" set $mode_resize_combo Mod4+r set $mode_session_combo Mod4+Delete +set $mode_keybind_combo Mod4+Insert set $op_floating_modifier Mod1 @@ -82,6 +85,17 @@ floating_modifier $op_floating_modifier tiling_drag modifier titlebar font $font +workspace $ws_1 output DP-2-1 +workspace $ws_2 output DP-2-1 +workspace $ws_3 output DP-1-1 +workspace $ws_4 output DP-1-1 +workspace $ws_5 output DP-2-1 +workspace $ws_6 output DP-2-1 +workspace $ws_7 output DP-1-1 +workspace $ws_8 output DP-1-1 +workspace $ws_9 output DP-2-1 +workspace $ws_10 output DP-2-1 + # Open a terminal bindsym $mod+Return exec $terminal @@ -203,14 +217,20 @@ mode "resize" { bindsym $mode_resize_combo mode "default" } -bindsym $mode_session_combo mode "session" +bindsym $mode_session_combo mode session mode "session" { - bindsym l exec --no-startup-id $lock, mode "default" + bindsym l exec --no-startup-id $screen_lock, mode "default" bindsym e exec --no-startup-id i3-msg exit, mode "default" bindsym Shift+r exec --no-startup-id systemctl reboot, mode "default" + bindsym Shift+h exec --no-startup-id systemctl hibernate, mode "default" bindsym Shift+s exec --no-startup-id systemctl poweroff -i, mode "default" bindsym Return mode "default" bindsym Escape mode "default" bindsym $mode_session_combo mode "default" } + +bindsym $mode_keybind_combo mode kbmode +mode "kbmode" { + bindsym $mode_keybind_combo mode "default" +} diff --git a/crates/05-i3/files/status_config b/crates/05-i3/files/status_config index 3fce4a7..6c8b38e 100644 --- a/crates/05-i3/files/status_config +++ b/crates/05-i3/files/status_config @@ -5,16 +5,16 @@ general { } order += "ipv6" -order += "wireless wlp58s0" +order += "ethernet eno1" order += "battery 0" order += "disk /" order += "memory" order += "load" order += "tztime local" -wireless wlp58s0 { - format_up = "W: (%quality at %essid, %bitrate) %ip" - format_down = "W: down" +ethernet eno1 { + format_up = "E: %ip (%speed)" + format_down = "E: down" } battery 0 { diff --git a/crates/10-zsh/files/.zshrc b/crates/10-zsh/files/.zshrc index c49eb5c..15fc2b4 100644 --- a/crates/10-zsh/files/.zshrc +++ b/crates/10-zsh/files/.zshrc @@ -17,6 +17,6 @@ alias s="title $HOST && cmatrix -rs && clear" alias q="exit" # COSMETICS -fastfetch +#fastfetch export PATH="${PATH}:/home/${USER}/.local/bin"