Compare commits
2 commits
7fc599572f
...
0c6cb90822
| Author | SHA1 | Date | |
|---|---|---|---|
| 0c6cb90822 | |||
| 21039d74f1 |
1 changed files with 37 additions and 14 deletions
51
i3/config
51
i3/config
|
|
@ -47,25 +47,17 @@ floating_modifier $mod
|
||||||
|
|
||||||
# start a terminal
|
# start a terminal
|
||||||
# bindsym $mod+Return exec alacritty
|
# bindsym $mod+Return exec alacritty
|
||||||
bindsym $mod+Return exec ~/.local/kitty.app/bin/kitty
|
# bindsym $mod+Return exec ~/.local/kitty.app/bin/kitty
|
||||||
|
|
||||||
# Screenshots
|
# Screenshots
|
||||||
bindsym Mod1+Shift+A exec "/usr/bin/flameshot gui"
|
bindsym Mod1+Shift+A exec "/usr/bin/flameshot gui"
|
||||||
|
|
||||||
# Boomer
|
|
||||||
bindsym Mod1+Shift+Z exec "/home/pro100ton/Documents/development/boomer/boomer"
|
|
||||||
|
|
||||||
# Browser
|
|
||||||
bindsym Ctrl+Shift+B exec chromium
|
|
||||||
|
|
||||||
# Obsidian
|
|
||||||
bindsym Ctrl+Shift+O exec obsidian
|
|
||||||
|
|
||||||
# kill focused window
|
# kill focused window
|
||||||
bindsym $mod+Shift+q kill
|
bindsym $mod+Shift+q kill
|
||||||
|
|
||||||
# start dmenu (a program launcher)
|
# start dmenu (a program launcher)
|
||||||
bindsym $mod+d exec --no-startup-id dmenu_run
|
bindsym $mod+d exec --no-startup-id rofi -show run
|
||||||
# A more modern dmenu replacement is rofi:
|
# A more modern dmenu replacement is rofi:
|
||||||
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
# bindcode $mod+40 exec "rofi -modi drun,run -show drun"
|
||||||
# There also is i3-dmenu-desktop which only displays applications shipping a
|
# There also is i3-dmenu-desktop which only displays applications shipping a
|
||||||
|
|
@ -166,6 +158,33 @@ bindsym $mod+Shift+r restart
|
||||||
# exit i3 (logs you out of your X session)
|
# exit i3 (logs you out of your X session)
|
||||||
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'"
|
||||||
|
|
||||||
|
# Section for manipulating the windows
|
||||||
|
# Browser
|
||||||
|
# bindsym Ctrl+Shift+B exec brave-browser
|
||||||
|
|
||||||
|
# Obsidian
|
||||||
|
# bindsym Ctrl+Shift+O exec obsidian
|
||||||
|
|
||||||
|
# Binding to focus fo certain apps
|
||||||
|
# bindsym Mod1+Shift+o [class="obsidian"] focus
|
||||||
|
# bindsym Mod1+Shift+d [class="Google-chrome"] focus
|
||||||
|
# bindsym Mod1+Shift+k [class="kitty"] focus
|
||||||
|
# bindsym Mod1+Shift+t [class="Telegram"] focus
|
||||||
|
# bindsym Mod1+Shift+b [class="Brave-browser"] focus
|
||||||
|
|
||||||
|
bindsym Ctrl+Shift+b exec --no-startup-id sh -c 'i3-msg "[class=\"Brave-browser\"] focus" || brave-browser'
|
||||||
|
bindsym Ctrl+Shift+o exec --no-startup-id sh -c 'i3-msg "[class=\"obsidian\"] focus" || obsidian'
|
||||||
|
bindsym $mod+Return exec --no-startup-id sh -c 'i3-msg "[class=\"kitty\"] focus" || ~/.local/kitty.app/bin/kitty'
|
||||||
|
bindsym Ctrl+Shift+t exec --no-startup-id sh -c 'i3-msg "[class=\"Telegram\"] focus" || Telegram'
|
||||||
|
bindsym Ctrl+Shift+d exec --no-startup-id sh -c 'i3-msg "[class=\"Google-chrome\"] focus" || Google-chrome'
|
||||||
|
|
||||||
|
# bindsym Ctrl+Mod1+Shift+o [class="obsidian"] focus
|
||||||
|
# bindsym Ctrl+Mod1+Shift+d [class="Google-chrome"] focus
|
||||||
|
# bindsym Ctrl+Mod1+Shift+b [class="Chromium-browser"] focus
|
||||||
|
# bindsym Ctrl+Mod1+Shift+t [class="Telegram"] focus
|
||||||
|
# bindsym Ctrl+Mod1+Shift+k [class="kitty"] focus
|
||||||
|
# bindsym Ctrl+Mod1+Shift+Tab exec rofi -show window
|
||||||
|
|
||||||
# resize window (you can also use the mouse for that)
|
# resize window (you can also use the mouse for that)
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
# These bindings trigger as soon as you enter the resize mode
|
# These bindings trigger as soon as you enter the resize mode
|
||||||
|
|
@ -208,19 +227,22 @@ exec_always --no-startup-id $HOME/.config/polybar/launch.sh
|
||||||
gaps inner 6
|
gaps inner 6
|
||||||
|
|
||||||
# Change layout language
|
# Change layout language
|
||||||
exec --no-startup-id setxkbmap -model pc105 -layout us,ru -option grp:alt_space_toggle
|
# exec_always --no-startup-id setxkbmap -model pc105 -layout us,ru -option grp:win_space_toggle
|
||||||
|
exec_always --no-startup-id setxkbmap -model pc105 -layout us,ru -option grp:alt_space_toggle
|
||||||
|
|
||||||
title_align center
|
title_align center
|
||||||
|
|
||||||
# Configure workspaces on monitors
|
# Configure workspaces on monitors
|
||||||
workspace 1 output DP-2
|
workspace 1 output DP-2
|
||||||
|
workspace 2 output DP-2
|
||||||
workspace 3 output DP-2
|
workspace 3 output DP-2
|
||||||
|
workspace 4 output DP-2
|
||||||
workspace 5 output DP-2
|
workspace 5 output DP-2
|
||||||
|
workspace 6 output DP-2
|
||||||
workspace 7 output DP-2
|
workspace 7 output DP-2
|
||||||
workspace 2 output DP-4
|
|
||||||
workspace 4 output DP-4
|
|
||||||
workspace 6 output DP-4
|
|
||||||
workspace 8 output DP-4
|
workspace 8 output DP-4
|
||||||
|
workspace 9 output DP-4
|
||||||
|
workspace 10 output DP-4
|
||||||
|
|
||||||
# Set font
|
# Set font
|
||||||
font pango:JetBrainsMonoNL Nerd Font Bold 10
|
font pango:JetBrainsMonoNL Nerd Font Bold 10
|
||||||
|
|
@ -243,3 +265,4 @@ bindsym Control+Mod1+q exec "i3lock -c 000000"
|
||||||
# Wallpapers setup
|
# Wallpapers setup
|
||||||
# exec --no-startup-id feh --bg-scale --randomize ~/Pictures/Wallpapers/gruvbox/*
|
# exec --no-startup-id feh --bg-scale --randomize ~/Pictures/Wallpapers/gruvbox/*
|
||||||
exec --no-startup-id ~/Pictures/Wallpapers/wps.sh
|
exec --no-startup-id ~/Pictures/Wallpapers/wps.sh
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue