From c4b211177c12a97f8ffe10055325dd90a0a39b31 Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 11 Apr 2020 23:42:55 -0400 Subject: delete old config files - compton - dunst - i3status - sway - swaylock - ncmpcpp - pigeonhole --- .config/compton/compton.conf | 85 -------- .config/dunst/dunstrc | 415 ---------------------------------------- .config/guix/manifest/jirud.scm | 51 ----- .config/i3status/config | 67 ------- .config/sway/config | 332 -------------------------------- .config/sway/darrud | 19 -- .config/sway/langa | 17 -- .config/swaylock/config | 2 - 8 files changed, 988 deletions(-) delete mode 100644 .config/compton/compton.conf delete mode 100644 .config/dunst/dunstrc delete mode 100644 .config/guix/manifest/jirud.scm delete mode 100644 .config/i3status/config delete mode 100644 .config/sway/config delete mode 100644 .config/sway/darrud delete mode 100644 .config/sway/langa delete mode 100644 .config/swaylock/config (limited to '.config') diff --git a/.config/compton/compton.conf b/.config/compton/compton.conf deleted file mode 100644 index 4d6ce5e..0000000 --- a/.config/compton/compton.conf +++ /dev/null @@ -1,85 +0,0 @@ -# Shadow -shadow = true; -shadow-radius = 5; -shadow-offset-x = -5; -shadow-offset-y = -5; -log-level = "warn"; -# log-file = "/path/to/your/log/file"; -# shadow-opacity = 0.7; -# shadow-red = 0.0; -# shadow-green = 0.0; -# shadow-blue = 0.0; -shadow-exclude = [ - "name = 'Notification'", - "class_g = 'Conky'", - "class_g = 'Abrowser' && !window_type *= 'menu'", - "class_g ?= 'Notify-osd'", - "class_g = 'Cairo-clock'", - "_GTK_FRAME_EXTENTS@:c" -]; -# shadow-exclude = "n:e:Notification"; -# shadow-exclude-reg = "x10+0+0"; -# xinerama-shadow-crop = true; - -# Opacity -inactive-opacity = 0.8; -# active-opacity = 0.8; -frame-opacity = 0.7; -inactive-opacity-override = false; -# inactive-dim = 0.2; -# inactive-dim-fixed = true; -# blur-background = true; -# blur-background-frame = true; -blur-kern = "3x3box"; -# blur-kern = "5,5,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1"; -# blur-background-fixed = true; -blur-background-exclude = [ - "window_type = 'dock'", - "window_type = 'desktop'", - "_GTK_FRAME_EXTENTS@:c" -]; -# opacity-rule = [ "80:class_g = 'URxvt'" ]; - -# Fading -fading = true; -fade-delta = 9; -fade-in-step = 0.5; -fade-out-step = 0.5; -# no-fading-openclose = true; -# no-fading-destroyed-argb = true; -fade-exclude = [ ]; - -# Other -backend = "glx"; -mark-wmwin-focused = true; -mark-ovredir-focused = true; -# use-ewmh-active-win = true; -detect-rounded-corners = true; -detect-client-opacity = true; -refresh-rate = 0; -vsync = true; -# sw-opti = true; -# unredir-if-possible = true; -# unredir-if-possible-delay = 5000; -# unredir-if-possible-exclude = [ ]; -focus-exclude = [ "class_g = 'Cairo-clock'" ]; -detect-transient = true; -detect-client-leader = true; -invert-color-include = [ ]; -# resize-damage = 1; - -# GLX backend -# glx-no-stencil = true; -# glx-no-rebind-pixmap = true; -# xrender-sync-fence = true; -use-damage = false; - -# Window type settings -wintypes: -{ - tooltip = { fade = true; shadow = false; opacity = 0.95; focus = true; full-shadow = false; }; - dock = { shadow = false; } - dnd = { shadow = false; } - popup_menu = { opacity = 0.8; } - dropdown_menu = { opacity = 0.8; } -}; diff --git a/.config/dunst/dunstrc b/.config/dunst/dunstrc deleted file mode 100644 index 71af98b..0000000 --- a/.config/dunst/dunstrc +++ /dev/null @@ -1,415 +0,0 @@ -[global] - ### Display ### - - # Which monitor should the notifications be displayed on. - monitor = 0 - - # Display notification on focused monitor. Possible modes are: - # mouse: follow mouse pointer - # keyboard: follow window with keyboard focus - # none: don't follow anything - # - # "keyboard" needs a window manager that exports the - # _NET_ACTIVE_WINDOW property. - # This should be the case for almost all modern window managers. - # - # If this option is set to mouse or keyboard, the monitor option - # will be ignored. - follow = mouse - - # The geometry of the window: - # [{width}]x{height}[+/-{x}+/-{y}] - # The geometry of the message window. - # The height is measured in number of notifications everything else - # in pixels. If the width is omitted but the height is given - # ("-geometry x2"), the message window expands over the whole screen - # (dmenu-like). If width is 0, the window expands to the longest - # message displayed. A positive x is measured from the left, a - # negative from the right side of the screen. Y is measured from - # the top and down respectively. - # The width can be negative. In this case the actual width is the - # screen width minus the width defined in within the geometry option. - geometry = "300x5-30+20" - - # Show how many messages are currently hidden (because of geometry). - indicate_hidden = yes - - # Shrink window if it's smaller than the width. Will be ignored if - # width is 0. - shrink = no - - # The transparency of the window. Range: [0; 100]. - # This option will only work if a compositing window manager is - # present (e.g. xcompmgr, compiz, etc.). - transparency = 0 - - # The height of the entire notification. If the height is smaller - # than the font height and padding combined, it will be raised - # to the font height and padding. - notification_height = 0 - - # Draw a line of "separator_height" pixel height between two - # notifications. - # Set to 0 to disable. - separator_height = 2 - - # Padding between text and separator. - padding = 8 - - # Horizontal padding. - horizontal_padding = 8 - - # Defines width in pixels of frame around the notification window. - # Set to 0 to disable. - frame_width = 3 - - # Defines color of the frame around the notification window. - frame_color = "#aaaaaa" - - # Define a color for the separator. - # possible values are: - # * auto: dunst tries to find a color fitting to the background; - # * foreground: use the same color as the foreground; - # * frame: use the same color as the frame; - # * anything else will be interpreted as a X color. - separator_color = frame - - # Sort messages by urgency. - sort = yes - - # Don't remove messages, if the user is idle (no mouse or keyboard input) - # for longer than idle_threshold seconds. - # Set to 0 to disable. - # A client can set the 'transient' hint to bypass this. See the rules - # section for how to disable this if necessary - idle_threshold = 120 - - ### Text ### - - font = Inconsolata 11 - - # The spacing between lines. If the height is smaller than the - # font height, it will get raised to the font height. - line_height = 0 - - # Possible values are: - # full: Allow a small subset of html markup in notifications: - # bold - # italic - # strikethrough - # underline - # - # For a complete reference see - # . - # - # strip: This setting is provided for compatibility with some broken - # clients that send markup even though it's not enabled on the - # server. Dunst will try to strip the markup but the parsing is - # simplistic so using this option outside of matching rules for - # specific applications *IS GREATLY DISCOURAGED*. - # - # no: Disable markup parsing, incoming notifications will be treated as - # plain text. Dunst will not advertise that it has the body-markup - # capability if this is set as a global setting. - # - # It's important to note that markup inside the format option will be parsed - # regardless of what this is set to. - markup = full - - # The format of the message. Possible variables are: - # %a appname - # %s summary - # %b body - # %i iconname (including its path) - # %I iconname (without its path) - # %p progress value if set ([ 0%] to [100%]) or nothing - # %n progress value if set without any extra characters - # %% Literal % - # Markup is allowed - format = "%s\n%b" - - # Alignment of message text. - # Possible values are "left", "center" and "right". - alignment = left - - # Show age of message if message is older than show_age_threshold - # seconds. - # Set to -1 to disable. - show_age_threshold = 60 - - # Split notifications into multiple lines if they don't fit into - # geometry. - word_wrap = yes - - # When word_wrap is set to no, specify where to make an ellipsis in long lines. - # Possible values are "start", "middle" and "end". - ellipsize = middle - - # Ignore newlines '\n' in notifications. - ignore_newline = no - - # Stack together notifications with the same content - stack_duplicates = true - - # Hide the count of stacked notifications with the same content - hide_duplicate_count = false - - # Display indicators for URLs (U) and actions (A). - show_indicators = yes - - ### Icons ### - - # Align icons left/right/off - icon_position = off - - # Scale larger icons down to this size, set to 0 to disable - max_icon_size = 32 - - # Paths to default icons. - icon_path = /usr/share/icons/gnome/16x16/status/:/usr/share/icons/gnome/16x16/devices/ - - ### History ### - - # Should a notification popped up from history be sticky or timeout - # as if it would normally do. - sticky_history = yes - - # Maximum amount of notifications kept in history - history_length = 50 - - ### Misc/Advanced ### - - # dmenu path. - dmenu = rofi -dmenu -p dunst: - - # Browser for opening urls in context menu. - browser = icecat -private-window -new-tab - - # Always run rule-defined scripts, even if the notification is suppressed - always_run_script = true - - # Define the title of the windows spawned by dunst - title = Dunst - - # Define the class of the windows spawned by dunst - class = Dunst - - # Print a notification on startup. - # This is mainly for error detection, since dbus (re-)starts dunst - # automatically after a crash. - startup_notification = false - - # Manage dunst's desire for talking - # Can be one of the following values: - # crit: Critical features. Dunst aborts - # warn: Only non-fatal warnings - # mesg: Important Messages - # info: all unimportant stuff - # debug: all less than unimportant stuff - verbosity = mesg - - # Define the corner radius of the notification window - # in pixel size. If the radius is 0, you have no rounded - # corners. - # The radius will be automatically lowered if it exceeds half of the - # notification height to avoid clipping text and/or icons. - corner_radius = 0 - - ### Legacy - - # Use the Xinerama extension instead of RandR for multi-monitor support. - # This setting is provided for compatibility with older nVidia drivers that - # do not support RandR and using it on systems that support RandR is highly - # discouraged. - # - # By enabling this setting dunst will not be able to detect when a monitor - # is connected or disconnected which might break follow mode if the screen - # layout changes. - force_xinerama = false - - ### mouse - - # Defines action of mouse event - # Possible values are: - # * none: Don't do anything. - # * do_action: If the notification has exactly one action, or one is marked as default, - # invoke it. If there are multiple and no default, open the context menu. - # * close_current: Close current notification. - # * close_all: Close all notifications. - mouse_left_click = do_action - mouse_middle_click = close_all - mouse_right_click = close_current - -# Experimental features that may or may not work correctly. Do not expect them -# to have a consistent behaviour across releases. -[experimental] - # Calculate the dpi to use on a per-monitor basis. - # If this setting is enabled the Xft.dpi value will be ignored and instead - # dunst will attempt to calculate an appropriate dpi value for each monitor - # using the resolution and physical size. This might be useful in setups - # where there are multiple screens with very different dpi values. - per_monitor_dpi = false - -[shortcuts] - - # Shortcuts are specified as [modifier+][modifier+]...key - # Available modifiers are "ctrl", "mod1" (the alt-key), "mod2", - # "mod3" and "mod4" (windows-key). - # Xev might be helpful to find names for keys. - - # Close notification. - close = ctrl+space - - # Close all notifications. - close_all = ctrl+shift+space - - # Redisplay last message(s). - # On the US keyboard layout "grave" is normally above TAB and left - # of "1". Make sure this key actually exists on your keyboard layout, - # e.g. check output of 'xmodmap -pke' - history = ctrl+grave - - # Context menu. - context = ctrl+shift+period - -[urgency_low] - # IMPORTANT: colors have to be defined in quotation marks. - # Otherwise the "#" and following would be interpreted as a comment. - background = "#222222" - foreground = "#888888" - timeout = 0 - history_ignore = yes - # Icon for notifications with low urgency, uncomment to enable - #icon = /path/to/icon - -[urgency_normal] - background = "#285577" - foreground = "#ffffff" - timeout = 0 - # Icon for notifications with normal urgency, uncomment to enable - #icon = /path/to/icon - -[urgency_critical] - background = "#900000" - foreground = "#ffffff" - frame_color = "#ff0000" - timeout = 0 - # Icon for notifications with critical urgency, uncomment to enable - #icon = /path/to/icon - -# Every section that isn't one of the above is interpreted as a rules to -# override settings for certain messages. -# -# Messages can be matched by -# appname (discouraged, see desktop_entry) -# body -# category -# desktop_entry -# icon -# match_transient -# msg_urgency -# stack_tag -# summary -# -# and you can override the -# background -# foreground -# format -# frame_color -# fullscreen -# new_icon -# set_stack_tag -# set_transient -# timeout -# urgency -# -# Shell-like globbing will get expanded. -# -# Instead of the appname filter, it's recommended to use the desktop_entry filter. -# GLib based applications export their desktop-entry name. In comparison to the appname, -# the desktop-entry won't get localized. -# -# SCRIPTING -# You can specify a script that gets run when the rule matches by -# setting the "script" option. -# The script will be called as follows: -# script appname summary body icon urgency -# where urgency can be "LOW", "NORMAL" or "CRITICAL". -# -# NOTE: if you don't want a notification to be displayed, set the format -# to "". -# NOTE: It might be helpful to run dunst -print in a terminal in order -# to find fitting options for rules. - -# Disable the transient hint so that idle_threshold cannot be bypassed from the -# client -#[transient_disable] -# match_transient = yes -# set_transient = no -# -# Make the handling of transient notifications more strict by making them not -# be placed in history. -#[transient_history_ignore] -# match_transient = yes -# history_ignore = yes - -# fullscreen values -# show: show the notifications, regardless if there is a fullscreen window opened -# delay: displays the new notification, if there is no fullscreen window active -# If the notification is already drawn, it won't get undrawn. -# pushback: same as delay, but when switching into fullscreen, the notification will get -# withdrawn from screen again and will get delayed like a new notification -#[fullscreen_delay_everything] -# fullscreen = delay -#[fullscreen_show_critical] -# msg_urgency = critical -# fullscreen = show - -#[espeak] -# summary = "*" -# script = dunst_espeak.sh - -#[script-test] -# summary = "*script*" -# script = dunst_test.sh - -#[ignore] -# # This notification will not be displayed -# summary = "foobar" -# format = "" - -#[history-ignore] -# # This notification will not be saved in history -# summary = "foobar" -# history_ignore = yes - -#[skip-display] -# # This notification will not be displayed, but will be included in the history -# summary = "foobar" -# skip_display = yes - -#[signed_on] -# appname = Pidgin -# summary = "*signed on*" -# urgency = low -# -#[signed_off] -# appname = Pidgin -# summary = *signed off* -# urgency = low -# -#[says] -# appname = Pidgin -# summary = *says* -# urgency = critical -# -#[twitter] -# appname = Pidgin -# summary = *twitter.com* -# urgency = normal -# -#[stack-volumes] -# appname = "some_volume_notifiers" -# set_stack_tag = "volume" -# -# vim: ft=cfg diff --git a/.config/guix/manifest/jirud.scm b/.config/guix/manifest/jirud.scm deleted file mode 100644 index 1949ca7..0000000 --- a/.config/guix/manifest/jirud.scm +++ /dev/null @@ -1,51 +0,0 @@ -(specifications->manifest - '("audacity" - "bash-completion" - "cvs" - ;; "emacs" - "font-adobe-source-code-pro" - ;; "font-gnu-freefont-ttf" - ;; "font-google-roboto" - ;; "font-liberation" - ;; "font-linuxlibertine" - ;; "font-sil-gentium" - ;; "font-tex-gyre" - ;; "font-ubuntu" - "getmail" - "gettext" - "gimp" - "git" - "git:send-email" - "glibc-locales" - "gnupg" - "guile" - "haunt" - "htop" - "hunspell" - "hunspell-dict-en-ca" - "hunspell-dict-en-us" - ;; "icecat" - "inkscape" - "isync" - "mpv" - "msmtp" - "ncdu" - "notmuch" - "nss-certs" - "openssh" - ;; "openssl" - "password-store" - "pinentry" - ;; "poppler" ;for 'pdffonts' - "rsync" - "rtv" - "screen" - ;; "setxkbmap" - ;; "texlive" - ;; "texlive-base" - ;; "thinkfan" - ;; "xdg-user-dirs" - ;; "xkbcomp" - ;; "xmodmap" - ;; "xrdb" - "youtube-dl")) diff --git a/.config/i3status/config b/.config/i3status/config deleted file mode 100644 index 010b020..0000000 --- a/.config/i3status/config +++ /dev/null @@ -1,67 +0,0 @@ -# i3status configuration file. -# see "man i3status" for documentation. - -# It is important that this file is edited as UTF-8. -# The following line should contain a sharp s: -# ß -# If the above line is not correctly displayed, fix your editor first! - -general { - colors = true - interval = 5 - output_format = "i3bar" -} - -# order += "ipv6" -order += "disk /" -order += "disk /data" -# order += "wireless _first_" -order += "ethernet _first_" -order += "battery 0" -order += "volume master" -# order += "load" -order += "tztime local" - -wireless _first_ { - format_up = "W:%quality %essid %ip" - format_down = "W: down" -} - -ethernet _first_ { - # if you use %speed, i3status requires root privileges - # format_up = "E: %ip (%speed)" - format_up = "E: %ip" - format_down = "E: down" -} - -battery 0 { - format = "%status %percentage %remaining %consumption" - path = "/sys/class/power_supply/BAT%d/uevent" - low_threshold = "10" - threshold_type = "percentage" - last_full_capacity = true - integer_battery_capacity = true - hide_seconds = true -} - -tztime local { - format = "%A %Y-%m-%d %I:%M %p" -} - -volume master { - format = "♪ %volume" - format_muted = "🔇 %volume" - device = "pulse" -} - -load { - format = "%1min" -} - -disk "/" { - format = "/ %avail" -} - -disk "/data" { - format = "/data %avail" -} diff --git a/.config/sway/config b/.config/sway/config deleted file mode 100644 index 10a0fef..0000000 --- a/.config/sway/config +++ /dev/null @@ -1,332 +0,0 @@ -### Variables -# super -set $mod Mod4 -# alt -set $mod2 Mod1 -set $left h -set $down j -set $up k -set $right l -set $term urxvt -set $menu rofi -show run -display-run '> ' -display-window ' 🗔 ' -set $pass rofi-pass - -### Output configuration -# -# Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/) -# -# Example configuration: -# -# output HDMI-A-1 resolution 1920x1080 position 1920,0 -# -# You can get the names of your outputs by running: swaymsg -t get_outputs - -### Input configuration - -input "65261:24672:technomancy_Atreus" { - repeat_delay 200 - repeat_rate 45 - # xkb_options altwin:swap_alt_win -} - -### Idle configuration - -exec swayidle \ - timeout 120 '[ -f ~/.nosleep ] || swaymsg "output * dpms off"' \ - resume '[ -f ~/.nosleep ] || swaymsg "output * dpms on"' \ - - -### Key bindings -# -# Basics: -# - -set $floating_term $term -name floating -for_window [class="URxvt" instance="floating"] floating enable - -set $mode_launch (⏎)urxvt | | (e)macs | (i)cecat/weasel -mode "$mode_launch" { - bindsym Return exec $floating_term, mode "default" - bindsym p exec $pass, mode "default" - bindsym e exec emacs, mode "default" - - # back to normal: Escape, or q - bindsym Escape mode "default" - bindsym q mode "default" -} - bindsym $mod+tab mode "$mode_launch" - bindsym XF86Launch1 mode "$mode_launch" - - # start a terminal - bindsym $mod+Return exec $term - bindsym $mod+Shift+Return exec $floating_term - - # kill focused window - bindsym $mod+Shift+q kill - - # start your launcher - bindsym $mod+space exec $menu - - # start your launcher - bindsym $mod+Shift+space exec $pass - - # Drag floating windows by holding down $mod and left mouse button. - # Resize them with right mouse button + $mod. - # Despite the name, also works for non-floating windows. - # Change normal to inverse to use left mouse button for resizing and right - # mouse button for dragging. - floating_modifier $mod normal - - mouse_warping none - - # reload the configuration file - bindsym $mod+Shift+c reload - - # exit sway (logs you out of your wayland session) - # bindsym $mod+Shift+e exit - - bindsym $mod+apostrophe exec rofi-light # rofi-based brightness chooser - bindsym XF86MonBrightnessUp exec light -A 5 # increase screen brightness - bindsym XF86MonBrightnessDown exec light -U 5 # decrease screen brightness - - bindsym XF86AudioRaiseVolume exec pamixer --allow-boost --increase 5 - bindsym XF86AudioLowerVolume exec pamixer --allow-boost --decrease 5 - bindsym XF86AudioMute exec pamixer --toggle-mute - bindsym XF86AudioMicMute exec pactl set-source-mute 1 toggle - - bindsym $mod+Shift+apostrophe exec rofi-remmina # choose remmina connection - - # original sway workspace switch and window move - bindsym $mod+bracketleft workspace prev - bindsym $mod+bracketright workspace next - bindsym $mod+braceleft move container to workspace prev - bindsym $mod+braceright move container to workspace next - - # bspwm-esque workspace switch and window move - bindsym $mod2+bracketleft exec sway-ws-util switch prev - bindsym $mod2+bracketright exec sway-ws-util switch next - bindsym $mod2+braceleft exec sway-ws-util move prev follow - bindsym $mod2+braceright exec sway-ws-util move next follow -# -# Moving around: -# - # Move your focus around - bindsym $mod+$left focus left - bindsym $mod+$down focus down - bindsym $mod+$up focus up - bindsym $mod+$right focus right - # or use $mod+[up|down|left|right] - bindsym $mod+Left focus left - bindsym $mod+Down focus down - bindsym $mod+Up focus up - bindsym $mod+Right focus right - - # _move_ the focused window with the same, but add Shift - bindsym $mod+Shift+$left move left - bindsym $mod+Shift+$down move down - bindsym $mod+Shift+$up move up - bindsym $mod+Shift+$right move right - # ditto, with arrow keys - bindsym $mod+Shift+Left move left - bindsym $mod+Shift+Down move down - bindsym $mod+Shift+Up move up - bindsym $mod+Shift+Right move right -# -# Workspaces: -# - # switch to workspace - bindsym $mod+1 workspace 1 - bindsym $mod+2 workspace 2 - bindsym $mod+3 workspace 3 - bindsym $mod+4 workspace 4 - bindsym $mod+5 workspace 5 - bindsym $mod+6 workspace 6 - bindsym $mod+7 workspace 7 - bindsym $mod+8 workspace 8 - bindsym $mod+9 workspace 9 - bindsym $mod+0 workspace 10 - # move focused container to workspace - bindsym $mod+Shift+1 move container to workspace 1 - bindsym $mod+Shift+2 move container to workspace 2 - bindsym $mod+Shift+3 move container to workspace 3 - bindsym $mod+Shift+4 move container to workspace 4 - bindsym $mod+Shift+5 move container to workspace 5 - bindsym $mod+Shift+6 move container to workspace 6 - bindsym $mod+Shift+7 move container to workspace 7 - bindsym $mod+Shift+8 move container to workspace 8 - bindsym $mod+Shift+9 move container to workspace 9 - bindsym $mod+Shift+0 move container to workspace 10 - # Note: workspaces can have any name you want, not just numbers. - # We just use 1-10 as the default. -# -# Layout stuff: -# - # You can "split" the current object of your focus with - # $mod+b or $mod+v, for horizontal and vertical splits - # respectively. - bindsym $mod+b splith - bindsym $mod+v splitv - - # Switch the current container between different layout styles - bindsym $mod+s layout stacking - bindsym $mod+w layout tabbed - bindsym $mod+e layout toggle split - - # Make the current focus fullscreen - bindsym $mod+f fullscreen - - # Toggle sticky-ness of the current (floating) window - bindsym $mod+Shift+s sticky toggle - - # Toggle the current focus between tiling and floating mode - bindsym $mod+Shift+f floating toggle - - # Swap focus between the tiling area and the floating area - bindsym $mod+grave focus mode_toggle - - # move focus to the parent container - bindsym $mod+a focus parent - bindsym $mod+Shift+a focus child -# -# Scratchpad: -# - # Sway has a "scratchpad", which is a bag of holding for windows. - # You can send windows there and get them back later. - - # Move the currently focused window to the scratchpad - bindsym $mod+Shift+minus move scratchpad - - # Show the next scratchpad window or hide the focused scratchpad window. - # If there are multiple scratchpad windows, this command cycles through them. - bindsym $mod+minus scratchpad show -# -# Resizing containers: -# -mode "resize" { - # left will shrink the containers width - # right will grow the containers width - # up will shrink the containers height - # down will grow the containers height - bindsym $left resize shrink width 10px - bindsym $down resize grow height 10px - bindsym $up resize shrink height 10px - bindsym $right resize grow width 10px - - # ditto, with arrow keys - bindsym Left resize shrink width 10px - bindsym Down resize grow height 10px - bindsym Up resize shrink height 10px - bindsym Right resize grow width 10px - - # return to default mode - bindsym Return mode "default" - bindsym Escape mode "default" -} -bindsym $mod+Shift+r mode "resize" - -# -# Power button -# - -set $mode_system System (l)ock | (e)xit sway | (s)uspend | (h)ibernate | (r)eboot | (S)hutdown -mode "$mode_system" { - bindsym l exec swaylock, mode "default" - bindsym e exec swaymsg exit, mode "default" - bindsym s exec systemctl suspend, mode "default" - bindsym h exec systemctl hibernate, mode "default" - bindsym r exec systemctl reboot, mode "default" - bindsym Shift+s exec systemctl poweroff -i, mode "default" - - # back to normal: Enter, Escape, or q - bindsym Return mode "default" - bindsym Escape mode "default" - bindsym q mode "default" -} -# bindsym XF86PowerOff mode "$mode_system" -bindsym $mod+Shift+e mode "$mode_system" -bindsym XF86ScreenSaver exec swaylock - -# -# Presentation mode -# - -bindsym $mod+$mod2+p exec ([ ! -e ~/.nosleep ] && touch ~/.nosleep || rm ~/.nosleep) && killall -USR1 i3status - -# -# Notifications -# - -bindsym $mod+Shift+n mode notifications -mode notifications { - bindsym Return exec makoctl invoke; exec makoctl dismiss; mode default - bindsym d exec makoctl dismiss; mode default - bindsym Shift+d exec makoctl dismiss -a; mode default - - bindsym Escape mode default - bindsym q mode default -} - -# -# Screenshotting -# - -set $mode_screenshot (a)ll | (r)egion -mode "$mode_screenshot" { - bindsym a exec grim $(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default - bindsym r exec grim -g "$(slurp)" $(xdg-user-dir PICTURES)/shots/$(date +'%Y-%m-%d-%H%M%S.png'); mode default - - bindsym Escape mode default - bindsym q mode default -} -bindsym Print mode "$mode_screenshot" - -# -# Window configurations -# -for_window [class="mpv"] floating enable -for_window [class="TelegramDesktop"] floating enable -for_window [app_id="pavucontrol"] floating enable -for_window [app_id="meld"] floating enable -for_window [app_id="nm-connection-editor"] floating enable - -set $blue #285577 -set $gray #1e1f21 -set $red #900000 - -# -# Status Bar: -# -# Read `man 5 sway-bar` for more information about this section. -bar { - position bottom - colors { - background $gray - inactive_workspace $gray $gray #888888 - active_workspace $gray $gray #ffffff - urgent_workspace $red $red #ffffff - focused_workspace $blue $blue #ffffff - } - status_command i3status | my-i3status -} - -client.focused $blue $blue #ffffff $blue $blue -client.unfocused $gray $gray #ffffff $gray $gray -client.focused_inactive $gray $gray #ffffff $gray $gray - -# font pango: DejaVu Sans Mono 9 -font pango: Source Code Pro 9.5 - -# get rid of title bars -default_border pixel 4 - -exec xrdb .Xresources -# exec pgrep -x "systemd-inhibit" || \ -# systemd-inhibit --what=handle-power-key --who=aminb \ -# --why="Handle power button in sway" sleep infinity -exec mako 2>&1 >/tmp/mako.log -#exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 - -include /etc/sway/config.d/* -include ~/.config/sway/`hostname` - -exec systemd-notify --ready || true diff --git a/.config/sway/darrud b/.config/sway/darrud deleted file mode 100644 index 4821860..0000000 --- a/.config/sway/darrud +++ /dev/null @@ -1,19 +0,0 @@ -output HDMI-A-1 res 2560x1440 pos 0,0 -output eDP-1 pos 2560,750 - -# focus output HDMI-A-1 - -input "1739:31251:DLL07BE:01_06CB:7A13_Touchpad" { - dwt enabled - tap enabled - natural_scroll enabled - middle_emulation enabled - click_method clickfinger -} - -input "1:1:AT_Translated_Set_2_keyboard" { - repeat_delay 200 - repeat_rate 45 - xkb_layout us,ir - xkb_options ctrl:nocaps,ctrl:swap_rwin_rctl,grp:shifts_toggle -} diff --git a/.config/sway/langa b/.config/sway/langa deleted file mode 100644 index eaac0e1..0000000 --- a/.config/sway/langa +++ /dev/null @@ -1,17 +0,0 @@ -input "2:7:SynPS/2_Synaptics_TouchPad" { - events disabled - dwt enabled - tap enabled - natural_scroll enabled - click_method clickfinger -} - -input "1:1:AT_Translated_Set_2_keyboard" { - repeat_delay 200 - repeat_rate 45 - xkb_layout us_ab,ir - xkb_options ctrl:nocaps,altwin:swap_alt_win,grp:shifts_toggle -} - -input "1386:230:Wacom_ISDv4_E6_Finger" map_to_output LVDS-1 -input "1386:230:Wacom_ISDv4_E6_Pen" map_to_output LVDS-1 diff --git a/.config/swaylock/config b/.config/swaylock/config deleted file mode 100644 index 779d040..0000000 --- a/.config/swaylock/config +++ /dev/null @@ -1,2 +0,0 @@ -image=/home/amin/usr/pics/wp/wp2445784-blurred-wallpapers.jpg -scaling=fill -- cgit v1.2.3-60-g2f50