mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2025-12-06 05:45:24 +01:00
Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 841f5af000 | |||
| df6c213cfd | |||
| 0f939f03a8 | |||
| 3575d4c0c1 | |||
| 97e4275dc4 | |||
| 999411251c | |||
| 4c06d7ccd4 | |||
| 02bdf43a40 | |||
| 8f0d75f685 |
@@ -8,6 +8,7 @@
|
|||||||
- git
|
- git
|
||||||
- tmux
|
- tmux
|
||||||
- kitty
|
- kitty
|
||||||
|
- zoxide
|
||||||
|
|
||||||
- name: Install i3 packages
|
- name: Install i3 packages
|
||||||
become: true
|
become: true
|
||||||
@@ -21,6 +22,7 @@
|
|||||||
- playerctl
|
- playerctl
|
||||||
- blueman
|
- blueman
|
||||||
- pavucontrol
|
- pavucontrol
|
||||||
|
- picom
|
||||||
|
|
||||||
- name: Development Environment
|
- name: Development Environment
|
||||||
become: true
|
become: true
|
||||||
@@ -44,3 +46,8 @@
|
|||||||
args:
|
args:
|
||||||
creates: /usr/bin/brave-browser
|
creates: /usr/bin/brave-browser
|
||||||
|
|
||||||
|
- name: Streamdeck
|
||||||
|
community.general.flatpak:
|
||||||
|
name: com.core447.StreamController
|
||||||
|
state: present
|
||||||
|
method: user
|
||||||
|
|||||||
105
i3/config
105
i3/config
@@ -1,26 +1,21 @@
|
|||||||
# This file has been auto-generated by i3-config-wizard(1).
|
# Personal i3 Configuration
|
||||||
# It will not be overwritten, so edit it as you like.
|
# Bas Grolleman
|
||||||
#
|
|
||||||
# Should you change your keyboard layout some time, delete
|
|
||||||
# this file and re-run i3-config-wizard(1).
|
|
||||||
#
|
|
||||||
|
|
||||||
# i3 config file (v4)
|
# Some reason system boots wrong resolution
|
||||||
#
|
exec --no-startup-id ~/bin/set_display_ultrawide
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
|
||||||
|
|
||||||
# Alt
|
# t
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
# Win
|
# Win
|
||||||
set $win Mod4
|
set $win Mod4
|
||||||
|
|
||||||
# Font for window titles. Will also be used by the bar unless a different font
|
# Font for window titles. Will also be used by the bar unless a different font
|
||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
font pango:monospace 8
|
#font pango:monospace 8
|
||||||
|
|
||||||
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
# This font is widely installed, provides lots of unicode glyphs, right-to-left
|
||||||
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
# text rendering and scalability on retina/hidpi displays (thanks to pango).
|
||||||
#font pango:DejaVu Sans Mono 8
|
font pango:DejaVu Sans Mono 8
|
||||||
|
|
||||||
# Start XDG autostart .desktop files using dex. See also
|
# Start XDG autostart .desktop files using dex. See also
|
||||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||||
@@ -31,7 +26,7 @@ exec --no-startup-id dex --autostart --environment i3
|
|||||||
|
|
||||||
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
# xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the
|
||||||
# screen before suspend. Use loginctl lock-session to lock your screen.
|
# screen before suspend. Use loginctl lock-session to lock your screen.
|
||||||
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
|
#exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -i ~/Documents/Resources/Backgrounds/51202139522_fbf4788f42_o.png
|
||||||
|
|
||||||
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
# NetworkManager is the most popular way to manage wireless networks on Linux,
|
||||||
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
@@ -54,6 +49,8 @@ floating_modifier $mod
|
|||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
bindsym $mod+Return exec kitty
|
bindsym $mod+Return exec kitty
|
||||||
|
bindsym $win+e exec /usr/bin/nautilus /home/bgrolleman
|
||||||
|
bindsym $win+b exec /opt/helium/helium
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
@@ -62,62 +59,45 @@ bindsym $mod+Shift+q kill
|
|||||||
#bindsym $mod+d exec --no-startup-id dmenu_run
|
#bindsym $mod+d exec --no-startup-id dmenu_run
|
||||||
# A more modern dmenu replacement is rofi:
|
# A more modern dmenu replacement is rofi:
|
||||||
bindcode $win+65 exec "rofi -modi drun,run -show drun"
|
bindcode $win+65 exec "rofi -modi drun,run -show drun"
|
||||||
bindcode $mod+65 exec "rofi -show window"
|
#bindcode $mod+65 exec "rofi -show window"
|
||||||
|
#bindcode $win+v exec 'rofi -modi "clipboard:greenclip print" -show clipboard -run-command "{cmd}"'
|
||||||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||||
# .desktop file. It is a wrapper around dmenu, so you need that installed.
|
# .desktop file. It is a wrapper around dmenu, so you need that installed.
|
||||||
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
# bindcode $mod+40 exec --no-startup-id i3-dmenu-desktop
|
||||||
bindsym $win+l exec "i3lock -i ~/Documents/Resources/Backgrounds/51202139522_fbf4788f42_o.png"
|
#bindsym $win+l exec "i3lock -i ~/Documents/Resources/Backgrounds/51202139522_fbf4788f42_o.png"
|
||||||
|
#bindsym $win+l exec "/usr/bin/gdmflexiserver"
|
||||||
|
bindsym $win+$mod+q exec "/usr/bin/gdmflexiserver"
|
||||||
|
|
||||||
# change focus
|
# change focus
|
||||||
bindsym $mod+j focus left
|
bindsym $mod+h focus left
|
||||||
bindsym $mod+k focus down
|
bindsym $mod+j focus down
|
||||||
bindsym $mod+l focus up
|
bindsym $mod+k focus up
|
||||||
bindsym $mod+semicolon focus right
|
bindsym $mod+l 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
|
# move focused window
|
||||||
bindsym $mod+Shift+j move left
|
bindsym $mod+Shift+h move left
|
||||||
bindsym $mod+Shift+k move down
|
bindsym $mod+Shift+j move down
|
||||||
bindsym $mod+Shift+l move up
|
bindsym $mod+Shift+k move up
|
||||||
bindsym $mod+Shift+semicolon move right
|
bindsym $mod+Shift+l 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
|
# split in horizontal orientation
|
||||||
bindsym $mod+h split h
|
bindsym $mod+semicolon split h
|
||||||
|
|
||||||
# split in vertical orientation
|
|
||||||
bindsym $mod+v split v
|
|
||||||
|
|
||||||
# enter fullscreen mode for the focused container
|
# enter fullscreen mode for the focused container
|
||||||
bindsym $mod+f fullscreen toggle
|
bindsym $mod+f fullscreen toggle
|
||||||
|
bindsym $mod+y floating enable; resize set 55ppt 95ppt; move position center
|
||||||
|
|
||||||
# change container layout (stacked, tabbed, toggle split)
|
# change container layout (stacked, tabbed, toggle split)
|
||||||
bindsym $mod+s layout stacking
|
#bindsym $mod+s layout stacking
|
||||||
bindsym $mod+w layout tabbed
|
#bindsym $mod+w layout tabbed
|
||||||
bindsym $mod+e layout toggle split
|
#bindsym $mod+e layout toggle split
|
||||||
|
|
||||||
# toggle tiling / floating
|
# toggle tiling / floating
|
||||||
bindsym $mod+Shift+space floating toggle
|
bindsym $mod+space floating toggle
|
||||||
|
|
||||||
# change focus between tiling / floating windows
|
# change focus between tiling / floating windows
|
||||||
#bindsym $mod+space focus mode_toggle
|
#bindsym $mod+space focus mode_toggle
|
||||||
|
|
||||||
# focus the parent container
|
|
||||||
bindsym $mod+a focus parent
|
|
||||||
|
|
||||||
# focus the child container
|
|
||||||
#bindsym $mod+d focus child
|
|
||||||
|
|
||||||
# Define names for default workspaces for which we configure key bindings later on.
|
# Define names for default workspaces for which we configure key bindings later on.
|
||||||
# We use variables to avoid repeating the names in multiple places.
|
# We use variables to avoid repeating the names in multiple places.
|
||||||
set $ws1 "1"
|
set $ws1 "1"
|
||||||
@@ -170,10 +150,10 @@ mode "resize" {
|
|||||||
# Pressing right will grow the window’s width.
|
# Pressing right will grow the window’s width.
|
||||||
# Pressing up will shrink the window’s height.
|
# Pressing up will shrink the window’s height.
|
||||||
# Pressing down will grow the window’s height.
|
# Pressing down will grow the window’s height.
|
||||||
bindsym j resize shrink width 10 px or 10 ppt
|
bindsym h resize shrink width 10 px or 10 ppt
|
||||||
bindsym k resize grow height 10 px or 10 ppt
|
bindsym j resize grow height 10 px or 10 ppt
|
||||||
bindsym l resize shrink height 10 px or 10 ppt
|
bindsym k resize shrink height 10 px or 10 ppt
|
||||||
bindsym semicolon resize grow width 10 px or 10 ppt
|
bindsym l resize grow width 10 px or 10 ppt
|
||||||
|
|
||||||
# same bindings, but for the arrow keys
|
# same bindings, but for the arrow keys
|
||||||
bindsym Left resize shrink width 10 px or 10 ppt
|
bindsym Left resize shrink width 10 px or 10 ppt
|
||||||
@@ -188,16 +168,29 @@ mode "resize" {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bindsym $mod+r mode "resize"
|
bindsym $mod+r mode "resize"
|
||||||
|
bindsym $mod+Right resize grow width 30px
|
||||||
|
bindsym $mod+Left resize shrink width 30px
|
||||||
|
|
||||||
|
|
||||||
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||||
|
|
||||||
default_border normal 5px
|
default_border pixel 3px
|
||||||
|
smart_borders on
|
||||||
# This needs a newer verison of i3 then I have on my desktop right now
|
# This needs a newer verison of i3 then I have on my desktop right now
|
||||||
#gaps inner 5px
|
gaps inner 5px
|
||||||
|
|
||||||
# Turn off my screen after 10 min of in-activity
|
# Turn off my screen after 10 min of in-activity
|
||||||
exec --no-startup-id xset dpms 600
|
exec --no-startup-id xset dpms 600
|
||||||
exec --no-startup-id /usr/bin/blueman-applet
|
exec --no-startup-id /usr/bin/blueman-applet
|
||||||
exec --no-startup-id nitrogen --restore
|
exec --no-startup-id nitrogen --restore
|
||||||
|
exec --no-startup-id greenclip deamon
|
||||||
|
exec --no-startup-id flatpak run com.core447.StreamController -b
|
||||||
|
exec --no-startup-id picom
|
||||||
|
exec --no-startup-id ~/bin/stack-v5.3.1-20240731-x86_64.AppImage
|
||||||
|
|
||||||
|
bindsym $win+period exec flatpak run it.mijorus.smile
|
||||||
|
|
||||||
|
#exec --no-startup-id i3-msg "workspace 6; append_layout ~/.config/i3/workspace-6.json"
|
||||||
|
|
||||||
|
client.focused #ffff00 #ffff00 #000000 #ffff00 #ffff00
|
||||||
|
|
||||||
bindcode $win+. exec flatpak run it.mijorus.smile
|
|
||||||
|
|||||||
@@ -1,48 +1,49 @@
|
|||||||
// vim:ts=4:sw=4:et
|
// vim:ts=4:sw=4:et
|
||||||
{
|
{
|
||||||
// splith split container with 3 children
|
"name": "Todoist",
|
||||||
"border": "normal",
|
"percent": 0.15,
|
||||||
"floating": "auto_off",
|
|
||||||
"layout": "splith",
|
|
||||||
"marks": [],
|
|
||||||
"percent": 1,
|
|
||||||
"type": "con",
|
|
||||||
"nodes": [
|
|
||||||
{
|
|
||||||
"border": "none",
|
|
||||||
"current_border_width": 5,
|
|
||||||
"floating": "user_off",
|
|
||||||
"marks": [],
|
|
||||||
"name": "Todoist - Today – Todoist",
|
|
||||||
"percent": 0.20,
|
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"instance": "^crx_knaiokfnmjjldlfhlioejgcompgenfhb$"
|
"instance": "^crx_knaiokfnmjjldlfhlioejgcompgenfhb$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
},
|
}
|
||||||
{
|
|
||||||
"border": "normal",
|
{
|
||||||
"current_border_width": 2,
|
"name": "Brave",
|
||||||
"floating": "user_off",
|
|
||||||
"marks": [],
|
|
||||||
"name": "i3: Layout saving in i3 - Brave",
|
|
||||||
"percent": 0.60,
|
"percent": 0.60,
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"instance": "^brave\\-browser$"
|
"class": "^Brave\\-browser$",
|
||||||
|
"instance": "^brave\\-browser$",
|
||||||
|
"window_role": "^browser$"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "con"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
// splitv split container with 2 children
|
||||||
|
"border": "pixel",
|
||||||
|
"floating": "auto_off",
|
||||||
|
"layout": "splitv",
|
||||||
|
"percent": 0.35,
|
||||||
|
"type": "con",
|
||||||
|
"nodes": [
|
||||||
|
{
|
||||||
|
"name": "Logseq",
|
||||||
|
"percent": 0.5,
|
||||||
|
"swallows": [
|
||||||
|
{
|
||||||
|
"class": "^Logseq$"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "con"
|
"type": "con"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"border": "normal",
|
"name": "Terminal",
|
||||||
"current_border_width": 5,
|
"percent": 0.5,
|
||||||
"floating": "auto_off",
|
|
||||||
"marks": [],
|
|
||||||
"name": "bgrolleman@laura: ~",
|
|
||||||
"percent": 0.20,
|
|
||||||
"swallows": [
|
"swallows": [
|
||||||
{
|
{
|
||||||
"class": "^kitty$"
|
"class": "^kitty$"
|
||||||
|
|||||||
53
i3/workspace-6.json
Normal file
53
i3/workspace-6.json
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
// vim:ts=4:sw=4:et
|
||||||
|
{
|
||||||
|
"marks": [],
|
||||||
|
"name": "YouTube Music",
|
||||||
|
"percent": 0.25,
|
||||||
|
"swallows": [
|
||||||
|
{
|
||||||
|
"class": "^Brave\\-browser$",
|
||||||
|
"instance": "^crx_cinhimbnkkaeohfgghhklpknlkffjgod$",
|
||||||
|
"title": "^YouTube\\ Music$"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "con"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"marks": [],
|
||||||
|
"name": "WhatsApp Web",
|
||||||
|
"percent": 0.25,
|
||||||
|
"swallows": [
|
||||||
|
{
|
||||||
|
"class": "^Brave\\-browser$",
|
||||||
|
"instance": "^crx_hnpfjngllnobngcgfapefoaidbinmjnm$",
|
||||||
|
"title": "^WhatsApp\\ Web$"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "con"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"marks": [],
|
||||||
|
"name": "WhatsApp Web",
|
||||||
|
"percent": 0.25,
|
||||||
|
"swallows": [
|
||||||
|
{
|
||||||
|
"class": "^Brave\\-browser$",
|
||||||
|
"instance": "^crx_hnpfjngllnobngcgfapefoaidbinmjnm$"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "con"
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
"marks": [],
|
||||||
|
"name": "Friends - Discord",
|
||||||
|
"percent": 0.25,
|
||||||
|
"swallows": [
|
||||||
|
{
|
||||||
|
"class": "^discord$"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"type": "con"
|
||||||
|
}
|
||||||
10
i3/workspace1.sh
Executable file
10
i3/workspace1.sh
Executable file
@@ -0,0 +1,10 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
i3-msg "workspace 1; append_layout ~/.config/i3/workspace-1.json"
|
||||||
|
sleep 0.5
|
||||||
|
/usr/bin/brave-browser &
|
||||||
|
sleep 0.5
|
||||||
|
/usr/bin/kitty &
|
||||||
|
sleep 0.5
|
||||||
|
flatpak run com.logseq.Logseq &
|
||||||
|
sleep 0.5
|
||||||
|
gtk-launch "brave-knaiokfnmjjldlfhlioejgcompgenfhb-Default.desktop" &
|
||||||
65
picom.conf
Normal file
65
picom.conf
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
shadow = false;
|
||||||
|
shadow-radius = 7;
|
||||||
|
shadow-offset-x = -7;
|
||||||
|
shadow-offset-y = -7;
|
||||||
|
shadow-exclude = [ "name = 'Notification'", "class_g = 'Conky'", "class_g ?= 'Notify-osd'", "class_g = 'Cairo-clock'", "_GTK_FRAME_EXTENTS@:c" ];
|
||||||
|
fading = true;
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
inactive-opacity = 0.95;
|
||||||
|
frame-opacity = 0.7;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
focus-exclude = [ "class_g = 'Cairo-clock'" ];
|
||||||
|
corner-radius = 10.0;
|
||||||
|
rounded-corners-exclude = [ "window_type = 'dock'", "window_type = 'desktop'" ];
|
||||||
|
blur-kern = "3x3box";
|
||||||
|
blur-background-exclude = [ "window_type = 'dock'", "window_type = 'desktop'", "_GTK_FRAME_EXTENTS@:c" ];
|
||||||
|
backend = "glx";
|
||||||
|
vsync = true;
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
detect-client-opacity = true;
|
||||||
|
detect-transient = true;
|
||||||
|
use-damage = true;
|
||||||
|
log-level = "warn";
|
||||||
|
wintypes :
|
||||||
|
{
|
||||||
|
tooltip :
|
||||||
|
{
|
||||||
|
fade = true;
|
||||||
|
shadow = true;
|
||||||
|
opacity = 0.75;
|
||||||
|
focus = true;
|
||||||
|
full-shadow = false;
|
||||||
|
};
|
||||||
|
dock :
|
||||||
|
{
|
||||||
|
shadow = false;
|
||||||
|
clip-shadow-above = false;
|
||||||
|
full-shadow = false;
|
||||||
|
opacity = 1.0;
|
||||||
|
focus = true;
|
||||||
|
};
|
||||||
|
dnd :
|
||||||
|
{
|
||||||
|
shadow = false;
|
||||||
|
};
|
||||||
|
popup_menu :
|
||||||
|
{
|
||||||
|
opacity = 0.8;
|
||||||
|
};
|
||||||
|
dropdown_menu :
|
||||||
|
{
|
||||||
|
opacity = 0.8;
|
||||||
|
};
|
||||||
|
menu :
|
||||||
|
{
|
||||||
|
shadow = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
blur-background = true;
|
||||||
|
shadow-opacity = 0.1;
|
||||||
|
blur-background-frame = false;
|
||||||
|
inactive-dim = 0.2;
|
||||||
|
|
||||||
@@ -3,7 +3,7 @@ monitor = DP-0
|
|||||||
width = 100%
|
width = 100%
|
||||||
height = 34
|
height = 34
|
||||||
|
|
||||||
background = #00000000
|
background = #cc000000
|
||||||
foreground = #ccffffff
|
foreground = #ccffffff
|
||||||
|
|
||||||
line-color = ${bar/bottom.background}
|
line-color = ${bar/bottom.background}
|
||||||
@@ -241,6 +241,8 @@ label-connected = WIFI %essid% %local_ip%
|
|||||||
label-disconnected = WIFI DISCONNECTED
|
label-disconnected = WIFI DISCONNECTED
|
||||||
label-disconnected-foreground = #66
|
label-disconnected-foreground = #66
|
||||||
|
|
||||||
|
click-left = nm-connection-editor
|
||||||
|
|
||||||
[module/wired-network]
|
[module/wired-network]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = eno2
|
interface = eno2
|
||||||
|
|||||||
Reference in New Issue
Block a user