mirror of
https://github.com/sahinakkaya/dotfiles.git
synced 2024-12-22 23:29:36 +01:00
Compare commits
No commits in common. "735f278b4f793ea4c5c1098be021a4522405f53e" and "b73d6d821830597ed49d012eff82c648fdf80519" have entirely different histories.
735f278b4f
...
b73d6d8218
@ -56,7 +56,7 @@ update_ms = 2000
|
|||||||
|
|
||||||
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
|
||||||
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
|
||||||
proc_sorting = "memory"
|
proc_sorting = "cpu lazy"
|
||||||
|
|
||||||
#* Reverse sorting order, True or False.
|
#* Reverse sorting order, True or False.
|
||||||
proc_reversed = False
|
proc_reversed = False
|
||||||
|
@ -17,6 +17,3 @@ XDG_RUNTIME_DIR=/run/user/1000
|
|||||||
# / step values
|
# / step values
|
||||||
|
|
||||||
* * * * * /home/sahin/scripts/check-battery.sh 10
|
* * * * * /home/sahin/scripts/check-battery.sh 10
|
||||||
|
|
||||||
# at each hour, remove files older than 30 days in trash directory
|
|
||||||
0 * * * * find /home/sahin/trash -maxdepth 1 -type f -mtime +30 | xargs -i readlink -f {} | xargs -i rm {}
|
|
||||||
|
@ -7,18 +7,14 @@
|
|||||||
theme=$(darkman get)
|
theme=$(darkman get)
|
||||||
PATH="$HOME/.local/bin/:$PATH"
|
PATH="$HOME/.local/bin/:$PATH"
|
||||||
|
|
||||||
if [ "$theme" == "dark" ]; then
|
if [ $theme == "dark" ]; then
|
||||||
sed -i 's/kanagawa_light.conf/kanagawa.conf/g' "$HOME/.config/kitty/kitty.conf"
|
|
||||||
sed -i 's/tokyonight_day/tokyonight_storm/g' "$HOME/.config/kitty/kitty.conf"
|
sed -i 's/tokyonight_day/tokyonight_storm/g' "$HOME/.config/kitty/kitty.conf"
|
||||||
sed -i 's/Light/Origin/g' "$HOME/.config/bat/config"
|
sed -i 's/Light/Origin/g' "$HOME/.config/bat/config"
|
||||||
sed -i 's/flat-remix-light/tokyo-storm/g' "$HOME/.config/btop/btop.conf"
|
sed -i 's/flat-remix-light/tokyo-storm/g' "$HOME/.config/btop/btop.conf"
|
||||||
sed -i "\$s/.*/include dark-256.theme/" "$HOME/.config/task/taskrc"
|
|
||||||
else
|
else
|
||||||
sed -i 's/kanagawa.conf/kanagawa_light.conf/g' "$HOME/.config/kitty/kitty.conf"
|
|
||||||
sed -i 's/tokyonight_storm/tokyonight_day/g' "$HOME/.config/kitty/kitty.conf"
|
sed -i 's/tokyonight_storm/tokyonight_day/g' "$HOME/.config/kitty/kitty.conf"
|
||||||
sed -i 's/Origin/Light/g' "$HOME/.config/bat/config"
|
sed -i 's/Origin/Light/g' "$HOME/.config/bat/config"
|
||||||
sed -i 's/tokyo-storm/flat-remix-light/g' "$HOME/.config/btop/btop.conf"
|
sed -i 's/tokyo-storm/flat-remix-light/g' "$HOME/.config/btop/btop.conf"
|
||||||
sed -i "\$s/.*/include light-256.theme/" "$HOME/.config/task/taskrc"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
kill -SIGUSR1 $(pgrep kitty)
|
kill -SIGUSR1 $(pgrep kitty)
|
||||||
|
@ -18,7 +18,7 @@ monitor=,preferred,auto,auto
|
|||||||
# centered
|
# centered
|
||||||
# monitor=eDP-1,preferred,500x1107,2.0
|
# monitor=eDP-1,preferred,500x1107,2.0
|
||||||
monitor=eDP-1,preferred,0x1107,2.0
|
monitor=eDP-1,preferred,0x1107,2.0
|
||||||
# monitor=HDMI-A-1,preferred,0x0,1.333333
|
monitor=HDMI-A-1,preferred,0x0,1.3
|
||||||
|
|
||||||
|
|
||||||
# monitor=eDP-1, disable
|
# monitor=eDP-1, disable
|
||||||
@ -34,14 +34,14 @@ exec-once = ags
|
|||||||
exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1
|
exec-once = /usr/libexec/kf5/polkit-kde-authentication-agent-1
|
||||||
|
|
||||||
exec-once = swaybg -i "$HOME/Pictures/Wallpapers/minimal.jpg"
|
exec-once = swaybg -i "$HOME/Pictures/Wallpapers/minimal.jpg"
|
||||||
# Dim screen after 120 seconds of inactivity
|
# Dim screen after 60 seconds of inactivity
|
||||||
exec-once = swayidle -w timeout 120 'dim-screen &' resume 'undim-screen'
|
exec-once = swayidle -w timeout 60 'dim-screen &' resume 'undim-screen'
|
||||||
# Lock screen after idle for 240s
|
# Lock screen after idle for 120s
|
||||||
# exec-once = swayidle -w timeout 240 'lock-screen'
|
exec-once = swayidle -w timeout 120 'lock-screen'
|
||||||
# Dim screen 10 seconds after screen is locked. no -w option here.
|
# Dim screen 5 seconds after screen is locked. no -w option here.
|
||||||
exec-once = swayidle timeout 10 'if pgrep -x swaylock; then dim-screen; fi' resume 'undim-screen'
|
exec-once = swayidle timeout 5 'if pgrep -x swaylock; then dim-screen; fi' resume 'undim-screen'
|
||||||
# Turn monitors off 30 seconds after screen is locked
|
# Turn monitors off 20 seconds after screen is locked
|
||||||
# exec-once = swayidle -w timeout 30 'if pgrep -x swaylock; then hyprctl dispatch dpms off; fi' resume 'hyprctl dispatch dpms on'
|
exec-once = swayidle -w timeout 20 'if pgrep -x swaylock; then hyprctl dispatch dpms off; fi' resume 'hyprctl dispatch dpms on'
|
||||||
|
|
||||||
# exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
|
# exec-once = /usr/libexec/polkit-gnome-authentication-agent-1
|
||||||
|
|
||||||
@ -88,11 +88,6 @@ device:apple-mtp-keyboard {
|
|||||||
kb_rules =
|
kb_rules =
|
||||||
}
|
}
|
||||||
|
|
||||||
device:compx-2.4g-receiver-mouse {
|
|
||||||
sensitivity = -1 # -1.0 - 1.0, 0 means no modification.
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
general {
|
general {
|
||||||
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
# See https://wiki.hyprland.org/Configuring/Variables/ for more
|
||||||
|
|
||||||
@ -127,7 +122,7 @@ decoration {
|
|||||||
col.shadow = rgba(1a1a1aee)
|
col.shadow = rgba(1a1a1aee)
|
||||||
|
|
||||||
dim_inactive = true
|
dim_inactive = true
|
||||||
dim_strength = 0.05 # how much inactive windows should be dimmed, 0.0 - 1.0
|
dim_strength = 0.1 # how much inactive windows should be dimmed, 0.0 - 1.0
|
||||||
dim_around = 0.5 # how much the dimaround window rule should dim by. 0.0 - 1.0
|
dim_around = 0.5 # how much the dimaround window rule should dim by. 0.0 - 1.0
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -224,8 +219,8 @@ $mod = SUPER
|
|||||||
|
|
||||||
bind = $mod, tab, workspace, previous
|
bind = $mod, tab, workspace, previous
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
# bind = $mod, return, exec, open-kitty-or-focus
|
bind = $mod, return, exec, open-kitty-or-focus
|
||||||
bind = $mod, return, exec, kitty --single-instance
|
# bind = $mod, return, exec, kitty --single-instance
|
||||||
bind = $mod, q, killactive,
|
bind = $mod, q, killactive,
|
||||||
bind = $mod, c, exec, smart-exec
|
bind = $mod, c, exec, smart-exec
|
||||||
bind = $mod control, q, exit,
|
bind = $mod control, q, exit,
|
||||||
@ -301,7 +296,7 @@ bind = $mod, 6, workspace, 6
|
|||||||
bind = $mod, 7, workspace, 7
|
bind = $mod, 7, workspace, 7
|
||||||
bind = $mod, 8, workspace, 8
|
bind = $mod, 8, workspace, 8
|
||||||
bind = $mod, 9, workspace, 9
|
bind = $mod, 9, workspace, 9
|
||||||
# bind = $mod, 0, workspace, 10
|
bind = $mod, 0, workspace, 10
|
||||||
|
|
||||||
bind = $mod, comma, swapnext, prev
|
bind = $mod, comma, swapnext, prev
|
||||||
bind = $mod, period, swapnext
|
bind = $mod, period, swapnext
|
||||||
@ -321,12 +316,12 @@ bind = $mod SHIFT, 6, movetoworkspace, 6
|
|||||||
bind = $mod SHIFT, 7, movetoworkspace, 7
|
bind = $mod SHIFT, 7, movetoworkspace, 7
|
||||||
bind = $mod SHIFT, 8, movetoworkspace, 8
|
bind = $mod SHIFT, 8, movetoworkspace, 8
|
||||||
bind = $mod SHIFT, 9, movetoworkspace, 9
|
bind = $mod SHIFT, 9, movetoworkspace, 9
|
||||||
# bind = $mod SHIFT, 0, movetoworkspace, 10
|
bind = $mod SHIFT, 0, movetoworkspace, 10
|
||||||
|
|
||||||
|
|
||||||
bind = $mod, 0, togglespecialworkspace, magic2
|
# Scroll through existing workspaces with mod + scroll
|
||||||
bind = $mod SHIFT, 0, movetoworkspace, special:magic2
|
bind = $mod, mouse_down, workspace, e+1
|
||||||
|
bind = $mod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
# Move/resize windows with mod + LMB/RMB and dragging
|
# Move/resize windows with mod + LMB/RMB and dragging
|
||||||
bindm = $mod, mouse:272, movewindow
|
bindm = $mod, mouse:272, movewindow
|
||||||
@ -334,7 +329,7 @@ bindm = $mod, mouse:273, resizewindow
|
|||||||
|
|
||||||
# Scroll through existing workspaces with mod + scroll
|
# Scroll through existing workspaces with mod + scroll
|
||||||
# doesn't seem to work with touchpad.
|
# doesn't seem to work with touchpad.
|
||||||
# check and see if this works with mouse: yep, it works
|
# check and see if this works with mouse
|
||||||
bind = $mod, mouse_down, workspace, e+1
|
bind = $mod, mouse_down, workspace, e+1
|
||||||
bind = $mod, mouse_up, workspace, e-1
|
bind = $mod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
@ -350,9 +345,6 @@ bindle=,XF86AudioRaiseVolume, exec, volume up
|
|||||||
bindle=,XF86AudioLowerVolume, exec, volume down
|
bindle=,XF86AudioLowerVolume, exec, volume down
|
||||||
bindle=,XF86AudioMute, exec, volume toggle-mute
|
bindle=,XF86AudioMute, exec, volume toggle-mute
|
||||||
|
|
||||||
bindle=, F4, exec, grim -g "$(slurp)" - | swappy -f -
|
|
||||||
bindle=$mod, x, exec, grim - | swappy -f -
|
|
||||||
|
|
||||||
# bindle=, XF86KbdBrightnessUp, exec, keyboard_backlight inc
|
# bindle=, XF86KbdBrightnessUp, exec, keyboard_backlight inc
|
||||||
# bindle=, XF86KbdBrightnessDown, exec, keyboard_backlight dec
|
# bindle=, XF86KbdBrightnessDown, exec, keyboard_backlight dec
|
||||||
|
|
||||||
@ -401,7 +393,7 @@ windowrulev2 = noborder,class:(wofi)
|
|||||||
#
|
#
|
||||||
# # bind=SUPER,mouse_down,workspace,e-1
|
# # bind=SUPER,mouse_down,workspace,e-1
|
||||||
#
|
#
|
||||||
# bindle=, Print, exec, grim -g "$(slurp)" - | swappy -f -
|
# # bindle=, Print, exec, flameshot gui
|
||||||
# # bindr=SUPER, SUPER_L, exec, pkill wofi || wofi --show drun
|
# # bindr=SUPER, SUPER_L, exec, pkill wofi || wofi --show drun
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
@ -13,7 +13,7 @@ clear_all_shortcuts yes
|
|||||||
|
|
||||||
|
|
||||||
# kitty-scrollback.nvim Kitten alias
|
# kitty-scrollback.nvim Kitten alias
|
||||||
action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py
|
action_alias kitty_scrollback_nvim kitten $HOME/.local/share/nvim/lazy/kitty-scrollback.nvim/python/kitty_scrollback_nvim.py --no-nvim-args
|
||||||
|
|
||||||
# include ./themes/themes/OneDark.conf
|
# include ./themes/themes/OneDark.conf
|
||||||
# include ~/.local/share/nvim/lazy/tokyonight.nvim/extras/kitty/tokyonight_day.conf
|
# include ~/.local/share/nvim/lazy/tokyonight.nvim/extras/kitty/tokyonight_day.conf
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit fce1f36161e3091deb090a24ebde984a7aaf0119
|
Subproject commit 1e06adb67650594dd595746569156717b09e7bd2
|
@ -27,7 +27,7 @@ hooks.location=~/.config/task/hooks
|
|||||||
|
|
||||||
|
|
||||||
# Color theme (uncomment one to use)
|
# Color theme (uncomment one to use)
|
||||||
# include solarized-dark-256.theme
|
include solarized-dark-256.theme
|
||||||
#include dark-16.theme
|
#include dark-16.theme
|
||||||
#include light-16.theme
|
#include light-16.theme
|
||||||
#include light-256.theme
|
#include light-256.theme
|
||||||
@ -45,4 +45,3 @@ hooks.location=~/.config/task/hooks
|
|||||||
news.version=2.6.0
|
news.version=2.6.0
|
||||||
#
|
#
|
||||||
color.calendar.holiday=black on yellow
|
color.calendar.holiday=black on yellow
|
||||||
include light-256.theme
|
|
||||||
|
@ -30,21 +30,11 @@
|
|||||||
# st.color7: #ACB0D0
|
# st.color7: #ACB0D0
|
||||||
# st.color15: #ABB2BF
|
# st.color15: #ABB2BF
|
||||||
|
|
||||||
# # tokyonight
|
darker_accent="#e0af68"
|
||||||
# darker_accent="#e0af68"
|
accent="#528ef5"
|
||||||
# accent="#518DF6"
|
lighter_accent="#3b4261"
|
||||||
# lighter_accent="#0B55D5"
|
|
||||||
# bg="default"
|
|
||||||
# fg_text="#111111"
|
|
||||||
|
|
||||||
|
|
||||||
# kanagawa
|
|
||||||
darker_accent="#44300D"
|
|
||||||
accent="#986e1f"
|
|
||||||
lighter_accent="#664915"
|
|
||||||
bg="default"
|
bg="default"
|
||||||
fg_text="#E4BC77"
|
fg_text="#111111"
|
||||||
|
|
||||||
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
||||||
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
||||||
mode="#{?pane_in_mode,#[reverse] #{pane_mode} #[noreverse],}"
|
mode="#{?pane_in_mode,#[reverse] #{pane_mode} #[noreverse],}"
|
||||||
@ -66,9 +56,9 @@ setw -g window-status-activity-style "none"
|
|||||||
setw -g window-status-separator ""
|
setw -g window-status-separator ""
|
||||||
setw -g window-status-style "none,fg=$fg_text,bg=$bg"
|
setw -g window-status-style "none,fg=$fg_text,bg=$bg"
|
||||||
|
|
||||||
set -g status-left "#[fg=$fg_text,bg=$lighter_accent] #S #[fg=$lighter_accent,bg=$bg,nobold,nounderscore,noitalics] "
|
set -g status-left "#[fg=$fg_text,bg=$accent] #S #[fg=$accent,bg=$bg,nobold,nounderscore,noitalics] "
|
||||||
|
|
||||||
setw -g window-status-format "#[fg=$lighter_accent,bg=$bg]#[fg=$fg_text,bg=$lighter_accent] #I#[fg=$fg_text,bg=$lighter_accent]#W#[bg=$bg,fg=$lighter_accent]"
|
setw -g window-status-format "#[fg=$lighter_accent,bg=$bg]#[fg=$accent,bg=$lighter_accent] #I#[fg=$accent,bg=$lighter_accent]#W#[bg=$bg,fg=$lighter_accent]"
|
||||||
setw -g window-status-current-format "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent,bold]#I#[fg=$fg_text,bg=$accent]#W#F#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]"
|
setw -g window-status-current-format "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent,bold]#I#[fg=$fg_text,bg=$accent]#W#F#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]"
|
||||||
|
|
||||||
# set -g status-right "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent] $uptime %H:%M %d/%m/%Y#[bg=$accent,fg=$darker_accent,nobold,nounderscore,noitalics]#[bg=$fg_text,fg=$darker_accent,bold]$prefix$sync$mode"
|
# set -g status-right "#[fg=$accent,bg=$bg,nobold,nounderscore,noitalics]#[fg=$fg_text,bg=$accent] $uptime %H:%M %d/%m/%Y#[bg=$accent,fg=$darker_accent,nobold,nounderscore,noitalics]#[bg=$fg_text,fg=$darker_accent,bold]$prefix$sync$mode"
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
# st.color5: #9854f1
|
# st.color5: #9854f1
|
||||||
# st.color6: #007197
|
# st.color6: #007197
|
||||||
# st.color7: #6172b0
|
# st.color7: #6172b0
|
||||||
# st.color8: #a1a6c5j
|
# st.color8: #a1a6c5
|
||||||
# st.color9: #f52a65
|
# st.color9: #f52a65
|
||||||
# st.color10: #587539
|
# st.color10: #587539
|
||||||
# st.color11: #8c6c3e
|
# st.color11: #8c6c3e
|
||||||
@ -28,20 +28,12 @@
|
|||||||
# prefix_color="colour11"
|
# prefix_color="colour11"
|
||||||
|
|
||||||
# TokyoNight colors for Tmux
|
# TokyoNight colors for Tmux
|
||||||
# darker_accent="#6172b0"
|
darker_accent="#6172b0"
|
||||||
# accent="#2e7de9"
|
accent="#2e7de9"
|
||||||
# bg1="#d1d4e3"
|
bg1="#d1d4e3"
|
||||||
# bg2="default"
|
|
||||||
# grayish="#a8aecb"
|
|
||||||
# prefix_color="#8c6c3e"
|
|
||||||
|
|
||||||
# kanagawa colors
|
|
||||||
darker_accent="#727169"
|
|
||||||
accent="#727169"
|
|
||||||
bg1="#DCD7BA"
|
|
||||||
bg2="default"
|
bg2="default"
|
||||||
grayish="#C8C093"
|
grayish="#a8aecb"
|
||||||
prefix_color="#77713f"
|
prefix_color="#8c6c3e"
|
||||||
|
|
||||||
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
prefix="#{?client_prefix,#[reverse]^Space#[noreverse],}"
|
||||||
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
sync="#{?pane_synchronized,#[reverse] SYNC #[noreverse],}"
|
||||||
|
@ -1,20 +1,12 @@
|
|||||||
# remap prefix to Control + Space
|
# remap prefix to Control + Space
|
||||||
set -g prefix C-s
|
set -g prefix C-Space
|
||||||
bind C-s send-prefix
|
bind C-Space last-window
|
||||||
bind-key C-] send-keys "C-]"
|
|
||||||
# set -g prefix Escape
|
# set -g prefix Escape
|
||||||
# bind Escape send-keys Escape
|
# bind Escape send-keys Escape
|
||||||
bind "'" last-window
|
# bind "'" last-window
|
||||||
unbind C-b
|
unbind C-b
|
||||||
|
|
||||||
set -sg escape-time 0 # see https://github.com/neovim/neovim/issues/2035
|
set-option -g allow-passthrough on
|
||||||
|
|
||||||
|
|
||||||
### required for showing images in terminal
|
|
||||||
set-option -gq allow-passthrough on
|
|
||||||
# for hiding images when window is switched
|
|
||||||
set -g visual-activity off
|
|
||||||
###
|
|
||||||
|
|
||||||
# Smart pane switching with awareness of Vim splits.
|
# Smart pane switching with awareness of Vim splits.
|
||||||
# See: https://github.com/christoomey/vim-tmux-navigator
|
# See: https://github.com/christoomey/vim-tmux-navigator
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 09c94608f138365dce102b8a5ef92c6214d1c870
|
Subproject commit fa451e2629328a0cca6fffdc3c46d99f25d544ab
|
Loading…
Reference in New Issue
Block a user