mirror of
https://github.com/bgrolleman/dotfiles.git
synced 2025-12-06 05:45:24 +01:00
Compare commits
4 Commits
TF
...
999411251c
| Author | SHA1 | Date | |
|---|---|---|---|
| 999411251c | |||
| 4c06d7ccd4 | |||
| 02bdf43a40 | |||
| 8f0d75f685 |
@@ -21,6 +21,7 @@
|
|||||||
- playerctl
|
- playerctl
|
||||||
- blueman
|
- blueman
|
||||||
- pavucontrol
|
- pavucontrol
|
||||||
|
- picom
|
||||||
|
|
||||||
- name: Development Environment
|
- name: Development Environment
|
||||||
become: true
|
become: true
|
||||||
@@ -44,3 +45,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
|
||||||
|
|||||||
46
i3/config
46
i3/config
@@ -8,6 +8,8 @@
|
|||||||
# i3 config file (v4)
|
# i3 config file (v4)
|
||||||
#
|
#
|
||||||
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
# Please see https://i3wm.org/docs/userguide.html for a complete reference!
|
||||||
|
# Some reason system boots wrong resolution
|
||||||
|
exec --no-startup-id ~/bin/set_display_ultrawide
|
||||||
|
|
||||||
# Alt
|
# Alt
|
||||||
set $mod Mod1
|
set $mod Mod1
|
||||||
@@ -31,7 +33,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.
|
||||||
@@ -63,16 +65,17 @@ bindsym $mod+Shift+q kill
|
|||||||
# 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 Mod4+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"
|
||||||
|
|
||||||
# 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:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Left focus left
|
bindsym $mod+Left focus left
|
||||||
@@ -81,10 +84,10 @@ bindsym $mod+Up focus up
|
|||||||
bindsym $mod+Right focus right
|
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:
|
# alternatively, you can use the cursor keys:
|
||||||
bindsym $mod+Shift+Left move left
|
bindsym $mod+Shift+Left move left
|
||||||
@@ -93,13 +96,14 @@ bindsym $mod+Shift+Up move up
|
|||||||
bindsym $mod+Shift+Right move right
|
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
|
# split in vertical orientation
|
||||||
bindsym $mod+v split v
|
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
|
||||||
@@ -170,10 +174,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
|
||||||
@@ -191,13 +195,21 @@ bindsym $mod+r mode "resize"
|
|||||||
|
|
||||||
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 1px
|
||||||
|
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"
|
||||||
|
|
||||||
bindcode $win+. exec flatpak run it.mijorus.smile
|
|
||||||
|
|||||||
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"
|
||||||
|
}
|
||||||
63
picom.conf
Normal file
63
picom.conf
Normal file
@@ -0,0 +1,63 @@
|
|||||||
|
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.9;
|
||||||
|
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;
|
||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user