init: repo creation

This commit is contained in:
2021-08-17 14:11:27 +02:00
commit dfa8a20e2d
4 changed files with 1500 additions and 0 deletions

177
.config/i3/config Normal file
View File

@@ -0,0 +1,177 @@
#------------------------------#
# Config by Alexandre CHAZAL #
# Also known as AlxCzl or Tyk0 #
#------------------------------#
### Modifier
set $mod Mod4
### Execs
exec --no-startup-id nm-applet
#exec_always --no-startup-id $HOME/.config/polybar/launch.sh
#exec --no-startup-id feh --no-fehbg --bg-scale $HOME/Images/forbiddencity.jpg
exec --no-startup-id nitrogen --restore
exec --no-startup-id setxkbmap us
exec --no-startup-id xrdb ~/.Xresources
### i3 config
# Gaps and borders
hide_edge_borders both
for_window [class="^.*"] border pixel 2
gaps inner 8
gaps outer 5
client.focused #555555 #555555 #ffffff #2e9ef4 #017515
# Font
font pango:monospace 9
# Floating modifier
floating_modifier $mod
### Bindings
# Lock screen
bindsym Ctrl+Mod1+l exec --no-startup-id betterlockscreen -l blur
# start a terminal
bindsym $mod+Return exec --no-startup-id st
# kill focused window
bindsym $mod+Shift+q kill
# start dmenu (a program launcher)
bindsym $mod+d exec --no-startup-id rofi -font "Hack 14" -show-icons -show drun
# change focus
bindsym $mod+j focus left
bindsym $mod+k focus down
bindsym $mod+l focus up
bindsym $mod+semicolon focus right
# alternatively, you can use the cursor keys:
bindsym $mod+Left focus left
bindsym $mod+Down focus down
bindsym $mod+Up focus up
bindsym $mod+Right focus right
# move focused window
bindsym $mod+Shift+j move left
bindsym $mod+Shift+k move down
bindsym $mod+Shift+l move up
bindsym $mod+Shift+semicolon move right
# alternatively, you can use the cursor keys:
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Up move up
bindsym $mod+Shift+Right move right
# split in horizontal orientation
bindsym $mod+h split h
# split in vertical orientation
bindsym $mod+v split v
# enter fullscreen mode for the focused container
bindsym $mod+f fullscreen toggle
# change container layout (stacked, tabbed, toggle split)
bindsym $mod+s layout stacking
bindsym $mod+w layout tabbed
bindsym $mod+e layout toggle split
# toggle tiling / floating
bindsym $mod+Shift+space floating toggle
# change focus between tiling / floating windows
bindsym $mod+space focus mode_toggle
# focus the parent container
bindsym $mod+a focus parent
# focus the child container
#bindsym $mod+d focus child
## Workspaces
# Names
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# Change workspace
bindsym $mod+1 workspace $ws1
bindsym $mod+2 workspace $ws2
bindsym $mod+3 workspace $ws3
bindsym $mod+4 workspace $ws4
bindsym $mod+5 workspace $ws5
bindsym $mod+6 workspace $ws6
bindsym $mod+7 workspace $ws7
bindsym $mod+8 workspace $ws8
bindsym $mod+9 workspace $ws9
bindsym $mod+0 workspace $ws10
# Move program to workspace
bindsym $mod+Shift+1 move container to workspace $ws1
bindsym $mod+Shift+2 move container to workspace $ws2
bindsym $mod+Shift+3 move container to workspace $ws3
bindsym $mod+Shift+4 move container to workspace $ws4
bindsym $mod+Shift+5 move container to workspace $ws5
bindsym $mod+Shift+6 move container to workspace $ws6
bindsym $mod+Shift+7 move container to workspace $ws7
bindsym $mod+Shift+8 move container to workspace $ws8
bindsym $mod+Shift+9 move container to workspace $ws9
bindsym $mod+Shift+0 move container to workspace $ws10
# Reload config
bindsym $mod+Shift+c reload
# Reload i3
bindsym $mod+Shift+r restart
# Resize mode
mode "resize" {
bindsym j resize shrink width 10 px or 10 ppt
bindsym k resize grow height 10 px or 10 ppt
bindsym l resize shrink height 10 px or 10 ppt
bindsym semicolon resize grow 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 Up resize shrink height 10 px or 10 ppt
bindsym Right resize grow width 10 px or 10 ppt
bindsym Return mode "default"
bindsym Escape mode "default"
bindsym $mod+r mode "default"
}
bindsym $mod+r mode "resize"
## Status bar
bar {
status_command i3blocks
position top
}
## Volume
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume 0 +5%
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume 0 -5%
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute 0 toggle
## Brightness
bindsym XF86MonBrightnessUp exec --no-startup-id xbacklight -inc 10
bindsym XF86MonBrightnessDown exec --no-startup-id xbacklight -dec 10
## Power button
bindsym XF86PowerOff exec --no-startup-id /home/alex/.bin/pmenu
## Screenshots
# scrot & gimp - root
bindsym Print exec scrot -e 'mv $f /tmp/ && gimp /tmp/$f'
# scrot & gimp - select window or rectangle
bindsym Mod1+Print exec scrot -s -e 'mv $f /tmp/ && gimp /tmp/$f'

1273
.config/i3/volume Executable file

File diff suppressed because it is too large Load Diff

49
.config/picom/picom.conf Executable file
View File

@@ -0,0 +1,49 @@
backend = "glx";
vsync = true;
shadow = true;
dock = { shadow = false; };
dnd = { shadow = false; };
shadow-radius = 7;
shadow-offset-x = -10;
shadow-offset-y = -10;
shadow-exclude =
[
"n:e:Notification",
"_GTK_FRAME_EXTENTS@:c",
"class_g = 'firefox' && argb"
];
shadow-ignore-shaped = true;
blur-background-fixed = false;
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
fading = true;
fade-delta = 7;
fade-in-step = 0.05;
fade-out-step = 0.05;
fade-exclude = [];
mark-wmwin-focused = true;
mark-ovredir-focused = true;
use-ewmh-active-win = false;
detect-rounded-corners = true;
detect-client-opacity = true;
refresh-rate = 60;
dbe = false;
unredir-if-possible = false;
focus-exclude = [];
detect-transient = true;
detect-client-leader = true;
invert-color-include = [];
wintypes: {
tooltip = { fade = true; shadow = false; opacity = 0.75; focus = true; };
};
inactive-opacity = 0.95
opacity-rule =
[
"100:name *= 'mantablockscreen'",
"100:class_g = 'Firefox'"
];

1
.config/rofi/config Executable file
View File

@@ -0,0 +1 @@
rofi.theme: /usr/share/rofi/themes/gruvbox-dark-hard.rasi