This commit is contained in:
Jaroslaw Konik 2023-07-21 17:34:40 +02:00
parent e1fae37676
commit 0771516462
4 changed files with 133 additions and 82 deletions

File diff suppressed because one or more lines are too long

View file

@ -13,7 +13,7 @@ set $mod Mod4
# Font for window titles. Will also be used by the bar unless a different font
# is used in the bar {} block below.
font pango:FiraCode Nerd Font 12
font pango:FiraCode Nerd Font 16
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
@ -22,13 +22,15 @@ font pango:FiraCode Nerd Font 12
# Start XDG autostart .desktop files using dex. See also
# https://wiki.archlinux.org/index.php/XDG_Autostart
exec --no-startup-id dex --autostart --environment i3
exec --no-startup-id dunst
# The combination of xss-lock, nm-applet and pactl is a popular choice, so
# they are included here as an example. Modify as you see fit.
# 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.
# exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork -i ~/Pictures/wallpaper.jpg
# 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.
@ -36,10 +38,14 @@ exec --no-startup-id nm-applet
# Use pactl to adjust volume in PulseAudio.
# set $refresh_i3status killall -SIGUSR1 i3status
# bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
# bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
# bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
# bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
bindsym XF86AudioLowerVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -10% && $refresh_i3status
bindsym XF86AudioMute exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle && $refresh_i3status
bindsym XF86AudioMicMute exec --no-startup-id pactl set-source-mute @DEFAULT_SOURCE@ toggle && $refresh_i3status
bindsym XF86AudioNext exec --no-startup-id playerctl next
bindsym XF86AudioPrev exec --no-startup-id playerctl previous
bindsym XF86AudioPause exec --no-startup-id playerctl play-pause
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod
@ -50,6 +56,7 @@ floating_modifier $mod
# start a terminal
bindsym $mod+Return exec kitty
bindsym $mod+backslash exec code
# kill focused window
bindsym $mod+Shift+q [con_id="__focused__" title="^(?!Messenger).*$" class="^(?!thunderbird|Caprine|discord|Spotify).*$"] kill
@ -173,9 +180,9 @@ mode "resize" {
bindsym $mod+r mode "resize"
# set primary gruvbox colorscheme colors
set $bg #282828
set $bg #282828CC
set $red #cc241d
set $green #98971a
set $green #4E562C
set $yellow #d79921
set $blue #458588
set $purple #b16286
@ -185,36 +192,43 @@ set $darkgray #1d2021
# green gruvbox
# class border|backgr|text|indicator|child_border
client.focused $green $green $darkgray $purple $darkgray
client.focused $green $green $darkgray $purple $green
client.focused_inactive $darkgray $darkgray $yellow $purple $darkgray
client.unfocused $darkgray $darkgray $yellow $purple $darkgray
client.unfocused $red $darkgray $yellow $purple $darkgray
client.urgent $red $red $white $red $red
# bar {
# position top
# colors {
# background #282A36
# statusline #F8F8F2
# separator #44475A
#
# focused_workspace #44475A #44475A #F8F8F2
# active_workspace #282A36 #44475A #F8F8F2
# inactive_workspace #282A36 #282A36 #BFBFBF
# urgent_workspace #FF5555 #FF5555 #F8F8F2
# binding_mode #FF5555 #FF5555 #F8F8F2
# }
# }
bar {
i3bar_command i3bar --transparency
position top
status_command SCRIPT_DIR=~/.config/i3blocks i3blocks
tray_padding 5px
padding 5px
colors {
# bar background color
background $bg
# text color used for blocks that do not have a color specified.
statusline $aqua
# workspaces section
# border backgr. text
focused_workspace $aqua $aqua $darkgray
inactive_workspace $darkgray $darkgray $yellow
active_workspace $darkgray $darkgray $yellow
urgent_workspace $red $red $bg
}
}
exec_always xrandr --output HDMI-1 --mode 3840x1200 -r 99.00
exec_always setxkbmap -option caps:escape
exec_always --no-startup-id picom
exec_always --no-startup-id picom -bc
exec_always --no-startup-id xset dpms 180 360 720
# bindsym $mod+d exec "dmenu_run -l 10 -nf '#F8F8F2' -nb '#282A36' -sb '#6272A4' -sf '#F8F8F2' -fn 'FiraCode Nerd Font-20' -p 'run:'"
exec feh --bg-fill ~/Pictures/wallpaper.jpg
# exec_always --no-startup-id $HOME/.config/polybar/launch.sh
for_window [instance="Godot_Engine"] floating enable
for_window [title="Desktop @ QRect(0,0 3840x1200) — Plasma"] kill, floating enable, border none
for_window [class="plasmashell"] floating enable
for_window [class="Pavucontrol"] floating enable
for_window [class="Plasma"] floating enable, border none
for_window [title="plasma-desktop"] floating enable, border none
for_window [title="win7"] floating enable, border none
@ -226,20 +240,22 @@ for_window [class="(?i)*nextcloud*"] floating disable
for_window [class="plasmashell" window_type="notification"] floating enable, border none, move right 700px, move down 450px
no_focus [class="plasmashell" window_type="notification"]
for_window [class="Spotify"] floating enable
for_window [class="Spotify"] floating enable
for_window [class="Bitwarden"] floating enable
for_window [class="steam"] floating enable
for_window [class="dolphin"] floating enable
for_window [class="dolphin"] floating enable
for_window [class="Caprine"] floating enable move scratchpad
for_window [title="Messenger"] floating enable move scratchpad
for_window [class="discord"] floating enable move scratchpad
for_window [class="thunderbird"] floating enable move scratchpad
for_window [class="Slack"] floating enable move scratchpad
for_window [class="zoom"] floating enable
for_window [title="Overview Home Assistant"] floating enable
for_window [title="Outlook"] floating enable
for_window [title="Netflix"] floating enable
for_window [title="Welcome to Prime Video"] floating enable
for_window [class="spectacle"] floating enable
for_window [class="zoom"] floating enable
for_window [class="Gpick"] floating enable
for_window [title="Overview Home Assistant"] floating enable
for_window [title="Outlook"] floating enable
for_window [title="Netflix"] floating enable
for_window [title="Welcome to Prime Video"] floating enable
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+minus scratchpad show
@ -252,3 +268,10 @@ bindsym Shift+Print exec --no-startup-id maim --select "/home/$USER/Pictures/$(d
bindsym Ctrl+Print exec --no-startup-id maim | xclip -selection clipboard -t image/png
bindsym Ctrl+$mod+Print exec --no-startup-id maim --window $(xdotool getactivewindow) | xclip -selection clipboard -t image/png
bindsym Ctrl+Shift+Print exec --no-startup-id maim --select | xclip -selection clipboard -t image/png
default_border pixel 5
default_floating_border pixel 5
smart_borders on
gaps inner 20

26
polybar
View file

@ -17,13 +17,25 @@
;==========================================================
[colors]
background = #282A2E
background-alt = #373B41
foreground = #C5C8C6
primary = #F0C674
secondary = #8ABEB7
alert = #A54242
disabled = #707880
# background = #282A2E
# background-alt = #373B41
# foreground = #C5C8C6
# primary = #F0C674
# secondary = #8ABEB7
# alert = #A54242
# disabled = #707880
background = #282828
foreground = #ebdbb2
red = #fb4934
green = #b8bb26
yellow = #fabd2f
blue = #83a598
purple = #d3869b
teal = #8ec07c
orange = #fe8019
gray = #a89984
[bar/example]
width = 100%

View file

@ -1,45 +1,61 @@
{
"keyboard.dispatch": "keyCode",
"godot_tools.gdscript_lsp_server_port": 6005,
"terminal.integrated.shellArgs.linux": [
"-l"
],
"editor.fontLigatures": true,
"vim.handleKeys": {
"<C-w>": false
"keyboard.dispatch": "keyCode",
"godot_tools.gdscript_lsp_server_port": 6005,
"terminal.integrated.profiles.linux": {
"bash": {
"path": "bash",
"icon": "terminal-bash",
"args": ["--login"]
},
"editor.fontFamily": "FiraCode Nerd Font",
"yaml.schemas": {
"file:///home/jaroslaw/.vscode-oss/extensions/atlassian.atlascode-3.0.2-universal/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
},
"git.autofetch": true,
"editor.formatOnSave": true,
"terminal.integrated.confirmOnExit": "always",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.editor.enablePreview": false,
"diffEditor.renderSideBySide": false,
"sshfs.configs": [
{
"name": "proest"
}
],
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"terminal.integrated.scrollback": 10000,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"editor.inlayHints.fontSize": 8,
"editor.inlayHints.padding": true,
"workbench.colorTheme": "Catppuccin Macchiato",
"gitdoc.autoCommitDelay": 3000,
"workbench.iconTheme": "catppuccin-macchiato",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.fontLigatures": true,
"vim.handleKeys": {
"<C-w>": false
},
"editor.fontFamily": "FiraCode Nerd Font",
"yaml.schemas": {
"file:///home/jaroslaw/.vscode-oss/extensions/atlassian.atlascode-3.0.2-universal/resources/schemas/pipelines-schema.json": "bitbucket-pipelines.yml"
},
"git.autofetch": true,
"editor.formatOnSave": true,
"terminal.integrated.confirmOnExit": "always",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.editor.enablePreview": false,
"diffEditor.renderSideBySide": false,
"sshfs.configs": [
{
"name": "proest"
}
],
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"terminal.integrated.scrollback": 10000,
"[rust]": {
"editor.defaultFormatter": "rust-lang.rust-analyzer"
},
"editor.inlayHints.fontSize": 8,
"editor.inlayHints.padding": true,
"workbench.colorTheme": "Gruvbox Dark Hard",
"gitdoc.autoCommitDelay": 3000,
"workbench.iconTheme": "minimalistic-icons",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.minimap.enabled": false,
"editor.renderWhitespace": "all",
"window.menuBarVisibility": "toggle",
"git.showActionButton": {
"commit": false,
"publish": false,
"sync": false
},
"git.showCommitInput": false,
"workbench.activityBar.visible": false,
"sync.gist": "ee2019552f59482a09ee3328c3a30c26",
"glassit.alpha": 220,
}