Add kitty configuration
Split confs to template colors only and have different confs for different monitors
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
|||||||
scripts/variables
|
scripts/variables
|
||||||
links/X11/.Xresources
|
links/X11/.Xresources
|
||||||
links/dunst/dunstrc
|
links/dunst/dunstrc
|
||||||
links/polybar/config.ini
|
links/polybar/colors.ini
|
||||||
links/rofi/colors.rasi
|
links/rofi/colors.rasi
|
||||||
|
|||||||
12
TODO
12
TODO
@@ -1,8 +1,10 @@
|
|||||||
install steam, wine and lib32 multilib
|
install steam, wine and lib32 multilib #
|
||||||
pipwire-pulseaudio as root to X11
|
basename opti ##
|
||||||
configure yazi
|
configure yazi #
|
||||||
debug systray refresh
|
debug systray refresh #
|
||||||
Configure Kitty (shortcut for tab and layout) and Alacritty and test them
|
Reconfigure scripts with kitty ? ##
|
||||||
|
nvim bufferline colors #
|
||||||
|
configure for work ###
|
||||||
## Hyprland
|
## Hyprland
|
||||||
wofi
|
wofi
|
||||||
foot
|
foot
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ genfstab -U /mnt | sed "s/subvolid=[0-9]\{3\},//" > /mnt/etc/fstab
|
|||||||
sed -i "/^HOOKS/s|block|block encrypt btrfs|" /mnt/etc/mkinitcpio.conf
|
sed -i "/^HOOKS/s|block|block encrypt btrfs|" /mnt/etc/mkinitcpio.conf
|
||||||
sed -i "s|^BINARIES.*|BINARIES=\(btrfs\)|" /mnt/etc/mkinitcpio.conf
|
sed -i "s|^BINARIES.*|BINARIES=\(btrfs\)|" /mnt/etc/mkinitcpio.conf
|
||||||
|
|
||||||
printf "cryptdevice=UUID=%s:rootfs root=UUID=%s rootflags=subvol=@ rw initrd=\\intel-ucode.img initrd=\\initramfs-linux.img loglevel=3 %s intel_iommu=on iommu=pt" \
|
printf "cryptdevice=UUID=%s:rootfs root=UUID=%s rootflags=subvol=@ rw initrd=\\intel-ucode.img initrd=\\initramfs-linux.img loglevel=3 %s intel_iommu=on iommu=pt nvidia_drm.fbdev=1 nvidia_drm.modeset=1" \
|
||||||
"$(blkid --match-token PARTLABEL=SYS -s UUID -o value)" \
|
"$(blkid --match-token PARTLABEL=SYS -s UUID -o value)" \
|
||||||
"$(blkid --match-token LABEL=root -s UUID -o value)" \
|
"$(blkid --match-token LABEL=root -s UUID -o value)" \
|
||||||
"$(_kernel_colors)" \
|
"$(_kernel_colors)" \
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
Name=Teams
|
Name=Teams
|
||||||
Comment=Microsoft Call, Chat, o365 interface...
|
Comment=Microsoft Call, Chat, o365 interface...
|
||||||
GenericName=Teams - Client for linux
|
GenericName=Teams - Client for linux
|
||||||
Exec=flatpak run com.github.IsmaelMartinez.teams_for_linux --no-sandbox 2&>1 > /dev/null
|
Exec=flatpak run com.github.IsmaelMartinez.teams_for_linux --no-sandbox > /dev/null 2>&1
|
||||||
Icon=teams
|
Icon=teams
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=false
|
StartupNotify=false
|
||||||
|
|||||||
@@ -50,47 +50,7 @@ bindsym F6 exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%
|
|||||||
# Workspaces #
|
# Workspaces #
|
||||||
##############
|
##############
|
||||||
|
|
||||||
set $monitor0 HDMI-0
|
include /etc/i3/home
|
||||||
set $monitor1 HDMI-1
|
|
||||||
#set $monitor0 eDP-1
|
|
||||||
#set $monitor1 DP-5
|
|
||||||
#set $monitor2 DP-4
|
|
||||||
|
|
||||||
set $ws1 "1"
|
|
||||||
set $ws2 "2"
|
|
||||||
set $ws3 "3"
|
|
||||||
set $ws4 "4"
|
|
||||||
set $ws5 "5"
|
|
||||||
set $ws6 "6"
|
|
||||||
set $ws7 "7"
|
|
||||||
set $ws8 "8"
|
|
||||||
|
|
||||||
workspace $ws1 output $monitor0
|
|
||||||
workspace $ws2 output $monitor0
|
|
||||||
workspace $ws3 output $monitor0
|
|
||||||
workspace $ws4 output $monitor0
|
|
||||||
workspace $ws5 output $monitor1
|
|
||||||
workspace $ws6 output $monitor1
|
|
||||||
workspace $ws7 output $monitor1
|
|
||||||
workspace $ws8 output $monitor1
|
|
||||||
|
|
||||||
bindsym $mod+mod2+KP_1 workspace $ws1
|
|
||||||
bindsym $mod+mod2+KP_2 workspace $ws2
|
|
||||||
bindsym $mod+mod2+KP_3 workspace $ws3
|
|
||||||
bindsym $mod+mod2+KP_4 workspace $ws4
|
|
||||||
bindsym $mod+mod2+KP_5 workspace $ws5
|
|
||||||
bindsym $mod+mod2+KP_6 workspace $ws6
|
|
||||||
bindsym $mod+mod2+KP_7 workspace $ws7
|
|
||||||
bindsym $mod+mod2+KP_8 workspace $ws8
|
|
||||||
|
|
||||||
bindsym $mod+Control+mod2+KP_1 move container to workspace $ws1
|
|
||||||
bindsym $mod+Control+mod2+KP_2 move container to workspace $ws2
|
|
||||||
bindsym $mod+Control+mod2+KP_3 move container to workspace $ws3
|
|
||||||
bindsym $mod+Control+mod2+KP_4 move container to workspace $ws4
|
|
||||||
bindsym $mod+Control+mod2+KP_5 move container to workspace $ws5
|
|
||||||
bindsym $mod+Control+mod2+KP_6 move container to workspace $ws6
|
|
||||||
bindsym $mod+Control+mod2+KP_7 move container to workspace $ws7
|
|
||||||
bindsym $mod+Control+mod2+KP_8 move container to workspace $ws8
|
|
||||||
|
|
||||||
###########################
|
###########################
|
||||||
#Design
|
#Design
|
||||||
@@ -112,36 +72,33 @@ set $font ComicShannsMono Nerd Font Bold
|
|||||||
font pango:$font 11
|
font pango:$font 11
|
||||||
|
|
||||||
#colors
|
#colors
|
||||||
set_from_resource $fg i3wm.foreground #abb2bf
|
set_from_resource $fg i3wm.foreground
|
||||||
set_from_resource $fgli i3wm.foreground-light #d4d8df
|
set_from_resource $fgli i3wm.foreground-light
|
||||||
set_from_resource $fglier i3wm.foreground-lighter #f6f7f9
|
set_from_resource $fglier i3wm.foreground-lighter
|
||||||
set_from_resource $bg i3wm.background #282c34
|
set_from_resource $bg i3wm.background
|
||||||
set_from_resource $bgli i3wm.background-light #323842
|
set_from_resource $bgli i3wm.background-light
|
||||||
set_from_resource $bgda i3wm.background-dark #21252b
|
set_from_resource $bgda i3wm.background-dark
|
||||||
set_from_resource $bgdaer i3wm.background-darker #1e2227
|
set_from_resource $bgdaer i3wm.background-darker
|
||||||
set_from_resource $black i3wm.color0 #1e2227
|
set_from_resource $black i3wm.color0
|
||||||
set_from_resource $red i3wm.color1 #e06c75
|
set_from_resource $red i3wm.color1
|
||||||
set_from_resource $green i3wm.color2 #98c379
|
set_from_resource $green i3wm.color2
|
||||||
set_from_resource $yellow i3wm.color3 #e5c07b
|
set_from_resource $yellow i3wm.color3
|
||||||
set_from_resource $blue i3wm.color4 #000000
|
set_from_resource $blue i3wm.color4
|
||||||
set_from_resource $purple i3wm.color5 #c678dd
|
set_from_resource $purple i3wm.color5
|
||||||
set_from_resource $cyan i3wm.color6 #56b6c2
|
set_from_resource $cyan i3wm.color6
|
||||||
set_from_resource $white i3wm.color7 #f6f7f9
|
set_from_resource $white i3wm.color7
|
||||||
|
|
||||||
# class border backgr. text indicator child_border
|
# class border backgr. text indicator child_border
|
||||||
|
|
||||||
client.focused $blue $bg $blue $purple $blue
|
client.focused $blue $bg $blue $purple $blue
|
||||||
client.focused_inactive $bgda $bgli $fglier $purple $bgda
|
client.focused_inactive $bgda $bgli $fglier $purple $bgda
|
||||||
client.unfocused $bgdaer $bg $fg $purple $bgdaer
|
client.unfocused $bgdaer $bg $fg $purple $bgdaer
|
||||||
client.urgent $red $bg $fg $purple $red
|
client.urgent $red $bg $fg $purple $red
|
||||||
client.placeholder $bgdaer $bg $fg $purple $bgdaer
|
client.placeholder $bgdaer $bg $fg $purple $bgdaer
|
||||||
|
|
||||||
client.background $bg
|
client.background $bg
|
||||||
|
|
||||||
###########
|
###########
|
||||||
# Startup #
|
# Startup #
|
||||||
###########
|
###########
|
||||||
exec --no-startup-id xrandr --output HDMI-1 --primary --right-of HDMI-0
|
|
||||||
#exec --no-startup-id xrandr --output eDP-1 --primary --output DP-5 --left-of eDP-1 --output DP-4 --left-of DP-5
|
#exec --no-startup-id xrandr --output eDP-1 --primary --output DP-5 --left-of eDP-1 --output DP-4 --left-of DP-5
|
||||||
exec_always --no-startup-id /usr/local/share/dotfiles/scripts/wallpapers.sh
|
exec_always --no-startup-id /usr/local/share/dotfiles/scripts/wallpapers.sh
|
||||||
exec_always --no-startup-id "killall picom ; picom"
|
exec_always --no-startup-id "killall picom ; picom"
|
||||||
|
|||||||
40
links/i3wm/home
Normal file
40
links/i3wm/home
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
set $monitor0 HDMI-0
|
||||||
|
set $monitor1 HDMI-1
|
||||||
|
|
||||||
|
set $ws1 "1"
|
||||||
|
set $ws2 "2"
|
||||||
|
set $ws3 "3"
|
||||||
|
set $ws4 "4"
|
||||||
|
set $ws5 "5"
|
||||||
|
set $ws6 "6"
|
||||||
|
set $ws7 "7"
|
||||||
|
set $ws8 "8"
|
||||||
|
|
||||||
|
workspace $ws1 output $monitor0
|
||||||
|
workspace $ws2 output $monitor0
|
||||||
|
workspace $ws3 output $monitor0
|
||||||
|
workspace $ws4 output $monitor0
|
||||||
|
workspace $ws5 output $monitor1
|
||||||
|
workspace $ws6 output $monitor1
|
||||||
|
workspace $ws7 output $monitor1
|
||||||
|
workspace $ws8 output $monitor1
|
||||||
|
|
||||||
|
bindsym $mod+mod2+KP_1 workspace $ws1
|
||||||
|
bindsym $mod+mod2+KP_2 workspace $ws2
|
||||||
|
bindsym $mod+mod2+KP_3 workspace $ws3
|
||||||
|
bindsym $mod+mod2+KP_4 workspace $ws4
|
||||||
|
bindsym $mod+mod2+KP_5 workspace $ws5
|
||||||
|
bindsym $mod+mod2+KP_6 workspace $ws6
|
||||||
|
bindsym $mod+mod2+KP_7 workspace $ws7
|
||||||
|
bindsym $mod+mod2+KP_8 workspace $ws8
|
||||||
|
|
||||||
|
bindsym $mod+Control+mod2+KP_1 move container to workspace $ws1
|
||||||
|
bindsym $mod+Control+mod2+KP_2 move container to workspace $ws2
|
||||||
|
bindsym $mod+Control+mod2+KP_3 move container to workspace $ws3
|
||||||
|
bindsym $mod+Control+mod2+KP_4 move container to workspace $ws4
|
||||||
|
bindsym $mod+Control+mod2+KP_5 move container to workspace $ws5
|
||||||
|
bindsym $mod+Control+mod2+KP_6 move container to workspace $ws6
|
||||||
|
bindsym $mod+Control+mod2+KP_7 move container to workspace $ws7
|
||||||
|
bindsym $mod+Control+mod2+KP_8 move container to workspace $ws8
|
||||||
|
|
||||||
|
exec --no-startup-id xrandr --output HDMI-1 --primary --right-of HDMI-0
|
||||||
0
links/i3wm/work
Normal file
0
links/i3wm/work
Normal file
80
links/kitty/current-theme.conf
Normal file
80
links/kitty/current-theme.conf
Normal file
@@ -0,0 +1,80 @@
|
|||||||
|
# vim:ft=kitty
|
||||||
|
|
||||||
|
## name: Catppuccin-Frappe
|
||||||
|
## author: Pocco81 (https://github.com/Pocco81)
|
||||||
|
## license: MIT
|
||||||
|
## upstream: https://github.com/catppuccin/kitty/blob/main/frappe.conf
|
||||||
|
## blurb: Soothing pastel theme for the high-spirited!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
# The basic colors
|
||||||
|
foreground #C6D0F5
|
||||||
|
background #303446
|
||||||
|
selection_foreground #303446
|
||||||
|
selection_background #F2D5CF
|
||||||
|
|
||||||
|
# Cursor colors
|
||||||
|
cursor #F2D5CF
|
||||||
|
cursor_text_color #303446
|
||||||
|
|
||||||
|
# URL underline color when hovering with mouse
|
||||||
|
url_color #F2D5CF
|
||||||
|
|
||||||
|
# Kitty window border colors
|
||||||
|
active_border_color #BABBF1
|
||||||
|
inactive_border_color #737994
|
||||||
|
bell_border_color #E5C890
|
||||||
|
|
||||||
|
# OS Window titlebar colors
|
||||||
|
wayland_titlebar_color system
|
||||||
|
macos_titlebar_color system
|
||||||
|
|
||||||
|
# Tab bar colors
|
||||||
|
active_tab_foreground #232634
|
||||||
|
active_tab_background #CA9EE6
|
||||||
|
inactive_tab_foreground #C6D0F5
|
||||||
|
inactive_tab_background #292C3C
|
||||||
|
tab_bar_background #232634
|
||||||
|
|
||||||
|
# Colors for marks (marked text in the terminal)
|
||||||
|
mark1_foreground #303446
|
||||||
|
mark1_background #BABBF1
|
||||||
|
mark2_foreground #303446
|
||||||
|
mark2_background #CA9EE6
|
||||||
|
mark3_foreground #303446
|
||||||
|
mark3_background #85C1DC
|
||||||
|
|
||||||
|
# The 16 terminal colors
|
||||||
|
|
||||||
|
# black
|
||||||
|
color0 #51576D
|
||||||
|
color8 #626880
|
||||||
|
|
||||||
|
# red
|
||||||
|
color1 #E78284
|
||||||
|
color9 #E78284
|
||||||
|
|
||||||
|
# green
|
||||||
|
color2 #A6D189
|
||||||
|
color10 #A6D189
|
||||||
|
|
||||||
|
# yellow
|
||||||
|
color3 #E5C890
|
||||||
|
color11 #E5C890
|
||||||
|
|
||||||
|
# blue
|
||||||
|
color4 #8CAAEE
|
||||||
|
color12 #8CAAEE
|
||||||
|
|
||||||
|
# magenta
|
||||||
|
color5 #F4B8E4
|
||||||
|
color13 #F4B8E4
|
||||||
|
|
||||||
|
# cyan
|
||||||
|
color6 #81C8BE
|
||||||
|
color14 #81C8BE
|
||||||
|
|
||||||
|
# white
|
||||||
|
color7 #B5BFE2
|
||||||
|
color15 #A5ADCE
|
||||||
51
links/kitty/kitty.conf
Normal file
51
links/kitty/kitty.conf
Normal file
@@ -0,0 +1,51 @@
|
|||||||
|
# BEGIN_KITTY_THEME
|
||||||
|
# Catppuccin-Frappe
|
||||||
|
include current-theme.conf
|
||||||
|
# END_KITTY_THEME
|
||||||
|
|
||||||
|
#Fonts
|
||||||
|
font_family DejaVuSansM Nerd Font Mono
|
||||||
|
bold_font auto
|
||||||
|
italic_font auto
|
||||||
|
bold_italic_font auto
|
||||||
|
font_size 14.0
|
||||||
|
|
||||||
|
# Scroll
|
||||||
|
scrollback_lines 65635
|
||||||
|
scrollback_indicator_opacity 0.5
|
||||||
|
|
||||||
|
#Url
|
||||||
|
open_url_with firefox
|
||||||
|
|
||||||
|
underline_hyperlinks always
|
||||||
|
|
||||||
|
copy_on_select clipboard
|
||||||
|
|
||||||
|
select_by_word_characters @-./_~?&%+#
|
||||||
|
|
||||||
|
sync_to_monitor yes
|
||||||
|
|
||||||
|
# Layout
|
||||||
|
enabled_layouts vertical
|
||||||
|
|
||||||
|
### Shortcut
|
||||||
|
# Global
|
||||||
|
map alt+up change_font_size all +2.0
|
||||||
|
map alt+down change_font_size all -2.0
|
||||||
|
map alt+= change_font_size all 0
|
||||||
|
map alt+u open_url_with_hints
|
||||||
|
map shift+up scroll_line_up
|
||||||
|
map shift+down scroll_line_down
|
||||||
|
map shift+page_up scroll_page_up
|
||||||
|
map shift+page_down scroll_page_down
|
||||||
|
mouse_map alt+middle press ungrabbed paste_from_clipboard
|
||||||
|
# Layout
|
||||||
|
map alt+s new_window
|
||||||
|
map alt+p previous_window
|
||||||
|
map alt+n next_window
|
||||||
|
# Tab
|
||||||
|
map alt+enter new_tab
|
||||||
|
map alt+left previous_tab
|
||||||
|
map alt+right next_tab
|
||||||
|
map alt+tab next_tab
|
||||||
|
map alt+t set_tab_title
|
||||||
@@ -16,75 +16,8 @@
|
|||||||
;
|
;
|
||||||
;==========================================================
|
;==========================================================
|
||||||
|
|
||||||
[colors]
|
include-file = /etc/polybar/colors.ini
|
||||||
background = #cc{{background}}
|
include-file = /etc/polybar/home.ini
|
||||||
background-alt = #{{background_dark}}
|
|
||||||
foreground = #{{foreground}}
|
|
||||||
primary = #{{color4}}
|
|
||||||
alert = #{{color1}}
|
|
||||||
disabled = #{{color7}}
|
|
||||||
|
|
||||||
[bar/HDMI-0]
|
|
||||||
monitor = HDMI-0
|
|
||||||
|
|
||||||
width = 100%
|
|
||||||
height = 30px
|
|
||||||
radius = 0
|
|
||||||
|
|
||||||
background = ${colors.background}
|
|
||||||
foreground = ${colors.foreground}
|
|
||||||
|
|
||||||
line-size = 3px
|
|
||||||
|
|
||||||
border-size = 0pt
|
|
||||||
|
|
||||||
padding-left = 10px
|
|
||||||
padding-right = 0px
|
|
||||||
|
|
||||||
font-0 = ComicShannsMono Nerd Font:size=14;2
|
|
||||||
font-1 = ComicShannsMono Nerd Font:size=14;1
|
|
||||||
font-2 = ComicShannsMono Nerd Font:size=14;0
|
|
||||||
|
|
||||||
fixed-center = true
|
|
||||||
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
|
||||||
modules-center = i3
|
|
||||||
modules-right = xkeyboard separator dateprefix date
|
|
||||||
|
|
||||||
cursor-click = pointer
|
|
||||||
cursor-scroll = ns-resize
|
|
||||||
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[bar/HDMI-1]
|
|
||||||
monitor = HDMI-1
|
|
||||||
|
|
||||||
width = 100%
|
|
||||||
height = 30px
|
|
||||||
radius = 0
|
|
||||||
|
|
||||||
background = ${colors.background}
|
|
||||||
foreground = ${colors.foreground}
|
|
||||||
|
|
||||||
line-size = 3px
|
|
||||||
|
|
||||||
border-size = 0pt
|
|
||||||
|
|
||||||
padding-left = 10px
|
|
||||||
padding-right = 0px
|
|
||||||
|
|
||||||
font-0 = ComicShannsMono Nerd Font:size=14;2
|
|
||||||
font-1 = ComicShannsMono Nerd Font:size=14;1
|
|
||||||
font-2 = ComicShannsMono Nerd Font:size=14;0
|
|
||||||
|
|
||||||
fixed-center = true
|
|
||||||
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
|
||||||
modules-center = i3
|
|
||||||
modules-right = pacman separator xkeyboard separator dateprefix date systray
|
|
||||||
|
|
||||||
cursor-click = pointer
|
|
||||||
cursor-scroll = ns-resize
|
|
||||||
|
|
||||||
enable-ipc = true
|
|
||||||
|
|
||||||
[module/separator]
|
[module/separator]
|
||||||
type = custom/text
|
type = custom/text
|
||||||
61
links/polybar/home.ini
Normal file
61
links/polybar/home.ini
Normal file
@@ -0,0 +1,61 @@
|
|||||||
|
[bar/HDMI-0]
|
||||||
|
monitor = HDMI-0
|
||||||
|
|
||||||
|
width = 100%
|
||||||
|
height = 30px
|
||||||
|
radius = 0
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
line-size = 3px
|
||||||
|
|
||||||
|
border-size = 0pt
|
||||||
|
|
||||||
|
padding-left = 10px
|
||||||
|
padding-right = 0px
|
||||||
|
|
||||||
|
font-0 = ComicShannsMono Nerd Font:size=14;2
|
||||||
|
font-1 = ComicShannsMono Nerd Font:size=14;1
|
||||||
|
font-2 = ComicShannsMono Nerd Font:size=14;0
|
||||||
|
|
||||||
|
fixed-center = true
|
||||||
|
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
||||||
|
modules-center = i3
|
||||||
|
modules-right = xkeyboard separator dateprefix date
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
enable-ipc = true
|
||||||
|
|
||||||
|
[bar/HDMI-1]
|
||||||
|
monitor = HDMI-1
|
||||||
|
|
||||||
|
width = 100%
|
||||||
|
height = 30px
|
||||||
|
radius = 0
|
||||||
|
|
||||||
|
background = ${colors.background}
|
||||||
|
foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
line-size = 3px
|
||||||
|
|
||||||
|
border-size = 0pt
|
||||||
|
|
||||||
|
padding-left = 10px
|
||||||
|
padding-right = 0px
|
||||||
|
|
||||||
|
font-0 = ComicShannsMono Nerd Font:size=14;2
|
||||||
|
font-1 = ComicShannsMono Nerd Font:size=14;1
|
||||||
|
font-2 = ComicShannsMono Nerd Font:size=14;0
|
||||||
|
|
||||||
|
fixed-center = true
|
||||||
|
modules-left = arch separator cpu separator memory separator filesystemprefix filesystem separator eth separator ethspeed separator pulseaudio
|
||||||
|
modules-center = i3
|
||||||
|
modules-right = pacman separator xkeyboard separator dateprefix date systray
|
||||||
|
|
||||||
|
cursor-click = pointer
|
||||||
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
enable-ipc = true
|
||||||
0
links/polybar/work.ini
Normal file
0
links/polybar/work.ini
Normal file
@@ -85,19 +85,28 @@ _shortcut "" "F5" "Increase volume"
|
|||||||
|
|
||||||
_move 1 1
|
_move 1 1
|
||||||
|
|
||||||
_title "\e[48;5;204m" "Urxvt" true
|
_title "\e[48;5;204m" "Kitty" true
|
||||||
_shortcut "Alt" "Up" "Increase font size" true
|
_shortcut "Alt" "Up" "Increase font size" true
|
||||||
_shortcut "Alt" "Down" "Decrease font size" true
|
_shortcut "Alt" "Down" "Decrease font size" true
|
||||||
_shortcut "Alt" "=" "Reset font size" true
|
_shortcut "Alt" "=" "Reset font size" true
|
||||||
_shortcut "Alt" "/" "Show font" true
|
_shortcut "Alt" "u" "Open URL" true
|
||||||
_shortcut "Alt" "u" "Url matcher" true
|
|
||||||
_shortcut "Shift" "Up" "Scroll up one line" true
|
_shortcut "Shift" "Up" "Scroll up one line" true
|
||||||
_shortcut "Shift" "PageUp" "Scroll one page" true
|
_shortcut "Shift" "PageUp" "Scroll one page" true
|
||||||
_shortcut "Shift" "Down" "Scroll down one line" true
|
_shortcut "Shift" "Down" "Scroll down one line" true
|
||||||
_shortcut "Shift" "PageDown" "Scroll down one page" true
|
_shortcut "Shift" "PageDown" "Scroll down one page" true
|
||||||
|
_shortcut "Alt" "Enter" "New tab" true
|
||||||
|
_shortcut "Alt" "Left" "Previous tab" true
|
||||||
|
_shortcut "Alt" "Right" "Next tab" true
|
||||||
|
_shortcut "Alt" "Tab" "Next tab" true
|
||||||
|
_shortcut "Alt" "t" "Change tab title" true
|
||||||
|
_shortcut "Alt" "s" "Split" true
|
||||||
|
_shortcut "Alt" "p" "Previous windows" true
|
||||||
|
_shortcut "Alt" "n" "Next windows" true
|
||||||
|
|
||||||
_title "\e[48;5;214m" "Tmux" true
|
_title "\e[48;5;214m" "Tmux" true
|
||||||
|
|
||||||
|
_title "\e[48;5;214m" "Yazi" true
|
||||||
|
|
||||||
_move 1 1
|
_move 1 1
|
||||||
|
|
||||||
read -r -n 1 -s
|
read -r -n 1 -s
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ flatpak -y update
|
|||||||
|
|
||||||
### Template files
|
### Template files
|
||||||
_info "templating config files"
|
_info "templating config files"
|
||||||
_TEMPLATES=(X11/.Xresources dunst/dunstrc polybar/config.ini rofi/colors.rasi)
|
_TEMPLATES=(X11/.Xresources dunst/dunstrc polybar/colors.ini rofi/colors.rasi)
|
||||||
mkdir -p links/X11 links/dunst links/polybar links/rofi
|
mkdir -p links/X11 links/dunst links/polybar links/rofi
|
||||||
for template in "${_TEMPLATES[@]}"; do
|
for template in "${_TEMPLATES[@]}"; do
|
||||||
echo "$template";
|
echo "$template";
|
||||||
@@ -35,6 +35,8 @@ done
|
|||||||
|
|
||||||
### Linking config files
|
### Linking config files
|
||||||
_info "Linking config files"
|
_info "Linking config files"
|
||||||
|
_msg "modprobe links"
|
||||||
|
ln -sf "${_DIRNAME}/links/modprobe/blacklist.conf" /etc/modprobe.d/blacklist.conf
|
||||||
_msg "tty links"
|
_msg "tty links"
|
||||||
mkdir -p /etc/systemd/system/getty@tty1.service.d
|
mkdir -p /etc/systemd/system/getty@tty1.service.d
|
||||||
ln -sf "$_DIRNAME/links/tty/autologin.conf" /etc/systemd/system/getty@tty1.service.d/override.conf
|
ln -sf "$_DIRNAME/links/tty/autologin.conf" /etc/systemd/system/getty@tty1.service.d/override.conf
|
||||||
@@ -51,8 +53,13 @@ _msg "dunst links"
|
|||||||
ln -sf "$_DIRNAME/links/dunst/dunstrc" /etc/dunst/dunstrc
|
ln -sf "$_DIRNAME/links/dunst/dunstrc" /etc/dunst/dunstrc
|
||||||
_msg "i3 links"
|
_msg "i3 links"
|
||||||
ln -sf "$_DIRNAME/links/i3wm/config" /etc/i3/config
|
ln -sf "$_DIRNAME/links/i3wm/config" /etc/i3/config
|
||||||
|
ln -sf "$_DIRNAME/links/i3wm/home" /etc/i3/home
|
||||||
|
ln -sf "$_DIRNAME/links/i3wm/work" /etc/i3/work
|
||||||
_msg "polybar links"
|
_msg "polybar links"
|
||||||
ln -sf "$_DIRNAME/links/polybar/config.ini" /etc/polybar/config.ini
|
ln -sf "$_DIRNAME/links/polybar/config.ini" /etc/polybar/config.ini
|
||||||
|
ln -sf "$_DIRNAME/links/polybar/colors.ini" /etc/polybar/colors.ini
|
||||||
|
ln -sf "$_DIRNAME/links/polybar/home.ini" /etc/polybar/home.ini
|
||||||
|
ln -sf "$_DIRNAME/links/polybar/work.ini" /etc/polybar/work.ini
|
||||||
_msg "rofi links"
|
_msg "rofi links"
|
||||||
mkdir -p ~/.config/rofi ~/.local/share/rofi/themes
|
mkdir -p ~/.config/rofi ~/.local/share/rofi/themes
|
||||||
ln -sf "$_DIRNAME/links/rofi/config.rasi" ~/.config/rofi/config.rasi
|
ln -sf "$_DIRNAME/links/rofi/config.rasi" ~/.config/rofi/config.rasi
|
||||||
@@ -62,9 +69,29 @@ ln -sf "$_DIRNAME/links/rofi/disconnect.rasi" ~/.local/share/rofi/themes/disconn
|
|||||||
_msg "picom links"
|
_msg "picom links"
|
||||||
ln -sf "$_DIRNAME/links/picom/picom.conf" /etc/xdg/picom.conf
|
ln -sf "$_DIRNAME/links/picom/picom.conf" /etc/xdg/picom.conf
|
||||||
_msg "apps links"
|
_msg "apps links"
|
||||||
ln -sf "${_DIRNAME}/links/applications/teams.desktop" ~/.local/share/applications/teams.desktop
|
mkdir -p ~/.local/share/applications
|
||||||
|
ln -sf "$_DIRNAME/links/applications/teams.desktop" ~/.local/share/applications/teams.desktop
|
||||||
|
sed -i "s|^Exec=.*|Exec=code-oss --no-sandbox|" /usr/share/applications/code-oss.desktop
|
||||||
|
sed -i "s|^Icon=.*|Icon=vscode|" /usr/share/applications/code-oss.desktop
|
||||||
|
mkdir "links kitty"
|
||||||
|
mkdir -p ~/.config/kitty
|
||||||
|
ln -sf "$_DIRNAME/links/kitty/kitty.conf" ~/.config/kitty/kitty.conf
|
||||||
|
ln -sf "$_DIRNAME/links/kitty/current-theme.conf" ~/.config/kitty/current-theme.conf
|
||||||
|
|
||||||
### Sed desktop entries (--no-sandbox)
|
### pipewire
|
||||||
|
_info "Reconfigure pipewire-pulse"
|
||||||
|
sed -i "/^ConditionUser=.*/d" /usr/lib/systemd/user/pipewire-pulse.service
|
||||||
|
sed -i "/^ConditionUser=.*/d" /usr/lib/systemd/user/pipewire-pulse.socket
|
||||||
|
systemctl --user daemon-reload
|
||||||
|
systemctl --user restart pipewire-pulse.service
|
||||||
|
|
||||||
|
### work vs home include home or work
|
||||||
|
#https://i3wm.org/docs/userguide.html#include
|
||||||
|
#https://github.com/polybar/polybar/wiki/Configuration#file-inclusion
|
||||||
|
### nvidia vs amd
|
||||||
|
|
||||||
|
### Print kernel cmdline
|
||||||
|
|
||||||
### Wait for user
|
### Wait for user
|
||||||
|
_info "Update sucessfull"
|
||||||
read -r
|
read -r
|
||||||
|
|||||||
7
templates/polybar/colors.ini
Normal file
7
templates/polybar/colors.ini
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
[colors]
|
||||||
|
background = #cc{{background}}
|
||||||
|
background-alt = #{{background_dark}}
|
||||||
|
foreground = #{{foreground}}
|
||||||
|
primary = #{{color4}}
|
||||||
|
alert = #{{color1}}
|
||||||
|
disabled = #{{color7}}
|
||||||
Reference in New Issue
Block a user