Select the types of activity you want to include in your feed.
Void Linux workstation powered by niri, Fish and NeoVim. Contains scripts, browser extensions, custom XBPS packages, and typst plugins.
git.anhgelus.world/anhgelus/dotfiles
···11-set nocompatible " be iMproved, required
22-filetype off " required
33-44-syntax on
55-colorscheme onedark
66-77-" set the runtime path to include Vundle and initialize
88-set rtp+=~/.vim/bundle/Vundle.vim
99-call vundle#begin()
1010-1111-" let Vundle manage Vundle, required
1212-Plugin 'VundleVim/Vundle.vim'
1313-1414-" Plugins
1515-Plugin 'godlygeek/tabular'
1616-" Plugin 'preservim/vim-markdown'
1717-Plugin 'vim-pandoc/vim-pandoc'
1818-Plugin 'vim-pandoc/vim-pandoc-syntax'
1919-Plugin 'WolfgangMehner/latex-support'
2020-2121-2222-call vundle#end() " required
2323-filetype plugin indent on " required
2424-2525-set number relativenumber
2626-2727-nnoremap <C-Left> :tabprevious<CR>
2828-nnoremap <C-Right> :tabnext<CR>
2929-nnoremap <C-j> :tabprevious<CR>
3030-nnoremap <C-k> :tabnext<CR>
3131-nnoremap <C-q> :tabclose<CR>
3232-3333-:command Ttp !pdflatex %:t
3434-3535-set shell=/bin/bash
+1-43
README.md
···11# dotfiles
2233-This is my personnal dotfiles.
44-55-## Installation
66-77-To install the dotfiles, follow this steps:
88-99-1. Clone the repo
1010-```bash
1111-git clone https://github.com/anhgelus/dotfiles.git
1212-```
1313-2. Go inside the new dotfiles folder
1414-3. Run the install.sh
1515-```bash
1616-sh install.sh
1717-```
1818-4. Put your desktop wallpaper inside `~/Images/wallpapers/wallpaper.jpg` and your LightDM wallpaper inside `/usr/share/anhgelus/lightdm-wallpaper.jpg`
1919-5. Restart and it works!
2020-2121-2222-## Versioning
2323-2424-The versioning of this repository do not follow the semver because the semver is just useless for this usage.
2525-2626-Every tag of this repository must follow these guidelines:
2727-1. DD[.patch]-month-YYYY
2828-2. "[\*]" is not a required part
2929-3. "DD" is for the day (number)
3030-4. "path" is for the path number
3131-5. "month" is for the month (full letters)
3232-6. "YYYY" is for the year (number"
3333-3434-`15.1-march-2023` is for the second version of the 03/15/2023 (MM-DD-YYYY) or 15/03/2023 (DD-MM-YYYY)
3535-3636-## Technologies
33+My personnal dotfiles of my workstation powered by The Void, Sway and fish.
3743838-> WM: `i3`
3939->
4040-> Lockscreen: `LightDM`
4141->
4242-> OS: `EndeavourOs`
4343->
4444-> Packet Manager: `yay`, `flatpak` and `snap`
4545->
4646-> Other: `picom jonaburg_fix` ([here](https://github.com/Arian8j2/picom-jonaburg-fix)), `polybar` and `rofi`
+260
config/sway/config
···11+### Variables
22+#
33+# Logo key. Use Mod1 for Alt.
44+set $mod Mod4
55+# Your preferred terminal emulator
66+set $term foot
77+# Your preferred application launcher
88+set $menu rofi -show drun -m HDMI-A-1
99+1010+exec dbus-update-activation-environment DISPLAY I3SOCK SWAYSOCK WAYLAND_DISPLAY
1111+1212+### Output configuration
1313+#
1414+# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
1515+output * bg /home/anhgelus/Images/li-moly-731.jpg fill
1616+#
1717+# Example configuration:
1818+#
1919+# output HDMI-A-1 resolution 1920x1080 position 1920,0
2020+#
2121+# You can get the names of your outputs by running: swaymsg -t get_outputs
2222+output HDMI-A-1 resolution 1920x1080@144Hz position 0 0
2323+output DP-1 resolution 1920x1080@75Hz position 1920 0
2424+2525+### Idle configuration
2626+#
2727+# Example configuration:
2828+#
2929+# exec swayidle -w \
3030+# timeout 300 'swaylock -f -c 000000' \
3131+# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
3232+ # before-sleep 'swaylock -f -c 000000'
3333+#
3434+# This will lock your screen after 300 seconds of inactivity, then turn off
3535+# your displays after another 300 seconds, and turn your screens back on when
3636+# resumed. It will also lock your screen before your computer goes to sleep.
3737+3838+### Input configuration
3939+4040+input "type:keyboard" {
4141+ xkb_layout "fr"
4242+ xkb_variant "oss"
4343+ xkb_numlock enabled
4444+}
4545+4646+gaps inner 5
4747+gaps outer 10
4848+4949+#smart_borders on
5050+default_border none
5151+default_border pixel 4
5252+5353+client.focused #84A98C #84A98C #2F3E46 #52796F
5454+client.focused_inactive #2F3E46 #2F3E46 #CAD2C5 #52796F
5555+client.unfocused #2F3E46 #354F52 #CAD2C5 #52796F
5656+client.urgent #84A98C #84A98C #2F3E46 #52796F
5757+5858+#
5959+# Example configuration:
6060+#
6161+# input "2:14:SynPS/2_Synaptics_TouchPad" {
6262+# dwt enabled
6363+# tap enabled
6464+# natural_scroll enabled
6565+# middle_emulation enabled
6666+# }
6767+#
6868+# You can get the names of your inputs by running: swaymsg -t get_inputs
6969+# Read `man 5 sway-input` for more information about this section.
7070+7171+### Key bindings
7272+#
7373+# Basics:
7474+#
7575+ # Start a terminal
7676+ bindsym $mod+Return exec $term
7777+7878+ # Kill focused window
7979+ bindsym $mod+q kill
8080+8181+ # Start your launcher
8282+ bindsym $mod+d exec $menu
8383+8484+ # Drag floating windows by holding down $mod and left mouse button.
8585+ # Resize them with right mouse button + $mod.
8686+ # Despite the name, also works for non-floating windows.
8787+ # Change normal to inverse to use left mouse button for resizing and right
8888+ # mouse button for dragging.
8989+ floating_modifier $mod normal
9090+9191+ bindsym $mod+Shift+c reload
9292+9393+ # Exit sway (logs you out of your Wayland session)
9494+ 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'
9595+#
9696+# Moving around:
9797+#
9898+ # Move your focus around
9999+ # Or use $mod+[up|down|left|right]
100100+ bindsym $mod+Left focus left
101101+ bindsym $mod+Down focus down
102102+ bindsym $mod+Up focus up
103103+ bindsym $mod+Right focus right
104104+105105+ # Move the focused window with the same, but add Shift
106106+ # Ditto, with arrow keys
107107+ bindsym $mod+Shift+Left move left
108108+ bindsym $mod+Shift+Down move down
109109+ bindsym $mod+Shift+Up move up
110110+ bindsym $mod+Shift+Right move right
111111+#
112112+# Workspaces:
113113+#
114114+115115+workspace 1 output HDMI-A-1
116116+workspace 2 output HDMI-A-1
117117+workspace 3 output HDMI-A-1
118118+workspace 4 output DP-1
119119+workspace 10 output DP-1
120120+ # Switch to workspace
121121+ bindsym $mod+ampersand workspace number 1
122122+ bindsym $mod+eacute workspace number 2
123123+ bindsym $mod+quotedbl workspace number 3
124124+ bindsym $mod+apostrophe workspace number 4
125125+ bindsym $mod+parenleft workspace number 5
126126+ bindsym $mod+minus workspace number 6
127127+ bindsym $mod+egrave workspace number 7
128128+ bindsym $mod+underscore workspace number 8
129129+ bindsym $mod+ccedilla workspace number 9
130130+ bindsym $mod+agrave workspace number 10
131131+ # Move focused container to workspace
132132+ bindsym $mod+1 move container to workspace number 1
133133+ bindsym $mod+2 move container to workspace number 2
134134+ bindsym $mod+3 move container to workspace number 3
135135+ bindsym $mod+4 move container to workspace number 4
136136+ bindsym $mod+5 move container to workspace number 5
137137+ bindsym $mod+6 move container to workspace number 6
138138+ bindsym $mod+7 move container to workspace number 7
139139+ bindsym $mod+8 move container to workspace number 8
140140+ bindsym $mod+9 move container to workspace number 9
141141+ bindsym $mod+0 move container to workspace number 10
142142+ # Note: workspaces can have any name you want, not just numbers.
143143+ # We just use 1-10 as the default.
144144+#
145145+# Layout stuff:
146146+#
147147+ # You can "split" the current object of your focus with
148148+ # $mod+b or $mod+v, for horizontal and vertical splits
149149+ # respectively.
150150+ bindsym $mod+h splith
151151+ bindsym $mod+v splitv
152152+153153+ # Switch the current container between different layout styles
154154+ bindsym $mod+s layout stacking
155155+ bindsym $mod+t layout tabbed
156156+ bindsym $mod+e layout toggle split
157157+158158+ # Make the current focus fullscreen
159159+ bindsym $mod+f fullscreen
160160+161161+ # Toggle the current focus between tiling and floating mode
162162+ bindsym $mod+Shift+space floating toggle
163163+164164+ # Swap focus between the tiling area and the floating area
165165+ bindsym $mod+space focus mode_toggle
166166+167167+ # Move focus to the parent container
168168+ bindsym $mod+a focus parent
169169+#
170170+# Scratchpad:
171171+#
172172+ # Sway has a "scratchpad", which is a bag of holding for windows.
173173+ # You can send windows there and get them back later.
174174+175175+ # Move the currently focused window to the scratchpad
176176+ #bindsym $mod+Shift+minus move scratchpad
177177+178178+ # Show the next scratchpad window or hide the focused scratchpad window.
179179+ # If there are multiple scratchpad windows, this command cycles through them.
180180+ #bindsym $mod+minus scratchpad show
181181+#
182182+# Resizing containers:
183183+#
184184+mode "resize" {
185185+ # left will shrink the containers width
186186+ # right will grow the containers width
187187+ # up will shrink the containers height
188188+ # down will grow the containers height
189189+190190+ # Ditto, with arrow keys
191191+ bindsym Left resize shrink width 10px
192192+ bindsym Down resize grow height 10px
193193+ bindsym Up resize shrink height 10px
194194+ bindsym Right resize grow width 10px
195195+196196+ # Return to default mode
197197+ bindsym Return mode "default"
198198+ bindsym Escape mode "default"
199199+}
200200+bindsym $mod+r mode "resize"
201201+#
202202+# Utilities:
203203+#
204204+ # Special keys to adjust volume via PulseAudio
205205+ bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
206206+ bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
207207+ bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
208208+ bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
209209+ # Special keys to adjust brightness via brightnessctl
210210+ bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
211211+ bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
212212+ # Special key to take a screenshot with grim
213213+ bindsym Print exec grim -g "$(slurp -d)" - > ~/Images/Screenshots/$(date).png
214214+ bindsym Shift+Print exec grim - > ~/Images/Screenshots/$(date).png
215215+ bindsym $mod+Print exec grim -g "0,0 1920x1080" - > ~/Images/Screenshots/$(date).png
216216+#
217217+# Window rules
218218+#
219219+assign [class="jetbrains.*"] workspace 1
220220+assign [class="discord"] workspace 4
221221+for_window {
222222+ [app_id="thunar"] focus, floating enable, resize set 1000 600
223223+ [class="Thunar"] focus, floating enable, resize set 1000 600
224224+ [title=".*Bitwarden.*" app_id="Firefox"] floating enable
225225+ [app_id="xdg-desktop-portal-gtk"] floating enable
226226+ [app_id="org.gnome.Loupe"] floating enable
227227+ [app_id="mpv"] floating enable, resize set 1280 720
228228+ [app_id="org.gnome.FileRoller"] floating enable
229229+230230+ [app_id="."] opacity 0.98
231231+ [app_id="mpv"] opacity 1
232232+ [class="discord"] opacity 1
233233+ [class="Minecraft.*"] opacity 1
234234+235235+ [floating] opacity 1
236236+}
237237+238238+#
239239+# Status Bar:
240240+#
241241+# Read `man 5 sway-bar` for more information about this section.
242242+#bar {
243243+# position top
244244+#
245245+ # When the status_command prints a new line to stdout, swaybar updates.
246246+ # The default just shows the current date and time.
247247+# status_command while date +'%Y-%m-%d %X'; do sleep 1; done
248248+249249+# colors {
250250+# statusline #ffffff
251251+# background #323232
252252+# inactive_workspace #32323200 #32323200 #5c5c5c
253253+# }
254254+#}
255255+256256+exec --no-startup-id waybar
257257+258258+exec pipewire
259259+260260+include /etc/sway/config.d/*